语义感知混合格式量化:用于视频扩散变换器的混合格式量化
SemanticDialect: Semantic-Aware Mixed-Format Quantization for Video Diffusion Transformers
AI总结:
本文提出SemanticDialect,通过块级混合格式量化和语义感知方言分配,提升视频扩散变换器的量化效果,实验表明其在Open-Sora 2.0上接近FP16质量。
摘要:
扩散变换器(DiTs)在视频生成质量上达到最新水平,但其显著的内存和计算开销阻碍了边缘部署。量化可以降低这些成本,但现有方法由于高激活变化和保持语义和时间一致性困难而降质。我们提出了SemanticDialect,通过块级混合格式量化,每个块从候选集(formatbook)中选择最优格式(方言),该集通过查找表存储量化误差和量化索引,实现高效的块级格式选择和量化,最小化在线开销。我们进一步引入注意力引导的激活分解,通过残差量化减少量化误差,并引入语义感知方言分配(SeDA),通过在语义相关令牌间强制格式统一性减少跨令牌量化不一致性。实验表明,SemanticDialect在Open-Sora 2.0上接近FP16质量,优于现有量化方法和块级格式(MXFP4, NVFP4)。我们还通过RTL设计和GPU内核实现验证了硬件部署性。
英文摘要:
Diffusion Transformers (DiTs) achieve state-of-the-art video generation quality, but their substantial memory and computational footprints hinder edge deployment. Quantization can reduce these costs, yet existing methods often degrade video quality due to high activation variation and the difficulty of preserving semantic and temporal coherence. We propose SemanticDialect, which advances block-wise mixed-format quantization. In this framework, each block selects an optimal format (dialect) from a candidate set (formatbook), which is augmented with lookup tables that store quantization errors and quantized indices, enabling efficient per-block format selection and quantization with minimal online overhead. We further introduce attention-guided activation decomposition, which reduces quantization error via residual quantization, and semantic-aware dialect assignment (SeDA), which reduces cross-token quantization inconsistency by enforcing format uniformity among semantically correlated tokens. Experiments demonstrate that SemanticDialect outperforms prior quantization methods and block-wise formats (MXFP4, NVFP4) while approaching FP16 quality on Open-Sora 2.0. We also validate hardware deployability through RTL design and GPU kernel implementation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。