Skip to main content
QUICK REVIEW

[Paper Review] Test Distribution-Aware Active Learning: A Principled Approach Against Distribution Shift and Outliers

Andreas Kirsch, Tom Rainforth|arXiv (Cornell University)|Jun 22, 2021
Machine Learning and AlgorithmsComputer Science32 references7 citations
TL;DR

This paper proposes Test Distribution-Aware Active Learning (TDAAL) to address distribution shift and outliers in active learning by redefining acquisition functions around expected predictive information gain (EPIG) and its batch-compatible variant, Joint EPIG (JEPIG). Unlike conventional BALD, which optimizes for model parameter uncertainty, TDAAL directly targets predictive uncertainty under the test distribution, leading to more robust and efficient labeling under distribution shift, with JEPIG outperforming BALD in both standard and out-of-distribution settings.

ABSTRACT

Expanding on MacKay (1992), we argue that conventional model-based methods for active learning - like BALD - have a fundamental shortfall: they fail to directly account for the test-time distribution of the input variables. This can lead to pathologies in the acquisition strategy, as what is maximally informative for model parameters may not be maximally informative for prediction: for example, when the data in the pool set is more dispersed than that of the final prediction task, or when the distribution of pool and test samples differs. To correct this, we revisit an acquisition strategy that is based on maximizing the expected information gained about possible future predictions, referring to this as the Expected Predictive Information Gain (EPIG). As EPIG does not scale well for batch acquisition, we further examine an alternative strategy, a hybrid between BALD and EPIG, which we call the Joint Expected Predictive Information Gain (JEPIG). We consider using both for active learning with Bayesian neural networks on a variety of datasets, examining the behavior under distribution shift in the pool set.

Motivation & Objective

  • To address the limitation of conventional active learning methods like BALD, which optimize for model parameter uncertainty rather than predictive performance on the target test distribution.
  • To investigate whether information-theoretic acquisition functions based on expected predictive information gain (EPIG) are more effective than parameter-focused methods when distribution shift or outliers are present.
  • To develop a scalable batch acquisition variant of EPIG, called Joint EPIG (JEPIG), suitable for deep Bayesian neural networks.
  • To evaluate the performance of EPIG and JEPIG in both standard active learning and under distribution shift, particularly in the presence of out-of-distribution (OoD) data.
  • To demonstrate that focusing on predictive uncertainty under the test distribution leads to better generalization and reduced acquisition of irrelevant or outlier samples.

Proposed method

  • Reformulates active learning acquisition using Expected Predictive Information Gain (EPIG), which quantifies the expected reduction in uncertainty about future predictions at test inputs, rather than model parameters.
  • Derives EPIG as the expected information gain about the predictive distribution $p(y\mid x, \mathcal{D}^{\text{train}})$, marginalized over a test input distribution.
  • Proposes a batch-compatible variant, Joint EPIG (JEPIG), which jointly optimizes for predictive uncertainty across a set of test inputs, enabling efficient batch acquisition.
  • Uses Monte Carlo dropout and local reparameterization for efficient posterior approximation in Bayesian neural networks to compute EPIG and JEPIG scores.
  • Employs a separate, unlabeled evaluation set to represent the test distribution during acquisition, ensuring the acquisition function reflects real-world prediction targets.
  • Integrates OoD rejection and OoD exposure strategies to evaluate robustness to distribution shift in real-world data.

Experimental results

Research questions

  • RQ1Does optimizing for predictive uncertainty under the test distribution lead to better active learning performance than optimizing for model parameter uncertainty, especially under distribution shift?
  • RQ2How does EPIG compare to BALD in terms of predictive accuracy and OoD sample acquisition when the pool set and test set distributions differ?
  • RQ3Can a batch-compatible version of EPIG (JEPIG) maintain performance while enabling efficient acquisition in deep learning?
  • RQ4Is the performance gain of JEPIG over EPIG due to better abstraction learning or improved handling of the evaluation set distribution?
  • RQ5To what extent does using a larger, representative evaluation set improve the robustness of acquisition strategies under distribution shift?

Key findings

  • JEPIG outperforms BALD in standard active learning on MNIST and MNISTx2, with consistent improvements in predictive accuracy across multiple runs.
  • On CIFAR-10, JEPIG also outperforms SoftmaxBALD, demonstrating effectiveness in deeper models and more complex datasets.
  • Under distribution shift, JEPIG significantly reduces acquisition of out-of-distribution (OoD) samples (e.g., FashionMNIST in an MNIST test set) compared to BALD, while maintaining or improving accuracy.
  • In experiments with MNIST and FashionMNIST, JEPIG selects fewer OoD samples in both OoD rejection and OoD exposure modes, indicating better robustness.
  • On CIFAR-10 and SVHN, JEPIG outperforms BALD in all but one combination under distribution shift, with fewer OoD samples acquired.
  • Ablation studies show that larger evaluation sets lead to better performance, confirming the importance of a representative test distribution for acquisition.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.