跳到正文
arXiv (AI + Vision + Imaging)· Seohyeon Cha, Huancheng Chen, Dongjun Kim, Haoran Zhang, Kevin Chan, Gustavo de Veciana, Haris Vikalo·· 7 天前AI 评分26

CoreQ:面向LLM量化的失配校正逐次舍入方法

CoreQ: Mismatch-Corrected Successive Rounding for LLM Quantization

AI 导读

CoreQ是一种无需训练的后训练量化(PTQ)框架,通过对失配做几何分解,计算闭式的层级自适应校正系数,控制各层校准目标中失配的引入比例,避免过拟合有限的校准数据且无需调参。其有界束搜索扩展K-CoreQ以少量额外计算换取性能提升。在多个LLM系列、规模、位宽和量化设置下,CoreQ与K-CoreQ的困惑度和下游准确率均优于强PTQ基线。

正文 · 原文

arXiv:2602.05902v3 Announce Type: replace Abstract: Post-training quantization (PTQ) enables efficient deployment of large language models by mapping pretrained weights to low-bit formats without retraining, typically using a small calibration set to minimize a layer-wise calibration objective. However, this sequential procedure induces a mismatch: errors from earlier quantized layers alter the inputs received by later layers, causing the activations to deviate from those of the full-precision model. Recent approaches introduce mismatch-aware calibration objectives to compensate for this effect, but leave open how much of the observed mismatch should shift each layer's calibration target. We show that fully applying the empirical mismatch correction can overfit finite calibration data, while using a fixed correction coefficient ignores variation in mismatch estimates across layers. To address these limitations, we propose CoreQ, a learning-free PTQ framework that uses a geometric decomposition of the mismatch to compute a closed-form, layer-adaptive correction coefficient. This coefficient controls how much of the observed mismatch enters each layer's calibration target, reducing overfitting to limited calibration data without coefficient tuning. CoreQ then applies efficient greedy successive rounding to the resulting triangular least-squares objective. Its bounded beam-search extension, K-CoreQ, trades modest additional compute for improved performance. Across multiple LLM families, scales, bit-widths, and quantization settings, CoreQ and K-CoreQ achieve lower perplexity and higher downstream accuracy than strong PTQ baselines. Code is available at GitHub.

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