Noise-Tolerant Hybrid Prototypical Learning with Noisy Web Data

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

TL;DR

This paper introduces SimNoiPro, a novel framework that boosts few-shot learning by effectively mining "free" but noisy web images. By replacing a single global noise-tolerant prototype with multiple hybrid prototypes and a similarity maximization loss, the authors achieve significant accuracy gains (up to 4.4%) on standard benchmarks.

What Problem Does This Paper Address?

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 green objects.

In a few-shot scenario (where you only have 1–5 clean examples), these noisy web images can be a double-edged sword. If you use them 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 suffered from two major flaws:

  1. Coarse Modeling: They used one single prototype to represent the entire noisy set, ignoring the massive diversity within web data.
  2. Optimization Discrepancy: The "cleaning" phase and the "classification" phase were often disconnected, leading to suboptimal prototypes.

Methods

The authors propose a two-step approach called SimNoiPro (Similarity Maximization for Noise-tolerant Prototypes):

  1. Noise-Tolerant Hybrid Prototypes: Instead of lumping all noisy images together, the model divides them into $T$ groups based on their relevance scores (calculated via a GCN). 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.
  2. Similarity Maximization Loss: This is the core innovation. 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 between the clean and noisy representations in an end-to-end fashion, the model ensures that the information extracted from the web is actually relevant to the target class.

Datasets

The researchers evaluated their method on two massive, extended benchmarks:

  • Low-shot Places365: A scene recognition dataset extended with 9.7 million noisy images from the YFCC100M collection.
  • Low-shot ImageNet: The gold standard for object recognition, extended with 3.7 million noisy web images.

Key Insights and Ideas

  • Diversity is a Feature, Not a Bug: Web noise isn't uniform. Some "noisy" images are actually highly relevant but just weren't labeled (e.g., a slice of cucumber vs. a whole cucumber). By using multiple prototypes, the model can "soft-filter" the data rather than making a hard binary choice of what to keep.
  • Bridging the Gap: The "Aha!" moment here is the realization that cleaning data shouldn't be a separate preprocessing step. By making the cleaning objective (relevance scores) directly influence the prototype generation via the SimNoiPro loss, the model learns a more "plausible" relationship between clean and noisy data.
  • Scaling with Better Backbones: The method shows even stronger relative gains when moving from a ResNet-10 to a ResNet-50 backbone, suggesting it scales well with model capacity.

Key Results

The proposed method consistently outperformed prior state-of-the-art (SOTA) methods across different "shot" counts (number of clean images):

  • Places365 (5-shot): Achieved 58.60% top-5 accuracy, outperforming the previous SOTA (Iscen et al.) by 4.34%.
  • ImageNet (5-shot, ResNet-50): Achieved 85.17%, a 3.53% improvement over the previous best.
  • Qualitative Success: Visualizations show that SimNoiPro successfully assigns higher relevance to images that share visual semantics with the clean set (e.g., identifying different breeds of dogs as relevant to an "Afghan Hound" query) while pushing truly irrelevant noise (like text or unrelated landscapes) into low-relevance groups.

Limitations and Future Work

  • The 1-Shot Bottleneck: The authors note that in the extreme 1-shot case, the performance gain is more modest. This is because a single clean image might be an outlier (e.g., a photo of a cucumber on a vine might not help identify a cucumber in a salad). If the "anchor" is biased, the whole cleaning process suffers.
  • Computational Overhead: While the GCN cleaning is efficient, managing multiple prototypes and the associated similarity calculations adds complexity compared to simpler weighting schemes.
  • Future Direction: A promising next step would be exploring how to handle "out-of-distribution" noise more aggressively or integrating this with large-scale vision-language models (like CLIP) to further refine the relevance scoring.

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},
}

Loading related content...

Figure