Video Object Segmentation with Joint Re-identification and Attention-Aware Mask Propagation

Xiaoxiao Li, Chen Change Loy

Abstract

DyeNet is a unified deep learning framework for semi-supervised video object segmentation (VOS) that effectively combines temporal continuity with long-term re-identification. By integrating a dynamic template-matching module with an attention-aware recurrent mask propagator, the system overcomes common "deal-breakers" such as multiple similar instances, long-term occlusions, and significant pose variations. DyeNet achieves state-of-the-art results on the DAVIS 2017 benchmark, outperforming previous winners while operating significantly faster.

Introduction: The Challenges of Video Object Segmentation

Semi-supervised video object segmentation requires tracking an object throughout a video sequence given only an initial mask. This task is complicated by three primary factors:

  1. Multiple Instances: Distinguishing between similar-looking objects (e.g., multiple bicycles).
  2. Long-term Occlusion: Standard propagation methods often lose track when an object disappears and reappears.
  3. Scale and Pose Variation: Static templates become obsolete as objects move and change shape.
Comparison of VOS approaches: (a) Template matching fails on fine details, (b) Temporal propagation fails during occlusions, (c) DyeNet handles both via bi-directional propagation and re-identification.

Existing solutions typically rely on either template matching (robust for re-identification) or temporal propagation (accurate for smooth tracking). DyeNet fuses these paradigms into a single, end-to-end trainable network.

Methodology: The DyeNet Framework

The authors use a "dyeing" analogy: the network identifies high-confidence "starting points" (dropping the dye) and propagates masks bidirectionally (the dye dispersing).

The DyeNet framework overview, showing the interaction between the Re-ID module, Re-MP module, and the generation of tracklets.

Re-identification (Re-ID) Module

This module utilizes a Region Proposal Network (RPN) to identify candidate objects in every frame. These candidates are compared against a dynamic template set using cosine similarity. Unlike static methods, the template set expands iteratively to include high-confidence predictions from later frames, allowing the model to adapt to new poses.

Recurrent Mask Propagation (Re-MP) Module

The Re-MP module is an RNN that predicts the mask for frame $t+1$ based on frame $t$. It employs optical flow to warp the hidden state, ensuring spatial consistency. A key innovation is the spatial attention mechanism, which weights the hidden state to focus specifically on the target instance, preventing "leakage" onto nearby objects or cluttered backgrounds.

Key Insights

  • Dynamic Template Expansion: Treating VOS as an iterative process where the model learns new appearances over time is crucial for handling massive pose changes.
  • Attention-Aware Propagation: The attention mechanism acts as a spatial filter, significantly improving robustness against distractors in crowded scenes.
  • Computational Efficiency: By sharing a ResNet-101 backbone between modules, DyeNet is approximately 7 times faster than previous state-of-the-art solutions like VS-ReID.

Evaluation and Results

DyeNet was evaluated on several benchmarks, including DAVIS 2016/2017, SegTrackv2, and YouTubeObjects.

  • State-of-the-Art Performance: On the DAVIS 2017 test-dev set, DyeNet achieved a G-mean of 68.2, surpassing the previous winning solution (66.1).
  • Speed: The offline version runs at 2.4 FPS. Even with online fine-tuning (0.43 FPS), it remains significantly faster than competitors like OnAVOS (0.07 FPS).
  • Ablation Study: Removing the Re-ID module caused a 7.2-point drop in G-mean, while removing the attention mechanism resulted in a 1.6-point drop, validating the importance of the hybrid, attention-aware design.

Conclusion

DyeNet demonstrates that combining re-identification with attention-aware propagation is essential for robust video object segmentation. While the current greedy linking of tracklets could be improved with more sophisticated methods like CRFs, and real-time performance (30 FPS) remains a future goal, DyeNet sets a new standard for accuracy and efficiency in the field.

Summary updated

BibTeX
@inproceedings{li2018video,
  author = {Xiaoxiao Li and Chen Change Loy},
  title = {{Video Object Segmentation with Joint Re-identification and Attention-Aware Mask Propagation}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  doi = {10.1007/978-3-030-01219-9\_6},
}
Figure