OSFP4: Joint Optimization of Diagonal Smoothing and Block Scales for NVFP4 Quantization
Neriah Ben David, Ori Meir, Or Ordentlich
Key points
From the paper's conclusion- This requires performing joint optimization on the smoothing entries as well as the block scales, which is facilitated by analyzing a multiplicative-dither FP4 quantizer instead of the fixed deterministic one.
Abstract
NVFP4 is an attractive datatype for large language model (LLM) inference, offering compact storage and native tensor-core acceleration. However, preserving accuracy using NVFP4 requires careful quantization. In this work we develop a novel quantization scheme called Optimized Smoothing and Scaling for NVFP4 (OSFP4). For each linear projection it uses a diagonal smoothing matrix whose entries are optimized to minimize the squared matrix-product quantization error under NVFP4, taking into account the rounding procedure that is used (either round-to-nearest, or GPTQ-style successive interference cancellation). This requires performing joint optimization on the smoothing entries as well as the block scales, which is facilitated by analyzing a multiplicative-dither FP4 quantizer instead of the fixed deterministic one. Experiments show that OSFP4 achieves the highest average accuracy among the evaluated competitors in the corresponding quantization settings, while retaining approximately 94-97\% of vendor NVFP4 prefill throughput on the measured workloads. Our code is available in https://github.com/neriahbd/OSFP4
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Replay the Curvature: Accurate and Scalable NVFP4 Quantization for Large Language Model InferencearXiv · 2026
- SoScale: Second-Order Scale Search for FP4 QuantizationarXiv · 2026
- ResServe: Accurate and Efficient FP4 LLM Inference with Residue CompensationarXiv · 2026
- What Matters for NVFP4 Training? A Comparative Study of Low-Precision Pretraining RecipesarXiv · 2026
- MX-Like Tensor Core for LLM Inference with NPU Integration via Hardware-Software Co-Design ExplorationarXiv · 2026
- VR-SparseQuant: Accurate FP4 Quantization with 2:4 Sparsity on Vera RubinarXiv · 2026