Exploiting Class Learnability in Noisy Data.

Matthew Klawonn, Eric Heim, James Hendler

Abstract

In many domains, collecting sufficient labeled training data for supervised machine learning requires easily accessible but noisy sources, such as crowdsourcing services or tagged Web data. Noisy labels occur frequently in data sets harvested via these means, sometimes resulting in entire classes of data on which learned classifiers generalize poorly. For real world applications, we argue that it can be beneficial to avoid training on such classes entirely. In this work, we aim to explore the classes in a given data set, and guide supervised training to spend time on a class proportional to its learnability. By focusing the training process, we aim to improve model generalization on classes with a strong signal. To that end, we develop an online algorithm that works in conjunction with classifier and training algorithm, iteratively selecting training data for the classifier based on how well it appears to generalize on each class. Testing our approach on a variety of data sets, we show our algorithm learns to focus on classes for which the model has low generalization error relative to strong baselines, yielding a classifier with good performance on learnable classes.

Introduction

Modern large-scale machine learning often relies on "webly supervised learning," where data is scraped from the internet using user-provided tags. While this approach yields massive datasets, it introduces significant label noise. A critical observation is that not all classes are equally learnable. For instance, a tag like "Cat" typically corresponds to a distinct visual entity, whereas a tag like "Fun" is subjective and lacks a consistent visual signal, often resulting in a collection of unrelated images.

Conceptual illustration of learnable classes (e.g., 'Cat') versus noisy, unlearnable classes (e.g., 'Fun').

Standard training regimes treat all classes uniformly, forcing models to attempt to find patterns in "garbage" data. This often degrades performance on well-defined categories. This paper proposes a framework to automatically identify and prioritize "learnable" classes during training, effectively filtering out noise at the class level.

Methodology: Class Selection as a Bandit Problem

The authors frame class selection as a Multi-Armed Bandit (MAB) problem, where each class represents an "arm." The objective is to maximize a reward based on the concept of "learnability."

Self-Prediction Gain (SPG)

The core metric for learnability is Self-Prediction Gain (SPG). After the model trains on a batch from a specific class, the algorithm evaluates the model on a validation set for that same class. The reward is defined by the reduction in loss; a significant drop indicates a learnable signal, while stagnation suggests the class is likely noise.

Scalable Modeling with Gaussian Processes

To handle datasets with thousands of classes, the framework employs a Gaussian Process (GP) to model the reward function. By incorporating word2vec embeddings and a Matern kernel, the model can infer the learnability of related classes based on semantic similarity. For example, if "Cat" is found to be learnable, the GP increases the expected reward for "Kitten" before it is even sampled. An Upper Confidence Bound (UCB) strategy is used to balance the exploration of new tags with the exploitation of known learnable ones.

Experimental Evaluation

The framework was evaluated across three diverse scenarios:

  1. Synthetic Noise (CIFAR-100): 100 clean classes were mixed with 100 "noisy" classes containing random images labeled with abstract English words.
  2. YFCC 100M: A real-world dataset of 1 million Flickr images with over 4,500 highly subjective user tags.
  3. Recipe1m: A dataset of 800,000 food images where some labels (e.g., "carrots") are visually distinct while others (e.g., "salt") are visually indistinguishable.

Results and Discussion

In synthetic tests on CIFAR-100, the MAB-supervised model (MAB-S) successfully identified 92 of the 100 clean classes as the most learnable. It achieved an accuracy of 67.14%, a substantial improvement over the 55.12% achieved by the standard training baseline (ELU-N). On real-world datasets like YFCC and Recipe1m, the MAB approach consistently yielded higher F1-scores for top-ranked classes compared to frequency-based baselines, proving that focusing on signal rather than raw data volume leads to superior generalization.

Limitations

A key insight is that learnability is dynamic—it depends on the model's current state and architecture. However, the approach faces a "drop-off" problem, where performance remains high for a subset of classes but struggles to scale across thousands of categories simultaneously. Furthermore, there is a risk that "hard" but valid classes might be prematurely dismissed as noise if they do not show immediate gain.

Conclusion

By treating class selection as an online learning problem, this research demonstrates that models can effectively navigate noisy, large-scale datasets. Prioritizing learnable classes not only improves accuracy but also ensures that model capacity is spent on meaningful visual patterns rather than irreducible noise.

Summary updated

BibTeX
@inproceedings{klawonn2019exploiting,
  author = {Matthew Klawonn and Eric Heim and James Hendler},
  title = {{Exploiting Class Learnability in Noisy Data.}},
  booktitle = {AAAI},
  year = {2019},
  url = {https://openreview.net/forum?id=HooEVMMgOar},
}
Figure