arXiv:2601.07878cs.LGcs.AI2026-01中稿 · manuscript, 17 pag…被引 1

用分布对齐损失提升大模型4比特以下量化性能

Sliced-Wasserstein Distribution Alignment Loss Improves the Ultra-Low-Bit Quantization of Large Language Models

  • 引入切片沃瑟斯坦损失,对齐高低精度模型输出分布
  • 在LLaMA-2等模型上恢复4.12%-20.37%的精度损失
  • 无需额外计算开销,适配主流量化框架

大型语言模型部署时存在显著的能源与经济成本。模型量化通过低精度表示参数提升能效与内存效率,但4比特以下压缩常导致激活分布失真,性能下降。本文提出一种切片沃瑟斯坦分布对齐损失,用于超低比特后训练量化中的分布感知校准。该损失在随机线性投影下对齐全精度与量化模型的输出分布,可无缝融入任意带重训练环节的量化框架,且推理时无额外开销。在OmniQuant和TesseraQ两种前沿方法中验证,本方法在多个超低比特设置下持续提升困惑度与下游任务准确率:在LLaMA-2-7B上恢复4.12%-20.37%精度损失,OPT-6.7B上恢复0.93%-7.65%,LLaMA-2-13B上恢复2.26%-6.20%;TesseraQ的相对精度退化也恢复3.63%-7.63%。结果表明,分布对齐是提升前沿量化方法性能的简单而有效手段。代码已开源。

原文摘要 · Abstract (English)

The benefits of most large language models come with steep and often hidden economic and environmental costs due to their resource usage inefficiency during deployment. Model quantization improves energy and memory efficiency through representing model parameters by lower-precision values. However, compression below 4-bits often distorts activation distributions and degrades performance. We address this challenge by introducing a sliced Wasserstein loss function for distribution-aware calibration in ultra-low-bit post-training quantization. The proposed loss aligns the output distributions of full-precision and quantized models under random linear projections, complementing standard mean-squared error loss without adding any computational overhead during inference. Our proposed loss function can be incorporated with any post-training quantization framework that has a retraining component. We demonstrate the performance gains of our proposed model by incorporating it with two frontier methods known as OmniQuant and TesseraQ. Compared to these two baselines, the proposed loss consistently improves both perplexity and downstream task accuracy across multiple ultra-low-bit settings. Our proposed loss function recovers 4.12-20.37% of the OmniQuant's lost accuracy on the language model LLaMA-2-7B, 0.93-7.65% on OPT-6.7B, and 2.26-6.20% on LLaMA-2-13B. TesseraQ's accuracy degradation is recovered by 3.63-7.63% in relative terms when augmented by our proposed loss function. Taken together, these results demonstrate that distributional alignment provides a simple yet effective performance boost that can push the limits of frontier quantization methods. Our method is available on GitHub to facilitate future progress in ultra-low-bit quantization.

模型量化分布对齐低比特大模型

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。