Introduction
Semantic segmentation—the task of assigning a category label to every pixel in an image—is a cornerstone of computer vision but remains notoriously expensive due to the need for dense, pixel-level manual annotations. Weakly-supervised semantic segmentation (WSSS) offers a more scalable alternative by training models using only high-level "tags" (e.g., a label indicating a video contains a "car" and a "road" without specifying their locations).
However, traditional WSSS methods often suffer from a significant limitation: they focus primarily on foreground objects (like cars or pedestrians) and treat all other regions as a single, undifferentiated "background" class. In critical applications such as autonomous driving, this is insufficient. A vehicle must distinguish between a drivable "road" and a non-drivable "sidewalk" or "vegetation." This paper introduces a framework that treats foreground and background classes with equal importance, significantly closing the performance gap with fully supervised methods.
Methodology: A Two-Stream Approach
The proposed framework leverages a multi-stage approach centered on a novel two-stream deep network architecture that integrates both appearance and motion cues.
Classifier Heatmaps as Pseudo-Labels
Since video-level tags lack spatial information, the authors utilize pre-trained classification networks (VGG-16) to generate localization "heatmaps." By converting these classifiers into fully convolutional networks, they identify pixels most likely associated with specific tags. To handle background classes effectively, the authors curated "iconic" images from ImageNet to train specialized classifiers for categories like "sky," "road," and "building."
Two-Stream Architecture and Fusion
The network processes two distinct input streams:
- Appearance Stream: Standard RGB video frames capturing spatial details.
- Motion Stream: Optical flow information stacked over 10 consecutive frames to capture temporal dynamics.
The model employs "early fusion" to combine spatial and temporal features into a unified spatio-temporal stream, followed by "late fusion" with the original appearance stream to produce the final segmentation mask. Training is guided by a combination of Tag Loss (matching video-level labels), Heatmap Loss (aligning with coarse localization signals), and CRF (Conditional Random Field) Loss to refine boundaries.
Key Insights
- Background Granularity: By treating background elements as individual classes rather than a monolith, the model achieves a much richer scene understanding.
- Motion as a Disambiguator: Optical flow provides a powerful cue for distinguishing between visually similar objects that exhibit different motion patterns, such as a parked car versus a stationary wall.
- Bridging the Supervision Gap: While classifier heatmaps are coarse, they provide sufficient signal to act as a bridge between simple tags and dense pixel maps.
Results and Performance
The model was evaluated on major benchmarks including CityScapes, CamVid, and YouTube-Objects.
- Ablation Success: On CityScapes, incorporating background heatmaps increased the mean Intersection over Union (mIoU) from 8.4% to 20.6%. The addition of the motion stream further boosted performance to 23.6%.
- State-of-the-Art Comparison: On the YouTube-Objects dataset, the method achieved 53.3% mIoU, outperforming previous weakly-supervised state-of-the-art methods (approx. 46.8%).
- Competitive with Full Supervision: For specific background classes, the performance was remarkably close to fully supervised models. On CamVid, the model achieved 83.8% IoU for "sky," compared to 87.0% for a fully supervised SegNet.
Conclusion and Future Work
This research demonstrates that background classes can be effectively learned under weak supervision by leveraging specialized classifiers and motion cues. While the current reliance on pre-trained classifiers and the relative coarseness of heatmaps remain challenges, the framework represents a significant step toward making WSSS viable for complex real-world environments like autonomous driving. Future work may explore incorporating depth information and more advanced feature fusion strategies.
Summary updated