LightVAE:迈向紧凑高效的视频自编码器

·

研究论文 · 2026/10/14

潜在扩散模型能够实现高质量视频生成,但视频VAE的编码和解码仍然计算昂贵。现有方法使用阶段特定的轻量算子,但要么联合约束空间和时间计算,要么完全移除时间计算,而没有区分预训练Conv3D中它们的压缩敏感性。为了解决这些限制,我们提出了LightVAE,一个利用时间建模和网络深度冗余的压缩框架。LightVAE将符合条件的因果Conv3D层精确重参数化为聚合空间响应和差异驱动的时间校正。基于它们不同的压缩敏感性,时间低秩压缩(TLR)保持聚合空间核密集,并仅对时间校正应用层特定的低秩近似。代数等价的折叠实现将算术节省转化为实际加速。LightVAE进一步使用宽度保持的块剪枝来减少深度,并使用探针引导的特征对齐,由冻结教师后缀的反馈引导,以在压缩后恢复质量。该框架还扩展到视频编码器。在三个视频VAE骨干和两个GPU平台上,LightVAE一致地加速了解码。对于Wan VAE系列,它在NVIDIA H100和RTX 5090上分别实现了最先进高效VAE解码器解码吞吐量的高达2.24倍和1.11倍,同时具有更高的DAVIS PSNR和更低的LPIPS。在MiniMax-H3上,它实现了原始解码吞吐量的高达2.97倍,同时保留了原始模型整体VBench-2.0分数的99.51%。我们的代码可在https://github.com/ModelTC/LightVAE获取。

该论文提出了一种新颖的视频VAE压缩框架,通过区分空间和时间压缩敏感性,在显著提升解码速度的同时保持生成质量,对视频生成领域的实际部署具有重要意义。

Latent diffusion models enable high-quality video generation, but video VAE encoding and decoding remain computationally expensive. Existing methods use stage-specific lightweight operators, yet either constrain spatial and temporal computation jointly or remove temporal computation altogether, without distinguishing their compression sensitivities in pretrained Conv3D. To address these limitations, we present LightVAE, a compression framework that exploits redundancy in temporal modeling and network depth. LightVAE exactly reparameterizes eligible causal Conv3D layers into an aggregate spatial response and a difference-driven temporal correction. Based on their distinct compression sensitivities, temporal low-rank compression (TLR) keeps the aggregate spatial kernel dense and applies layer-specific low-rank approximation only to the temporal correction. An algebraically equivalent folded implementation converts the arithmetic savings into practical acceleration. LightVAE further uses width-preserving block pruning to reduce depth and probe-guided feature alignment, guided by feedback from a frozen teacher suffix, to recover quality after compression. The framework also extends to video encoders. Across three video VAE backbones and two GPU platforms, LightVAE consistently accelerates decoding. For the Wan VAE family, it achieves up to 2.24times and 1.11times the decoding throughput of state-of-the-art efficient VAE decoders on NVIDIA H100 and RTX~5090, respectively, with higher DAVIS PSNR and lower LPIPS. On MiniMax-H3, it achieves up to 2.97times the original decoding throughput while retaining 99.51\% of the original model's overall VBench-2.0 score. Our code is available at https://github.com/ModelTC/LightVAE.

阅读原文

参与讨论