arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2605.12245cs.LG
收藏

SOAR:在NVFP4量化中的尺度优化以实现准确重建

SOAR: Scale Optimization for Accurate Reconstruction in NVFP4 Quantization

Shanghai Jiao Tong University(上海交通大学);Tencent Hunyuan(腾讯文心)

Chengzhu Bao, Xianglong Yan, Zhiteng Li, Guangshuo Qin, Guanghua Yu, Yulun Zhang

AI总结:

本文提出SOAR框架,通过闭式联合尺度优化和解耦尺度搜索提升NVFP4量化精度,实验证明其在相同内存占用下优于现有方法。

摘要:

NVFP4最近作为一种高效的4位微缩格式出现,为大语言模型(LLMs)提供优异的数值精度和原生硬件支持。然而,现有方法由于尺度选择的不灵活和量化与反量化尺度的耦合处理,往往性能不佳。为此,我们提出了Scale Optimization for Accurate Reconstruction(SOAR),一种新的后训练量化框架,以提升NVFP4量化精度。其核心是Closed-form Joint Scale Optimization(CJSO),通过从重建误差最小化中导出的解析解,联合优化全局和块级尺度。此外,它还集成了Decoupled Scale Search(DSS)。DSS将高精度量化尺度与其受限的反量化对应物解耦,并通过离散搜索来减轻尺度量化带来的精度损失。在多个LLM上的广泛实验表明,我们的方法在相同内存占用下,通过无额外硬件开销,实现了优于现有NVFP4量化基线的精度。代码和模型将在https://github.com/steven-bao1/SOAR上提供。

英文摘要:

NVFP4 has recently emerged as an efficient 4-bit microscaling format for large language models (LLMs), offering superior numerical fidelity with native hardware support. However, existing methods often yield suboptimal performance due to inflexible scale selection and the coupled treatment of quantization and dequantization scales. To address these issues, we propose Scale Optimization for Accurate Reconstruction (SOAR), a novel post-training quantization framework that improves the accuracy of NVFP4 quantization. At its core, SOAR features Closed-form Joint Scale Optimization (CJSO), which jointly optimizes global and block-wise scales via analytical solutions derived from reconstruction error minimization. Furthermore, it incorporates Decoupled Scale Search (DSS). DSS decouples the high-precision quantization scale from its constrained dequantization counterpart, and performs discrete search to mitigate precision loss from scale quantization. Extensive experiments across multiple LLMs show that our method consistently outperforms existing NVFP4 quantization baselines, achieving superior accuracy under the same memory footprint with no additional hardware overhead. The code and models will be available at https://github.com/steven-bao1/SOAR.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