Papers

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

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

Why we picked it

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

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

Body

方法沿用现有 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 的推理服务团队,该方法提供了一条不改动硬件约束的精度提升路径。

Original · 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.

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Papers" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include MXFP4, NVFP4, Qwen, Llama-3.1.

Source attribution: curated from 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).

Spotted an error in the summary or translation? Tell us