arXiv:2610.13023cs.CVOct 2026

Manuscript Offprint

arXiv:2610.13023

Unified Generative Video Compression with Autoregressive and Bidirectional Video Diffusion

Tianyu Zhang, Shuai Huo, Dengchao Jin, Hewei Liu, Meng Lei, Tianwen Wu, Jiawen Gu, Chao Zhou, Li Li, Dong Liu

ABSTRACT

Video diffusion models can reconstruct visually compelling content from severely compressed representations at ultra-low bitrates, but they impose a rigid deployment trade-off. Bidirectional (BI) models achieve high quality through dense full-sequence attention, yet require the entire sequence before reconstruction and incur substantial latency. Autoregressive (AR) models enable low-delay streaming, but their restricted temporal context reduces compression efficiency. This tension is particularly relevant when a video stream must be decoded in real time yet is also stored for later, quality-oriented playback, making AR and BI models natural choices for the live and replay stages, respectively. To support both stages, we present UniGVC, a Unified Generative Video Codec that supports two decoding modes from a single bitstream. UniGVC-BI employs a BI-DiT with dense attention for quality-oriented random-access decoding, whereas UniGVC-AR uses windowed AR-DiT for low-delay streaming. Both paths share a hierarchical latent codec that recurrently produces the same conditions with ultra-low bitrates, allowing UniGVC-BI to serve as a conditional teacher for single-step distillation of UniGVC-AR. A tiny conditional video decoder further reduces streaming latency while preserving most of the reconstruction quality. On standard 1080p benchmarks, UniGVC-BI achieves the best overall rate-distortion-perception trade-off among the evaluated methods and produces temporally stable video at rates as low as 0.0005 bits per pixel. Meanwhile, UniGVC-AR remains competitive while decoding 1080p video at 36.85 FPS, over 250×250\times faster than UniGVC-BI. Code and models will be released later.

1 INTRODUCTION

Video compression expects to preserve convincing content at rates where accurate transmission of pixels is impossible. Traditional standards such as H.266/VVC (Bross et al., 2021), as well as distortion-optimized neural codecs (Li et al., 2021; 2024; Jia et al., 2025), are highly effective at removing spatial and temporal redundancy. At low bitrates, however, minimizing pixel distortion encourages averaging over details, producing blur and erasing fine structure. Generative codecs (Qi et al., 2025; Guo et al., 2025; Mao et al., 2026) instead accept synthesized but visually consistent details and target the rate-distortion-perception trade-off (Blau & Michaeli, 2019).

Video diffusion transformer (DiT) can jointly reason about appearance and motion and is consequently well suited to coherent perceptual reconstruction (Peebles & Xie, 2023; Wan et al., 2025). Nevertheless, its advantages come at a substantial systems cost: dense bidirectional attention requires the whole coded segment, iterative denoising invokes the large model many times, and the accompanying 3D VAE decoder can itself dominate latency. Such a diffusion decoder is attractive for quality-oriented, delay-tolerant operation, but unsuitable for streaming scenarios.

Autoregressive video diffusion removes future evidence, while causal attention permits a frame or latent chunk to be emitted as soon as its condition arrives, and cached keys and values avoid recomputing the past (Yin et al., 2025; Huang et al., 2026b). This distinction is important in applications such as video conference and online teaching, where the same stream must be viewed in real time.

(a) Stage 1. Joint Codec Training

Figure

(b) Stage 2. Adversarial Distillation

(c) Stage 3. Pixel Finetuning with Tiny-D

Merge LoRA

Figure 1: Training and inference pipeline of UniGVC. (a) Training stage 1 jointly adapts a shared latent codec and LoRA modules for a dense bidirectional DiT (BI-DiT) and a windowed causal DiT (AR-DiT). (b) Stage 2 merges the LoRAs and distills AR-DiT to one step using BI-DiT as the real score, fake score, and adversarial supervisor under the same codec condition. (c) Stage 3 refines AR-DiT and a conditional tiny decoder in pixel space. (d) At inference, the same codec condition selects either BI-DiT for random-access decoding or one-step AR-DiT for low-delay streaming.

and retained for later playback. A causal AR decoder can serve the live session with low delay. Once stored, a BI decoder can exploit both past and future context for higher-quality replay. However, existing generative video codecs typically bind the bitstream to one synthesis path.

We explore whether one compressed representation can instead support both regimes. Unlike video generation, the diffusion now receives a strong, temporally aligned codec signal reconstructed from the bitstream. This signal can serve as the autoregressive context. Conditioning on codec features rather than previously reconstructed pixels or clean latents permits parallel training with a shared diffusion timestep while retaining causal, cached inference. The same condition remains compatible with a bidirectional generator, allowing both diffusions to optimize jointly with one shared codec.

Based on this observation, we introduce UniGVC (Fig. 1), a unified generative video compression framework at ultra-low bitrates supporting bidirectional and autoregressive diffusion decoding in a continuous video latent space (Wan et al., 2025). We facilitate a recurrent hierarchical codec to compress video latents with ultra-low bitrates. The bitstream reconstructs a sequence of shared codec conditions. UniGVC-BI processes those conditions with dense bidirectional attention and iterative denoising, maximizing perceptual quality and temporal consistency for buffered random-access decoding. UniGVC-AR instead uses contextual autoregression and a windowed KV cache for low-delay causal streaming. We distill it into one step with the bidirectional teacher through distribution matching and adversarial supervision, then replace the costly 3D video VAE decoder with a condition-aware tiny causal decoder. Inference consequently supports switching between generative decoders for different decoding quality and latency with the same bits.

We summarize our contributions as:

• We present a unified generative video compression framework whose single bitstream supports both a quality-oriented bidirectional decoding mode and a real-time autoregressive decoding mode, covering random-access and low-delay use cases at ultra-low bitrates.

• We develop a hierarchical latent video codec for efficient bits allocation at severe compression. To enable autoregressive streaming, we distill AR-DiT into one step exploiting BI-DiT as the distribution teacher under the same codec condition. A conditional tiny decoder further breaks the real-time decoding bottleneck while maintaining most of the quality.

• Extensive experiments on video benchmarks demonstrate that UniGVC-BI achieves superior rate-distortion-perception trade-off and temporal stability at bitrates as low as 0.0005 bpp, while UniGVC-AR remains competitive and reaches 36.85 decoding FPS at 1080p.

Figure

Figure 2: Codec overview and analysis on bits allocation. Left: The unified latent video codec compresses video latent ltl_t with hierarchical entropy modeling, updates recurrent feature memories, then synthesizes the shared condition ctc_t for later autoregressive or bidirectional video generation. Most modules are shared across intra and inter latent frames. “DC Blocks” stands for depthwise convolution blocks (Li et al., 2026). Right: Bits allocation comparison on HEVC-B. “Factorized Hyperprior” omits the zt−rtz_t - r_t decomposition and applies the standard factorized entropy bottleneck, producing ztz_t with substantial bits without context modeling. In contrast, HEM assigns most bits to the context-modeled yty_t and ztz_t, leaving less than 3% bits on weakly modeled rtr_t with improved compression efficiency and reconstruction quality.

References (63)