Nuclear discrepancy for single-shot batch active learning

Tom J. Viering, Jesse H. Krijthe, Marco LoogMachine Learning 2019 · DOI

Introduction

Active learning (AL) aims to minimize labeling costs by selecting the most informative samples from an unlabeled pool. While most AL research focuses on sequential selection—picking one sample, labeling it, and retraining—many practical scenarios require single-shot batch active learning. In these cases, such as medical imaging where specialist time is scheduled in blocks or deep learning where retraining is computationally expensive, a representative batch of $n$ samples must be selected simultaneously before any labels are observed. This paper introduces Nuclear Discrepancy (ND), a novel generalization bound that significantly improves performance in these single-shot settings.

The Problem: Selecting the Best Batch

To select a representative batch, researchers often rely on generalization bounds—mathematical "safety nets" that estimate the maximum possible error a model might make. The logic is to choose the data subset that minimizes these bounds. However, a critical question remains: does a mathematically "tighter" bound necessarily lead to better predictive performance in the real world?

The authors investigate three primary metrics for batch selection:

  1. Maximum Mean Discrepancy (MMD): A standard measure of the distance between the distributions of the selected batch and the total pool.
  2. Discrepancy (disc): A model-specific bound that is theoretically the "tightest" in worst-case (adversarial) scenarios.
  3. Nuclear Discrepancy (ND): A new bound derived using the principle of maximum entropy, assuming that model errors are distributed uniformly across all possible directions rather than being concentrated in a single worst-case direction.

Theoretical Framework: Eigenvalue Analysis

The core technical contribution is an eigenvalue analysis of the matrix $M$, which represents the difference between the covariance of the pool and the batch. The three bounds relate to different norms of the eigenvalues of $M$:

  • Discrepancy corresponds to the $L_\infty$ norm (focusing only on the largest eigenvalue).
  • MMD corresponds to the $L_2$ (Euclidean) norm.
  • Nuclear Discrepancy corresponds to the $L_1$ norm (the sum of all eigenvalues, also known as the nuclear norm).

The Paradox of Tightness

The most striking finding of the research is the inverse relationship between theoretical worst-case tightness and empirical performance. While the Discrepancy bound is mathematically the tightest under adversarial assumptions, it performs the worst in practice, sometimes failing to outperform random sampling.

Comparison of bounds under different probabilistic assumptions and their experimental performance.

As shown in the table above, Nuclear Discrepancy is the "loosest" in the worst-case scenario but provides the "tightest" bound in the average-case scenario. This "optimistic" assumption aligns better with real-world data, where errors are typically spread across multiple dimensions rather than being concentrated by an adversary. By minimizing error across all dimensions (the nuclear norm), ND ensures better overall coverage of the data space.

Experimental Results

The authors evaluated ND against MMD and Discrepancy across 13 benchmark datasets (including diabetes, breast cancer, and ionosphere) and high-dimensional MNIST image classification tasks.

  • Superior Accuracy: In the realizable setting, the proposed Nuclear Discrepancy outperformed MMD and Discrepancy on 9 out of 13 benchmark datasets.
  • Consistency: ND was the only method that consistently matched or exceeded random sampling performance across all tests.
  • MNIST Performance: In difficult binary classification tasks (e.g., 3 vs. 5 and 7 vs. 9), ND achieved lower Mean Squared Error (MSE) with fewer samples compared to its counterparts.

Conclusion

The success of Nuclear Discrepancy highlights a fundamental shift in active learning theory: "optimism" can be more effective than "pessimism." By accounting for the average-case distribution of errors across all data dimensions, ND provides a more reliable proxy for model performance than traditional worst-case bounds. Future work includes extending ND to non-squared loss functions and improving the computational efficiency of the batch selection process, which remains an NP-hard optimization problem.

Summary updated

BibTeX
@article{viering2019nuclear,
  author = {Tom J. Viering and Jesse H. Krijthe and Marco Loog},
  title = {{Nuclear discrepancy for single-shot batch active learning}},
  journal = {Machine Learning},
  year = {2019},
  doi = {10.1007/s10994-019-05817-y},
}
Figure