Abstract
This paper introduces a novel approach to semi-supervised video object segmentation (VOS) by integrating optical flow (motion) alongside standard RGB (appearance) data. By employing a multi-modal attention mechanism to fuse these inputs, the model effectively handles fast motion and visually similar distractors. The resulting flow-guided model achieves state-of-the-art performance on major VOS benchmarks, demonstrating exceptional generalization to unseen object categories.
Introduction
In semi-supervised Video Object Segmentation (VOS), an algorithm is tasked with tracking and segmenting a specific object throughout a video sequence, given only its ground-truth mask in the first frame. Historically, top-performing models have relied almost exclusively on RGB appearance features. However, appearance-only models are vulnerable to visually similar distractors—such as reflections or identical animals—and motion blur from fast-moving objects.
While optical flow is a staple in unsupervised VOS, it has been largely overlooked in the semi-supervised domain. This research addresses this gap by successfully injecting motion cues into a semi-supervised framework, significantly improving robustness against appearance-based failures.
Methodology
The proposed method builds upon the efficient LWL (Learning What to Learn) encoder-decoder architecture. The authors introduce three primary innovations to incorporate motion effectively:
Dual-Branch Architecture
The system adds a parallel ResNet-50 branch to process optical flow alongside the standard RGB branch. As shown in the architecture diagram, both the online few-shot learner and the offline decoder receive dual inputs, allowing the model to build a target representation that accounts for both what an object looks like and how it moves.
Multi-Modal Attention
Rather than simple concatenation, which often yields marginal gains, the authors designed a custom cross-attention network. In this setup, optical flow features serve as the Query and Value, while image features act as the Key. This mechanism allows the network to use motion to actively guide its attention toward relevant appearance features.
Positive Optical Flow Representation
Standard ResNet backbones utilize ReLUs, which eliminate negative values. Since optical flow vectors contain negative values to indicate direction, the authors mathematically rotate and scale the 3D cone representation of the flow to ensure all input values are strictly positive before processing.
Experimental Setup
The model was evaluated on several key benchmarks:
- YouTube-VOS 2019: Used for large-scale training and testing generalization to "unseen" object categories.
- DAVIS 2017: A densely annotated dataset focused on high-accuracy contour predictions.
- RAFT: A pre-trained model used to generate the input optical flow fields.
Results and Discussion
The integration of motion cues led to significant performance improvements across all metrics. On DAVIS 2017, the method achieved a $J\&F$ score of 82.8, a notable jump from the 81.6 baseline. The contour accuracy ($F$) improved by 2.0%, highlighting that motion edges help define sharp object boundaries.
On YouTube-VOS 2019, the model reached a $J\&F$ score of 81.7. Remarkably, the performance on unseen classes matched that of seen classes (both averaging 81.7), suggesting that motion reduces the "appearance bias" typically found in models that overfit to specific training textures.
Qualitative results demonstrate the model's ability to distinguish real objects from reflections (e.g., a window vs. its mirror image) and maintain tracking on fast-deforming objects like a swinging tennis racket.
Conclusion and Limitations
By leveraging optical flow through a dedicated attention-based branch, this work sets a new standard for robustness in semi-supervised VOS. A current limitation is the reliance on the RAFT model for pre-computing flow, which adds computational overhead. Future research may focus on end-to-end training or lighter-weight flow estimation to maintain the real-time efficiency of the underlying baseline.
Summary updated