Complementary Segmentation of Primary Video Objects with Reversible Flows

Junjie Wu, Jia Li, Long Xu

TL;DR

This paper introduces a novel approach for segmenting primary objects in videos by treating foreground and background as complementary tasks. They propose a "Complementary Segmentation Network" (CSNet) for initial frame-wise segmentation and a "Neighborhood Reversible Flow" (NRF) to enforce temporal consistency, achieving state-of-the-art results on challenging video datasets.

What Problem Does This Paper Address?

Segmenting primary objects in videos is crucial for applications like surveillance and video analysis. However, it's a challenging task due to ambiguities in distinguishing foreground from background, especially with issues like motion blur, occlusions, and cluttered scenes. Existing methods often struggle with temporal consistency, leading to flickering or inconsistent segmentations across frames. This paper aims to address these challenges by simultaneously considering foreground and background cues and effectively propagating this information through time.

Methods

The proposed approach has two main components:

  1. Complementary Segmentation Network (CSNet): This is a deep learning model designed to simultaneously predict foreground and background maps for each video frame. It uses two separate branches, one for foreground and one for background, that share a common trunk initialized with ResNet50. This dual-branch approach, guided by a novel objective function that penalizes conflicts and encourages complementarity between foreground and background predictions, helps to capture their intrinsic characteristics more effectively.
  2. Neighborhood Reversible Flow (NRF): To ensure temporal consistency, the paper introduces NRF. This method first segments each frame into superpixels. Then, it establishes reliable correspondences between superpixels in different frames, even those that are far apart, by leveraging the concept of "neighborhood reversibility." This flow is then used to propagate the initialized foreground and background information across frames, refining the segmentation and suppressing distractors. The propagation is formulated as a quadratic programming problem with an analytic solution, ensuring efficiency.

Datasets

The authors trained their CSNet on a combination of four image-based salient object detection datasets. For evaluation, they used three widely recognized video datasets:

  • SegTrack V2: A classic dataset with densely annotated video clips, often featuring irregular motion patterns.
  • Youtube-Objects: A large dataset of internet videos with sparsely sampled and manually annotated keyframes, defining primary objects by semantic attributes.
  • VOS (Video Object Segmentation): A large dataset with extensive annotations and eye-tracking data, defining primary objects based on human visual attention.

Key Insights and Ideas

  • Foreground and Background as Complementary Tasks: The core idea is that by jointly optimizing for both foreground and background segmentation, the model can leverage their inherent complementary nature to improve accuracy. This is more robust than treating them independently.
  • Neighborhood Reversible Flow for Temporal Consistency: Directly propagating pixel-wise optical flow can be error-prone. NRF's approach of using superpixel correspondences, even between distant frames, provides a more robust and efficient way to maintain temporal consistency.
  • Balancing Precision and Recall: The complementary approach, by considering both foreground and background, helps to retrieve missed foreground information and suppress distractors, leading to a more balanced performance in terms of precision and recall.
  • Importance of Larger, Diverse Datasets: The results highlight that performance on smaller, more constrained datasets (like SegTrack V2) might not generalize well to larger, more diverse datasets (like VOS), emphasizing the need for comprehensive evaluation.

Key Results

The proposed approach, denoted as CSP, achieved state-of-the-art performance on the Youtube-Objects and VOS datasets, outperforming 22 other models in terms of Fβ and mIoU scores. While it ranked second on SegTrack V2, this was attributed to the dataset's specific characteristics that favored other methods. The CSNet initialization alone showed significant improvements over previous methods, and the addition of NRF further enhanced temporal stability and overall accuracy. The method is also computationally efficient, processing frames at approximately 0.20 seconds per frame (without batch processing) on a single thread.

Limitations and Future Work

  • Failure Cases: The paper acknowledges that failures can occur due to how primary objects are defined (e.g., if a salient object isn't labeled as primary), shadows, reflections, or when target object parts are similar to the background. Small objects in complex scenes also pose a challenge.
  • Future Work: The authors plan to explore fusing multiple definitions of primary objects (motion, semantic tags, visual attention). They also aim to develop a fully end-to-end spatiotemporal model for primary video object segmentation, potentially incorporating recursive mechanisms.

Summary updated

BibTeX
@inproceedings{wu2022complementary,
  author = {Junjie Wu and Jia Li and Long Xu},
  title = {{Complementary Segmentation of Primary Video Objects with Reversible Flows}},
  booktitle = {Applied Sciences},
  year = {2022},
  doi = {10.3390/app12157781},
}
Figure