# CertiSum: Bitwise-Identical MXFP4 Training Across Platforms and Parallelism Layouts

CertiSum: 플랫폼과 병렬화 배치에 걸쳐 비트 단위로 동일한 MXFP4 학습

Steve Rhyner, Yubo Gao, Stefan de Lasa, Sankeerth Durvasula, Nandita Vijaykumar · arXiv · 2026년 11월 16일

- **연구 문제** MXFP4 학습은 실행 레이아웃과 GPU 벤더에 따라 같은 입력에서도 결과 비트가 달라집니다.
- **연구 방법** 네이티브 MXFP4 결과를 런타임 상계로 인증하고 인증되지 않은 출력만 정확 커널로 재계산합니다.
- **주요 결과** Qwen3-8B-Base의 200스텝 학습에서 AMD MI350X와 NVIDIA GB200 사이 학습 상태가 비트 단위로 일치했습니다.

## 비트 단위 재현이 어려운 이유

MXFP4 학습은 같은 입력이라도 병렬 실행 레이아웃과 GPU 벤더에 따라 결과 비트가 달라집니다. 부동소수점 덧셈은 결합법칙이 성립하지 않으므로 리덕션 순서가 바뀌면 출력이 달라지고, 데이터·텐서·컨텍스트 병렬화는 그 순서를 바꿉니다. 이 차이는 디버깅, 학습 감사, RL에서 학습 엔진과 추론 엔진의 불일치를 어렵게 만듭니다. 논문은 MXFP4 학습이 BF16 학습보다 병렬 레이아웃에 더 민감하다고 보고합니다.

## 네이티브 결과의 정확성 인증

CertiSum은 네이티브 MXFP4 GEMM의 FP32 누적 결과가 모든 합산 순서에서 정확한지를 런타임에 인증합니다. 핵심 충분조건은 모든 부분합의 절댓값 합 T가 2^24보다 작다는 것입니다. 행 통계 Lv, Mv, Qv로 계산한 행 상계 Brow가 이 조건을 상수 비용으로 확인하고, 그래도 인증되지 않으면 블록 상계와 부호 제거 피연산자에 대한 tight bound를 순서대로 씁니다. 인증되지 않은 출력은 청크 병합, FP64 누적, 정수 경로 중 하나로 정확히 재계산합니다. 부분합은 반올림 없이 병합되므로 분할 방식과 병합 순서에 무관한 결과를 얻습니다. 어텐션에서는 분자와 분모 부분합을 함께 정확 병합하고 마지막 몫만 FP32로 반올림합니다.

