Abstract
Recent years have witnessed an increasing interest in end-to-end learned video compression. Most previous works explore temporal redundancy by detecting and compressing a motion map to warp the reference frame towards the target frame. Yet, they often fail to adequately take advantage of the historical priors in sequential reference frames. In this paper, we propose an Advanced Learned Video Compression (ALVC) approach with an in-loop frame prediction module. This module effectively predicts the target frame from previously compressed frames without consuming any bit-rate. The predicted frame serves as a superior reference, benefiting overall compression performance. The proposed in-loop prediction module is jointly optimized within the end-to-end framework. We introduce recurrent and bi-directional in-loop prediction modules for P-frames and B-frames, respectively. Experiments demonstrate state-of-the-art performance, outperforming default hierarchical B modes of x265 in PSNR and beating the slowest SSIM-tuned x265 modes on MS-SSIM. Project page: https://github.com/RenYang-home/ALVC.
Introduction
The core challenge in video compression is the efficient removal of temporal redundancy. Traditional and early learned codecs typically address this by calculating a motion map (optical flow) to warp a reference frame toward the target. However, this motion map itself consumes a significant portion of the bit-rate. Existing models often underutilize "historical priors"—the established patterns of movement in previous frames. ALVC addresses this by accurately predicting the next frame's motion for "free" based on historical data, requiring only the transmission of residual errors.
The ALVC Framework
The proposed ALVC framework integrates an "in-loop" prediction module directly into the end-to-end compression pipeline. This module generates a predicted frame $\tilde{F}_t$ from previously compressed frames without consuming any bit-rate.
In-Loop Prediction Modules
- P-frame Prediction (RecPred): For sequential prediction, ALVC utilizes a recurrent U-Net architecture with ConvLSTM layers. This allows the model to "remember" long-term motion context, generating high-quality predictions (often exceeding 30 dB PSNR) at zero bit-rate.
- B-frame Prediction: For bi-directional prediction, the framework employs a quadratic motion model. Unlike linear interpolation, this accounts for acceleration and velocity, leading to more accurate intermediate frames.
Error Decomposition and Compression
Once a frame is predicted, the system decomposes the remaining difference into two components:
- Location Error: Small offsets in pixel coordinates, compressed via an auto-encoder.
- Value Error (Residual): Differences in pixel intensity, compressed via a second auto-encoder.
This decomposition is more efficient than standard motion compensation; the location error is significantly smaller and easier to compress than a raw motion map, leading to approximately 20% bit-rate savings for motion compensation.
Experimental Results
ALVC was trained on the Vimeo-90k dataset and evaluated against standard benchmarks including JCT-VC, UVG, and VTL.
Performance Benchmarks
- State-of-the-Art Performance: ALVC consistently outperforms previous learned methods such as DVC, FVC, and DCVC across almost all datasets.
- Comparison with x265: In terms of PSNR, ALVC exceeds the default x265 (B-frame) mode. When optimized for MS-SSIM, it even outperforms the "placebo" mode—the highest quality setting of x265.
- Bit-rate Efficiency: ALVC achieves an average BDBR bit-rate reduction of 9.6% compared to the x265 anchor, with savings reaching up to 24% on specific datasets like JCT-VC Class D.
Conclusion
ALVC demonstrates that in-loop frame prediction using historical priors can significantly enhance learned video compression. While the framework achieves SOTA results, future work will focus on reducing computational complexity—currently 1.15s per frame for encoding—and improving visual texture retention. Integrating Generative Adversarial Networks (GANs) could potentially mitigate the "over-smoothing" effect common in MSE-optimized models, leading to even higher perceptual quality.
Summary updated