arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2610.20353cs.LGstat.ML
收藏

超越专家排名:混合精度MoE量化的对比校准

Beyond Expert Rankings: Contrast Calibration for Mixed-Precision MoE Quantization

Nanjing University of Posts and Telecommunications(南京邮电大学);Tylogi AI Lab / TAIL(Tylogi AI实验室 / TAIL);Anhui University of Technology(安徽工业大学);Shanghai Jiao Tong University(上海交通大学);Southeast University(东南大学);Microsoft(微软);University of Cambridge(剑桥大学)

Renjie Xie, Juncheng Yang, Aoting Hu, Yan Liang, Mingxi Zhang, Zheheng Hong, Wei Xu, Yanzhi Chen

AI总结:

针对混合精度MoE量化仅靠专家排名无法确定误差权重强度的问题,提出NatScale框架,结合多维度误差与先验在存储预算下选配置,在多模型多设置中优于基线。

摘要:

混合专家(MoE)语言模型每个token仅激活少数专家,但需存储所有专家权重。混合精度量化通过为敏感专家分配更高比特宽度、为鲁棒专家分配更低比特宽度来降低存储成本,但仅靠专家排名无法确定其误差的权重强度。为解决这一差距,我们提出NatScale,一种用于混合精度MoE量化的对比校准分配框架。它使用特定于模型的幂变换,在保留排名的同时,将基于梯度的专家权重校准至信息论对比目标。我们联合评估每个专家的门控、上配置和下配置以估计其输出误差,随后将这些误差与基于权重谱、方差和精度衰减的现有先验相结合,在存储预算下选择配置。在三个模型上,与五个分配基线相比,NatScale在所有九种设置中实现了最低的原生-量化KL散度和最高的top-token一致性,还在七种设置中产生了最低的困惑度。这些发现凸显了面向目标的精度分配的重要性。

英文摘要:

Mixture-of-experts (MoE) language models activate only a few experts per token, yet all expert weights must be stored. Mixed-precision quantization reduces this storage cost by assigning higher bit-widths to sensitive experts and lower bit-widths to resilient ones, but expert rankings alone do not determine how strongly to weight their errors. To address this gap, we propose NatScale, a contrast-calibrated allocation framework for mixed-precision MoE quantization. It uses a model-specific power transformation to calibrate gradient-based expert weights to an information-theoretic contrast target while preserving rankings. We jointly evaluate each expert's gate, up and down configurations to estimate its output error. We then combine these errors and calibrated weights with an existing prior based on weight spectra, variance and precision decay to select configurations under a storage budget. Across three models, NatScale achieves the lowest native-to-quantized KL divergence and the highest top-token agreement in all nine settings against five allocation baselines. It also yields the lowest perplexity in seven settings. These findings highlight the importance of objective-aware precision allocation.

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

↑