SoScale: Second-Order Scale Search for FP4 Quantization
Pengxiang Zhao, Xing Li, Hui-Ling Zhen, Weizhe Lin, Xianzhi Yu, Zhenhua Dong
Abstract
Low-bit quantization reduces the memory footprint and inference cost of large language models (LLMs), yet accurate FP4 quantization remains challenging. Practical formats such as MXFP4, NVFP4, and HiF4 pair a 4-bit floating-point payload with block-wise or hierarchical scale codes, making accuracy highly sensitive to how each local distribution is scaled. Default maximum-absolute-value scaling preserves dynamic range, but can spend scarce FP4 levels on rarely occupied outlier regions and leave dense tensor values poorly resolved. Existing scale-search methods minimize local element-wise reconstruction error, optimizing tensor fidelity rather than layer-output fidelity. We propose SoScale, a second-order weight scale-code search method for hierarchical FP4 quantization. SoScale searches hardware-valid scale codes under a Hessian-aware layer reconstruction objective and couples this search with GPTQ-style error recovery, selecting scales by their impact on layer outputs. Across Qwen3 models, SoScale consistently reduces downstream quantization degradation under MXFP4, NVFP4, and HiF4.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI
Related papers
FMSNO: Scaling Surface Neural Operators by Learned Flow Matching Reparametrisation
Shared title terminologycs.LGVasilii Liamin, Oleg Bakhteev, Vladimir Vanovskiy
Operator-Valued Q-Learning: Compositional Bellman Recursions for Order-Sensitive Decision Making
Shared title terminologycs.LGSwagatam Das, Swagato Das
Grokking as a Subspace Search: Computing the Destination Before Training
Shared title terminologycs.LGSunjae Jeong, Jaeseung Kim, Hyoseok Hwang
NetBreaker: Benchmarking Network Dismantling across Objectives, Scales, and Toplogoies
Shared title terminologycs.LGWenchuan Yang, Tianci Bu, Suoyi Tan et al.
LogT: Logically Think with Images for Visual Search
Shared title terminologycs.LGYanjun Fu, Quanzeng You, Jiadong Guo et al.
The Critic Can Hurt: On the Safety of Critics in LLM-Guided AutoML Search
Shared title terminologycs.LGGaoyuan Du, Xiaoyang Liu, Rex Zhou et al.