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

Quant-dLLM:面向扩散大语言模型的训练后极低比特量化

Quant-dLLM: Post-Training Extreme Low-Bit Quantization for Diffusion Large Language Models

Shanghai Jiao Tong University(上海交通大学);ETH Zürich(苏黎世联邦理工学院);South China University of Technology(华南理工大学)

Tianao Zhang, Zhiteng Li, Xianglong Yan, Haotong Qin, Yong Guo, Yulun Zhang

AI总结:

针对直接将自回归大模型的2比特训练后量化方法迁移到扩散大语言模型(dLLM)效果不佳的问题,提出Quant-dLLM框架,通过掩码校准模拟、数据感知任意阶量化器和自适应分块混合精度,实现dLLM的极低比特量化,性能优于现有最优迁移方法。

摘要:

扩散大语言模型(dLLM)具备双向上下文能力与灵活的掩码去噪生成能力,正逐渐成为自回归(AR)大语言模型的有力替代方案。然而与AR大语言模型类似,其模型规模持续增长,因此亟需通过权重量压缩来支撑部署。尽管训练后量化(PTQ)在AR大语言模型上效果显著,但直接将其迁移到2比特的dLLM上会导致性能不佳。为解决这些问题,我们提出Quant-dLLM,这是一款专为dLLM设计的极低比特PTQ框架。由于dLLM中的掩码去噪激活与标准PTQ方法假设的全可见信号存在差异,我们引入掩码校准模拟(MCS),使校准过程与依赖时间步的掩码机制对齐,从而获得更可靠的校准结果。此外,我们提出数据感知任意阶量化器(DAQ),它通过优化算法学习极低比特的权重表示,并在模拟校准数据的引导下执行迭代近似。在严格的2比特预算下,我们还引入自适应分块混合精度(ABMP),这是一种基于敏感度的精度分配方案,可在通道组间自适应分配比特宽度。在2比特精度限制下,Quant-dLLM在dLLM上的准确率始终优于当前最优(SOTA)的AR迁移PTQ方法。代码与模型将发布于:https://github.com/ZTA2785/Quant-dLLM。

英文摘要:

Diffusion large language models (dLLMs), which offer bidirectional context and flexible masked-denoising generation, are emerging as a compelling alternative to autoregressive (AR) LLMs. However, like AR LLMs, their model sizes continue to grow, motivating weight compression for deployment. Although post-training quantization (PTQ) is effective for AR LLMs, directly transferring it to dLLMs at 2-bit leads to unsatisfactory performance. To tackle these challenges, we propose Quant-dLLM, an ultra-low-bit PTQ framework tailored to dLLMs. Since masked-denoising activations in dLLMs differ from the fully visible signals assumed by standard PTQ methods, we introduce Masked Calibration Simulation (MCS) to align calibration with the timestep-dependent masking, which yields more reliable calibrations. Moreover, we propose a Data-aware Any-order Quantizer (DAQ) that learns ultra-low-bit weight representations via an optimization algorithm. It performs iterative approximation guided by our simulated calibration data. In addition, under a strict 2-bit budget, we introduce Adaptive Blockwise Mixed Precision (ABMP), a sensitivity-based precision allocation scheme that adaptively assigns bit width across channel groups. When restricted to 2-bit precision, Quant-dLLM consistently achieves higher accuracy than state-of-the-art (SOTA) AR-transfer PTQ methods on dLLMs. The code and models will be available at: https://github.com/ZTA2785/Quant-dLLM.

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

↑