TL;DR
This paper introduces DCVC-B, a deep learning-based video compression scheme specifically designed for B-frames (bi-directional frames). By leveraging multi-scale temporal contexts and a hierarchical training strategy, it achieves a 26.6% average reduction in BD-Rate compared to the H.265/HEVC standard, even outperforming the newer H.266/VVC standard on several benchmarks.
What Problem Does This Paper Address?
In video compression, B-frames are crucial because they can reference both past and future frames, allowing for much higher efficiency than P-frames (which only look backward). However, while deep learning has revolutionized P-frame coding, deep B-frame codecs have historically lagged behind traditional standards like H.265.
The authors identify three primary bottlenecks:
- High Motion Costs: Compressing bi-directional motion vectors (MVs) is expensive; the bitrate "tax" for sending two sets of motion data often outweighs the prediction gains.
- Underutilized Temporal Info: Most models don't fully exploit the rich, multi-scale correlations between the current frame and its bi-directional references.
- Inefficient Training: Standard training strategies fail to build a "hierarchical quality structure," where certain frames are compressed at higher quality to serve as better references for others.
Methods
The authors propose DCVC-B, which moves away from the traditional "residual coding" (coding the difference between frames) toward a conditional coding paradigm. Key innovations include:
- Bi-Directional Motion Difference Context Propagation: Instead of just compressing motion vectors, the model uses the motion history of reference frames to predict the current motion. This "context propagation" significantly reduces the bits needed to describe how objects move.
- Multi-Scale Temporal Context Mining: Rather than using raw pixels as references, the model propagates high-dimensional features. It extracts and warps these features at multiple scales (resolutions) to provide the encoder and decoder with a rich "understanding" of the scene's temporal evolution.
- Bi-Directional Temporal Entropy Model: To compress the latent representations (the "bottleneck" data) more efficiently, the model uses a temporal prior derived from the reference frames' own latent data.
- Hierarchical Quality Structure-Based Training: The authors designed a training strategy that assigns different quality weights to different layers of a Group of Pictures (GOP). This mimics traditional codecs, where "anchor" frames are kept at higher fidelity to prevent error propagation.
Datasets
The model was trained on the Vimeo-90k dataset (short sequences) and a larger set of 9,000 33-frame clips from raw Vimeo videos. Evaluation was performed on standard industry benchmarks:
- HEVC Dataset: Classes B, C, D, E, and RGB (resolutions from 240p to 1080p).
- UVG (Ultra Video Group): High-quality 1080p sequences.
- MCL-JCV: A dataset focused on just-noticeable differences in video quality.
Key Insights and Ideas
- Features > Pixels: A major "aha moment" is that propagating deep features through time is far more effective than propagating pixels. Features can represent complex textures and motion better than raw RGB values, especially when those values are slightly distorted by compression.
- Motion has Context: Motion isn't random. By looking at how a reference frame moved relative to its references, the model can guess how the current frame will move, allowing it to send only the "correction" (difference) rather than the whole motion vector.
- Conditioning over Subtraction: Traditional codecs subtract a prediction from the original to get a "residual." DCVC-B treats the prediction as a condition for a neural network. This allows the network to learn non-linear ways to combine new information with old information, which is much more flexible than simple subtraction.
Key Results
- Efficiency: DCVC-B achieves an average 26.6% BD-Rate reduction (PSNR) compared to the H.265/HEVC reference software (HM).
- Beating VVC: Remarkably, it surpasses the H.266/VVC reference software (VTM) on the HEVC Class D and Class E datasets under the same random access configuration.
- Perceptual Quality: When measured by MS-SSIM (a metric closer to human perception), the gains are even more dramatic, showing a 49.9% BD-Rate reduction over H.265.
- Visual Fidelity: Qualitative results show that DCVC-B preserves fine textures (like grass or hair) that traditional codecs often blur into "blocking artifacts."
Limitations and Future Work
The authors acknowledge a significant hurdle: Large Motion.
- When objects move very quickly or the distance between reference frames is large, the temporal contexts become "blurred," and the model's performance drops. In these cases, it can actually perform worse than specialized P-frame models.
- Computational Complexity: While the decoding time is around 1 second for a 1080p frame (faster than some deep codecs), it is still significantly slower than hardware-accelerated traditional decoders.
Future work will focus on obtaining more accurate bi-directional contexts for high-motion scenes and finding ways to discriminately use temporal information when prediction errors are high.
Summary updated