Latent-Compressed Variational Autoencoder for Video Diffusion Models

Jiarui Guan, Wenshuai Zhao, Zhengtao Zou, Juho Kannala, Arno Solin

TL;DR

Video Variational Autoencoders (VAEs) face a frustrating trade-off: adding more latent channels improves video reconstruction but cripples downstream diffusion model training by introducing chaotic high-frequency noise. This paper introduces LC-VAE, a method that applies 3D wavelet transforms directly to the latent space to filter out uninformative high-frequency components. By training the VAE to compress these frequencies, it achieves state-of-the-art video reconstruction quality while providing a cleaner, more compact latent space that accelerates and improves video diffusion generation.

What Problem Does This Paper Address?

In latent video diffusion models (like Sora or CogVideoX), a VAE is responsible for compressing high-resolution video pixels into a lower-dimensional latent space where the diffusion model can efficiently operate. To ensure the final video doesn't look blurry, researchers typically increase the number of latent channels in the VAE.

However, recent studies have revealed a catch-22: an excessive number of latent channels introduces massive redundancy and fills the latent space with unstructured, high-frequency noise. This "chaotic frequency space" violates the coarse-to-fine nature of the diffusion process, making it significantly harder for diffusion models to converge and ultimately degrading generative performance. Simply reducing the number of channels isn't an option either, as it severely compromises reconstruction fidelity. The authors set out to break this bottleneck by compressing the latent space in the frequency domain rather than the channel domain.

Figure 1. Comparison between the schemes of video VAEs with and without the proposed latent compression. Our method performs frequency-aware latent compression for video generation. An input video is encoded and decomposed by multi-level 3D wavelet transforms (Multi-WT); low-frequency channels are retained as compact latent representations where diffusion operates. After denoising, the latent is zero-padded, processed by multi-level inverse wavelet transforms (Multi-IWT), and decoded into the final video. This design preserves global structure while reducing latent dimensionality.

Methods

The authors propose the Latent-Compressed Variational Autoencoder (LC-VAE). Instead of modifying the pixel space, LC-VAE performs frequency-aware compression directly inside the latent bottleneck:

  1. Multi-Level 3D Wavelet Transform (Multi-WT): The encoder maps the input video to a latent representation $z$. LC-VAE then applies a 3D Haar wavelet transform to $z$, decomposing it into eight distinct frequency subbands based on temporal, height, and width dimensions.
  2. High-Frequency Filtering: The model retains only the low-frequency subbands (which capture essential structural and temporally coherent information) and explicitly zeros out the uninformative high-frequency subbands. This discards 50% of the latent size while retaining roughly 85% of the energy.
  3. Zero-Padding & Inverse Transform (Multi-IWT): Before passing the data to the decoder, the compressed latent is zero-padded back to its original shape and reconstructed via an inverse 3D wavelet transform.
  4. Joint Training: Crucially, this entire process is integrated directly into the VAE's training loop using a combination of $L_1$ reconstruction loss, adversarial loss, and KL regularization. This forces the decoder to learn how to beautifully reconstruct fine details using only the low-frequency latent cues.

Datasets

  • Training & Validation: Kinetics-400
  • Zero-Shot Reconstruction Evaluation: WebVid-10M, Panda-70M, UCF-101, SkyTimelapse, and OpenVid-1M.
  • Video Generation Evaluation: UCF-101 (conditional generation) and SkyTimelapse (unconditional generation).

Key Insights and Ideas

  • Latent Spaces are Noisy: By analyzing the baseline Wavelet-Flow VAE (WF-VAE), the authors discovered that low-frequency subbands dominate the latent energy and exhibit strong temporal autocorrelation (smoothness over time). Conversely, high-frequency subbands are chaotic and contain mostly noise.
  • Diminishing Returns of Channels: Increasing channel count yields smaller and smaller gains in Peak Signal-to-Noise Ratio (PSNR), proving that standard architectures suffer from severe information redundancy.
Figure 3. Energy and correlation distribution across frequen- cies. We visualize heatmaps of the normalized energy (left) and per-channel lag-1 temporal autocorrelation [40] (right) obtained by applying a 3D Haar wavelet transform to video latent represen- tations encoded by WF-VAE [27]. Columns correspond to latent channels, and rows represent different frequency subbands. The visualization reveals that low-frequency subbands exhibit higher energy and stronger temporal correlation, whereas high-frequency subbands tend to be less informative and more disordered.
  • Compression Must Happen During Training: A key "aha moment" came when the authors tried post-training latent compression (zeroing out high frequencies on a pre-trained model). This caused a massive drop in video quality. The compression mechanism must be present during training so the encoder-decoder pair can adapt to the missing high-frequency data.

Key Results

Video Reconstruction

LC-VAE consistently outperformed strong baselines in zero-shot reconstruction across all evaluation datasets. On the WebVid-10M dataset, LC-VAE outperformed its direct baseline (WF-VAE) by 0.81 dB, 1.82 dB, and 0.97 dB in PSNR for 4, 8, and 16 latent channels, respectively. It also demonstrated superior generalization on entirely unseen datasets, whereas baseline models suffered noticeable performance drops.

Video Generation

When paired with the Latte diffusion backbone, LC-VAE's cleaner latent space translated directly into better video generation. For instance, on the UCF-101 dataset with an 8-channel latent space, LC-VAE achieved a Fréchet Video Distance (FVD) of 654.96 and an Inception Score (IS) of 66.72, handily beating the baseline WF-VAE (FVD: 687.60, IS: 60.57).

Figure 4. Overview of our framework. The model first applies a multi-level wavelet transform (Multi-WT) to the latent features produced by the encoder. Low-frequency channels are then selected to retain compact yet informative representations in the wavelet domain, while the high-frequency subbands are zeroed out. During generation, diffusion operates within this favorable and compressed subspace. The sampled representation is subsequently zero-padded, passed through multi-scale inverse wavelet transforms (Multi-IWT), and finally decoded to reconstruct the video.

Limitations and Future Work

While highly effective, the current iteration of LC-VAE relies on a fixed zero-out design for high-frequency subbands. The authors note that they do not dynamically tune or adapt the compression ratios based on video content.

Additionally, this work focused strictly on optimizing the VAE bottleneck; the authors did not modify or optimize the downstream diffusion model architectures to fully exploit the new low-frequency latent space. Exploring adaptive frequency selection and co-designing diffusion architectures for wavelet-compressed latents represent promising future directions.

Summary updated

BibTeX
@inproceedings{guan2026latent,
  author = {Jiarui Guan and Wenshuai Zhao and Zhengtao Zou and Juho Kannala and Arno Solin},
  title = {{Latent-Compressed Variational Autoencoder for Video Diffusion Models}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=8smT1cbDsp},
}
Figure