Introduction
Video segmentation—the task of assigning a semantic label (like "lion" or "sky") to every pixel in a video—is a cornerstone of computer vision. Traditionally, training these models requires "fully supervised" data, where humans manually trace every object in every frame. This process is incredibly labor-intensive and difficult to scale.
Weakly supervised methods attempt to learn from simpler labels, such as video-level tags indicating which objects are present. However, this introduces significant ambiguity: if a video is tagged "bird," the algorithm must determine which pixels belong to the bird versus the background. Scaling this to multiclass segmentation (e.g., distinguishing between bird, grass, and water simultaneously) often leads to "overfitting," where the model incorrectly associates co-occurring objects, such as assuming grass is part of the bird model.
Proposed Framework
The authors propose a three-stage pipeline to overcome these challenges by combining semantic-aware hashing with a robust label transfer mechanism.
1. Supervoxel Segmentation and Hashing
The video is first decomposed into "supervoxels"—spatio-temporal chunks of similar pixels. To handle high-dimensional data, the researchers use Weakly Supervised Hashing. This transforms visual features into compact binary codes. Crucially, the hashing is "semantic-aware," ensuring that supervoxels from videos with no shared labels are pushed far apart in the feature space, effectively performing metric learning.
2. Nearest Neighbor-based Label Transfer
This core innovation avoids the "negative mining trap" common in standard classifiers. Instead of training a complex global classifier that might overfit to co-occurring background elements, the system "transfers" labels from the video level to the supervoxel level based on local similarity. A supervoxel receives a label only if it is visually similar to a neighbor in another video that shares the same video-level tag.
3. Multi-Video Graph Model
Finally, the framework employs a Markov Random Field (MRF) to ensure spatio-temporal consistency. By connecting supervoxels both within a single video and across different videos, the model ensures that segmentation remains smooth and that labels do not "flicker" abruptly between frames.
Key Insights
- Avoiding the Negative Mining Trap: Traditional margin-maximization (like SVMs) often fails in multiclass weak supervision. If a "bird" video and a "lion" video both contain grass, a standard classifier might treat the grass in the lion video as a negative sample for the bird category. The proposed label transfer approach avoids this by focusing strictly on positive matches.
- Hashing as Metric Learning: Hashing is used here as a form of metric learning. By incorporating "link" and "non-link" constraints, the researchers create a feature space where Hamming distance represents semantic similarity.
Experimental Results
The method was evaluated on three benchmarks: the new Wild8 dataset (100 sequences from nature documentaries), the large-scale YouTube-Objects (YTO) dataset, and the SUNY 24-class dataset.
- Accuracy: On the Wild8 dataset, the proposed method achieved an average per-category accuracy of 57.5%, significantly outperforming state-of-the-art methods like CRANE (51.2%) and MIL (47.3%).
- Scalability: On the YouTube-Objects dataset, the method achieved a Mean Average Precision (mAP) of 46.1, surpassing the previous best of 42.5.
- Ablation Studies: The researchers demonstrated that the hashing procedure alone improved accuracy by 3.3%, while multi-video smoothing added another 0.7% and greatly improved the visual cleanliness of the results.
Conclusion
This research presents a robust framework for multiclass video segmentation using only weak supervision. By leveraging semantic-aware hashing and a nearest-neighbor label transfer scheme, the approach effectively resolves the ambiguities of multiclass co-occurrence and scales to large datasets. While the multi-video smoothing step remains computationally expensive, the framework offers a significant step toward reducing the human effort required for high-quality video understanding.
Summary updated