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

STaR-Quant:扩散大语言模型的状态-时间一致训练后量化

STaR-Quant: State-Time Consistent Post-Training Quantization for Diffusion Large Language Models

School of Artificial Intelligence, Beijing Normal University, Beijing, China(北京师范大学人工智能学院);Department of Computer Science, National University of Singapore, Singapore(新加坡国立大学计算机科学系);Centre for Frontier AI Research, Agency for Science, Technology and Research (A*STAR), Singapore(科技研究局前沿人工智能研究中心)

Xin Yan, Aqiang Wang, Zhenglin Wan, Xingrui Yu, Ivor Tsang

AI总结:

针对扩散大语言模型低比特量化中的状态相关激活差异和时间误差累积问题,提出STaR-Quant框架,通过状态引导激活变换和时间注意力补偿实现高效量化。

摘要:

扩散大语言模型(DLLMs)最近通过迭代掩码去噪和双向上下文生成文本,成为自回归LLMs的有前途的替代方案。然而,它们的大模型规模和迭代去噪过程带来了大量的内存和计算开销,促使采用训练后量化以实现高效部署。在本文中,我们确定了低比特DLLM量化的两个关键挑战:状态相关的激活差异和时间误差累积。在每个去噪步骤中,掩码和未掩码的标记表现出不同的激活分布,而在迭代解码过程中,量化误差可能跨步骤累积。为了解决这些挑战,我们提出了STaR-Quant,一种用于DLLMs的状态-时间一致PTQ框架。STaR-Quant引入了状态引导激活变换(SGAT),通过统一的静态权重侧变换将掩码和未掩码的标记分配到不同的激活变换空间。它进一步引入了时间注意力补偿(TAC),通过轻量级块对角仿射映射来校正量化的注意力表示。在代表性DLLMs上的实验表明,STaR-Quant在低比特权重-激活量化上持续优于强PTQ基线,同时相比FP16部署实现了高达1.69倍的加速和3.14倍的内存节省。

英文摘要:

Diffusion large language models (DLLMs) have recently emerged as a promising alternative to autoregressive LLMs by generating text through iterative masked denoising with bidirectional context. However, their large model sizes and iterative denoising process introduce substantial memory and computational overhead, motivating post-training quantization for efficient deployment. In this paper, we identify two key challenges for low-bit DLLM quantization: state-dependent activation disparity and temporal error accumulation. Masked and unmasked tokens exhibit different activation distributions within each denoising step, while quantization errors can accumulate across steps during iterative decoding. To address these challenges, we propose STaR-Quant, a state-time consistent PTQ framework for DLLMs. STaR-Quant introduces State-Guided Activation Transformation (SGAT) to assign masked and unmasked tokens to different activation transformation spaces with a unified static weight-side transformation. It further introduces Temporal Attention Compensation (TAC) to correct the quantized attention representation via a lightweight block-diagonal affine mapping. Experiments on representative DLLMs demonstrate that STaR-Quant consistently improves low-bit weight-activation quantization over strong PTQ baselines, while delivering up to 1.69x speedup and 3.14x memory saving over FP16 deployment.

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

↑