NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Variational Adversarial Active Learning

Samarth Sinha, Sayna Ebrahimi, Trevor DarrellICCV 2019

Abstract

Active learning aims to develop label-efficient algorithms by sampling the most representative queries to be labeled by an oracle. We describe a pool-based semi-supervised active learning algorithm that implicitly learns this sampling mechanism in an adversarial manner. Our method learns a latent space using a variational autoencoder (VAE) and an adversarial network trained to discriminate between unlabeled and labeled data. The mini-max game between the VAE and the adversarial network is played such that while the VAE tries to trick the adversarial network into predicting that all data points are from the labeled pool, the adversarial network learns how to discriminate between dissimilarities in the latent space. We extensively evaluate our method on various image classification and semantic segmentation benchmark datasets and establish a new state of the art on CIFAR10/100, Caltech-256, ImageNet, Cityscapes, and BDD100K. Our results demonstrate that our adversarial approach learns an effective low dimensional latent space in large-scale settings and provides for a computationally efficient sampling method.

Introduction

Deep learning's success is heavily predicated on the availability of large-scale labeled datasets. However, the process of annotating data—particularly for dense tasks like semantic segmentation—is often prohibitively expensive. Active Learning (AL) offers a solution by selecting only the most informative samples for human labeling.

Traditional AL methods are often task-dependent, relying on model-specific uncertainty metrics (like entropy) which can introduce bias and struggle with high-dimensional data. Variational Adversarial Active Learning (VAAL) introduces a task-agnostic, pool-based semi-supervised framework. By treating active learning as a binary classification problem in a latent space, VAAL identifies samples that are most representative of the unlabeled pool's distribution relative to the current labeled set, significantly reducing annotation costs.

Methodology: The Adversarial Framework

The core of VAAL is a minimax game played between a Variational Autoencoder (VAE) and an adversarial discriminator. Unlike traditional methods that look for model uncertainty, VAAL looks for data representativeness.

The VAAL architecture: A VAE learns a latent representation of both labeled and unlabeled data, while a discriminator learns to distinguish between them to identify informative samples.

1. Variational Autoencoder (VAE)

The VAE is trained on both labeled ($x_L$) and unlabeled ($x_U$) data in a transductive manner. It maps input images into a low-dimensional latent space and attempts to reconstruct them. Beyond reconstruction, the VAE's encoder is tasked with "tricking" the discriminator into classifying unlabeled samples as belonging to the labeled pool.

2. Adversarial Discriminator

The discriminator is a binary classifier that operates on the latent vectors produced by the VAE. Its objective is to distinguish whether a given latent representation originates from a labeled or an unlabeled data point.

3. Sampling Strategy

To select new samples for labeling, the system passes the unlabeled pool through the VAE's encoder. The discriminator then scores these latent representations. Samples that the discriminator identifies with high confidence as being "unlabeled" (i.e., those that look least like the current labeled data) are considered the most informative and are selected for the oracle to label.

Experimental Evaluation

The authors evaluated VAAL across diverse benchmarks, including image classification (CIFAR-10/100, Caltech-256, ImageNet) and semantic segmentation (Cityscapes, BDD100K).

Performance comparison of VAAL against state-of-the-art active learning methods across CIFAR-10, CIFAR-100, Caltech-256, and ImageNet.

Key Results

  • State-of-the-Art Performance: VAAL consistently outperforms traditional methods like Core-set, DBAL, and MC-Dropout. On CIFAR-100, VAAL reaches higher accuracy with significantly less labeled data than its competitors.
  • Scalability to Large Datasets: On ImageNet, which contains over 1.2 million images and 1,000 classes, VAAL maintains a substantial lead over random sampling and other AL baselines, proving its effectiveness in large-scale settings.
  • Efficiency in Segmentation: For complex tasks like Cityscapes, VAAL achieves target Mean IoU scores with fewer annotations, potentially saving hundreds of hours of human labor.
  • Computational Speed: VAAL is significantly faster than its competitors. It is approximately 7x faster at sampling than Core-set and 8x faster than MC-Dropout, as it only requires a single forward pass through a small discriminator to rank the entire unlabeled pool.

Discussion and Conclusion

VAAL's primary advantage is its task-agnosticism. Because the sampling mechanism is decoupled from the final task learner, the framework can be used to build high-quality datasets before a specific model architecture is even finalized. By prioritizing representativeness over uncertainty, VAAL is more robust to outliers and avoids the "curse of dimensionality" by operating in a learned latent space.

However, the method's success is tied to the quality of the VAE's latent space. If the VAE fails to capture essential data features, the discriminator's ability to select informative samples is compromised. Future work may explore VAAL's application in multi-task learning environments where a single set of queries must serve multiple downstream objectives simultaneously.

In conclusion, Variational Adversarial Active Learning provides a robust and efficient solution for large-scale active learning. By leveraging adversarial training in a latent space, it effectively identifies the most informative data points across various computer vision tasks, significantly reducing the human effort required for data annotation.

Summary updated

BibTeX
@inproceedings{sinha2019variational,
  author = {Samarth Sinha and Sayna Ebrahimi and Trevor Darrell},
  title = {{Variational Adversarial Active Learning}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2019},
  url = {https://openreview.net/forum?id=N6j5lis53F},
}
Figure