論文解説
CertiSum: Bitwise-Identical MXFP4 Training Across Platforms and Parallelism Layouts
CertiSum:プラットフォームと並列化レイアウトをまたいでビット単位で一致するMXFP4学習
- 課題 MXFP4学習では、実行レイアウトやGPUベンダーが違うと、同じ入力でも結果のビットが変わります。
- 手法 CertiSumは、ネイティブ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 FineWeb-Edu. The bound uses the sum of absolute products; the shaded panel magnifies the tail (log scale).
出典 · CC 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.
出典 · CC 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.
出典 · CC 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の両方で、すべてのステップの損失のビットが2つのベンダー間で一致しました。比較対象のベンダー実装の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.
出典 · CC 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 are a centered nine-step geometric mean of positive values; zeros are below the axis break.
出典 · CC 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.
出典 · CC 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.
出典 · CC 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 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.
出典 · CC 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 : 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.
出典 · CC 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 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.
出典 · CC 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
- 掲載内容
- 論文情報・解説・論文の図
この解説は、Refivuの韓国語解説を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}
}