Uncertainty Herding: One Active Learning Method for All Label Budgets

Wonho Bae, Danica J. Sutherland, Gabriel L. Oliveira

Active learning (AL) aims to train highly accurate models using as few labeled examples as possible by strategically selecting which data points a human should annotate. However, a persistent challenge in AL research is the "budget divide." Methods that excel when you have very few labels (low-budget) often perform poorly when you have many, and vice versa.

This paper introduces Uncertainty Herding (UHerding), a unified approach that uses adaptive parameters to smoothly transition from representation-based selection to uncertainty-based selection, matching or outperforming state-of-the-art methods across all label budgets.

The Active Learning Divide

Historically, AL strategies fall into two distinct camps:

  1. Uncertainty-based methods: These select points where the model is most "confused" (e.g., near the decision boundary). While highly effective in high-budget scenarios, they fail miserably when labels are scarce because a poorly trained model's initial uncertainty estimates are highly unreliable.
  2. Representation-based methods: These select points that broadly "cover" the underlying data distribution (e.g., via clustering). These are robust during the "cold start" phase but eventually plateau because they continue picking diverse points rather than focusing on the tricky boundary areas that actually refine the model.

Because the threshold between a "low" and "high" budget varies wildly depending on the dataset and model architecture, practitioners are often forced to guess which method to deploy.

Bridging the Gap with Uncertainty Coverage

To solve this, the authors propose a new objective called Uncertainty Coverage (UCoverage). It combines a similarity kernel—which measures how well a selected point "covers" its unlabeled neighbors—with an uncertainty function. To optimize this objective efficiently, they utilize a greedy algorithm called Uncertainty Herding (UHerding).

Illustration of the Uncertainty Herding selection process, balancing proximity (coverage) and model uncertainty.

By mathematically generalizing both approaches, UHerding acts as a bridge. If you set the uncertainty to a constant, the method behaves like representation-based "MaxHerding." If you shrink the coverage radius to zero, it collapses into pure uncertainty sampling (Margin Sampling).

Parameter Adaptation: The Key to Smooth Transitions

The core innovation of UHerding lies in its Parameter Adaptation, which allows the algorithm's behavior to evolve as more data is collected:

  • Temperature Scaling ($\tau$): Early in training, the model is poorly calibrated. By using a high temperature ($\tau$) in the softmax function, the algorithm treats all points as having similar uncertainty, forcing it to act like a representation-based method. As the model improves, $\tau$ is tuned via Expected Calibration Error (ECE) to make uncertainty values more distinct and trustworthy.
  • Lengthscale Adaptation ($\sigma$): This parameter defines the "radius" of a point's influence. When $\sigma$ is large, the model seeks global coverage. The authors dynamically decrease $\sigma$ as the labeled set grows. As the model matures, the "influence" of a new data point becomes more semantically local, naturally shifting the algorithm toward pure uncertainty sampling.
Adaptive parameters tau (temperature) and sigma (lengthscale) naturally decay as the labeled dataset grows, shifting the strategy from coverage to uncertainty.

Key Results and Insights

The authors validated UHerding across standard benchmarks (CIFAR-10/100, TinyImageNet) and transfer learning tasks (DomainNet, ImageNet).

  • Universal Performance: UHerding is the only evaluated method that consistently matches or beats state-of-the-art performance in both low- and high-budget settings.
  • Transfer Learning Gains: In transfer learning tasks on DomainNet using pre-trained DeiT and DINO models, UHerding outperformed the popular ALFA-Mix method by up to 13% in low-budget scenarios.
  • Efficiency and Robustness: Unlike previous hybrid attempts that require expensive re-training or large validation sets, UHerding's greedy selection process is computationally fast and highly practical for real-world use. Furthermore, the authors provide theoretical proofs showing that their greedy approach nearly optimizes the true distribution-level uncertainty coverage.

Limitations and Future Work

While highly effective, the current method for adapting the radius $\sigma$ relies on a heuristic based on the minimum distance between labeled points. Future work could explore more principled, data-driven ways to shrink this radius. Additionally, like many modern AL methods, UHerding performs best when leveraging a strong self-supervised feature extractor to calculate similarities, and optimizing it for batch selection remains an open area for research.

Summary updated

BibTeX
@inproceedings{bae2025uncertainty,
  author = {Wonho Bae and Danica J. Sutherland and Gabriel L. Oliveira},
  title = {{Uncertainty Herding: One Active Learning Method for All Label Budgets}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=UgPoHhYQ2U},
}
Figure