Abstract
We address the problem of segmenting multiple object instances in complex videos. Our method does not require manual pixel-level annotation for training, and relies instead on readily-available object detectors or visual object tracking only. Given object bounding boxes at input, we cast video segmentation as a weakly-supervised learning problem. Our proposed objective combines (a) a discriminative clustering term for background segmentation, (b) a spectral clustering one for grouping pixels of same object instances, and (c) linear constraints enabling instance-level segmentation. We propose a convex relaxation of this problem and solve it efficiently using the Frank-Wolfe algorithm. We report results and compare our method to several baselines on a new video dataset for multi-instance person segmentation.
Introduction
While semantic segmentation—the task of labeling pixels by category—has advanced significantly, instance-level segmentation remains a formidable challenge. Distinguishing between individual instances of the same class in video is complicated by rapid motion, non-rigid deformations, and frequent occlusions. Traditional state-of-the-art approaches typically necessitate massive datasets with expensive, manually-drawn pixel masks. This work explores a weakly-supervised alternative: generating high-quality instance masks using only coarse bounding boxes provided by standard object detectors or trackers.
Methodology
The proposed framework treats video segmentation as a discriminative clustering problem, where the goal is to jointly partition the video data and learn a classifier without prior training.
Objective Function
The objective function integrates three primary components:
- Discriminative Term: A cost function based on square loss that learns to differentiate foreground objects from the background using appearance features such as color, SIFT, and semantic cues from deep networks.
- Spectral Term: A grouping term that enforces spatio-temporal consistency. By analyzing pixel similarity in color and motion across space and time, it ensures that related pixels receive consistent labels.
- Linear Constraints: The core innovation involves using object tracks to define rules for the optimization.
These constraints include track-specific requirements (a minimum percentage of pixels must belong to the instance), background labels for pixels far from any track, and adjusted weights in overlapping regions to handle occlusions.
Optimization and Superpixels
To maintain computational feasibility, the method operates on superpixels rather than individual pixels.
The resulting optimization problem is solved via a convex relaxation using the Frank-Wolfe algorithm, which efficiently handles millions of variables. A subsequent non-convex refinement step (graduated non-convexity) is employed to produce binary segmentation masks.
Experimental Results
The method was evaluated on two primary datasets:
- StreetDance 3D Dataset: A new dataset featuring 27 clips from the movie StreetDance 3D with complex dancing sequences and heavy occlusions. The method achieved an F1 score of 80.1% and an Intersection over Union (IoU) of 68.6%, outperforming baselines such as SDS and Pose & Segm.
- SegTrack v2: On the "drifting car" sequence, the approach reached an average overlap of 86.8%, surpassing the previous state-of-the-art (79.9%) despite being class-agnostic.
Conclusion
This research demonstrates that high-quality instance-level video segmentation is achievable through weak supervision. By leveraging object tracks as linear constraints within a discriminative clustering framework, the method effectively bridges the gap between coarse localization and fine-grained pixel-wise understanding without the need for exhaustive manual annotation. Future work may involve incorporating human pose priors and extending the model to multi-class scenarios.
Summary updated