Object Segmentation-Assisted Inter Prediction for Versatile Video Coding

Zhuoyuan Li, Zikun Yuan, Dong Liu, Xiaohu Tang, Feng Wu · DOI

Abstract

Traditional video coding relies on rectangular block-based motion compensation, which often fails to capture the complex geometries of natural objects. This paper presents the Object Segmentation-Assisted Inter Prediction (SAIP) framework, which utilizes deep-learning-based segmentation to enable arbitrary-shaped partitions. By synchronizing segmentation masks between the encoder and decoder, SAIP achieves significant coding efficiency gains—up to a 1.98% BD-rate reduction in Versatile Video Coding (VVC)—without the bit-overhead typically associated with complex shape signaling.

Introduction

In inter prediction, video codecs describe how objects move between frames to reduce temporal redundancy. While modern standards like VVC introduced Geometric Partitioning (GPM) to allow for diagonal splits, they remain limited to straight lines. When a block contains both a moving object and a static background, a single motion vector cannot accurately represent both regions. Describing more complex, organic shapes typically requires significant "overhead" bits, which often offsets the coding gains. SAIP addresses this by using deep learning to infer shapes from previously reconstructed data, allowing for pixel-accurate partitioning with zero additional signaling bits.

The SAIP Framework

The SAIP framework integrates deep-learning-based segmentation directly into the VVC workflow. It is built upon four primary components:

  1. Learned Segmentation: The system employs SCNet for initial object detection and STCN (Space-Time Correspondence Network) to track and propagate masks across frames.
  2. Segmentation-Assisted Motion Compensation (SA-MC): To avoid harsh edges, SAIP uses Overlapped Region-based Motion Compensation (ORMC), applying distance-based blending at object boundaries.
  3. Segmentation-Assisted Motion Vector Coding (SA-MVC): The segmentation mask guides the selection of motion vector candidates, prioritizing those that match the object's shape.
  4. Segmentation-Assisted Rate-Distortion Optimization (SA-RDO): The encoder jointly optimizes partitions and motion vectors to maximize quality relative to file size.
The SAIP framework flowchart illustrating the integration of segmentation masks into the motion compensation process.

Mask Generation and Propagation

A key innovation of SAIP is "Inference over Signaling." By running identical segmentation algorithms on reconstructed frames at both the encoder and decoder, the system ensures both sides "agree" on object shapes without needing to transmit mask data. This allows the codec to handle complex, non-rectangular motion boundaries efficiently.

The segmentation pipeline showing how initial frame instances are annotated and propagated as binary masks to subsequent reference pictures.

Key Insights

  • Zero-Bit Shape Signaling: By leveraging computer vision models to infer shapes from reconstructed reference frames, the codec achieves arbitrary-shaped partitioning without spending bits on shape descriptions.
  • Boundary Blending: Simple hard cuts between objects and backgrounds create high-frequency noise. The use of ORMC for weighted blending at boundaries is critical for maintaining compatibility with block-based residual coding.
  • Motion Correlation: The framework recognizes that motion is often highly correlated with object boundaries. Using the mask to rank motion vector candidates turns segmentation data into a powerful compression tool.

Experimental Results

Implemented in VTM-12.0, SAIP demonstrated consistent efficiency gains across standard test sequences:

  • Average BD-rate Reduction: 0.82% for Low-delay P and 0.49% for Low-delay B configurations.
  • Peak Performance: Gains reached 1.98% on sequences with distinct moving objects, such as BasketballDrill.
  • Computational Complexity: While encoding time increased by approximately 1.7x due to the heavy RDO process, decoding time only saw a modest increase of 11-15%, making it viable for high-efficiency professional applications.

Limitations and Future Work

The performance of SAIP is inherently tied to the accuracy of the underlying segmentation models. Challenges remain in scenes with extreme motion, heavy occlusion, or low contrast where objects blend into the background. Furthermore, current models struggle with 4K resolutions. Future research aims to incorporate affine motion models to better handle complex object transformations like rotation and zooming.

Summary updated

BibTeX
@article{li2024object,
  author = {Zhuoyuan Li and Zikun Yuan and Li Li and Dong Liu and Xiaohu Tang and Feng Wu},
  title = {{Object Segmentation-Assisted Inter Prediction for Versatile Video Coding}},
  journal = {IEEE Trans. Broadcast.},
  year = {2024},
  doi = {10.1109/tbc.2024.3434520},
}
Figure