arXiv:2608.28923cs.CVAug 2026

Manuscript Offprint

arXiv:2608.28923

ActiveAugment: Online Active Learning for Augmentation Selection in Deep Learning

Noah Videcrantz, Mostafa Mehdipour Ghazi

Abstract

Data augmentation is a cornerstone of deep learning pipelines, yet existing strategies treat it as a static, model-agnostic preprocessing step, either relying on expensive dataset-specific policy search or applying transformations uniformly at random, regardless of what the model has already learned. We introduce ActiveAugment, a unified framework that treats augmentation selection as an online active learning problem. For each training mini-batch, ActiveAugment generates a pool of candidate augmented views and scores each candidate using a combination of the model's predictive uncertainty and the feature discrepancy induced by the augmentation. The augmentation under which the current model is most fragile is selected per sample, and the model is then trained with a joint supervised classification and supervised contrastive objective that enforces intra-class invariance to the selected augmentations while maintaining inter-class separation. We evaluate ActiveAugment on eight benchmark datasets spanning natural and medical imaging, using CNN and transformer architectures across three training regimes (training from scratch, full fine-tuning, and linear probing), and comparing eight active selection strategies for augmentation scoring. ActiveAugment outperforms AutoAugment, RandAugment, and TrivialAugment under controlled augmentation shifts across all domains and budgets, with the most pronounced gains at low labelling budgets. On medical imaging datasets, where data is scarce and domain shift relative to natural-image pretrained models is large, ActiveAugment achieves higher test F1 than all baselines, demonstrating strong cross-domain adaptability. Our analysis reveals that the augmentation selection policy evolves meaningfully during training and that strategy choice has a direct impact on generalisation. Code is available at: https://github.com/noahvide/ActiveAugment.

I ntroduction

Training deep learning models typically requires large volumes of labelled data, and this need is only intensifying as models grow in size and complexity [5]. Yet, acquiring large amounts of annotated data is not always feasible due to constraints such as costly expert labelling or access to biased corpora [6, 41]. Consequently, data-efficient deep learning has become an essential research direction aimed at maximising the utility of limited available samples [42].

Two complementary strategies have emerged for maximising data efficiency. Active Learning (AL) reduces the number of required labels by identifying the most informative

© 2026. The copyright of this document resides with its authors.

It may be distributed unchanged freely in print or electronic forms.

instances from an unlabelled pool for annotation [28]. Data augmentation increases the effective utility of existing labels by synthesising additional training views [29]. While data augmentation is a cornerstone of modern training pipelines, it is treated as a static step rather than an adaptive component of the learning process, a mismatch that motivates this work.

Several challenges arise when designing an augmentation pipeline. A central one is choosing which augmentations to apply: a horizontal flip may be label-preserving for many natural-image tasks yet label-destructive in others (e.g. digit recognition or anatomically oriented medical imaging tasks). Another challenge is deciding on the intensity of each transformation. Furthermore, as the model learns, it may become invariant to some augmentations while remaining fragile to others, so a static pipeline becomes increasingly misaligned with the model's current state. Given the combinatorial space of augmentation types and intensities, together with the dynamic nature of training, there is a need for improved augmentation.

Automatic augmentation selection has been explored previously. AutoAugment [8] treats the problem as a reinforcement-learning search over a discrete policy space and yields a strong, dataset-specific policy. However, the search is computationally expensive and the resulting policy is static, making it model-agnostic. RandAugment [4] reduces the search space to two scalar hyperparameters (pipeline length and global intensity), making the search cheaper while achieving comparable accuracy. Nevertheless it remains dataset-specific and model-agnostic. TrivialAugment [10] eliminates the search entirely by sampling a single augmentation and intensity uniformly at random for each image, achieving state-of-the-art results on several benchmarks. While dataset-agnostic, it is also model-agnostic. This leaves a gap between simple, model-blind random sampling and expensive, static policy searches.

The technical core of adaptive augmentation selection lies in identifying the model's empirical blind spots. Rather than treating data augmentation purely as a heuristic tool for dataset expansion, it can be formally viewed through the lens of domain adaptation: clean training data acts as the source distribution, and augmented variants represent a proxy target domain. Classic generalisation bounds establish that target-domain performance is upper-bounded by the source error and the divergence between the two feature distributions [1, 25]. Uniform or random augmentation strategies fail to optimise this bound because they apply transformations blindly. Without a mechanism to identify where the model is fragile, training steps are spent on uninformative augmentations that do not tighten the generalisation gap.

We propose that augmentation selection should be treated as an active process, using informativeness measures from the AL literature to select the most beneficial augmentations online during training. Therefore, we introduce ActiveAugment, a framework for active invariance learning via selective augmentation. The framework decouples training into two phases: a Selection phase and a Learning phase. During selection, a pool of candidate augmented views is generated; each candidate is scored by a combination of the model's predictive uncertainty and the feature discrepancy induced by the augmentation. This allows the model to identify and prioritise augmentations under which it is currently most fragile. During learning, the selected augmentations are used within a supervised contrastive objective that simultaneously enforces intra-class invariance and inter-class separation.

We evaluate ActiveAugment using convolutional and transformer backbones across three training regimes (training from scratch, full fine-tuning, and linear probing) on eight datasets, including natural image benchmarks (CIFAR-10/100, STL-10, MNIST) and medical imaging datasets (BRISC, BUSI, FETAL-PLANES-DB, ISIC-2019). Our main contributions are:

  • A novel unified framework, ActiveAugment, that reformulates augmentation selection as an online AL problem, combining predictive uncertainty and feature discrepancy

into a principled, theoretically grounded selection score.

  • A joint training objective that pairs active augmentation selection with supervised contrastive learning, enforcing invariance to model-fragile augmentations while maintaining inter-class discriminability.

  • A systematic translation of eight AL strategies (uncertainty-based, diversity-based, and hybrid) into online augmentation-scoring strategies, with detailed analysis of their selection behaviour and its performance consequences.

  • Comprehensive empirical evaluation across eight datasets, two backbone architectures, and three training regimes, demonstrating consistent gains over AutoAugment, RandAugment, and TrivialAugment, particularly at low labelling budgets and in the medical imaging domain where domain-adaptive augmentation selection is most beneficial.

References (36)