SoloQ:面向扩散语言模型的无校准量化

·

研究论文 · 2026/10/12

扩散大语言模型(dLLM)通过双向扩散式 token 生成,成为自回归语言模型的一种有前景的替代方案。但其模型规模增长和推理成本高,使高效部署面临挑战:全序列去噪反复调用计算密集的前向传播,块扩散模型还引入内存密集的 KV 缓存。低比特权重-激活量化因此具有吸引力,但现有 dLLM 训练后量化方法依赖校准数据,而激活分布会随掩码状态和去噪步骤变化。我们提出 SoloQ,一种免校准量化框架,将权重和激活映射到具有可预测边缘分布的归一化旋转基,从而实现数据无关量化。SoloQ 结合结构化 K-RPBH 旋转与轻量重缩放校正,实现免校准量化。其可预测的旋转后分布支持分布匹配码本和硬件原生 NVFP4。对于块扩散模型,SoloQ 进一步应用提交时 KV 缓存量化,在不扰动正在去噪的块的情况下压缩持久状态。在全序列 dLLM(LLaDA 和 Dream)和块扩散 dLLM(Fast-dLLM v2 和 Nemotron-Labs-Diffusion)上,SoloQ 在 4 比特量化下保持精度,并在知识密集和推理密集基准上优于基于校准的基线。使用 NVFP4 时,SoloQ 将峰值内存最多降低 2.61 倍,并将端到端推理最多加速 2.24 倍。

该工作解决了扩散大语言模型低比特量化中依赖校准数据的关键问题,提出免校准方法并在多个模型和基准上验证了精度与效率优势,对高效部署 dLLM 具有实用价值。

Diffusion large language models dLLMs) have emerged as a promising alternative to autoregressive language models through bidirectional diffusion-based token generation. However, their growing model sizes and high inference costs make efficient deployment challenging: full-sequence denoising repeatedly invokes compute-intensive forward passes, while block-diffusion models additionally introduce a memory-intensive KV-cache. Low-bit weight-activation quantization is therefore attractive, yet existing dLLM post-training quantization methods rely on calibration data despite activation distributions shifting across masking states and denoising steps. We present SoloQ, a calibration-free quantization framework that maps weights and activations into a normalized rotated basis with a predictable marginal distribution, enabling data-independent quantization. SoloQ combines a structured K-RPBH rotation with a lightweight rescaling correction for calibration-free quantization. Its predictable post-rotation distribution supports both distribution-matched codebooks and hardware-native NVFP4. For block-diffusion models, SoloQ further applies commit-time KV-cache quantization to compress persistent states without perturbing the actively denoised block. Across full-sequence dLLMs (LLaDA and Dream) and block-diffusion dLLMs(Fast-dLLM v2 and Nemotron-Labs-Diffusion), SoloQ retains accuracy under 4-bit quantization and outperforms calibration-based baselines on knowledge- and reasoning-intensive benchmarks. With NVFP4, SoloQ reduces peak memory by up to 2.61X and accelerates end-to-end inference by up to 2.24X.

阅读原文

参与讨论