Abstract
Semi-supervised video object segmentation (VOS) aims to densely track certain designated objects in videos. One of the main challenges in this task is the existence of background distractors that appear similar to the target objects. We propose three novel strategies to suppress such distractors: 1) a spatio-temporally diversified template construction scheme to obtain generalized properties of the target objects; 2) a learnable distance-scoring function to exclude spatially-distant distractors by exploiting the temporal consistency between two consecutive frames; 3) swap-and-attach augmentation to force each object to have unique features by providing training samples containing entangled objects. On all public benchmark datasets, our model achieves a comparable performance to contemporary state-of-the-art approaches, even with real-time performance. Qualitative results also demonstrate the superiority of our approach over existing methods.
Introduction
In semi-supervised Video Object Segmentation (VOS), the objective is to track a target object throughout a video sequence, starting from a provided mask in the initial frame. While significant progress has been made, the "distractor problem"—where background objects share similar visual characteristics with the target—remains a major bottleneck. Traditional pixel-level matching is often insufficient to distinguish between these similar entities, leading to tracking drift. This paper introduces TBD (Tackling Background Distraction), a real-time framework designed to overcome these challenges.
Proposed Methodology: TBD Framework
The TBD framework introduces three key innovations to enhance robustness against distractors while maintaining real-time efficiency.
1. Spatio-Temporally Diversified Templates
To capture a more generalized representation of the target, the model utilizes templates diversified across both spatial and temporal dimensions:
- Spatial Diversity: The framework combines fine matching (pixel-to-pixel) for high-resolution details with coarse matching (using compressed global features). Coarse matching provides a broader semantic context, acting as a "sanity check" to filter out small, noisy background distractors that might fool fine-grained matching.
- Temporal Diversity: Instead of relying solely on the previous frame, TBD maintains three distinct templates: Overall (entire history), Short-term (recent frames), and Long-term (distant frames). This multi-scale temporal approach allows the model to adapt to both rapid motion and gradual appearance changes over time.
2. Learnable Distance-Scoring
Most VOS models use "hard windowing" to restrict the search area, which requires manual tuning and fails during abrupt movements. TBD replaces this with a learnable distance-scoring function. By calculating the Euclidean distance between pixels in consecutive frames, the model learns a "soft" scoring mechanism (ranging from 0 to 1) that naturally exploits temporal consistency without rigid constraints.
3. Swap-and-Attach Augmentation
To address the scarcity of annotated VOS data, the authors developed "swap-and-attach" augmentation. By artificially swapping objects between video sequences and attaching them to new frames, the training set is enriched with complex scenes featuring heavy occlusions and entangled objects. This forces the model to learn highly discriminative and unique feature representations for each target.
Experimental Results
The TBD model was evaluated on the three most prominent VOS benchmarks: DAVIS 2016, DAVIS 2017, and YouTube-VOS 2018.
- Efficiency: TBD achieves a remarkable 50.1 FPS on a single NVIDIA RTX 2080 Ti, making it truly real-time and significantly faster than many contemporary memory-based models.
- Accuracy: On the DAVIS 2017 benchmark, it reached a $\mathcal{G}$ score of 80.0, outperforming several slower state-of-the-art methods.
- Robustness: Qualitative analysis shows that TBD effectively maintains focus on targets in crowded environments (e.g., herds of sheep or giraffes) where competing methods often fail due to distractor confusion.
Conclusion
The TBD framework demonstrates that background distraction can be effectively mitigated through diversified template matching and learnable spatial constraints. By balancing speed and accuracy, TBD provides a robust solution for real-time VOS. Future work will explore further refining coarse template construction to capture even more complex semantic properties without sacrificing performance.
Summary updated