Abstract
Segmenting objects in videos is a fundamental computer vision task. The current deep learning based paradigm offers a powerful, but data-hungry solution. However, current datasets are limited by the cost and human effort of annotating object masks in videos. This effectively limits the performance and generalization capabilities of existing video segmentation methods. To address this issue, we explore weaker form of bounding box annotations. We introduce a method for generating segmentation masks from per-frame bounding box annotations in videos. To this end, we propose a spatio-temporal aggregation module that effectively mines consistencies in the object and background appearance across multiple frames. We use our predicted accurate masks to train video object segmentation (VOS) networks for the tracking domain, where only manual bounding box annotations are available. The additional data provides substantially better generalization performance, leading to state-of-the-art results on standard tracking benchmarks.
Introduction
Video Object Segmentation (VOS) has seen significant progress through deep learning, yet these models require vast amounts of pixel-level annotations. Manually labeling masks for every frame in a video is a labor-intensive process, creating a bottleneck that restricts the scale and diversity of available datasets. In contrast, bounding box annotations are significantly cheaper and faster to produce, as evidenced by the existence of massive object tracking datasets.
The primary challenge in converting bounding boxes to masks is spatial ambiguity. In any single frame, a bounding box may contain background clutter, occluding objects, or parts of the scene that mimic the target's appearance. This paper proposes that temporal consistency is the key to resolving these ambiguities. By observing how an object moves and changes relative to its background over time, a model can more accurately distinguish the target from its surroundings.
Methodology
The authors present an end-to-end trainable architecture designed to transform a sequence of bounding boxes into precise segmentation masks. The pipeline consists of three primary components:
- Object Encoder: This initial stage extracts deep features and generates candidate object shapes from individual frames and their respective bounding boxes. This provides a preliminary, though often noisy, estimate of the foreground.
- Spatio-Temporal Aggregation Module: This core innovation replaces standard temporal pooling or 3D convolutions with a differentiable optimization framework. Formulated as a deep declarative network, the module solves an internal optimization problem via an unrolled steepest-descent algorithm. It seeks an underlying object representation (a filter) that consistently maps image features to object embeddings across multiple frames.
- Iterative Refinement: The masks produced by the aggregation module are processed by a secondary encoder-decoder pass. This step leverages learned segmentation priors to polish object boundaries and ensure spatial coherence.
Key Insights
- Temporal Resolution of Ambiguity: Background elements that appear inside a bounding box in one frame typically move outside it in subsequent frames. Mining these consistencies allows the network to filter out non-target patches.
- Optimization as a Neural Layer: By embedding an optimization problem directly into the network architecture, the model can dynamically adapt its object representation based on the specific temporal context of the video sequence.
Experiments and Results
The proposed method was evaluated on core segmentation benchmarks and used to enhance downstream tracking models.
Box-to-Mask Conversion
On the DAVIS 2017 validation set, the multi-frame approach (using 9 frames) achieved a Jaccard ($\mathcal{J}$) score of 81.2. This represents a +1.9 point improvement over the single-frame baseline (Box2Seg), demonstrating the value of temporal information.
Weakly Supervised VOS and Tracking
The authors used their model to generate pseudo-masks for large-scale tracking datasets like LaSOT, GOT-10k, and TrackingNet.
- VOS Performance: Training a VOS model on these pseudo-labels outperformed standard Multiple Instance Learning (MIL) methods by over +1.0 $\mathcal{J}$ score on the YT300 dataset.
- Tracking Benchmarks: Fine-tuning the state-of-the-art LWL model on these pseudo-annotated datasets led to significant gains. On GOT-10k, the Average Overlap (AO) improved by 2.1% to 86.7%. On the VOT2020 benchmark, the Expected Average Overlap (EAO) saw a relative boost of over 10%.
Conclusion
This research demonstrates that spatio-temporal consistency is a powerful signal for generating high-quality segmentation masks from weak bounding box supervision. By bridging the gap between boxes and masks, the authors enable the use of massive tracking datasets for training segmentation models, leading to improved generalization and state-of-the-art performance. Future work may focus on handling highly overlapping objects of similar appearance and further optimizing the computational efficiency of the unrolled optimization layers.
Summary updated