Weakly Supervised Semantic Segmentation Using Web-Crawled Videos

Seunghoon Hong, Donghun Yeo, Suha Kwak, Honglak Lee, Bohyung Han

Abstract

We propose a novel algorithm for weakly supervised semantic segmentation based on image-level class labels only. In weakly supervised setting, it is commonly observed that trained model overly focuses on discriminative parts rather than the entire object area. Our goal is to overcome this limitation with no additional human intervention by retrieving videos relevant to target class labels from web repository, and generating segmentation labels from the retrieved videos to simulate strong supervision for semantic segmentation. During this process, we take advantage of image classification with discriminative localization technique to reject false alarms in retrieved videos and identify relevant spatio-temporal volumes within retrieved videos. Although the entire procedure does not require any additional supervision, the segmentation annotations obtained from videos are sufficiently strong to learn a model for semantic segmentation. The proposed algorithm substantially outperforms existing methods based on the same level of supervision and is even as competitive as the approaches relying on extra annotations.

Introduction

Semantic segmentation is the task of assigning a class label to every pixel in an image. Traditionally, this requires massive datasets of hand-drawn pixel-wise masks, which are incredibly expensive and time-consuming to produce. To lower costs, researchers look toward weakly supervised learning, using only image-level labels (e.g., "this image contains a dog"). However, models trained only on image labels suffer from a "discriminative part" problem: they learn to identify the most distinct feature (like a bird’s beak) but fail to capture the entire extent of the object (the wings and tail). This paper aims to bridge that gap without requiring any extra human intervention by leveraging web-crawled videos.

Proposed Framework

The authors propose a decoupled Deep Convolutional Neural Network (DCNN) architecture consisting of an encoder and a decoder, trained in a multi-stage pipeline.

Overview of the proposed framework, showing the interaction between image-based learning and video-based pseudo-label generation.

The pipeline consists of four main stages:

  1. Learning to Attend: An encoder is trained on images with class labels to generate "attention maps" using Class Activation Mapping (CAM). These maps highlight the most discriminative regions.
  2. Automatic Video Retrieval: The system crawls YouTube using class labels as keywords. To handle the "noise" of the web, it uses the image-trained encoder to filter thumbnails and key-frames, keeping only those that strongly match the target class.
  3. Generating Segmentation from Videos: In the retrieved videos, the authors use a graph-based optimization to generate pixel-wise masks. They combine three signals: Attention (from the image-trained encoder), Appearance (color-based GMM), and Motion (temporal dynamics that help separate moving objects from static backgrounds).
  4. Training the Decoder: The generated video masks serve as "pseudo-ground truth" to train a decoder. The decoder learns to map rough attention maps to dense, accurate segmentation masks.

Experimental Results

The method was evaluated on the PASCAL VOC 2012 dataset and a custom dataset of 4,606 web-crawled videos (approx. 960,000 frames) from YouTube.

Qualitative Comparison

The proposed method effectively addresses the "discriminative part" problem. As shown in the qualitative results, the model captures the full extent of objects more accurately than previous weakly supervised methods like SEC and MCNN.

Qualitative comparison of semantic segmentation results on PASCAL VOC 2012. The proposed method captures full object areas more effectively than SEC and MCNN.

Quantitative Performance

  • State-of-the-Art: On the PASCAL VOC 2012 test set, the method achieved a 58.7% mIoU, significantly outperforming the previous state-of-the-art for image-level supervision (SEC at 51.7%).
  • Competitive with Stronger Supervision: Surprisingly, this method outperformed several methods that use bounding box supervision (58.5%) and point supervision (46.0%), despite using only image-level labels.
  • Impact of Video Data: Using the large-scale web-crawled video set improved performance by 6% mIoU compared to using a smaller, manually curated video dataset, proving that "more data" beats "cleaner data" in this context.

Conclusion

This research demonstrates that motion cues from web-crawled videos can serve as a powerful "free" supervisor for semantic segmentation. By automatically filtering noisy web data using image-level priors, the framework generates high-quality pseudo-labels that allow a weakly supervised model to rival those trained with much more expensive human annotations. Future work may involve integrating more sophisticated temporal models to further refine mask consistency.

Summary updated

BibTeX
@inproceedings{hong2017weakly,
  author = {Seunghoon Hong and Donghun Yeo and Suha Kwak and Honglak Lee and Bohyung Han},
  title = {{Weakly Supervised Semantic Segmentation Using Web-Crawled Videos}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  url = {https://openreview.net/forum?id=BkbBvkMOZr},
}
Figure