프로필

설정

불러오는 중…

← 홈

도움말·문의

자주 묻는 질문

어떤 기능에 로그인이 필요한가요?

공개 논문의 해설과 논문 정보, 모델 구조, 관련 논문, 용어는 로그인 없이 볼 수 있습니다. 논문 올리기, 내 보관함, 읽기 기록, 논문 평가, 관심 분야 추천, 메일과 알림은 로그인해야 쓸 수 있습니다.

PDF 파일로도 올릴 수 있나요?

논문은 arXiv나 DOI 링크로 올리고, 해설은 모두에게 공개됩니다. 출처와 이용 조건이 확인되지 않아 해설을 공개할 수 없는 논문은 올릴 수 없습니다. PDF 파일 올리기와 나만 보기는 구독 회원만 쓸 수 있고, 파일로 올린 논문은 나만 보기로만 저장합니다. 제목으로 공식 정보를 찾는 검색은 버튼을 누를 때만 합니다.

그림과 AI 해설은 정확한가요?

그림은 논문 원본만 쓰고 이용 허락이 확인된 것만 보여 줍니다. 해설은 AI가 쓴 글이라 틀릴 수 있습니다. 중요한 주장과 수치, 그림의 맥락은 원문 근거로 확인해 주세요.

저작권 문제를 알리고 싶어요.

이용 조건과 원문 출처는 논문 정보 탭에 있습니다. 문제가 있으면 ‘문의하기’에서 ‘논문 내용·그림·저작권’을 골라 논문 링크와 문제가 되는 부분, 권리를 확인할 수 있는 근거를 보내 주세요. 접수만으로 권리가 확정되거나 바로 삭제되지는 않습니다. 검토 결과는 ‘내 문의’에서 볼 수 있습니다.

비밀번호를 잊었어요.

이메일로 가입했다면 로그인 창의 비밀번호 찾기에서 인증한 이메일로 다시 설정할 수 있습니다. Google, 네이버, 카카오로 가입했다면 그 서비스에서 비밀번호를 바꿔 주세요.

문의할 때 무엇을 적어야 하나요?

어느 화면에서 무엇을 하다 생긴 문제인지 논문 링크와 함께 적어 주세요. 비밀번호, API 키, 인증 코드, 전화번호 같은 개인정보는 적지 마세요. 문의와 답변은 Refivu에 저장되고 ‘내 문의’에서 볼 수 있습니다.

회원탈퇴는 어떻게 하나요?

설정의 내 계정에서 회원탈퇴를 누르세요. 지워지는 내용을 확인하고 본인 확인을 마치면 탈퇴됩니다. 다른 요청은 ‘문의하기’에서 ‘계정’을 골라 남겨 주세요.

논문 해설

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

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

  • 연구 문제 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…

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

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

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 모두에서 모든 스텝의 손실 비트가 두 벤더 사이에서 일치했습니다. 비교 대상인 벤더 기준 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

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 a…

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

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

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…

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 : seq…

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 integ…

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
제공 범위
논문 정보, 해설, 허용된 원문 그림

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}
}

관련 논문 보기다른 논문 둘러보기

논문 미리 보기
계정 보안

Google 계정 연결

Google 계정을 연결하면 그 계정으로도 로그인할 수 있습니다.

Refivu

회원탈퇴

Refivu
Refivu

회원가입