Robust active learning: sample-efficient training of robust deep learning models

Yuejun Guo, Qiang Hu, Maxime Cordy, Mike Papadakis, Yves Le Traon

TL;DR

Standard active learning (AL) algorithms successfully reduce labeling costs but produce models that are highly vulnerable to adversarial attacks. This paper introduces Robust Active Learning (RAL), a framework that integrates adversarial training into the active learning loop, and proposes a new acquisition function called DRE that prioritizes data representativeness over pure "informativeness" to achieve both high accuracy and superior adversarial robustness.

What Problem Does This Paper Address?

Deep Learning (DL) models require massive amounts of labeled data, which is expensive and time-consuming to acquire. Active Learning solves this by using an "acquisition function" to select only the most useful unlabeled examples for human experts to label.

However, the authors identify a critical flaw: existing AL techniques are "robustness-blind." They focus solely on maximizing accuracy on clean data. The authors demonstrate that models trained via standard AL are extremely fragile—while they might reach 90%+ accuracy, their robustness against adversarial examples (maliciously perturbed inputs) is often near 0%. Surprisingly, they find that standard AL functions actually perform worse than simple random sampling when it comes to building robust models.

Methods

The paper proposes two major shifts in the active learning workflow:

  1. Robust Active Learning (RAL) Process: Instead of standard training, the authors incorporate Adversarial Training into the AL loop. At each iteration, the model is trained on adversarial counterparts of the labeled data (generated via Projected Gradient Descent, or PGD) rather than the original clean images.
  2. DRE (Density-based Robust sampling with Entropy): The authors discovered that standard AL functions fail because they are biased toward "informative" data (samples with high uncertainty/entropy). This bias strongly correlates with poor robustness.
  3. How DRE works: Instead of picking only high-entropy samples, DRE aims to make the labeled set representative of the entire unlabeled pool's entropy distribution.
  4. It calculates the entropy for all unlabeled data, estimates the probability density function (PDF) using a histogram, and then samples data across all density intervals. This ensures the model learns from a balanced variety of "easy" and "hard" cases.

Datasets

The authors conducted an extensive empirical study involving 15,105 trained DNNs across:

  • Datasets: MNIST, Fashion-MNIST, SVHN, and CIFAR-10.
  • Architectures: LeNet-5, VGG8, VGG16, ResNet18, and PreActResNet18.
  • Evaluation: Robustness was tested against PGD, Square Attack (black-box), and AutoAttack (a state-of-the-art ensemble attack).

Key Insights and Ideas

  • The Informativeness Paradox: In standard AL, "informative" data (where the model is most uncertain) is considered the gold standard. This paper proves that for robustness, this bias is harmful. There is a strong negative correlation (up to -0.84) between entropy bias and adversarial robustness.
  • Random Sampling is a High Bar: In a robust training context, random sampling is remarkably difficult to beat because it is naturally unbiased and representative. Most existing AL acquisition functions (like MaxEntropy or BALD) significantly underperform compared to random selection.
  • Representativeness > Uncertainty: To build a robust model with limited data, it is more important that your training subset "looks like" the full dataset than it is to focus only on the model's "blind spots."

Key Results

  • Robustness Gains: Using the RAL process, the authors achieved model robustness ranging from 2.35% to 63.85%, whereas standard AL achieved less than 0.20% robustness.
  • DRE Performance: DRE was the only acquisition function to consistently outperform random sampling in terms of robustness (by up to 3.84% over random and 24.40% over other AL functions) while remaining competitive on clean accuracy.
  • Retraining Utility: When used for "test selection" (choosing which samples to use for retraining an existing model), DRE outperformed other metrics by up to 8.21% in resulting model robustness.

Limitations and Future Work

  • Computational Overhead: Adversarial training is significantly more computationally expensive than standard training, which may slow down the active learning iterations.
  • Labeling Budget: While DRE performs well, there is still a "robustness gap" between models trained on small active learning subsets and those trained on the full dataset.
  • Future Directions: The authors suggest exploring other characteristics beyond entropy to define representativeness and investigating how RAL performs on non-image tasks like Natural Language Processing or malware detection.

Summary updated

BibTeX
@inproceedings{guo2022robust,
  author = {Yuejun Guo and Qiang Hu and Maxime Cordy and Mike Papadakis and Yves Le Traon},
  title = {{Robust active learning: sample-efficient training of robust deep learning models}},
  booktitle = {CAIN},
  year = {2022},
  doi = {10.1145/3522664.3528614},
}
Figure