IBVC: Interpolation-driven B-frame video compression

Chenming Xu, Meiqin Liu, Chao Yao, Weisi Lin, Yao Zhao

TL;DR

IBVC (Interpolation-driven B-frame Video Compression) simplifies the complex B-frame coding pipeline by replacing traditional motion vector transmission with "bit-rate free" video frame interpolation. By focusing exclusively on artifact reduction rather than redundant motion estimation, the authors achieve state-of-the-art compression performance and significant parameter savings compared to existing neural and traditional codecs like H.266/VVC.

What Problem Does This Paper Address?

In video compression, B-frames (bi-directional frames) are crucial for efficiency because they predict content using both past and future reference frames. However, current "learned" (neural) B-frame codecs often struggle with efficiency. Most simply adapt P-frame logic, which requires estimating, quantizing, and transmitting motion vectors.

This approach has two major drawbacks:

  1. Bit-rate Overhead: Transmitting motion information consumes a significant portion of the bit budget.
  2. Quantization Artifacts: When motion vectors are quantized to save space, they become inaccurate, leading to misalignments and "checkerboard" artifacts in the reconstructed frame.

Previous attempts to use Video Frame Interpolation (VFI) as a shortcut often ended up performing "repetitive MEMC" (Motion Estimation and Motion Compensation)—using VFI to get a reference, then another motion codec to align it. IBVC aims to break this cycle of redundancy.

Methods

The core philosophy of IBVC is to treat B-frame coding as an artifact reduction task rather than a motion-plus-residual task. The pipeline consists of four stages:

  1. I/P-frame Coding: Standard neural coding for reference frames.
  2. Video Frame Interpolation (VFI): Using the IFRNet-S architecture, the system generates an intermediate frame from decoded references. Since both the encoder and decoder can perform this calculation, no motion vectors need to be transmitted—making this step "bit-rate free."
  3. Artifact Reduction Codec: This is the paper's primary innovation. Instead of a standard residual codec, it uses two specialized components:
  4. Residual Guided Masking Encoder (RGME): This encoder uses the pixel-level difference between the interpolated frame and the ground truth to create a weight map. This "mask" allows the model to ignore perfectly aligned areas and focus its bit-rate on fixing interpolation artifacts and fine details.
  5. Conditional Spatio-Temporal Contextual Decoder (CSCD): This decoder leverages prior information from historical frames (a Markovian dependence) to ensure temporal consistency and further refine the image using a multi-scale approach involving GridNet and self-attention.
  6. Reordering: Placing the reconstructed frames back into their original temporal sequence.
A comparison of different B-frame coding pipelines. (a) shows traditional bi-directional flow, (b) shows VFI with additional motion coding, and (c) shows the proposed IBVC simplified pipeline.

Datasets

  • Training: The model was trained on the Vimeo-90K septuplet dataset, which contains roughly 90,000 video sequences. The 2nd and 4th frames of each septuplet served as the coding targets.
  • Evaluation: The authors tested IBVC on standard benchmarks:
  • 1080P UVG dataset (7 sequences).
  • HEVC datasets (Classes B, C, D, E, and E'), covering resolutions from 416x240 to 1920x1080.

Key Insights and Ideas

  • Motion is "Free" if you Interpolate: The authors demonstrate that high-quality VFI can restore most high-frequency semantics. If the interpolation is good enough, you don't need to send motion vectors; you only need to send the "fix" for where the interpolation failed.
  • Masking for Efficiency: By using a residual-guided mask, the encoder avoids "semantic duplication." It doesn't waste bits re-coding parts of the frame that the VFI already got right.
  • Model Agnosticism: The IBVC framework is flexible. Ablation studies showed that replacing the underlying VFI model (e.g., using CDFI instead of IFRNet) didn't break the performance gains, proving the robustness of the artifact-reduction approach.

Key Results

IBVC shows impressive gains across both neural and traditional benchmarks:

  • BD-Rate Savings: Compared to the H.266 (VTM-19.0) anchor in Random Access configuration, IBVC achieved an average bit-rate saving of -27.51% (measured by PSNR) and -30.07% (measured by MS-SSIM).
  • Parameter Efficiency: The model is remarkably lean, requiring only 11.6M parameters. For context, competing learned B-frame models like TLZMC or FRHBVC use between 24M and 40M parameters.
  • Visual Quality: Qualitative results (see Figure 9) show that IBVC maintains sharp boundaries and realistic textures (like basketball ripples or facial details) where other methods suffer from excessive smoothing or quantization noise.
Qualitative comparison on the BasketballPass dataset. IBVC (bottom right) shows fewer artifacts and better texture compared to traditional codecs and other learned methods.

Limitations and Future Work

While IBVC is efficient in terms of parameters and bit-rate, it relies on auto-regressive entropy models. These models are notoriously difficult to parallelize, which can lead to slower decoding speeds compared to "checkerboard" entropy models used in some P-frame codecs.

The authors suggest that future research should explore bi-directional entropy coding strategies. By drawing inspiration from the bi-directional nature of the frames themselves, they hope to improve the estimation of probability distributions for intermediate frames, potentially further boosting compression efficiency.

Summary updated

BibTeX
@article{xu2024ibvc,
  author = {Chenming Xu and Meiqin Liu and Chao Yao and Weisi Lin and Yao Zhao},
  title = {{IBVC: Interpolation-driven B-frame video compression}},
  journal = {Pattern Recognition},
  year = {2024},
  doi = {10.1016/j.patcog.2024.110465},
}
Figure