Spatial Decomposition and Temporal Fusion Based Inter Prediction for Learned Video Compression

Xihua Sheng, Li Li, Dong Liu

This paper, recently published in IEEE Transactions on Circuits and Systems for Video Technology, presents a significant step forward in neural video coding. By rethinking how AI models "look" at motion, the authors have developed a codec that finally edges out the current state-of-the-art traditional standard, H.266/VVC.

TL;DR

The authors introduce a learned video compression framework that uses Spatial Decomposition to handle complex, inconsistent local motion and Temporal Fusion (via ConvLSTM) to manage occlusions. The result is a codec that outperforms the H.266/VVC (VTM) reference software across all major benchmarks, achieving an average bitrate saving of 13.4%.

What Problem Does This Paper Address?

In video compression, "inter prediction" is the art of predicting the current frame based on previous ones to save data. Traditional codecs (like H.264 or HEVC) do this by dividing frames into blocks and searching for matching blocks in previous frames.

Modern "learned" (AI-based) codecs try to do this using optical flow and neural networks. However, they face two major hurdles:

  1. Motion Inconsistency: Within a small region, different things might move differently (e.g., a person walking in front of a static tree). Standard AI models tend to average these motions, leading to blurry results.
  2. Occlusion: When an object moves behind another, it "disappears." If the model only looks at the immediate previous frame, it can't find the object, leading to "ghosting" artifacts.

Methods

The researchers propose a two-pronged architecture to solve these issues:

1. Structure and Detail Decomposition (SDD)

Instead of processing the whole frame at once, the model decomposes the video into two components:

  • Structure: Obtained via down-sampling and up-sampling, this captures low-frequency information and consistent, "smooth" motion.
  • Detail: The residual difference between the original and the structure, capturing high-frequency edges and inconsistent local motions.

By estimating motion vectors for these two components separately, the model can more accurately track complex movements that would otherwise be "averaged out."

2. Long Short-Term Temporal Fusion

To handle occlusions, the model doesn't just look at the last frame. It uses a Convolutional Long Short-Term Memory (ConvLSTM) module to maintain a "memory" of historical features.

  • Short-term contexts come from the immediate previous frame.
  • Long-term contexts are accumulated over time. If a region is occluded in the previous frame, the model can "reach back" into its long-term memory to find the missing information and produce a clean prediction.

Datasets

  • Training: The model was trained on the Vimeo-90K dataset, a standard large-scale collection of video clips.
  • Evaluation: The authors tested against several industry-standard benchmarks:
  • HEVC Common Test Sequences (Classes B, C, D, and E).
  • UVG Dataset (High-quality 1080p sequences).
  • MCL-JCV Dataset (Focused on visual quality).
  • HEVC RGB Class (For color accuracy testing).

Key Insights and Ideas

  • Separation of Concerns: The "aha moment" here is that inconsistent motion lives primarily in the high-frequency "details." By isolating these details, the motion estimation network (SpyNet) isn't distracted by the dominant, smooth motion of the background.
  • Hierarchical Fusion: The model doesn't just slap long-term and short-term data together. It uses a hierarchical fusion module that aligns features at multiple scales, ensuring that the "memory" from the ConvLSTM is spatially accurate before it's used to fill in occluded gaps.
  • End-to-End Optimization: Unlike traditional codecs where each part is hand-tuned, this entire pipeline is optimized together using a Rate-Distortion (R-D) loss function, balancing file size against visual quality.

Key Results

The proposed codec shows impressive gains over both traditional and previous AI-based methods:

  • Vs. H.266/VVC (VTM): Achieved an average 13.4% BD-Rate saving for PSNR (meaning it provides the same quality at 13.4% less data).
  • Perceptual Quality: When measured by MS-SSIM (a metric closer to human perception), the savings jumped to a staggering 48.0% over VTM.
  • Visual Fidelity: Qualitative results show that the model preserves sharp edges (like earrings on a moving dancer or text on a background) much better than VTM, which often blurs these regions due to motion estimation errors.

Limitations and Future Work

While the performance is top-tier, the authors note a slight increase in computational overhead. The encoding time increased from 0.82s (baseline) to 0.94s per 1080p frame on an NVIDIA 3090 GPU. While this is fast for a research model, it highlights the ongoing challenge of making learned codecs efficient enough for real-time mobile use.

Future work will likely focus on further reducing this complexity and exploring even more sophisticated spatial decomposition methods to handle highly textured or chaotic motion.

Summary updated

BibTeX
@article{sheng2024spatial,
  author = {Xihua Sheng and Li Li and Dong Liu and Houqiang Li},
  title = {{Spatial Decomposition and Temporal Fusion Based Inter Prediction for Learned Video Compression}},
  journal = {IEEE Trans. Circuits Syst. Video Technol.},
  year = {2024},
  url = {https://openreview.net/forum?id=JjB428jrU1},
}
Figure