ELVIA.Evidence Atlas
← Back to analysis

AI context

ELVIA analysis of: Optimizing Large Language Model Training Using FP4 Quantization — Problem 1: Scaling derivation omits weight-dependent scale derivative

Original paper: Ruizhe Wang; Yeyun Gong; Xiao Liu; Guoshuai Zhao; Ziyue Yang; Baining Guo; Zheng-Jun Zha; Peng CHENG. Optimizing Large Language Model Training Using FP4 Quantization. Proceedings of the 42nd International Conference on Machine Learning, vol. 267, 2025. https://proceedings.mlr.press/v267/wang25ae.html
Source version: PMLR volume 267 published original; retrieved exact supplied PDF URL
Source location: Eq.1 Appendix C.2 Eqs.18-22

Question: What does the recorded analysis establish about “Scaling derivation omits weight-dependent scale derivative”?
Bounded finding:
The derivative formula requires a frozen-scale interpretation; it does not equal the full weight derivative when the scale depends on the weight.

Recorded check:
Appendix C.2, equations (18)–(22), describes its result as the true weight gradient, but omits derivatives through the weight-dependent absmax scale in equation (1).
Writing \(s=s(w)\) and \(F_i(w)=Q(sw_i)/s\), direct differentiation of a smooth surrogate gives \[dF_i=Q'(sw_i)\,dw_i+
 \left\{w_iQ'(sw_i)/s-Q(sw_i)/s^{2}\right\}ds.\] The second term couples a column through its maximum. For a positive, unique maximum \(w_1\) and E2M1 maximum 6, \(s=6/w_1\) and \(Q(6)=6\), so \(F_1=w_1\) exactly and its total derivative is 1. At \(k=5\), the paper’s interval surrogate has endpoint derivative \(1/k=0.2\); the frozen-scale formula instead gives 0.2. This is a counterexample to the unconditional chain-rule claim, not to using 0.2 as a chosen surrogate update. Explicitly stopping differentiation through \(s\) repairs the derivation’s intended scope. The acquired code uses a power-of-two scale, piecewise constant away from scale transitions, and a custom backward pass; this is relevant counterevidence against imputing a historical training error from the paper’s absmax formula.

Case-wide limitations:
- P1 — Scaling derivation omits weight-dependent scale derivative — Counterevidence: Stop-gradient scale repairs intended surrogate; acquired code uses piecewise constant power-of-two scale.
- P2 — Clipping and smoothing are not equivalent — Counterevidence: Both bounded; clipped update remains well-defined.
- P3 — Speedup substitutions and DGE count need correction — Counterevidence: Theoretical model explicitly not native hardware measurement.
- N1 — Acquired Megatron path does not enable residual compensation — Counterevidence: Commit is later than paper; historical implementation unknown.
- Limitations: No author code executed or training reproduced.
- Limitations: Later source commit is not an attested historical experiment version.
- Limitations: Other paper revisions and separate inaccessible OpenReview supplements were not compared.
- Limitations: Weight histogram panels on p19 and bibliography were not exhaustively audited.
- Limits: Surrogate properties, not global optimizer convergence.
- Limits: No CUDA execution; historical commit linkage absent.
- Limits: No hardware benchmark.
- Limits: No raw-score reproduction or full weight-histogram audit.
- Limits: No author code executed or training reproduced.
- Limits: Later source commit is not an attested historical experiment version.
- Limits: Other paper revisions and separate inaccessible OpenReview supplements were not compared.
- Limits: Weight histogram panels on p19 and bibliography were not exhaustively audited.
- The original report's complete scope, counterevidence and unresolved questions are retained below.
- This import checks publication format and identity; it does not repeat scientific review.
- Independent human scientific review is pending; author adoption has not been requested.
Source problem ID: p1
Source report index: 1

Original source excerpts (verbatim):
Experimental results demonstrate that our FP4 framework achieves accuracy comparable to BF16 and FP8, with minimal degradation, scaling effectively to 13B-parameter LLMs trained on up to 100B tokens.
Source: PMLR volume 267 published original; retrieved exact supplied PDF URL
Locator: PDF p. 1, Abstract
Source PDF SHA-256: ad874f1297ae67fb3d84af51f6a76ebd765aff4b595479e09a79c571980c4245

Review status: Independent review pending
Case: icml2025-0364-optimizing-large-language-model-training-using-fp4-quantization
Revision: 1
Record created: 2026-10-26T04:21:21.357774+00:00
Permalink: https://elvia-atlas.org/atlas/cases/icml2025-0364-optimizing-large-language-model-training-using-fp4-quantization.html#problem-1
Versioned public record: https://elvia-atlas.org/atlas/evidence/icml2025-0364-optimizing-large-language-model-training-using-fp4-quantization/records/icml2025-0364-optimizing-large-language-model-training-using-fp4-quantization.r1.json
Canonical record SHA-256: f193d93109bd33eb0373438b7409071469d093dd592fd16b03d5d6411db5fd10
The page follows the latest revision; the versioned record identifies this snapshot.