GRACE:面向高效视频生成的生成感知潜在压缩
研究论文 · 2026/10/08
高压缩视频自编码器能有效加速视频扩散模型,因为扩散Transformer(DiT)处理的token数量大幅减少。然而,这类自编码器训练困难:更高的压缩比会降低重建质量,恢复质量需要更多通道,而通道增加会减慢DiT收敛。压缩后的潜变量也与DiT训练时所用的潜变量不同,因此预训练DiT必须从头重训或以高昂成本适配。压缩DiT训练时所用的自编码器似乎能保持兼容性,但仅针对重建进行优化仍会使潜变量偏离DiT已学习的分布。为此,我们提出面向生成感知的潜变量压缩以实现高效视频生成(GRACE),这是一个两阶段框架,在压缩预训练视频自编码器的同时保持其与预训练DiT的兼容性。具体而言,我们保留预训练编码器产生的冻结基础潜变量,并学习一个残差潜变量以捕获更强压缩下丢失的信息,同时在冻结DiT的特征空间中将压缩潜变量与预训练潜变量对齐,从而使自编码器针对生成进行优化。随后,我们通过轻量微调和非对称去噪对DiT进行适配,其中基础潜变量先于残差潜变量去噪。GRACE在480x832x81分辨率下将Wan2.1-I2V-14B的token数量减少8倍,延迟降低11.1倍,同时在VBench上达到与压缩前预训练流程相当的生成质量。
GRACE在显著降低视频生成模型计算成本(token减少8倍、延迟降低11.1倍)的同时,保持了与预训练DiT的兼容性和生成质量,为高效视频生成提供了实用方案。
Highly compressed video autoencoders offer an effective way to accelerate video diffusion models, as the Diffusion Transformer (DiT) operates on far fewer tokens. However, such autoencoders are challenging to train, since a higher compression ratio degrades reconstruction quality and recovering it requires more channels, which is known to slow the convergence of the DiT. The compressed latent also differs from the one the DiT was trained on, so the pretrained DiT must be either retrained from scratch or adapted at considerable cost. Compressing the autoencoder the DiT was trained with appears to preserve compatibility, yet optimizing it for reconstruction alone still shifts the latent away from the distribution the DiT has learned. To address this, we propose Generation-Aware Latent Compression for Efficient Video Generation (GRACE), a two-stage framework that compresses a pretrained video autoencoder while keeping it compatible with the pretrained DiT. Specifically, we keep a frozen base latent from the pretrained encoder and learn a residual latent for the information lost under stronger compression, while aligning the compressed latent with the pretrained latent in the feature space of the frozen DiT so that the autoencoder is optimized for generation. We then adapt the DiT with lightweight fine-tuning and asymmetric denoising, where the base is denoised ahead of the residual. GRACE reduces the token count of Wan2.1-I2V-14B by 8x and its latency by 11.1x at 480x832x81, while matching the generation quality of the pretrained pipeline before compression on VBench.