FAQ: 通过家庭感知量化减少量化误差
FAQ: Mitigating Quantization Error via Regenerating Calibration Data with Family-Aware Quantization
AI总结:
FAQ通过家庭感知量化方法生成高保真校准数据,有效减少量化误差,实验表明其在多个模型系列中将准确性损失降低28.5%。
摘要:
尽管后训练量化(PTQ)为在资源受限设备上部署大语言模型(LLMs)提供了一种高效的数值压缩方案,但校准数据的代表性与普遍性仍然是决定量化参数准确性的核心瓶颈。传统PTQ方法通常依赖有限样本,难以捕捉推理阶段的激活分布,导致量化参数偏差。为此,我们提出了FAQ(家庭感知量化),一种校准数据再生框架,利用同一家族LLM的先验知识生成高保真校准样本。具体而言,FAQ首先将原始校准样本输入同一家族的更大LLM,利用高度一致的知识系统生成一系列高保真的校准数据。随后,这些数据携带链式推理并符合预期的激活分布,在专家指导下进行小组竞争以选择最佳样本,然后重新归一化以增强标准PTQ的效果。在多个模型系列,包括Qwen3-8B上进行的实验表明,与使用原始校准数据的基线相比,FAQ将准确性损失减少了高达28.5%,证明了其强大的潜力和贡献。
英文摘要:
Although post-training quantization (PTQ) provides an efficient numerical compression scheme for deploying large language models (LLMs) on resource-constrained devices, the representativeness and universality of calibration data remain a core bottleneck in determining the accuracy of quantization parameters. Traditional PTQ methods typically rely on limited samples, making it difficult to capture the activation distribution during the inference phase, leading to biases in quantization parameters. To address this, we propose \textbf{FAQ} (Family-Aware Quantization), a calibration data regeneration framework that leverages prior knowledge from LLMs of the same family to generate high-fidelity calibration samples. Specifically, FAQ first inputs the original calibration samples into a larger LLM from the same family as the target model, regenerating a series of high-fidelity calibration data using a highly consistent knowledge system. Subsequently, this data, carrying Chain-of-Thought reasoning and conforming to the expected activation distribution, undergoes group competition under expert guidance to select the best samples, which are then re-normalized to enhance the effectiveness of standard PTQ. Experiments on multiple model series, including Qwen3-8B, show that FAQ reduces accuracy loss by up to 28.5\% compared to the baseline with original calibration data, demonstrating its powerful potential and contribution.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。