Active Learning for Convolutional Neural Networks: A Core-Set Approach

Ozan Sener, Silvio SavareseICLR 2018

This paper by Ozan Sener and Silvio Savarese presents a fundamental shift in how we approach Active Learning (AL) for deep models. Instead of asking, "Which image is the model most confused about?", the authors ask, "Which subset of images best represents the geometry of the entire dataset?"

TL;DR

The authors reframe active learning for Convolutional Neural Networks (CNNs) as a geometric core-set selection problem. By aiming to find a representative subset that "covers" the entire data distribution—specifically by minimizing the maximum distance between any unlabeled point and its nearest labeled neighbor—they achieve state-of-the-art classification performance while significantly reducing the amount of labeled data required.

The Problem with Traditional Active Learning

Deep learning thrives on massive labeled datasets, but labeling is expensive and slow. Active Learning aims to solve this by iteratively selecting the most "informative" data points to be labeled by a human oracle.

However, traditional AL heuristics—like picking points where the model is most uncertain—often fail when applied to CNNs. The authors identify two main reasons for this failure:

  1. Batch Constraints: CNNs are computationally expensive to train, making it impractical to select and train on points one-by-one. We must pick large batches (e.g., 1,000 images at once).
  2. Correlation and Redundancy: Uncertainty-based methods often select many points that are highly similar to each other (e.g., 100 slightly different photos of the same blurry car). This leads to redundant information within a single batch, wasting the labeling budget.

A Geometric Solution: The Core-Set Approach

To overcome these limitations, the researchers propose treating active learning as a Core-Set problem. A core-set is a small subset of data such that a model trained on it performs nearly as well as a model trained on the full dataset.

The Geometric Bound and $k$-Center Algorithm

The authors provide a theoretical proof showing that the difference between the loss on the full dataset and the loss on a subset is bounded by the covering radius ($\delta$). If you can ensure that every unlabeled point in your dataset is "close" to at least one labeled point in your core-set, the model will generalize well.

Core-set selection visualized as covering the data space with balls of a specific radius.

Minimizing this covering radius is mathematically equivalent to the classic $k$-Center problem:

  • The Goal: Choose a budget of $b$ points such that the maximum distance from any point in the dataset to its nearest chosen center is minimized.
  • The Metric: "Distance" is defined as the $l_2$ distance between the activations in the CNN’s final fully-connected layer, capturing semantic similarity rather than raw pixel differences.
  • The Solver: Because the $k$-Center problem is NP-Hard, the authors utilize a greedy 2-approximation (iteratively picking the point furthest from the current labeled set). They also formulate a more robust version using Mixed Integer Programming (MIP) to handle outliers that might otherwise pull the core-set toward noisy, unrepresentative parts of the feature space.

Key Insights

  • Diversity > Uncertainty: In batch active learning, ensuring the labeled set is diverse and covers the entire feature space is more important than picking "hard" or "uncertain" examples.
  • Labels are Secondary for Selection: The theoretical bound suggests that actual labels do not aid the selection process unless they help decrease the covering radius. This justifies why their core-set selection is essentially unsupervised.

Experimental Results

The method was evaluated on four standard image classification benchmarks: CIFAR-10, CIFAR-100, SVHN, and Caltech-256.

Classification accuracy vs. ratio of labeled images across four benchmark datasets.
  • Superior Performance: The core-set approach consistently outperformed "Random" sampling and "Best Empirical Uncertainty" (such as Entropy or BALD) across all datasets. On CIFAR-10, the method reached high accuracy levels with significantly fewer labeled images than traditional heuristics.
  • Robustness: The robust MIP-based solver provided a small but statistically significant boost over the simple greedy approach, proving that handling outliers is beneficial for geometric selection.
  • Synergy with Semi-Supervised Learning: The method showed its strongest gains when combined with weakly-supervised models. The model could use unlabeled data to build a better feature space, which in turn made the core-set selection more accurate.

Limitations and Future Work

While highly effective, the approach has limitations. The robust MIP solver is computationally expensive and may struggle to scale to millions of images without further optimization. Additionally, the theoretical bound scales with the number of classes, making the method slightly less effective on datasets with many classes (like CIFAR-100) compared to those with fewer classes (like CIFAR-10). Finally, the authors acknowledge that their current method ignores model uncertainty entirely, suggesting that a hybrid approach combining geometric diversity with uncertainty could be a powerful direction for future research.

Summary updated

BibTeX
@inproceedings{sener2018active,
  author = {Ozan Sener and Silvio Savarese},
  title = {{Active Learning for Convolutional Neural Networks: A Core-Set Approach}},
  booktitle = {International Conference on Learning Representations},
  year = {2018},
  url = {https://openreview.net/forum?id=H1aIuk-RW},
}
Figure