Compressing Scene Dynamics: A Generative Approach

Shanzhi Yin, Zihan Zhang, Bolin Chen, Shiqi Wang, Yan Ye

TL;DR

Researchers have developed Dynamics-Codec, a video compression framework that prioritizes "how things move" over "what things look like." By converting complex scene motions into compact mathematical tokens and using a pre-trained diffusion model to "re-animate" them at the decoder, they achieved high-quality video at ultra-low bitrates, outperforming the current state-of-the-art conventional codecs.

What Problem Does This Paper Address?

Traditional video compression (like the files on your phone or Netflix) works by finding redundancies between frames. However, at ultra-low bitrates (think 5-15 kbps), these methods break down, resulting in "blocky" or blurry videos.

Recent "Generative Video Coding" (GVC) attempts to fix this by using AI to "hallucinate" missing details. The catch? Most GVC models are specialized for specific content, like talking faces or human bodies. If you try to use a "face-optimized" codec to compress a video of a swaying forest or a boat on a lake, it fails. The authors address this lack of generalization by shifting the focus from content priors (knowing what a face looks like) to motion-pattern priors (knowing how natural objects typically oscillate or drift).

Methods

The authors propose a framework called Dynamics-Codec, which consists of two main stages:

  1. Optical Flow Tokenization (Encoder):
    • Instead of sending every pixel, the encoder extracts "dense motion" (optical flow) between a keyframe and subsequent frames.
  2. It uses a dense-to-sparse transformation: a watershed-based sampling method identifies the most important movement regions.
  3. These sparse movements are compressed into a tiny set of motion tokens (vectors) using a U-Net-like feature extractor. This reduces the motion data to a fraction of its original size.
  4. Flow-driven Generation (Decoder):
    • The decoder receives the keyframe (compressed via standard methods) and the motion tokens.
  5. A dense motion recovery module predicts the full-frame movement from the sparse tokens.
  6. Finally, a pre-trained Stable Video Diffusion (SVD) model, equipped with a "motion adaptor" (similar to a ControlNet), uses the recovered flow to animate the keyframe, generating a visually pleasing and temporally consistent video.

Datasets

The researchers evaluated their model on two distinct types of content to test its versatility:

  • Motion Dynamic Test Set: 40 videos collected from the internet featuring diverse natural scenes like swaying flowers, drifting boats, and oscillating objects.
  • JVET-GFV Test Set: 18 sequences of talking faces (Class D). This was used to prove that a motion-prior approach can handle content-specific tasks just as well as (or better than) specialized models.
  • Training: The motion tokenizer was trained on 900 diverse video sequences to learn general motion patterns.

Key Insights and Ideas

  • Motion is Universal: While textures vary wildly (leaves vs. water vs. skin), the patterns of motion—like oscillations or rectilinear movements—are often shared across different types of scenes.
  • Sparse is Enough: You don't need to transmit the movement of every single pixel. By identifying key movement regions and using AI to fill in the gaps, you can achieve massive compression gains.
  • Leveraging "Foundation" Models: Instead of training a video generator from scratch, the authors used a pre-trained Stable Video Diffusion model. This provides a massive "visual library" for the decoder to draw from, ensuring that even at low bitrates, the reconstructed video looks "real" to the human eye.

Key Results

  • Superior Efficiency: Dynamics-Codec achieved significant BD-rate savings (a measure of compression efficiency) over the latest conventional standard, VVC. It saved roughly 38% to 48% in bitrate while maintaining better perceptual quality.
  • Perceptual Dominance: In metrics that measure how humans actually perceive quality (like LPIPS and DISTS), the proposed method consistently outperformed VVC and the experimental Enhanced Compression Model (ECM).
  • User Preference: In a "blind" user study, participants preferred the Dynamics-Codec reconstructions over VVC and ECM more than 90% of the time at similar bitrates.
  • The Generative Trade-off: The paper notes that while the videos look better to humans, they score lower on "pixel-perfect" metrics like PSNR. This is expected in generative coding, where the goal is visual realism rather than mathematical identity to the source.

Limitations and Future Work

  • Computational Complexity: Because diffusion models are iterative, the decoding process is currently slow compared to traditional codecs. This makes real-time playback a challenge on consumer hardware.
  • Motion Scope: The current model is optimized for "small motion dynamics." It may struggle with very large, fast, or highly complex articulated movements (like a professional dance routine).
  • Pixel Fidelity: Since it is a generative approach, it is not suitable for applications where exact pixel-level accuracy is required (e.g., medical imaging or certain types of forensic surveillance).

The authors suggest that future work will focus on reducing the number of sampling steps in the diffusion process to speed up the decoder.

Summary updated

BibTeX
@inproceedings{yin2025compressing,
  author = {Shanzhi Yin and Zihan Zhang and Bolin Chen and Shiqi Wang and Yan Ye},
  title = {{Compressing Scene Dynamics: A Generative Approach}},
  booktitle = {DCC},
  year = {2025},
  doi = {10.1109/dcc62719.2025.00101},
}
Figure