NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learned Video Compression

Oren Rippel, Sanjay Nair, Carissa Lew, Steve Branson, Alexander G. Anderson, Lubomir D. BourdevICCV 2019 · DOI

Introduction

Video content dominates global internet traffic, yet the underlying principles of video compression have remained largely static for decades. Traditional codecs, such as H.264/AVC and H.265/HEVC, rely on hand-engineered algorithms for motion compensation—predicting future frames by tracking pixel block translations. These legacy systems suffer from rigidity, struggling with complex transformations like rotations or lighting changes, and suboptimality, as they compress motion maps and residual errors as independent steps. This paper presents a fully learnable end-to-end video codec that replaces these manual components with a deep learning architecture capable of joint optimization.

Methodology: A Learned State Approach

The proposed system moves beyond simple pixel-space predictions by propagating a "learned state" through a neural network. The architecture is defined by four key innovations:

  1. Joint Compression: Rather than encoding motion (optical flow) and residuals separately, the model utilizes a single bottleneck. This allows the network to dynamically allocate its bit budget between describing movement and correcting errors based on scene complexity.
  2. Propagation of a Learned State: Instead of relying solely on the previous reconstructed frame, the model maintains an internal latent state (similar to a Recurrent Neural Network). This acts as a long-term memory, retaining abstract features that improve future frame prediction.
  3. Complex Motion Compensation: By leveraging neural networks, the system can compensate for complex spatio-temporal patterns, such as out-of-plane rotations or shape deformations, which traditional block-matching algorithms fail to capture.
  4. Spatial Rate Control: A "spatial multiplexer" allows a single model to handle multiple bitrates. A rate controller assigns more bits to visually complex or important regions (like a moving face) and fewer to static backgrounds.
The proposed architecture integrates motion compensation and residual compression into a single learnable pipeline.

Experimental Setup and Results

The model was trained on a custom dataset of high-definition action scenes from YouTube, selected for their visual complexity. Evaluation was conducted on standard benchmarks including the Consumer Digital Video Library (CDVL) for SD and Xiph 1080p for HD content.

In low-latency mode (sequential processing without future frame look-ahead), the learned codec consistently outperforms commercial standards across nearly all bitrates:

  • Efficiency Gains: To achieve equivalent visual quality, HEVC/H.265 and VP9 require files up to 60% larger for SD content and 20% larger for HD 1080p content. Compared to H.264, the learned codec reduces file sizes by up to 35% at HD resolutions.
  • Visual Fidelity: Unlike traditional codecs that exhibit "blocking" or "pixelation" at low bitrates, the ML-based approach produces smoother, more natural reconstructions by avoiding rigid block-based artifacts.
Performance curves (MS-SSIM vs. BPP) and visual comparisons demonstrate that the learned codec achieves higher quality at lower bitrates than H.264, H.265, and VP9.

Conclusion and Future Work

This work demonstrates the viability of end-to-end machine learning for video compression, proving that learned latent states can outperform hand-coded pixel-space heuristics. While the current implementation is limited to low-latency P-frame prediction and faces computational hurdles for real-time deployment (decoding at ~10 fps on a high-end GPU), it sets a new state-of-the-art for compression efficiency. Future research will focus on incorporating bi-directional prediction (B-frames) and further optimizing the encoder for consumer-grade hardware.

Summary updated

BibTeX
@inproceedings{rippel2019learned,
  author = {Oren Rippel and Sanjay Nair and Carissa Lew and Steve Branson and Alexander G. Anderson and Lubomir D. Bourdev},
  title = {{Learned Video Compression}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2019},
  doi = {10.1109/iccv.2019.00355},
}
Figure