Learning from the Web: Language Drives Weakly-Supervised Incremental Learning for Semantic Segmentation

Chang Liu, Giulia Rizzoli, Pietro Zanuttigh, Fu Li, Yi Niu

Abstract

Traditional semantic segmentation models rely on expensive, pixel-level human annotations and often suffer from catastrophic forgetting when learning new concepts. This paper introduces a novel framework for Weakly-Supervised Incremental Learning for Semantic Segmentation (WILSS) that leverages the open web as a scalable data source. By utilizing Vision-Language Models (VLMs) for multi-label generation and a Fourier-based discriminator for data quality control, the proposed method achieves state-of-the-art performance without manual annotations, effectively bridging the gap between web-crawled noise and curated datasets.

Introduction

Semantic segmentation—assigning a class label to every pixel in an image—is a cornerstone of computer vision, yet its progress is hindered by the high cost of manual labeling. Incremental learning offers a path forward by allowing models to learn new classes over time. However, this often leads to "catastrophic forgetting," where the model loses its ability to recognize previously learned categories.

While Weakly-Supervised Incremental Learning (WILSS) reduces costs by using image-level labels, existing methods still rely on "clean" datasets like PASCAL-VOC. This paper argues that the web provides a virtually infinite resource for learning, provided we can overcome the inherent noise and distribution shifts found in uncurated web data. The authors propose a language-driven pipeline that treats the internet as an external memory and a source of supervision.

Methodology

The proposed framework addresses the challenges of web-based learning through four primary components:

1. Fourier Domain-based Discriminator

Web images often differ significantly in style and statistics from standard benchmarks. To ensure that downloaded images are "distributionally friendly" for the model, the authors employ a discriminator in the Fourier domain. By focusing on the amplitude of the Fourier transform—which captures global style and statistical properties—the model can filter for web images that align with the style of the original training data, ensuring more stable training.

2. Caption-based Multi-Labeling

Standard web searches (e.g., searching for "dog") often return images containing multiple objects, yet only provide a single keyword label. To extract richer supervision, the authors use a pre-trained Vision-Language Model (Flamingo) to generate descriptive captions for each image. By parsing these captions, the model identifies multiple classes within a single frame (e.g., "a person sitting on a bench with a dog"), transforming noisy web data into a rich, multi-label supervision source.

3. Language-Driven Rehearsal

To prevent catastrophic forgetting, models typically store a subset of old images for "rehearsal." To minimize storage requirements and address privacy concerns, this framework stores only the text captions of original images. When the model needs to rehearse, it uses these captions to query the web for similar visual content, effectively using the internet as a massive, queryable hard drive.

4. Hypernym Filtering with WordNet

To ensure the accuracy of rehearsed images, the system employs WordNet to perform hypernym filtering. By comparing the linguistic ancestors of nouns in the original captions with those in the new web-crawled captions, the model can verify semantic consistency (e.g., ensuring a "flamingo" is correctly identified as a "bird"), further reducing the impact of search noise.

Experimental Results

The researchers evaluated the framework on PASCAL-VOC 2012 and MS-COCO benchmarks, focusing on incremental steps (e.g., learning 15 classes followed by 5).

  • Performance Gains: In the 15-5 class incremental setting, the proposed method outperformed the previous state-of-the-art (WILSON) by 5-6% when both utilized web data.
  • Closing the Gap: The "web-only" rehearsal strategy achieved results nearly identical to models trained on perfectly curated, original training images, demonstrating that language-driven web search is a viable alternative to image storage.
  • Qualitative Quality: Visual analysis indicates that the model produces cleaner segmentation masks with fewer hallucinations of objects, particularly in complex scenes where multiple classes overlap.

Discussion and Conclusion

This work demonstrates that language is a powerful tool for navigating the noise of the open web. By shifting the focus from raw pixels to semantic captions and Fourier-domain statistics, the authors provide a scalable path for incremental learning.

However, the approach remains dependent on the quality of the underlying VLM; biases or recognition failures in the foundation model can propagate to the segmentation results. Additionally, the computational overhead of real-time web crawling and filtering presents a challenge for deployment. Future research will likely focus on optimizing bandwidth usage and extending this language-driven supervision to other complex visual tasks beyond segmentation.

Summary updated

BibTeX
@inproceedings{liu2024learning,
  author = {Chang Liu and Giulia Rizzoli and Pietro Zanuttigh and Fu Li and Yi Niu},
  title = {{Learning from the Web: Language Drives Weakly-Supervised Incremental Learning for Semantic Segmentation}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72643-9\_21},
}
Figure