跳到正文
arXiv (AI + Vision + Imaging)· Pengxiang Zhao, Xing Li, Hui-Ling Zhen, Weizhe Lin, Xianzhi Yu, Zhenhua Dong·· 12 天前AI 评分36

SoScale:面向FP4量化的二阶尺度搜索方法

SoScale: Second-Order Scale Search for FP4 Quantization

AI 导读

SoScale是一种面向分层FP4量化的二阶权重尺度码搜索方法,在Hessian感知的层重建目标下搜索硬件可用的尺度码,并结合GPTQ式误差恢复,按尺度对层输出的影响进行选择。在Qwen3系列模型上,SoScale在MXFP4、NVFP4和HiF4格式下均持续降低下游量化性能退化。

正文 · 原文

arXiv:2611.16426v1 Announce Type: new 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.

来源:arXiv (AI + Vision + Imaging) · arxiv.org