Big Batch Bayesian Active Learning by Considering Predictive Probabilities

Sebastian W. Ober, Samuel Power, Tom Diethe, Henry B. Moss

TL;DR

The popular batch active learning method BatchBALD often selects redundant data points because it conflates a model's ignorance (epistemic uncertainty) with inherent data noise (aleatoric uncertainty). To fix this, the authors introduce Big Batch Bayesian Active Learning (BBB-AL), an acquisition function that targets the model's predictive probabilities to isolate purely reducible uncertainty. The result is a method that not only outperforms BatchBALD in accuracy but also runs orders of magnitude faster, finally unlocking truly large batch sizes for Bayesian active learning.

What Problem Does This Paper Address?

Active learning helps train machine learning models with less labeled data by intelligently choosing which unlabeled points an oracle (or human annotator) should label next. In many real-world scenarios, it is highly inefficient to wait for a model to retrain after every single newly labeled point; instead, we want to select a batch of points simultaneously.

The current gold standard for this is BatchBALD, which uses mutual information to select a diverse batch of points. However, BatchBALD suffers from two major flaws:

  1. Computational Complexity: In its exact form, its memory and computational costs scale exponentially with the batch size, forcing practitioners to rely on expensive approximations.
  2. Uncertainty Conflation: It struggles to distinguish between epistemic uncertainty (uncertainty due to a lack of data, which can be resolved by labeling) and aleatoric uncertainty (inherent noise in the data, which cannot be resolved). As a result, BatchBALD can get trapped into sampling redundant points in noisy regions of the input space.

Methods

The authors propose a new acquisition function called BBB-AL. Instead of maximizing the mutual information between labels and model parameters (like BatchBALD), BBB-AL maximizes the joint differential entropy of the model's predictive probabilities. Because predictive probabilities squash the latent function's uncertainty through a link function (like softmax), they naturally isolate epistemic uncertainty.

To make calculating this joint differential entropy tractable, the authors introduce two simplifying assumptions:

  1. The class probabilities are Gaussian-distributed.
  2. Each class output is independent.

With these assumptions, the objective simplifies beautifully into the sum of the log-determinants of the batch's covariance matrices for each class:

$$\alpha_{BBB}(\{x_b\}_{b=1}^B; p(f|\mathcal{D})) = \sum_{c=0}^{C-1} \log \det(C_p^c)$$

For pool-based active learning (where you choose from a fixed set of unlabeled data), this formulation naturally frames the selection as a Determinantal Point Process (DPP). While finding the absolute optimal subset is NP-hard, it can be solved very efficiently using a standard greedy approach that scales as $\mathcal{O}(|\mathcal{D}_{pool}| \times B^2)$, completely bypassing BatchBALD's combinatorial explosion.

Datasets

The method was evaluated on the standard image classification benchmark CIFAR-10. The authors used a small "ResNet-8" convolutional neural network with a variational posterior to simulate the Bayesian surrogate model.

Key Insights and Ideas

  • The Redundancy Trap: The authors demonstrate that BatchBALD will happily sample the exact same point twice if it lies in a region of high aleatoric uncertainty. This is visually captured in the paper's toy experiment:
Figure 1: The GP prediction along with BatchBALD and BBB-AL (ours) acquisition landscapes for B = 2, where x1 (the first point in the batch) is on the x-axis and x2 (the second point) is on the y-axis. For BatchBALD, we see that the optimal acquisition is x1 = x2 = 1, whereas for BBB-AL we obtain x1 = 0, x2 = 1.
  • Continuous vs. Discrete Spaces: BatchBALD operates on discrete label spaces, leading to an exponential combinatorial cost ($C^B$) to evaluate all possible label combinations. By shifting the focus to the continuous space of predictive probabilities, BBB-AL avoids this combinatorial nightmare entirely.

Key Results

The experiments on CIFAR-10 evaluated performance across batch sizes of $B=1$, $B=10$, and $B=50$.

  • Massive Speedups: As the batch size grows, the wall-clock time difference becomes staggering. For a batch size of $B=50$, BBB-AL achieves optimal accuracy in a fraction of the time it takes BatchBALD to complete even a few iterations.
  • Better Accuracy: Even at $B=1$, BBB-AL achieves slightly higher accuracy than BALD, validating the theory that isolating epistemic uncertainty yields better query choices. At larger batch sizes, BBB-AL consistently maintains a higher accuracy trajectory relative to computation time.
Figure 2: Accuracy on CIFAR-10 for BBB-AL and BatchBALD acquisition functions versus time for B = 1, B = 10, and B = 50. The darker lines show the mean performance, whereas the lighter lines show individual runs.

Limitations and Future Work

While BBB-AL shows impressive empirical gains, it relies on two strict approximations: that class probabilities are Gaussian-distributed and independent. In highly complex, multi-class settings, these assumptions might oversimplify the true posterior distribution.

Additionally, for non-Gaussian Process models (like deep Bayesian Neural Networks), BBB-AL requires a sample-based covariance estimator. If the batch size $B$ is larger than the number of Monte Carlo samples $S$, the covariance matrix becomes degenerate, requiring numerical stabilization techniques like Ledoit-Wolf shrinkage. Exploring how to relax these assumptions without sacrificing the computational speedup remains an open direction for future work.

Summary updated

BibTeX
@misc{ober2024big,
  author = {Sebastian W. Ober and Samuel Power and Tom Diethe and Henry B. Moss},
  title = {{Big Batch Bayesian Active Learning by Considering Predictive Probabilities}},
  year = {2024},
  eprint = {2501.08223},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.08223},
}
Figure