Minimax Active Learning

Sayna Ebrahimi, William Gan, Kamyar Salahi, Trevor DarrellarXiv 2020

Abstract

Active learning aims to develop label-efficient algorithms by querying the most representative samples to be labeled by a human annotator. Current active learning techniques either rely on model uncertainty to select the most uncertain samples or use clustering or reconstruction to choose the most diverse set of unlabeled examples. While uncertainty-based strategies are susceptible to outliers, solely relying on sample diversity does not capture the information available on the main task. In this work, we develop a semi-supervised minimax entropy-based active learning algorithm that leverages both uncertainty and diversity in an adversarial manner. Our model consists of an entropy minimizing feature encoding network followed by an entropy maximizing classification layer. This minimax formulation reduces the distribution gap between the labeled/unlabeled data, while a discriminator is simultaneously trained to distinguish the labeled/unlabeled data. The highest entropy samples from the classifier that the discriminator predicts as unlabeled are selected for labeling. We evaluate our method on various image classification and semantic segmentation benchmark datasets and show superior performance over the state-of-the-art methods.

Introduction

Deep learning models are notoriously data-hungry, often requiring massive amounts of human-annotated data to achieve high performance. Active Learning (AL) seeks to mitigate these costs by iteratively selecting only the most informative samples for annotation. However, traditional AL strategies often struggle with a trade-off between uncertainty and diversity. Uncertainty-based methods are prone to selecting outliers or redundant samples, while diversity-based methods are often task-agnostic, potentially wasting resources on already well-represented classes.

This paper introduces Minimax Active Learning (MAL), a novel semi-supervised approach that adversarially combines model uncertainty and sample diversity. By framing active learning as a minimax game involving feature entropy and a discriminator to score "labeledness," MAL provides a task-aware selection strategy that is robust to outliers and highly efficient.

Methodology

The MAL framework treats active learning as a semi-supervised adversarial game. The architecture comprises three core components: a Feature Encoder ($F$), a Distance-based Classifier ($C$), and a Discriminator ($D$).

The MAL architecture leverages a minimax entropy game and a discriminator to identify informative samples.
  1. Feature Encoder ($F$): Maps input images into a latent feature space. It is trained to minimize the Shannon entropy of unlabeled data, effectively clustering these samples around learned class prototypes.
  2. Distance-based Classifier ($C$): Maps features to class probabilities using cosine similarity. It is trained adversarially to maximize the entropy of unlabeled data, pushing them away from prototypes to create a uniform, uncertain feature space.
  3. Discriminator ($D$): A binary classifier trained on the latent space to distinguish between labeled and unlabeled samples.

Sampling Strategy

When querying new labels from a human oracle, MAL selects samples that exhibit both high diversity and high uncertainty. Specifically, it looks for samples that the discriminator $D$ confidently identifies as "unlabeled" (indicating they differ from the current labeled set) and for which the classifier $C$ outputs high entropy. This dual criterion inherently filters out outliers, as they are unlikely to be confidently classified as part of the standard unlabeled pool by the discriminator.

Experimental Results

The authors evaluated MAL across a variety of benchmarks, including ImageNet, CIFAR100, and iNaturalist2018, as well as semantic segmentation tasks on Cityscapes and BDD100K.

Performance on Large-Scale Benchmarks

On the ImageNet dataset, MAL demonstrated significant gains over state-of-the-art baselines such as VAAL, CoreSet, and BALD. As shown in the results below, MAL achieved a top-1 accuracy of 52.9% using only 20% of the data, outperforming the next best method, VAAL, by 4.6%.

Top-1 accuracy on ImageNet across various labeling budgets, showing MAL's consistent lead.

Robustness to Imbalance

A key contribution of this work is the evaluation of AL on imbalanced datasets. On iNaturalist2018, MAL reached 29.2% accuracy with 20% of the data—a performance level that required 30% of the data for VAAL and 40% for random sampling. This highlights MAL's ability to avoid over-sampling majority classes by maintaining task-aware diversity.

Semantic Segmentation

The benefits of MAL extend to complex tasks like semantic segmentation. On the Cityscapes dataset, MAL achieved 58.4% mIoU with 30% of the labeled data, compared to 55.5% for VAAL. Similar leads were maintained on the BDD100K dataset, demonstrating the framework's versatility across different computer vision domains.

Discussion and Conclusion

MAL's success stems from its semi-supervised nature; by utilizing unlabeled data to play the minimax entropy game before querying, it learns a highly discriminative feature space. The inclusion of a discriminator provides a natural defense against outliers that typically plague uncertainty-only methods. While the adversarial training process can be sensitive to hyperparameters, the significant reduction in required labels makes MAL a powerful tool for real-world deep learning applications where annotation is the primary bottleneck.

Summary updated

BibTeX
@misc{ebrahimi2020minimax,
  author = {Sayna Ebrahimi and William Gan and Kamyar Salahi and Trevor Darrell},
  title = {{Minimax Active Learning}},
  year = {2020},
  eprint = {2012.10467},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2012.10467},
}
Figure