Bi-Directional Deep Contextual Video Compression

Xihua Sheng, Li Li, Dong Liu, Shiqi Wang · DOI

Abstract

This paper presents DCVC-B, a deep learning-based video compression scheme optimized for bi-directional (B) frames. By transitioning from traditional residual coding to a conditional coding paradigm, DCVC-B leverages multi-scale temporal contexts and a hierarchical training strategy. Experimental results demonstrate a 26.6% average BD-Rate reduction compared to H.265/HEVC, outperforming H.266/VVC on several benchmarks.

Introduction

Video compression relies heavily on B-frames, which reference both past and future frames to achieve high coding efficiency. While neural video codecs have made significant strides in P-frame (uni-directional) coding, B-frame performance has historically lagged behind traditional standards. This gap stems from three main challenges: the high bitrate cost of bi-directional motion vectors, underutilization of multi-scale temporal correlations, and the lack of efficient hierarchical training strategies that mimic traditional quality structures.

Methodology: The DCVC-B Architecture

DCVC-B addresses these challenges by moving away from simple residual subtraction toward a conditional coding framework. The system propagates high-dimensional features rather than raw pixels, allowing for a more robust representation of complex textures and motion.

The overall architecture of DCVC-B, highlighting the motion estimation, context mining, and contextual coding modules.

Bi-Directional Motion Difference Context Propagation

To mitigate the "bitrate tax" of sending two sets of motion vectors, DCVC-B utilizes the motion history of reference frames. By predicting current motion based on previous trajectories, the model only needs to transmit the "correction" or difference, significantly reducing motion-related overhead.

Multi-Scale Temporal Context Mining

Instead of using a single-scale reference, the model extracts and warps features at multiple resolutions. This multi-scale approach provides the encoder and decoder with a rich temporal context, improving the model's ability to handle varying levels of detail and motion complexity.

Hierarchical Training Strategy

A key innovation in DCVC-B is the implementation of a hierarchical quality structure during training. Traditional codecs often compress "anchor" frames at higher quality to serve as better references for subsequent frames, preventing error propagation.

As shown in Figure 2, the training strategy assigns different quality weights to different layers within a Group of Pictures (GOP). This ensures that frames in lower layers (Layer 0, Layer 1) maintain higher fidelity, providing a stable foundation for the bi-directional prediction of frames in higher layers.

Experimental Results

DCVC-B was evaluated on standard benchmarks including the HEVC dataset, UVG, and MCL-JCV.

  • Coding Efficiency: The model achieved an average 26.6% BD-Rate reduction (PSNR) over the H.265/HEVC reference software (HM).
  • Comparison with VVC: DCVC-B outperformed the H.266/VVC reference software (VTM) on HEVC Class D and Class E datasets under random access configurations.
  • Perceptual Quality: Using MS-SSIM, the model showed a 49.9% BD-Rate reduction over H.265, preserving fine textures like grass and hair that are often lost to blocking artifacts in traditional codecs.

Conclusion and Future Work

DCVC-B represents a significant step forward in deep video coding, successfully closing the gap with traditional standards for B-frame compression. While the model excels in standard scenarios, performance can degrade in high-motion sequences where temporal contexts become blurred. Future research will focus on improving bi-directional context accuracy for rapid motion and optimizing computational complexity for real-time applications.

Summary updated

BibTeX
@article{sheng2025bi,
  author = {Xihua Sheng and Li Li and Dong Liu and Shiqi Wang},
  title = {{Bi-Directional Deep Contextual Video Compression}},
  journal = {IEEE Trans. Multimedia},
  year = {2025},
  doi = {10.1109/tmm.2025.3543061},
}
Figure