论文

CHALICE:面向 FP4 量化的硬件合法代码与尺度联合优化

CHALICE: Hardware-Legal Code and Scale Optimization for FP4 Quantization

精选理由

FP4 量化里尺度和编码互相牵制,这篇论文给了一套能直接落地部署的联合优化方案,AIME25 上最多领先 2.6 分。做本地推理、端侧部署或推理服务成本优化的工程师值得跑一下代码。

论文提出 CHALICE,一种针对 FP4 后训练量化(PTQ)的联合优化方法,覆盖 MXFP4(E8M0 尺度)与 NVFP4(E4M3 尺度加 FP32 乘数)两种格式。核心问题是尺度选择与量化代码互相耦合:尺度变化会改变编码边界,编码变化又会改变最优尺度,无法先连续优化再取整。CHALICE 在冻结的层输出二次目标下同时优化代码、存储尺度和全局乘数,其中全局乘数对每个候选有闭式解,增量验证器以随移动支持度二次而非随层规模二次的成本精确评分。

正文

方法沿用现有 PTQ 算法生成候选,用统一准则接受候选,并对代码和尺度做耦合扫描,在声明邻域内返回 ε-局部最优的部署配置。实验覆盖十组模型-格式块(三个 Qwen、两个 Llama-3.1 系列),其中八组的困惑度与最强基线差距在 0.09 以内;CHALICE 在四个块的平均成绩领先,在三个块上领先 AIME25,最大领先幅度是 Qwen3-9B 在 NVFP4 上的 2.6 分。

消融实验显示,在 Qwen3.5-9B 上校准层损失从 3.82 降到 3.13,WikiText-2 困惑度从 9.28 降到 8.81。对需要在 4 位精度下部署 LLM 的推理服务团队,该方法提供了一条不改动硬件约束的精度提升路径。

原文 · arXiv cs.LG

CHALICE: Hardware-Legal Code and Scale Optimization for FP4 Quantization

Post-training quantization (PTQ) compresses large language model weights to 4 bits, sharing one low-precision scale across a small block in MXFP4 and NVFP4: E8M0 for MXFP4, E4M3 plus an FP32 multiplier for NVFP4. That scale cannot be optimized continuously and rounded afterwards, because a new scale moves the boundary that decides the codes and new codes move the best scale. We present \textbf{CHALICE}, which optimizes the deployable configuration---codes, stored scales, and global multiplier---under one frozen quadratic objective on the layer output, for symmetric and asymmetric calibration alike. Existing PTQ algorithms generate candidates; one criterion accepts them. The global multiplier is solved in closed form per candidate, an incremental verifier scores candidates exactly at a cost quadratic in the move support rather than in the layer, and a coupled sweep over codes and scales returns an $\varepsilon$-locally optimal configuration on a declared neighborhood. Across ten model--format blocks (three Qwen, two Llama-3.1), perplexity stays within 0.09 of the strongest baseline in eight, and CHALICE leads the average in four blocks and AIME25 in three, by up to 2.6 points on Qwen3.5-9B at NVFP4; an ablation there lowers calibration layer loss from 3.82 to 3.13 and WikiText-2 perplexity from 9.28 to 8.81.

产业坐标与信源核验

本条情报归属 AITOP「论文」核心栏目,重点聚焦北美前沿实验室与硅谷科技巨头。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:FP4量化、MXFP4、NVFP4、Qwen,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

信源核验说明:本文原始线索采编自「arXiv cs.LG」(@Hongyaoxing Gu, Keke Li, Zhuoyuan Wu, Hengrui Ma, Ruilin Hu, Jun Zhang, Xinle Du, Jie Zhang, Wei Zhang, Yue Li, Mingcheng Wan),经 AITOP 多维评分管线结构化提炼。

发现摘要或翻译有误? 告诉我们