Revisiting Active Learning in the Era of Vision Foundation Models

Sanket Rajan Gupte, Josiah Aklilu, Jeffrey J. Nirschl, Serena Yeung-Levy

TL;DR

This paper re-evaluates active learning (AL) strategies in the context of modern vision foundation models (VFMs) like DINOv2 and OpenCLIP. The authors demonstrate that the robust representation spaces of VFMs challenge traditional AL wisdom, leading them to propose DropQuery—a simple, scalable strategy that combines centroid-based initialization with dropout-based uncertainty and clustering for diversity, consistently outperforming state-of-the-art methods across natural and biomedical datasets.

What Problem Does This Paper Address?

Active Learning (AL) is the art of choosing which unlabeled data points are most worth labeling to improve a model's performance under a tight budget. Historically, AL research focused on models trained from scratch or simple ImageNet-pretrained backbones. However, we now live in the era of Vision Foundation Models (VFMs)—massive models trained on billions of images that produce incredibly rich semantic features "out of the box."

The authors identify a gap: does the old AL playbook still work when your feature extractor is already extremely powerful? Specifically, they investigate the "low-budget regime" (where you only have a few labels per class) and re-examine the four pillars of AL:

  1. Initial pool selection: How to pick the very first set of images to label.
  2. Diversity: Ensuring the labeled set covers the whole data distribution.
  3. Uncertainty vs. Representativeness: The trade-off between picking "confusing" samples vs. "typical" samples.
  4. Semi-supervised learning (SSL): Whether using unlabeled data during training actually helps.

Methods

The authors systematically test existing AL strategies and then synthesize their findings into a new method called DropQuery.

The DropQuery Strategy

DropQuery is built on three main components:

  • Centroid-based Initialization: Instead of picking the first batch of images at random, it uses K-means clustering on the VFM features and selects the samples closest to the cluster centers. This ensures the model starts with a representative "sketch" of the data.
  • Dropout-based Uncertainty: To find "hard" samples, the method applies dropout to the VFM features at inference time. It passes the same image through the classifier multiple times with different dropout masks. If the predictions are inconsistent, the sample is flagged as uncertain.
  • Diversity via Clustering: From the pool of uncertain candidates, it uses K-means again to select a final batch for labeling that is spread out across the feature space, preventing the selection of redundant samples.
Algorithm 1: The DropQuery strategy

Datasets

The study is remarkably broad, covering 12+ datasets across two main categories:

  • Natural Images: CIFAR100, Food101, ImageNet-100, DomainNet-Real, and fine-grained tasks like Stanford Cars, FGVC Aircraft, and Oxford-IIIT Pets. They even test on the massive Places365 (1.8 million images).
  • Biomedical Images (Out-of-Domain): These are critical for testing how VFMs generalize to data they haven't seen during pretraining. Datasets include Blood Smears, Diabetic Retinopathy, HeLa cell structures, Skin Cancer (HAM10000), and Colorectal Histology.

Key Insights and Ideas

  • The "Phase Transition" is a Myth for VFMs: Traditional AL theory suggests you should pick "representative" samples early on and only switch to "uncertain" samples later. The authors find that with VFMs, uncertainty-based sampling is effective from the very second iteration. The rich feature space makes uncertainty estimates reliable much earlier than previously thought.
  • Initialization is Critical: In the low-budget regime, starting with a centroid-based pool provides a massive head start. For example, on CIFAR100, centroid initialization provided a +24.4% accuracy boost in the first iteration compared to random selection.
  • SSL can be a Double-Edged Sword: While semi-supervised learning (label propagation) helps in the first few steps, it often hurts performance in later iterations. The authors hypothesize that propagating labels from uncertain samples leads to "leaking" incorrect labels across decision boundaries.
  • Larger is Better (Mostly): Larger foundation models provide more pronounced AL gains in early iterations, though the gap narrows as more data is labeled.
Table 1: Effect of initial pool selection on performance. Test set accuracy using our centroid-based initial- ization. In parentheses, we show the difference (∆) in performance when utilizing our centroid initialization vs. random initialization, where a positive (∆) shown in green indicates improvement over random initial- ization. We show AL iterations t for datasets CIFAR100 (Krizhevsky, 2009), Food101 (Bossard et al., 2014), ImageNet-100 (Gansbeke et al., 2020), and DomainNet-Real (Peng et al., 2019) (from top to bottom) with DINOv2 ViT-g14 as the feature extractor f. For both the Typiclust and ProbCover queries, we report the test accuracy using their own respective initialization strategies for the cold start.

Key Results

  • DropQuery Dominates: Across 8 natural image settings, DropQuery beat random sampling in 7.25 out of 8 total AL iterations. It consistently outperformed or matched complex SOTA methods like Typiclust and Alfa-Mix.
  • Scalability: DropQuery successfully scaled to the Places365 dataset (1.8M images), where more computationally expensive methods like ProbCover became intractable.
  • Biomedical Generalization: Even on out-of-domain medical images, DropQuery remained a top competitor, proving that VFM features are robust enough for AL even when the data distribution shifts significantly.
Table 2: Marginal performance gains for uncertainty measures

Limitations and Future Work

  • Long-Tailed Distributions: The authors note that their study focused on relatively balanced datasets. Real-world data is often heavily imbalanced, which might require different AL strategies.
  • SSL Algorithms: The study only looked at offline label propagation. The authors suggest that more advanced, online semi-supervised methods might yield better results.
  • Foundation Model Bias: The method relies on the quality of the underlying VFM. Any inherent biases or ethical dilemmas in the foundation model could be reflected in the samples chosen for labeling.
  • Biomedical Variance: Results on the Patch Camelyon dataset were less consistent, suggesting that VFM features might not benefit all medical imaging tasks equally.

Summary updated

BibTeX
@article{gupte2024revisiting,
  author = {Sanket Rajan Gupte and Josiah Aklilu and Jeffrey J. Nirschl and Serena Yeung-Levy},
  title = {{Revisiting Active Learning in the Era of Vision Foundation Models}},
  journal = {Accepted by TMLR},
  year = {2024},
  url = {https://openreview.net/forum?id=u8K83M9mbG},
}
Figure