Flash-VAED: 用于高效视频生成的即插即用VAE解码器
Flash-VAED: Plug-and-Play VAE Decoders for Efficient Video Generation
AI总结:
Flash-VAED通过通道剪枝和分阶段运算优化,实现了高效视频生成的高质量与高速度平衡。
摘要:
潜在扩散模型已经使高质量视频合成成为可能,但其推理过程仍然成本高且耗时。随着扩散变换器变得越来越高效,延迟瓶颈不可避免地转移到了VAE解码器中。为了在保持质量的同时减少延迟,我们提出了一种适用于VAE解码器的通用加速框架,该框架能够完全保持原始潜在分布的对齐。具体来说,我们提出了(1)一种通道意识的通道剪枝方法,以有效缓解严重的通道冗余,以及(2)一种分阶段主导运算优化策略,以解决VAE解码器中广泛使用的因果3D卷积的高推理成本。基于这些创新,我们构建了Flash-VAED家族。此外,我们设计了一个三阶段动态蒸馏框架,该框架能够高效地将原始VAE解码器的能力转移到Flash-VAED中。在Wan和LTX-Video VAE解码器上的大量实验表明,我们的方法在质量和速度上均优于基线方法,实现了约6倍的速度提升,同时保持重建性能高达96.9%。值得注意的是,Flash-VAED将端到端生成管道的速度提升了高达36%,在VBench-2.0上质量下降可忽略不计。
英文摘要:
Latent diffusion models have enabled high-quality video synthesis, yet their inference remains costly and time-consuming. As diffusion transformers become increasingly efficient, the latency bottleneck inevitably shifts to VAE decoders. To reduce their latency while maintaining quality, we propose a universal acceleration framework for VAE decoders that preserves full alignment with the original latent distribution. Specifically, we propose (1) an independence-aware channel pruning method to effectively mitigate severe channel redundancy, and (2) a stage-wise dominant operator optimization strategy to address the high inference cost of the widely used causal 3D convolutions in VAE decoders. Based on these innovations, we construct a Flash-VAED family. Moreover, we design a three-phase dynamic distillation framework that efficiently transfers the capabilities of the original VAE decoder to Flash-VAED. Extensive experiments on Wan and LTX-Video VAE decoders demonstrate that our method outperforms baselines in both quality and speed, achieving approximately a 6$\times$ speedup while maintaining the reconstruction performance up to 96.9%. Notably, Flash-VAED accelerates the end-to-end generation pipeline by up to 36% with negligible quality drops on VBench-2.0. Our code is available at https://github.com/Aoko955/Flash-VAED.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。