TL;DR
This paper tackles the challenge of semantic segmentation, which typically requires expensive pixel-level annotations. They propose a novel weakly supervised approach that leverages readily available image-level labels from the web. By using co-segmentation on retrieved images, they generate pseudo-ground truth masks to train a segmentation network, achieving state-of-the-art results on PASCAL VOC 2012.
What Problem Does This Paper Address?
Semantic segmentation, the task of assigning a class label to every pixel in an image, is crucial for many computer vision applications. However, training state-of-the-art models like Fully Convolutional Networks (FCNs) demands a massive amount of pixel-level annotated data. Creating these detailed masks is incredibly time-consuming and expensive, with estimates suggesting hundreds of seconds per image. This bottleneck severely limits the scalability of semantic segmentation. In contrast, image-level labels (e.g., "this image contains a cat") are much easier and cheaper to obtain, often scraped from the web. The core problem this paper addresses is how to effectively train a semantic segmentation model using only these readily available, but less informative, image-level labels, bridging the performance gap with fully supervised methods.
Methods
The authors propose a two-step framework for weakly supervised semantic segmentation using only image-level labels.
Step 1: Initial Mask Generator Training 1. Image Retrieval: They first retrieve a large number of images from search engines (Flickr, Google) using semantic class names as queries (e.g., "car," "dog"). 2. Large-Scale Co-segmentation: For each class group, they apply a co-segmentation method [7] to generate pixel-wise masks for the retrieved images. This method is robust to noisy data and aims to find common objects across a collection of images. 3. Mask Generator Training: These generated masks, along with the retrieved images, are treated as a pseudo-ground truth dataset. A CNN (specifically, ResNet50 with dilated convolutions, similar to DeepLab) is trained on this dataset using a standard softmax loss to act as an initial "mask generator."
Step 2: Final Model Training 1. Mask Generation for Target Dataset: The trained mask generator is then used to produce initial masks for the images in the target dataset (e.g., PASCAL VOC 2012), which only have image-level labels. 2. Mask Refinement with Image-Level Labels: Crucially, the image-level labels are used to refine these generated masks. This step helps to eliminate impossible predictions (e.g., if an image is labeled "cow" but the generated mask incorrectly segments a "sheep"). 3. Final Model Training: The refined masks, combined with the image-level labels, form a high-quality training set for the final segmentation network. This network also uses a ResNet50 backbone. Additionally, they incorporate a multi-label branch to enforce global scene consistency, borrowing an idea from [33]. The final training objective is a combination of softmax loss (for pixel-wise prediction) and a binary logistic loss (for global context).
Datasets
- Retrieved Dataset: A custom dataset of 75,800 images was constructed by retrieving images from Flickr and Google using class names from PASCAL VOC 2012. This dataset was used to train the initial mask generator. Preprocessing involved resizing images to a maximum dimension of 340.
- PASCAL VOC 2012: This is the primary benchmark dataset used for training and evaluating the final model. The original dataset contains 1464 training, 1449 validation, and 1456 testing images. The authors used an augmented version with 10,582 training images, as proposed in [12]. The dataset has 21 semantic classes.
Key Insights and Ideas
- Leveraging Web-Scale Data: The paper demonstrates that readily available, noisy image-level labels from the web can be effectively utilized for a challenging task like semantic segmentation, significantly reducing annotation costs.
- Co-segmentation as a Pseudo-Label Generator: Co-segmentation proves to be a powerful tool for generating surprisingly high-quality pixel-level masks from uncurated web images, acting as a crucial bridge between weak image-level labels and dense segmentation requirements.
- Two-Stage Training for Robustness: The two-step approach (initial mask generator, then final model with refinement) allows for a more robust learning process. The initial generator learns from noisy co-segmented masks, and the final model refines these predictions using the image-level constraints, leading to better overall performance.
- Global Context for Consistency: Incorporating a multi-label branch to enforce global scene consistency helps to correct implausible pixel-wise predictions, leading to more coherent segmentation results.
Key Results
- The proposed method achieves an Intersection over Union (IoU) score of 56.9% on the test set of PASCAL VOC 2012.
- This result is reported as reaching state-of-the-art performance for weakly supervised semantic segmentation methods that use only image-level labels at the time of publication.
- The initial mask generator achieved an IoU of 48.3% on the validation set.
- The final model, with various components (multi-label module, multi-scale inference, CRF post-processing), progressively improved performance from 53.3% to 56.4% on the validation set.
- Qualitative results show significant improvements over saliency-based methods, especially in capturing object boundaries and handling complex scenes.
Limitations and Future Work
- Co-occurrence Issues: The paper notes that for classes with strong co-occurrence (e.g., chair and dining table), co-segmentation might treat them as a single object, leading to errors. This is identified as a failure case.
- Under/Overestimation: Some failure cases involve objects being underestimated or overestimated, which the authors attribute to potentially bad quality masks produced by co-segmentation.
- Future Work: While not explicitly detailed, the success of the multi-label branch suggests that exploring more sophisticated ways to incorporate global context or scene consistency could be a promising direction. Further improvements could also come from more advanced co-segmentation techniques or better strategies for handling noisy pseudo-labels.
Summary updated