LiveVAE: Causal Window Attention Makes Efficient Streaming Video VAE

Jiachen An, Sijie Zhao, Le Li, Hongyu Liu, Zhiyuan Li, Tianyu Yang, Xiaoyu Kong, Xunliang Cai, Yong Zhang, Chi-Man Pun, Xiaoming Wei, Xiaodong CunarXiv 2026

TL;DR

Modern AI video generators have gotten surprisingly fast at dreaming up scenes, leaving the video "translator"—the Variational Autoencoder (VAE) that compresses and decompresses pixels—as the surprising bottleneck. By discovering that video VAEs only care about a tiny neighborhood in space and time, the authors built LiveVAE, a streaming encoder and decoder using local attention. It drops right into existing pipelines without retraining the generator, accelerating end-to-end processing by up to 13.4× with virtually zero quality loss.

What Problem Does This Paper Address?

If you want to generate or edit AI video in real time, you rely on two main engines: a Diffusion Transformer (DiT) that generates ideas in a compressed "latent space," and a video VAE that translates back and forth between raw pixels and those compact latents.

Recently, DiTs have become blazingly fast thanks to causal caching and distillation, needing just a few steps to generate frames. Suddenly, the humble VAE is the slowest part of the room—accounting for nearly 65% of total inference time at 720p in some setups. Worse, interactive tasks like live video editing require encoding incoming video frames on the fly, which can be even slower than decoding.

Existing VAEs rely on heavy 3D convolutions whose compute explodes at high resolutions, or full-frame Transformer attention that scales quadratically with pixel count. Most speed-up attempts only shrink the decoder (ignoring encoding) or sacrifice visual crispness. The authors ask a foundational question: Does translating a patch of pixels actually require looking at the entire video frame and history?

Methods

Instead of guessing, the authors probed pretrained VAEs (Wan2.2 and MiniMax-H3) to map their Effective Receptive Fields—measuring which input pixels actually influence a given output. Finding extreme locality, they designed LiveVAE, a symmetric Transformer-based streaming encoder and decoder:

  • Causal Window Attention (CWA): Rather than attending to whole frames, each token only looks at a tiny spatial window ($7 \times 7$) across just the current and immediately preceding latent frame ($T = 2$). During streaming, it keeps a tiny, fixed-size rolling KV cache of just one past latent frame, regardless of how long the video runs.
  • Frame-Wise 2D Decomposition: Instead of writing clunky, irregular 3D memory kernels, they compute fast 2D spatial neighborhood attention per frame and mathematically merge them across time using rescaled log-sum-exp normalizers.
  • Three-Stage Progressive Distillation: To make LiveVAE a "drop-in" replacement that doesn't break frozen DiTs, they train in three steps: (1) distill the student encoder to match the teacher's latent space, (2) distill the student decoder on teacher latents, and (3) jointly fine-tune both end-to-end with a pretrained Real-ESRGAN discriminator to keep textures sharp.
  • System-Level Optimizations: They fuse attention operators into single GPU kernels, compile static subgraphs regionally, and apply Quantization-Aware Training (QAT) to run feed-forward layers in FP8 precision (cleverly leaving the sensitive final decoder block in higher precision so dynamic range doesn't saturate).

Datasets

  • Training: An internal collection of filtered 4–6 second video clips (sampled at 480p and 720p) mixed with 20% still images, which provide sharp spatial supervision.
  • Evaluation: No new benchmarks are introduced. Reconstruction is tested on 200 clips from UltraVideo across four resolutions (480p up to 4K/2160p). Downstream generation is evaluated on VBench-2.0 (text-to-video) and CodeVideoBench (reference-to-video).

Key Insights and Ideas

  • VAEs are shockingly myopic: Despite having massive theoretical receptive fields, pretrained video VAEs do almost all their work locally. Spatially, a compact $7 \times 7$ neighborhood holds 95–100% of the gradient energy. Temporally, just two steps ($T=2$) capture 71–99% of the influence!
Temporal Window Influence showing 71-99% energy captured within T=2 steps.
  • Locality unlocks "free" 4K extrapolation: Because LiveVAE only models local $7 \times 7$ patterns and uses DiT-aligned 3D rotary embeddings (RoPE), a model trained strictly on 480p and 720p videos extrapolates directly to 1080p and 2160p (4K) at inference time—actually beating a model trained with larger $16 \times 16$ windows that overfit to training resolutions.
  • Decouple first, marry later: Directly connecting an independently distilled encoder and decoder causes a noticeable quality drop because the decoder hasn't adapted to the student encoder's slight quirks. A brief 5,000-step joint fine-tuning stage recovers over 1 dB in PSNR while keeping the latent space anchored for the DiT.

Key Results

Tested on NVIDIA H100 GPUs across MiniMax-H3 and Wan2.2 base models:

  • Speed & Reconstruction (MiniMax-H3): Without system tricks, LiveVAE encodes 5.2–6.2× faster and decodes 3.0–3.3× faster than the official VAE while achieving higher PSNR across 480p–2160p (e.g., 39.05 dB vs. 38.68 dB at 2160p).
  • Full Infrastructure Speedup: Adding kernel fusion, compilation, and FP8 QAT pushes end-to-end speedup up to 13.4× (reaching up to 18.7× for encoding and 9.5× for decoding at 1080p) while staying within 0.13 dB PSNR of the unquantized model.
  • Memory Savings: On Wan2.2 at 2160p, LiveVAE slashes peak GPU memory from 55.9 GB down to 15.7 GB while decoding 6.5× faster.
  • Drop-in Generation: Swapping LiveVAE into frozen text-to-video and reference-to-video pipelines yields nearly identical benchmark scores (e.g., 84.0 vs. 84.1 on CodeVideoBench, and 0.581 vs. 0.582 on VBench-2.0 for Wan2.2).

Limitations and Future Work

LiveVAE isn't completely immune to perceptual trade-offs. On very tricky visual cases—like dense textures, tiny text, small faces, and fast motion—fine details can still blur slightly compared to the heavy convolutional teacher, reflected in slightly worse LPIPS perceptual scores and minor dips in VBench Human Fidelity on MiniMax-H3. The authors suspect part of this stems from forcing a Transformer VAE to mimic a latent space originally shaped by convolutions. Closing this perceptual gap without sacrificing streaming speed is their next frontier. Additionally, their FP8 quantization overhead outweighs its benefits at lower resolutions, making it useful only at 1080p and above.

Summary updated

BibTeX
@misc{an2026livevae,
  author = {Jiachen An and Sijie Zhao and Le Li and Hongyu Liu and Zhiyuan Li and Tianyu Yang and Xiaoyu Kong and Xunliang Cai and Yong Zhang and Chi-Man Pun and Xiaoming Wei and Xiaodong Cun},
  title = {{LiveVAE: Causal Window Attention Makes Efficient Streaming Video VAE}},
  year = {2026},
  eprint = {2611.34912},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.34912},
}
Figure