![Figure 2: Upper bound on the significand bits needed for exact MXFP4 accumulation in any order, for GEMM outputs over 200 steps of training Qwen3-8B-Base on Fi…](https://refivu.com/papers/e7a14e87-4ef3-4b3a-8b2d-f97b7f606bae/figures/figure-51dde9078b5a36d02f0cb8ac0d6c5334.png?thumb=512)

**Figure 2** . Upper bound on the significand bits needed for exact MXFP4 accumulation in any order, for GEMM outputs over 200 steps of training Qwen3-8B-Base on FineWeb-Edu. The bound uses the sum of absolute products; the shaded panel magnifies the tail (log scale).

[원문](https://arxiv.org/abs/2611.21584v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Steve Rhyner, Yubo Gao, Stefan de Lasa, Sankeerth Durvasula, Nandita Vijaykumar · CertiSum: Bitwise-Identical MXFP4 Training Across Platforms and Parallelism Layouts · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

![Figure 3: CertiSum GEMM execution; steps ❶–❻ described in §4](https://refivu.com/papers/e7a14e87-4ef3-4b3a-8b2d-f97b7f606bae/figures/figure-150e44beb42c7ba36a23469fac8aa25f.png?thumb=512)

**Figure 3** . CertiSum GEMM execution; steps ❶–❻ described in §4.

[원문](https://arxiv.org/abs/2611.21584v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Steve Rhyner, Yubo Gao, Stefan de Lasa, Sankeerth Durvasula, Nandita Vijaykumar · CertiSum: Bitwise-Identical MXFP4 Training Across Platforms and Parallelism Layouts · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

![Figure 4: Certificates from row ( ❶), block ( ❷), and absolute- product (❸) statistics, in increasing cost and tightness](https://refivu.com/papers/e7a14e87-4ef3-4b3a-8b2d-f97b7f606bae/figures/figure-6bc66d18be01a261b7782fe060b66700.png?thumb=512)

**Figure 4** . Certificates from row ( ❶), block ( ❷), and absolute- product (❸) statistics, in increasing cost and tightness.

[원문](https://arxiv.org/abs/2611.21584v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Steve Rhyner, Yubo Gao, Stefan de Lasa, Sankeerth Durvasula, Nandita Vijaykumar · CertiSum: Bitwise-Identical MXFP4 Training Across Platforms and Parallelism Layouts · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

## 정확성 조건과 블록 정렬

정확성 인증은 커널이 0에서 시작하고 정확한 곱셈과 덧셈을 수행하며 중간 BF16 변환을 하지 않는다는 조건에 의존합니다. 지수 가드는 단위 λ가 2^-126과 2^103 사이에 있도록 검사합니다. 이 조건을 만족하지 않으면 같은 곱이 레이아웃마다 달라집니다. 논문은 이 가정을 플랫폼마다 검증해야 하는 커널 가정으로 제시합니다.

## 레이아웃과 플랫폼 불변성 결과

Qwen3-8B-Base를 AMD MI350X와 NVIDIA GB200에서 1 GPU와 TP4로 200 AdamW 스텝 학습한 실험에서 CertiSum은 FineWeb-Edu와 The Stack v3 모두에서 모든 스텝의 손실 비트가 두 벤더 사이에서 일치했습니다. 비교 대상인 벤더 기준 MXFP4 커널은 시작 스텝부터 손실이 달랐고 중앙값 차이는 FineWeb-Edu 0.75%, The Stack v3 1.19%였습니다. 엘라스틱 학습에서는 1 GPU, DP4, CP2, TP4, DP2 순서로 40스텝마다 레이아웃을 바꿨으며 CertiSum은 기준 실행과 비트 단위로 일치했습니다. 추론 실험에서는 배치 구성과 TP4 구성에서도 CertiSum의 32개 응답과 로그확률 벡터가 기준과 일치했습니다.

![Table 2: Hardware platforms](https://refivu.com/papers/e7a14e87-4ef3-4b3a-8b2d-f97b7f606bae/figures/figure-9c39f6269b0d461e361a36fea9a7f14c.png?thumb=512)

**Table 2** .Hardware platforms.

[원문](https://arxiv.org/abs/2611.21584v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Steve Rhyner, Yubo Gao, Stefan de Lasa, Sankeerth Durvasula, Nandita Vijaykumar · CertiSum: Bitwise-Identical MXFP4 Training Across Platforms and Parallelism Layouts · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

![Figure 6: Elastic Training.Relative loss difference from the un- interrupted one-GPU reference on (a) FineWeb-Edu and (b) The Stack v3. Dots are steps; lines a…](https://refivu.com/papers/e7a14e87-4ef3-4b3a-8b2d-f97b7f606bae/figures/figure-f07703bbac0dae4d5f05b03554db830c.png?thumb=512)

**Figure 6** . Elastic Training.Relative loss difference from the un- interrupted one-GPU reference on (a) FineWeb-Edu and (b) The Stack v3. Dots are steps; lines are a centered nine-step geometric mean of positive values; zeros are below the axis break.

[원문](https://arxiv.org/abs/2611.21584v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Steve Rhyner, Yubo Gao, Stefan de Lasa, Sankeerth Durvasula, Nandita Vijaykumar · CertiSum: Bitwise-Identical MXFP4 Training Across Platforms and Parallelism Layouts · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

![Table 4: Generated sequences (out of 32) identical to each method’s batch-1, one-GPU reference](https://refivu.com/papers/e7a14e87-4ef3-4b3a-8b2d-f97b7f606bae/figures/figure-9c602bf5adebdfd484af9b8721c99c87.png?thumb=512)

**Table 4** . Generated sequences (out of 32) identical to each method’s batch-1, one-GPU reference.

[원문](https://arxiv.org/abs/2611.21584v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Steve Rhyner, Yubo Gao, Stefan de Lasa, Sankeerth Durvasula, Nandita Vijaykumar · CertiSum: Bitwise-Identical MXFP4 Training Across Platforms and Parallelism Layouts · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

## 지연 시간과 오버헤드

CertiSum은 같은 레이아웃의 비정확 MXFP4 twin보다 큰 입력 형상에서 학습 스텝 지연 시간이 11.8–60.5% 증가합니다. 작은 형상에서는 증가폭이 15.4–77.3%로 커집니다. 저자들은 인증과 라우팅이 GEMM마다 고정 비용을 더하고, GEMM이 작아질수록 그 비중이 커지는 것으로 해석합니다. 반면 큰 형상에서 CertiSum의 지연 시간은 빠른 BF16 참조보다 0.81–1.00배이며, 최대 1.24배의 속도 향상을 기록했습니다. 결정적 BF16 모드와 비교하면 0.59–0.89배입니다. 이 값들은 MI350X와 FineWeb-Edu에서 측정한 결과입니다.

![Table 3: Compared implementations](https://refivu.com/papers/e7a14e87-4ef3-4b3a-8b2d-f97b7f606bae/figures/figure-7ef41811e2f8a0741266596c627a641a.png?thumb=512)

**Table 3** .Compared implementations.

[원문](https://arxiv.org/abs/2611.21584v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Steve Rhyner, Yubo Gao, Stefan de Lasa, Sankeerth Durvasula, Nandita Vijaykumar · CertiSum: Bitwise-Identical MXFP4 Training Across Platforms and Parallelism Layouts · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

![Figure 7: Training-step latency on FineWeb-Edu using AMD MI350X, normalized to the MXFP4 twin (dashed line); lower is better. BF16 bars use the faster measured…](https://refivu.com/papers/e7a14e87-4ef3-4b3a-8b2d-f97b7f606bae/figures/figure-8645bd8e01fac5e2c3556f8a08ef1b98.png?thumb=512)

**Figure 7** . Training-step latency on FineWeb-Edu using AMD MI350X, normalized to the MXFP4 twin (dashed line); lower is better. BF16 bars use the faster measured implementation per mode (Table 3). Shapes are sequences × tokens, global except DP4 (per GPU). Superscripts: static-route CertiSum; OOM: all implementations ran out of memory.

[원문](https://arxiv.org/abs/2611.21584v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Steve Rhyner, Yubo Gao, Stefan de Lasa, Sankeerth Durvasula, Nandita Vijaykumar · CertiSum: Bitwise-Identical MXFP4 Training Across Platforms and Parallelism Layouts · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

![Table 5: Training-step latency on AMD MI350X with FineWeb-Edu inputs.Implementations E, T , F , and D as in Table 3. Ratios below one favor CertiSum. B×S : seq…](https://refivu.com/papers/e7a14e87-4ef3-4b3a-8b2d-f97b7f606bae/figures/figure-fcf5d008af3edd226b3cc7d4494c9a55.png?thumb=512)

**Table 5** . Training-step latency on AMD MI350X with FineWeb-Edu inputs.Implementations E, T , F , and D as in Table 3. Ratios below one favor CertiSum. B×S : sequences × tokens, global except DP4 (per GPU). sStatic-route E; unmarked E and all T are eager. OOM: all compared implementations ran out of memory before completing the first step.

[원문](https://arxiv.org/abs/2611.21584v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Steve Rhyner, Yubo Gao, Stefan de Lasa, Sankeerth Durvasula, Nandita Vijaykumar · CertiSum: Bitwise-Identical MXFP4 Training Across Platforms and Parallelism Layouts · 원문 그림 인용 · 원본 PDF 20쪽에서 그림 영역을 추출했습니다.

## 정확 경로 비율과 적용 한계

정확 경로로 복구되는 GEMM 비율이 높아 어텐션과 대부분의 가중치 그래디언트 GEMM이 정확 커널에서 계산됩니다. 이 정확 커널이 학습 스텝 GEMM FLOPs의 46–68%를 차지합니다. 인증이 실패하지 않아도 라우팅과 정확 경로 비용이 남습니다. 실험은 주로 MI350X와 FineWeb-Edu, The Stack v3, Qwen3-8B-Base, Qwen3-14B-Base, Llama-3.1-8B에 한정되었고, 다른 저정밀 형식은 형식별 경계와 커널이 따로 검증되어야 합니다. GB200 실험은 플랫폼 불변성 검증에 집중했습니다.

![Table 6: Routing and recorded repairs on AMD MI350X. Shapes are global B×S . Assigned work splits nominal step GEMM FLOPs among native, direct exact, and integ…](https://refivu.com/papers/e7a14e87-4ef3-4b3a-8b2d-f97b7f606bae/figures/figure-950ec987d7d7d3bb615c0e9dac2c5ba2.png?thumb=512)

**Table 6** . Routing and recorded repairs on AMD MI350X. Shapes are global B×S . Assigned work splits nominal step GEMM FLOPs among native, direct exact, and integer-engine (Int.) routes, the last including padding. Forward columns give native candidates as a share of transformer linear-layer outputs and recorded repairs as a share of those. Repair work is a share of nominal GEMM FLOPs. Values are rounded independently.

[원문](https://arxiv.org/abs/2611.21584v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Steve Rhyner, Yubo Gao, Stefan de Lasa, Sankeerth Durvasula, Nandita Vijaykumar · CertiSum: Bitwise-Identical MXFP4 Training Across Platforms and Parallelism Layouts · 원문 그림 인용 · 원본 PDF 20쪽에서 그림 영역을 추출했습니다.

## 논문 정보

- **저자**: Steve Rhyner, Yubo Gao, Stefan de Lasa, Sankeerth Durvasula, Nandita Vijaykumar
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2026년 11월 16일
- **등록일**: 2026년 11월 18일
- **수정일**: 2026년 11월 16일
- **버전**: v1
- **arXiv**: 2611.21584
- **분류**: cs.LG · cs.DC
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2611.21584v1) · [원문 PDF ↗](https://arxiv.org/pdf/2611.21584v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Training with MXFP4, a 4-bit microscaling format, is non-deterministic: identical inputs can produce different results across parallelism layouts and GPU vendors. These differences complicate debugging and training audits and can cause training and inference engines to disagree. We present CertiSum to make MXFP4 training bitwise invariant across runs, parallelism layouts, and GPU vendors. Its key insight is that native FP32 accumulation of MXFP4 products is often already exact for every summation order. CertiSum collects statistics during quantization to certify native matrix multiplication results, recomputes uncertified outputs exactly, and uses exact kernels directly where certification rarely succeeds. CertiSum keeps quantization blocks unchanged across layouts and merges partial sums without rounding, including in attention and weight-gradient computation. In 200-step Qwen3-8B-Base experiments, CertiSum preserves training states bit for bit across AMD MI350X and NVIDIA GB200 and across changes in data, tensor, and context parallelism on MI350X. Across three 8B--14B models on FineWeb-Edu using MI350X, it adds 11.8--60.5% to training-step latency relative to its non-exact MXFP4 counterpart at the larger evaluated input shapes, with speedups of up to $1.24\\times$ over BF16 and $1.70\\times$ over deterministic BF16.

## 원문 인용

Steve Rhyner, Yubo Gao, Stefan de Lasa, Sankeerth Durvasula, Nandita Vijaykumar (2026). CertiSum: Bitwise-Identical MXFP4 Training Across Platforms and Parallelism Layouts. arXiv:2611.21584v1. https://arxiv.org/abs/2611.21584v1

**BibTeX**

```
@misc{rhyner2026certisum,
  title = {{CertiSum: Bitwise-Identical MXFP4 Training Across Platforms and Parallelism Layouts}},
  author = {Steve Rhyner and Yubo Gao and Stefan de Lasa and Sankeerth Durvasula and Nandita Vijaykumar},
  year = {2026},
  eprint = {2611.21584},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.21584v1}
}
```

## 이 논문의 용어

- [FineWeb-Edu](https://refivu.com/terms/ec01acbdc208-fineweb-edu)
- [MXFP4](https://refivu.com/terms/0e807947caf5-mxfp4)
- [E2M1](https://refivu.com/terms/60bbae49ef1a-e2m1)

## 다른 논문 해설

- [Representational Change Under Self-Consuming Training: A Sparse Autoencoder Analysis](https://refivu.com/papers/fd9aa9a7-6b2c-40a8-a1bc-d78fec01bb09-representational-change-under-self-consuming-training-a.md)
- [Contrastive Activation-Guided Zeroth-Order Preference Optimisation for Memory-Efficient LLM Alignment](https://refivu.com/papers/1d7c079e-0590-4e0d-acd8-9dd202cb0b88-contrastive-activation-guided-zeroth-order-preference.md)
- [Memory-Efficient Speculative Decoding with Quantized Draft KV Cache](https://refivu.com/papers/1e123b50-de09-4b50-a976-9fb1df96941d-memory-efficient-speculative-decoding-with-quantized-draft.md)
- [Exact Sparse Assignment with Costly Target Embeddings: Fixed-Realization Certificates and an Empirical Audit](https://refivu.com/papers/317ddf4d-9401-471a-8607-14e96b2ada32-exact-sparse-assignment-with-costly-target-embeddings-fixed.md)
- [High-Throughput Serving of Nemotron 3.5 Transcribe with Regime-Aware Megakernels and Kernel Fusion](https://refivu.com/papers/3c4245e8-900d-4ca9-8834-e40cb4a165b6-high-throughput-serving-of-nemotron-3-5-transcribe.md)
- [CECAR: Cache & Expert Co-Aware Routing Accelerates On-Device Inference of MoE LLMs](https://refivu.com/papers/4e886007-b40a-4b34-ae15-82829e661e98-cecar-cache-expert-co-aware-routing-accelerates-on.md)
- [SciResearch-Eval: Evaluating Scientific Judgment in Autonomous Experimental Agents](https://refivu.com/papers/e869a5c6-d207-4bd5-92a4-33eba12512e7-sciresearch-eval-evaluating-scientific-judgment-in.md)
- [Quantifying the added value of human forecaster discussions for tropical cyclone intensity prediction](https://refivu.com/papers/ebc948f3-4b88-46c9-989e-efcb0d97c1eb-quantifying-the-added-value-of-human-forecaster-discussions.md)
- [Seen but Unsaid: Locating and Repairing Cross-Image Comparison in Vision-Language Models](https://refivu.com/papers/e5c103e7-58e6-4c19-ae12-c0fe6fb44983-seen-but-unsaid-locating-and-repairing-cross-image.md)
- [Optimal Autoregressive Chain-of-Thought Learning via Bagging](https://refivu.com/papers/2ad4fbbf-a4a8-48c8-ab66-b5be2af3e669-optimal-autoregressive-chain-of-thought-learning-via-bagging.md)
- [Surrogate-Assisted Compact-Model Extraction for SKY130 CMOS at 77 K](https://refivu.com/papers/672872d1-b491-4f27-9c13-90f751cbfc76-surrogate-assisted-compact-model-extraction-for-sky130-cmos.md)
- [Safe Physical Interaction of All-Electric Heavy-Duty Robotic Manipulators via Control Barrier Functions and Variable Impedance Control](https://refivu.com/papers/70e5bef1-5121-4bd7-b62f-aeff21e77c5e-safe-physical-interaction-of-all-electric-heavy-duty.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/e7a14e87-4ef3-4b3a-8b2d-f97b7f606bae-certisum-bitwise-identical-mxfp4-training-across-platforms)
