Extreme Video Compression with Pre-trained Diffusion Models

Bohan Li, Yiming Liu, Xueyan Niu, Bo Bai, Lei Deng, Deniz GündüzarXiv 2024 · DOI

Introduction

Traditional video compression standards, such as H.264/AVC and H.265/HEVC, are designed to minimize pixel-wise distortion (PSNR). While effective at standard bitrates, these methods struggle in "extreme" compression scenarios—defined here as bitrates as low as 0.02 bits per pixel (bpp). In these regimes, the limited bit budget forces traditional codecs to discard high-frequency information, resulting in significant blurring and blocking artifacts that degrade human perception.

This paper introduces a novel framework that shifts the focus from exact pixel reconstruction to perceptual plausibility. By leveraging the predictive power of pre-trained conditional diffusion models, the system can "hallucinate" video frames, transmitting data only when the model's predictions deviate significantly from the ground truth.

The Predict-and-Verify Framework

The proposed architecture operates through an iterative "predict-and-verify" loop involving two primary modules:

  1. Neural Image Compression: A state-of-the-art image codec (ELIC) is used to compress and transmit high-quality "anchor" frames.
  2. Diffusion-based Generation: A pre-trained Masked Conditional Video Diffusion (MCVD) model resides at the decoder. It uses previously decoded frames as context to recursively predict future frames without additional bitstream data.
The proposed iterative video compression framework using neural compression for anchors and diffusion models for frame prediction.

The critical innovation lies in the encoder's decision logic. The encoder simulates the decoder's diffusion process locally. It compares the predicted frame to the original using the Learned Perceptual Image Patch Similarity (LPIPS) metric. If the prediction remains above a quality threshold ($\rho$), a "skip" signal is sent. If the quality drops, the encoder terminates the prediction sequence and transmits a new set of anchor frames to reset the generative process.

Experimental Results

The framework was evaluated on datasets including Cityscapes (street-level video) and the Ultra Video Group (UVG) benchmark.

Quantitative Performance

The method excels in perceptual metrics at ultra-low bitrates. On the Cityscapes dataset at approximately 0.06 bpp, the proposed model achieved a Fréchet Video Distance (FVD) of roughly 738, significantly outperforming H.264, which scored 2414. While traditional codecs may maintain higher PSNR by producing blurry but "safe" averages, this method prioritizes the sharp, realistic textures preferred by human observers.

Qualitative Visual Fidelity

The visual advantages are most apparent over long sequences. Traditional codecs often lose structural integrity at extreme bitrates. In contrast, the diffusion-based approach maintains sharp edges and recognizable object shapes even after multiple frames of prediction.

Qualitative comparison at extreme bitrates. While H.264 becomes increasingly blurry over time (t=1 to t=30), the proposed method maintains high visual fidelity and sharpness.

Limitations and Conclusion

While the framework achieves unprecedented visual quality at extreme bitrates, it introduces significant computational overhead. The encoder must run the full diffusion generation process to verify quality, making real-time performance a challenge for current hardware. Future research will focus on optimizing these generative models for speed and exploring more efficient "predict-and-verify" architectures.

By treating video compression as a guided generation task, this work demonstrates that high-quality video communication is possible even under severe bandwidth constraints.

Summary updated

BibTeX
@misc{li2024extreme,
  author = {Bohan Li and Yiming Liu and Xueyan Niu and Bo Bai and Lei Deng and Deniz Gündüz},
  title = {{Extreme Video Compression with Pre-trained Diffusion Models}},
  year = {2024},
  eprint = {2402.08934},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.08934},
}
Figure