Learned Video Compression via Joint Spatial-Temporal Correlation Exploration

Haojie Liu, Han Shen, Lichao Huang, Ming Lu, Tong Chen, Zhan Ma

Introduction

Traditional video compression standards, such as H.264/AVC and H.265/HEVC, have long relied on hand-crafted components optimized over decades. While highly effective, these modular systems—consisting of separate blocks for motion estimation, transform, and entropy coding—are difficult to optimize globally in an end-to-end fashion.

Recent advancements in deep learning have paved the way for "learned" video compressors. However, many existing models struggle with two primary challenges: high computational complexity due to multi-stage motion estimation (often requiring heavy pre-trained models like FlowNet) and the under-utilization of temporal redundancy. Most current methods focus solely on "first-order" motion—the pixel-wise displacement between two adjacent frames—while ignoring "second-order" correlations, such as acceleration or consistent trajectories across multiple frames. This research introduces an end-to-end framework designed to address these hurdles by jointly exploring spatial and temporal correlations.

Methodology: Beyond First-Order Motion

The proposed framework shifts away from traditional two-stage motion estimation. Instead of using a fixed, pre-trained model to estimate optical flow, the authors implement a one-stage unsupervised flow learning process. The model learns to extract quantized features directly from consecutive frames, creating an implicit motion representation. This approach avoids the "quantization-induced motion noise" that typically occurs when a separate flow estimator is forced to handle compressed data it wasn't designed for.

Hierarchy of motion representation from consecutive frames to second-order temporal correlations.

A key innovation is the exploration of second-order motion representation. By utilizing a Convolutional Long Short-Term Memory (ConvLSTM) network, the model maintains a temporal prior buffer. This allows the system to predict current motion based on patterns observed in previous frames, effectively capturing the "memory" of motion. This second-order exploration alone accounts for a significant portion of the model's quality gains, ranging from 2% to 10%.

Architecture and Spatial-Temporal Priors

To achieve high coding efficiency, the framework employs an adaptive entropy model that utilizes joint spatial-temporal priors. When predicting the probability of motion features, the model considers spatial neighbors, global hyperpriors, and the aforementioned temporal priors from the ConvLSTM.

For the compression of the initial "intra" frame and the subsequent residual data (the error remaining after motion prediction), the authors integrate Non-Local Attention Image Compression (NLAIC). This component uses attention mechanisms to capture both local textures and global patterns, ensuring that complex visual information is preserved more effectively than with standard convolutions.

The architecture of the compression network featuring non-local attention transforms and an entropy model.

Experimental Results

The model was trained on the Vimeo 90k dataset and evaluated using standard benchmarks, including the HEVC common test sequences and the Ultra Video Group (UVG) dataset. The results demonstrate state-of-the-art performance:

  • Coding Efficiency: The model achieved a 50.36% BD-rate reduction compared to the H.264/AVC anchor on HEVC sequences and 51.67% on the UVG dataset.
  • Comparison to H.265: This framework is among the first end-to-end learned methods to consistently outperform the H.265/HEVC codec across various bitrates and test sequences.
  • Visual Fidelity: Qualitatively, the learned model produces smoother reconstructions at low bitrates, avoiding the distracting "blocky" artifacts often seen in traditional codecs.

Conclusion and Future Directions

By treating video compression as a joint exploration of spatial and temporal correlations, this research demonstrates that end-to-end learned models can surpass industry-standard hand-crafted codecs. The inclusion of second-order motion patterns and non-local attention proves vital for maximizing compression efficiency.

Future work will focus on further reducing the bitrate required for motion data through "decoder-side flow derivation" (e.g., frame interpolation) and simplifying the network architecture to improve processing speed. Additionally, the authors plan to extend this framework to more complex data types, such as 3D and multi-spectral video.

Summary updated

BibTeX
@inproceedings{liu2020learned,
  author = {Haojie Liu and Han Shen and Lichao Huang and Ming Lu and Tong Chen and Zhan Ma},
  title = {{Learned Video Compression via Joint Spatial-Temporal Correlation Exploration}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i07.6825},
}
Figure