ReRound:重构舍入以解决无校准LLM量化中的中点歧义
研究论文 · 2026/08/14
ReRound(重建性舍入)是一种训练后量化方法,旨在解决标准最近舍入(RTN)方案在量化接近量化区间中心的权重时固有的中点模糊性问题。该方法从预训练的大语言模型(LLM)出发,训练一个条件扩散模型,为LLM的低比特权重生成连续重建。这些重建权重作为指导信号,用于消除接近区间中点的权重的舍入方向歧义。为了将这种重建引导的舍入与常规RTN集成,ReRound引入了一个容差度量,衡量量化权重(而非最终量化整数)与中点的距离:位于中点周围容差区域内的量化权重使用基于扩散的重建进行量化,而更接近量化边界的权重则使用RTN。通过扫描容差参数,ReRound生成多个候选量化整数权重矩阵,并选择其前导奇异值与原始全精度权重最匹配的反量化权重矩阵候选。该选定候选决定了ReRound使用的容差参数。ReRound对较小的LLM特别有效。在一系列此类模型中,它在3比特和4比特权重量化方面始终优于标准RTN。与大量无校准方法相比,ReRound实现了更高的准确性,与依赖校准的方法相比保持竞争力,并且完全离线运行,在低比特推理期间不引入额外开销。ReRound策略代表了一种新的低比特量化方法。该方法适用于LLM之外的人工智能模型。本文重点介绍其在小型LLM上的应用。
本文提出了一种新颖的无校准量化方法ReRound,通过扩散模型重建权重来解决中点舍入歧义,在小型LLM上显著优于标准RTN,且与依赖校准的方法竞争力相当。该方法完全离线,推理无额外开销,为低比特量化提供了新思路,值得关注。
ReRound (Reconstructive Rounding) is a post-training quantization method that addresses the midpoint ambiguity inherent in standard round-to-nearest (RTN) schemes when quantizing weights near the centers of quantization intervals. Starting from a pretrained LLM, ReRound trains a conditional diffusion model to produce continuous reconstructions of low-bit weights for the LLM. These reconstructed weights act as a guidance signal to disambiguate the rounding direction of weights located close to interval midpoints. To integrate this reconstruction-guided rounding with conventional RTN, ReRound introduces a tolerance metric measuring how far the quantized weight (not the final quantized integer) is away from the midpoint: quantized weights within a tolerance region around midpoints are quantized using diffusion-based reconstructions, whereas weights closer to quantization boundaries are quantized with RTN. By sweeping the tolerance parameter, ReRound generates multiple candidate quantized integer weight matrices and selects the de-quantized weight matrix candidate whose leading singular values most closely match those of the original full-precision weights. This selected candidate determines the tolerance parameter ReRound uses. ReRound is particularly effective for smaller LLMs. Across a range of such models, it consistently outperforms standard RTN for 3-bit and 4-bit weight quantization. ReRound achieves superior accuracy compared to an extensive set of calibration-free methods, remains competitive with calibration-dependent approaches, and operates entirely offline, introducing no additional overhead during low-bit inference. The ReRound strategy represents a new approach for low-bit quantization. The method applies to AI models beyond LLMs. This paper focuses on its applications to small LLMs.