Noise-Tolerant Hybrid Prototypical Learning with Noisy Web Data

Chao Liang, Linchao Zhu, Zongxin Yang, Wei Chen, Yi Yang

Abstract

We focus on the challenging problem of learning an unbiased classifier from a large number of potentially relevant but noisily labeled web images given only a few clean labeled images. This problem is particularly practical because it reduces the expensive annotation costs by utilizing freely accessible web images with noisy labels. Typically, prototypes are representative images or features used to classify or identify other images. However, in the few clean and many noisy scenarios, the class prototype can be severely biased due to the presence of irrelevant noisy images. The resulting prototypes are less compact and discriminative, as previous methods do not take into account the diverse range of images in the noisy web image collections. In this article, we introduce a similarity maximization loss named SimNoiPro. Our SimNoiPro first generates noise-tolerant hybrid prototypes composed of clean and noise-tolerant prototypes and then pulls them closer to each other. Our approach considers the diversity of noisy images by explicit division and overcomes the optimization discrepancy issue. The evaluation results on two extended few-shot classification benchmarks confirm that our SimNoiPro outperforms prior methods in measuring image relations and cleaning noisy data.

Introduction: The Challenge of Noisy Web Data

Deep learning is notoriously data-hungry, but high-quality human annotation is expensive. A popular workaround is "webly-supervised learning," where models are trained on images scraped from the internet using search keywords. While abundant, this data is "noisy"—a search for "cucumber" might return images of pickles, vines, or even unrelated objects like dogs or flowers.

Web search results for 'cucumber' often contain irrelevant images (red borders) alongside relevant ones (green borders).

In a few-shot scenario (where only 1–5 clean examples are available), these noisy web images can be a double-edged sword. If used blindly, the "class prototype"—the average representation of a category—becomes biased and loses its discriminative power. Previous state-of-the-art methods tried to "clean" this data using Graph Convolutional Networks (GCNs) to assign relevance scores, but they often used a single prototype to represent the entire noisy set, ignoring the massive diversity within web data.

Methodology: SimNoiPro

The proposed SimNoiPro (Similarity Maximization for Noise-tolerant Prototypes) framework addresses these limitations through a two-step approach:

  1. Noise-Tolerant Hybrid Prototypes: Instead of lumping all noisy images together, the model divides them into $T$ groups based on their relevance scores. This allows the model to create multiple "local" noise-tolerant prototypes. This finer granularity helps capture the diverse ways web images can relate to a clean class (e.g., a sliced cucumber vs. a cucumber on a vine).
  2. Similarity Maximization Loss: The model uses a new loss function to pull these local noise-tolerant prototypes closer to the "clean" prototype derived from the few guaranteed-correct images. By maximizing cosine similarity in an end-to-end fashion, the model ensures that the information extracted from the web is relevant to the target class.
Relevant web images exhibit high diversity, ranging from sliced cucumbers to those growing on vines, which SimNoiPro captures via multiple prototypes.

Experimental Results

The researchers evaluated SimNoiPro on two massive, extended benchmarks: Low-shot Places365 (9.7 million noisy images) and Low-shot ImageNet (3.7 million noisy images). The method consistently outperformed prior state-of-the-art (SOTA) methods:

  • Places365 (5-shot): Achieved 58.60% top-5 accuracy, outperforming the previous SOTA by 4.34%.
  • ImageNet (5-shot, ResNet-50): Achieved 85.17%, a 3.53% improvement over the previous best.

Visualizations confirm that SimNoiPro successfully assigns higher relevance to images that share visual semantics with the clean set while pushing truly irrelevant noise into low-relevance groups.

Discussion and Future Work

A key insight of this work is that web noise is not uniform. By treating diversity as a feature rather than a bug, the model can "soft-filter" data more effectively. However, the authors note a "1-shot bottleneck": if the single clean image provided is an outlier, the entire cleaning process can be biased. Future work may involve integrating these techniques with large-scale vision-language models like CLIP to further refine relevance scoring and handle out-of-distribution noise more aggressively.

Summary updated

Abstract

We focus on the challenging problem of learning an unbiased classifier from a large number of potentially relevant but noisily labeled web images given only a few clean labeled images. This problem is particularly practical because it reduces the expensive annotation costs by utilizing freely accessible web images with noisy labels. Typically, prototypes are representative images or features used to classify or identify other images. However, in the few clean and many noisy scenarios, the class prototype can be severely biased due to the presence of irrelevant noisy images. The resulting prototypes are less compact and discriminative, as previous methods do not take into account the diverse range of images in the noisy web image collections. On the other hand, the relation modeling between noisy and clean images is not learned for the class prototype generation in an end-to-end manner, which results in a suboptimal class prototype. In this article, we introduce a similarity maximization loss named SimNoiPro. Our SimNoiPro first generates noise-tolerant hybrid prototypes composed of clean and noise-tolerant prototypes and then pulls them closer to each other. Our approach considers the diversity of noisy images by explicit division and overcomes the optimization discrepancy issue. This enables better relation modeling between clean and noisy images and helps extract judicious information from the noisy image set. The evaluation results on two extended few-shot classification benchmarks confirm that our SimNoiPro outperforms prior methods in measuring image relations and cleaning noisy data.
BibTeX
@article{liang2024noise,
  author = {Chao Liang and Linchao Zhu and Zongxin Yang and Wei Chen and Yi Yang},
  title = {{Noise-Tolerant Hybrid Prototypical Learning with Noisy Web Data}},
  journal = {ACM Trans. Multim. Comput. Commun. Appl.},
  year = {2024},
  url = {https://openreview.net/forum?id=O8I47qO0Jd},
}
Figure