arXiv:2611.09520cs.LGNov 2026

Manuscript Offprint

arXiv:2611.09520

Active Learning of Robust Models

Mizu Nishikawa-Toomey, Andreas Kirsch, Laurent Charlin, Dhanya Sridhar

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Mizu Nishikawa-Toomey

Mila – Quebec AI Institute Université de Montréal

mizu.nishikawa-toomey@mila.quebec

Andreas Kirsch

blackhc@gmail.com

Laurent Charlin

Mila – Quebec AI Institute HEC Montréal

lcharlin@mila.quebec

Dhanya Sridhar

Mila – Quebec AI Institute Université de Montréal

dhanya.sridhar@mila.quebec

Abstract

In many domains from species identification to cancer diagnosis, labelling data to train predictive models remains costly. In these settings, it is advantageous to intelligently select data points to label to achieve the maximum information gain, this is the motivation behind the study of active learning. In addition to the high costs of acquiring data in such domains, there is the added complexity of data distribution shifts that can occur between training and deployment. For example, the features of cancerous skin cells taken in one country may be different in another region of the world. These two challenges - efficient labelling of data, and learning models robust to distribution shifts have been studied separately but not together, even though these challenges often co-occur in real-life settings. We identify failure modes of standard active learning approaches when the distribution of data at deployment is different from the distribution in which the data is sampled for labelling. We propose a new strategy for efficiently learning classifiers that generalise under specific forms of distribution shift, namely subpopulation shift. Drawing on work in learning from heterogeneous data, we aim to train models that perform well across subpopulations of the data, through active learning. To handle this challenging setting, we exploit the fact that many datasets include metadata about data collection that can serve as a noisy proxy for each sample's underlying subpopulation. We demonstrate how to leverage these noisy labels during active learning selection, and demonstrate empirically that our approach improves classifier accuracy across subpopulations.

1 Introduction

For classification problems in domains where acquiring labeled data remains costly, active learning is of interest, since it provides a method of selecting the most informative labels given a budget. For example, to predict the status of a disease from medical images, we may train an initial classifier on a small set of labeled data and acquire labels on unlabelled inputs where the classifier is uncertain. While many papers propose new active learning methods to improve performance on held-out data, we increasingly recognise that what matters in the wild is the out-of-distribution performance of models (Nagarajan et al., 2021). That is, we are interested in how well classifiers generalise when there is a shift in the distribution of inputs between training and deployment. The goal of this work is to understand the challenges behind active learning under distribution shifts, in doing so, we discover the failure modes of existing active learning methods. We propose a method for actively learning classifiers that generalise to a form of distribution shift — subpopulation shifts.

As a simple example to motivate the risks of distribution shift, consider the problem of classifying birds into land birds and water birds based on images, a well studied example in the field of subpopulation shift (Sagawa et al., 2020). Suppose that the training data predominantly consists of land birds with land in the background and water birds with water in the background. This might naturally happen — land birds are more likely to be seen on land and vice versa — unless precautions are taken. A classifier trained on a small amount of such labeled data tends to rely on simple but predictive features and in this case, learns to associate the background type with the label (Nagarajan et al., 2021; Geirhos et al., 2020; Sagawa et al., 2020). Such a classifier will even perform well on held-out samples from this distribution. However, the trouble arises if we test on images from a different distribution where birds appear with backgrounds that are not related to their type. Here, the classifier might confidently misclassify images of birds with land in the background as land birds despite its morphological features. Put differently, the image distribution is a mixture of two subpopulations: a large group of stereotypical images where the bird type and background match and a much smaller subpopulation of non-stereotypical ones. At test time, we see a subpopulation shift, where the proportion of non-stereotypical images changes drastically.

In the active learning setting, the presence of simple but predictive features — called spurious features in the literature — risks further reinforcing classifier biases since we acquire labels based on classifier uncertainty. For example, a simple but incorrect classifier is confident about its prediction of “land bird” when the background shows land, making it harder to sample non-stereotypical images of water birds on land. In Section 3.2, we demonstrate this uncalibrated uncertainty with a simple simulation.

In standard supervised learning, there is a long line of work on learning models that are robust to distribution shift: that is, their performance does not drop drastically under shifts like subpopulation shift. Robust models are generally learned by leveraging training data from multiple distributions — referred to as environments — and regularising learned predictors to satisfy some form of invariance across these environments such as invariant risk (Arjovsky et al., 2019), or minimising worst-case risk (Sagawa et al., 2020). Adapting these ideas to the active learning setting remains challenging since gathering multi-environment data is as costly as collecting labels in scientific domains. In the absence of environment labels, the alternative is to try to gather data that are as different to one another as possible, which is the motivation of diversity based active learning methods (Ash et al., 2021; 2020; Sener & Savarese, 2018). However, diversity-based active learning methods come with the risk of querying outlier points. In this paper, we take a different approach to robust active learning by leveraging heterogeneous training data and metadata that gives us a noisy signal about which underlying environment each sample comes from.

The key insight is that across domains, we have access to metadata. In the above bird example, this could include the camera used to obtain an image or the region an image was taken in. Each such metadata category defines what we refer to as a source. Sources do not necessarily distinguish different subpopulations: for example, across two regions, we may observe the same proportions of stereotypical bird images. However, source differences can provide a noisy proxy for distribution shift. The goal is to identify which sources reflect true distribution shifts — changes in the underlying subpopulation proportions — so that we can actively acquire labels from these challenging sources. In our bird example, this means identifying regions that reflect a true shift in the bird-background relationship so we can acquire labels that enable a classifier to break its dependence on the spurious background feature, such as a waterbird in front of a land background.

Building on this insight, in this paper we introduce an active learning approach based on aggregating the uncertainty over sources rather than operating over individual points. We show using an acquisition strategy that operates over the source level leads to improved model robustness as measured by worst-group accuracy compared to traditional active learning approaches. In addition to this, we give insight into why traditional uncertainty based active learning acquisitions fail in the presence of spurious correlations.

References (52)