Q-ARVD: 对自回归视频扩散模型进行量化
Q-ARVD: Quantizing Autoregressive Video Diffusion Models
AI总结:
本文针对自回归视频扩散模型(ARVD)的量化问题,提出了一种新的框架Q-ARVD,解决了帧间量化敏感度不平衡和权重中异质性异常模式的问题,从而提高了模型效率。
摘要:
自回归视频扩散模型(ARVD)已涌现出作为流式视频生成的有前景的架构,为实时交互视频生成和世界建模铺平了道路。尽管具有潜力,ARVDs的显著推理成本仍然是实际部署的主要障碍,使模型量化成为提高效率的自然方向。然而,ARVDs的量化仍鲜有研究。我们的实证分析表明,直接应用现有为标准扩散变压器开发的量化方案到ARVDs会导致性能不佳,揭示了与双向扩散模型观察到的量化行为不同的特性。在本文中,我们识别了量化ARVDs的两个关键挑战:(C1)高度不平衡的帧级量化敏感度。在自回归生成过程中,误差积累可以导致帧间严重的量化敏感度偏斜,遵循指数衰减模式。(C2)权重中显著的异质性异常模式。权重分布表现出明显的异常通道,其模式在层类型和块深度上变化很大。为了解决这些问题,我们提出了Q-ARVD,一种用于准确ARVD量化的新型框架。(S1)为解决高度不平衡的帧级敏感度,Q-ARVD将最终质量感知的帧加权机制纳入量化目标中。(S2)为防止异质性异常影响性能,Q-ARVD引入了异常感知的自适应双尺度量化,该方法可以自动检测任意层中异常通道的存在和数量,并将其隔离以保护正常通道。广泛的实验展示了Q-ARVD的优越性。
英文摘要:
Autoregressive video diffusion models (ARVDs) have emerged as a promising architecture for streaming video generation, paving the way for real-time interactive video generation and world modeling. Despite their potential, the substantial inference cost of ARVDs remains a major obstacle to practical deployment, making model quantization a natural direction for improving efficiency. However, quantization for ARVDs remains largely unexplored. Our empirical analysis shows that directly applying existing quantization schemes developed for standard diffusion transformers to ARVDs leads to suboptimal performance, revealing quantization behaviors that differ from those observed in bidirectional diffusion models. In this paper, we identify two critical challenges in quantizing ARVDs: (C1) Highly unbalanced frame-wise quantization sensitivity. Error accumulation during autoregressive generation can induce severely skewed quantization sensitivity across frames, following an exponential-like decay pattern. (C2) Prominent and heterogeneous outlier patterns in weights. Weight distributions exhibit pronounced outlier channels, whose patterns vary substantially across layer types and block depths. To address these issues, we propose Q-ARVD, a novel framework for accurate ARVD quantization. (S1) To tackle the highly unbalanced frame-wise sensitivity, Q-ARVD incorporates a final-quality aware frame-weighting mechanism into the quantization objective. (S2) To prevent heterogeneous outliers from degrading performance, Q-ARVD introduces an outlier-aware adaptive dual-scale quantization, which automatically detects the presence and quantity of outlier channels for an arbitrary layer, and isolates them to protect normal channels. Extensive experiments demonstrate the superiority of Q-ARVD.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。