ELVIA analysis of: Optimizing Large Language Model Training Using FP4 Quantization — Problem 2: Clipping and smoothing are not equivalent
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: Appendix C.3 Eqs.26-28
Question: What does the recorded analysis establish about “Clipping and smoothing are not equivalent”?
Bounded finding:
Matching the peaks does not make clipping and smoothing equal in a neighborhood. Both can be bounded positive surrogate gradients without that claimed equivalence.
Recorded check:
Appendix C.3, equation (28) and its following paragraph, infers equivalence from equal peak bounds. This does not establish equality of the gradient functions.
Let \(u=2x/\delta-1\), \(g_c(u)=\min\{k^{-1}|u|^{1/k-1},c\}\), and \(g_\epsilon(u)=k^{-1}(u^{2}+\epsilon^{2})^{(1/k-1)/2}\). Setting \(\epsilon=(kc)^{-k/(k-1)}\) makes both peaks equal \(c\). Nevertheless, at \(|u|=\epsilon\), \(g_c=c\) whereas \(g_\epsilon=c\,2^{(1/k-1)/2}\). For \(k=5,c=3\), these values are \(3\) and \(2.273575\). Their agreement at a single point cannot prove equivalence in a neighborhood. Both are bounded positive surrogate gradients, so the practical cap remains well defined. Equation (7) itself has an infinite derivative at the midpoint; it is continuous but not differentiable there. No convergence or superior gradient-accuracy guarantee follows merely from boundedness.
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: p2
Source report index: 2
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-2
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.