WebSeg: Learning Semantic Segmentation from Web Searches

Qibin Hou, Ming-Ming Cheng, Jiang-Jiang Liu, Philip H. S. TorrarXiv 2018

Abstract

Training semantic segmentation models typically requires massive datasets with pixel-level human annotations. This paper introduces WebSeg, a novel framework that learns semantic segmentation directly from uncurated web images obtained via keyword searches. By leveraging category-agnostic low-level visual cues and a specialized Online Noise Filtering Module (NFM), WebSeg effectively handles label noise inherent in web data. Experimental results on PASCAL VOC 2012 demonstrate that WebSeg achieves performance comparable to state-of-the-art weakly supervised methods that rely on human-verified image-level labels, despite using zero manual annotations.

Introduction

Semantic segmentation is a cornerstone of computer vision, yet the cost of manual pixel-level annotation remains a significant bottleneck. While weakly supervised learning using bounding boxes or image-level tags reduces this cost, it still requires human effort. WebSeg aims to eliminate human intervention entirely by training models on images scraped from the web.

The primary challenge is the "label noise" present in uncurated search results—for instance, a search for "bicycle" might return images containing people, roads, and complex backgrounds. WebSeg addresses this by combining low-level visual priors with an automated filtering mechanism to extract clean segmentation signals from inherently noisy data.

Methods

The WebSeg pipeline consists of three main stages: web crawling, noise filtering, and iterative refinement.

1. Web Crawling and Heuristic Cues

Images are downloaded from Flickr based on class keywords. To bootstrap the learning process, the system generates "proxy ground truth" labels using category-agnostic low-level cues. These include saliency detection to identify foreground objects, edge detection for boundary definition, and over-segmentation to ensure predictions align with logical object boundaries. These cues provide a strong enough prior to kickstart learning without human-drawn polygons.

Figure 1: Generation of proxy ground truth using low-level cues like edges, regions, and saliency.

2. Online Noise Filtering Module (NFM)

The core innovation is the NFM, a lightweight branch integrated into a standard segmentation architecture (DeepLab). Since web images often contain irrelevant objects, the initial proxy labels are noisy. The NFM pools features from image regions and predicts their class. If a region's predicted class contradicts the target keyword, it is flagged as noise and excluded from the main network's training loss.

Figure 4: The complete WebSeg pipeline, featuring the web crawler, low-level cue extractors, and the Online Noise Filtering Module (NFM).

Crucially, the authors employ intentional under-fitting: the NFM is trained with a lower learning rate to prevent it from memorizing the noisy proxy labels, allowing it to act as a robust general filter for contradictory regions.

3. Iterative Refinement

The model is trained in rounds. The first-round model, guided by the NFM, produces initial predictions. These are smoothed using a Conditional Random Field (CRF) to create refined pseudo-labels for a second, more accurate training round.

Results and Discussion

WebSeg was evaluated on the PASCAL VOC 2012 dataset across different levels of supervision:

  • Web-Only Supervision: Using 33,000 uncurated Flickr images and zero manual annotations, WebSeg achieved a 57.0% mIoU on the validation set and 57.04% on the test set. This is highly competitive with models trained on human-annotated data.
  • Weakly Supervised State-of-the-Art: When applied to standard weakly supervised datasets with human-verified image tags, the NFM pipeline reached 63.1% mIoU, outperforming existing state-of-the-art methods at the time.
  • Noise Mitigation: Ablation studies confirmed that the NFM specifically contributes a ~2% performance gain by successfully mitigating noise in uncurated web-crawled data.

Conclusion

WebSeg demonstrates the feasibility of training high-quality segmentation models without any human labeling. While the system shows remarkable performance, it faces challenges with complex, spindly shapes (e.g., chairs or tables) and heavily overlapping objects where low-level cues struggle to distinguish boundaries. Future research directions include improving heuristic cue generation and developing more robust architectures to handle complex, multi-object scenes.

Summary updated

BibTeX
@misc{hou2018webseg,
  author = {Qibin Hou and Ming-Ming Cheng and Jiang-Jiang Liu and Philip H. S. Torr},
  title = {{WebSeg: Learning Semantic Segmentation from Web Searches}},
  year = {2018},
  eprint = {1803.09859},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1803.09859},
}
Figure