Replay the Curvature: Accurate and Scalable NVFP4 Quantization for Large Language Model Inference
Ruiyi Ding, Jie Li, Kang He, Ziyan Liu, Chengru Song, Yuedong Xu, Yuan Cheng
Key points
From the paper's conclusion- Together, the algorithm and infrastructure attain $99.35\%$ and $100.84\%$ question-weighted recovery from BF16 across seven benchmarks on Qwen3.5-397B-A17B and Llama-3.3-70B-Instruct.
Abstract
Large language models make weight storage and memory traffic major inference costs, motivating low-precision formats that represent each weight with only a few bits. Such formats use a scale to map floating-point values into a small codebook; NVFP4 improves local range utilization by letting every 16 E2M1 weights share an E4M3 block scale. Choosing that scale is difficult in GPTQ because quantizing one column updates those that follow, so evaluating a block independently can misestimate its final reconstruction error. Large models pose a second challenge: full-precision weights, calibration activations, and second-order state cannot all remain on one accelerator, while assigning complete layers to devices leaves each time-consuming layer solve serial. We introduce \emph{Schur Replay}, a scale-selection algorithm that reproduces the GPTQ updates caused by each block scale and scores the resulting block error after accounting for compensation from unquantized columns. Separately, our execution infrastructure keeps only the active layer resident, tiers activations across device, host, and disk, retires full-precision layers after export, and distributes independent output rows across tensor-parallel ranks. Together, the algorithm and infrastructure attain $99.35\%$ and $100.84\%$ question-weighted recovery from BF16 across seven benchmarks on Qwen3.5-397B-A17B and Llama-3.3-70B-Instruct. On the 397B model, the infrastructure reduces measured per-layer time by $15.17\times$ over ModelOpt and $23.14\times$ over LLM Compressor, with lower memory used per GPU.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- SoScale: Second-Order Scale Search for FP4 QuantizationarXiv · 2026
- MXFP4 for LLM Inference: Complementary Post-Training Quantization Techniques and Their InteractionsarXiv · 2026
- OSFP4: Joint Optimization of Diagonal Smoothing and Block Scales for NVFP4 QuantizationarXiv · 2026
- ResServe: Accurate and Efficient FP4 LLM Inference with Residue CompensationarXiv · 2026
- BitDecoding-FP4: Native FP4 KV Cache Decoding via Algorithm-System Co-DesignarXiv · 2026
- What Matters for NVFP4 Training? A Comparative Study of Low-Precision Pretraining RecipesarXiv · 2026