arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.05367cs.AI
收藏

RaBiT:基于残差的二值化训练用于准确且高效的LLM

RaBiT: Residual-Aware Binarization Training for Accurate and Efficient LLMs

KAIST(韩国科学技术院)

Youngcheon You, Banseok Lee, Minseop Choi, Seonyoung Kim, Hyochan Chong, Changdong Kim, Youngmin Kim, Dongkyu Kim

AI总结:

RaBiT通过算法强制残差层级解决二值化中的特征共适应问题,提升2位精度-效率边界,实现超越VQ的性能和4.49倍的推理加速。

摘要:

高效部署大型语言模型(LLMs)需要极端量化,迫使在低比特效率与性能之间做出关键权衡。残差二值化通过堆叠二进制(±1)层实现硬件友好的乘法自由推理,但受到病理特征共适应的困扰。我们识别出一种关键失败模式,称为路径适应:在量化感知训练(QAT)中,并行残差二值路径学习冗余特征,降低误差补偿结构并限制模型的表达能力。尽管先前工作依赖启发式修补(例如路径冻结)来限制解空间,我们提出了RaBiT,一种新的量化框架,通过算法强制残差层级解决共适应问题。其核心机制依次从单个共享的全精度权重推导每个二值路径,确保每个路径纠正前一个的误差。这一过程通过稳健的初始化稳定,优先考虑功能保持而非单纯权重近似。RaBiT重新定义了2位精度-效率边界:它实现了最先进的性能,甚至超越硬件密集型向量量化(VQ)方法,并在RTX 4090上实现了比全精度模型快4.49倍的推理加速。

英文摘要:

Efficient deployment of large language models (LLMs) requires extreme quantization, forcing a critical trade-off between low-bit efficiency and performance. Residual binarization enables hardware-friendly, matmul-free inference by stacking binary ($\pm$1) layers, but is plagued by pathological feature co-adaptation. We identify a key failure mode, which we term inter-path adaptation: during quantization-aware training (QAT), parallel residual binary paths learn redundant features, degrading the error-compensation structure and limiting the expressive capacity of the model. While prior work relies on heuristic workarounds (e.g., path freezing) that constrain the solution space, we propose RaBiT, a novel quantization framework that resolves co-adaptation by algorithmically enforcing a residual hierarchy. Its core mechanism sequentially derives each binary path from a single shared full-precision weight, which ensures that every path corrects the error of the preceding one. This process is stabilized by a robust initialization that prioritizes functional preservation over mere weight approximation. RaBiT redefines the 2-bit accuracy-efficiency frontier: it achieves state-of-the-art performance, rivals even hardware-intensive Vector Quantization (VQ) methods, and delivers a $4.49\times$ inference speed-up over full-precision models on an RTX 4090. Code is available at https://github.com/SamsungLabs/RaBiT.

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

↑