Towards General and Efficient Active Learning

Yichen Xie, Masayoshi Tomizuka, Wei ZhanarXiv 2021

Abstract

Active Learning (AL) aims to minimize labeling efforts by selecting the most informative samples from a dataset. However, traditional AL pipelines are computationally expensive due to their iterative nature, requiring repeated model training to identify informative batches. This paper introduces GEAL (General and Efficient Active Learning), a novel framework that achieves up to a 975x speedup over state-of-the-art methods. By leveraging a pretrained self-supervised Vision Transformer and a "Knowledge Cluster" extraction method, GEAL performs one-shot data selection without requiring labels during the selection phase. Experiments across object detection, classification, and semantic segmentation tasks demonstrate that GEAL matches or exceeds the performance of traditional iterative methods while being significantly more efficient.

Introduction

Active Learning has long promised a way to build high-performing models without the prohibitive cost of labeling massive datasets. By identifying the most "informative" samples, AL helps researchers maximize the utility of their annotation budget. However, the traditional AL pipeline is notoriously slow, often requiring days of iterative model training just to select a few thousand images. This bottleneck limits the scalability and practical application of AL in large-scale industrial settings.

What Problem Does This Paper Address?

The "status quo" in active learning is a cumbersome loop that involves training a model on a small labeled set, using that model to pick a batch of informative unlabeled images, labeling those images, and then re-training the model from scratch. This process is repeated for multiple iterations, creating a massive computational drain.

Comparison between (a) the traditional iterative active learning pipeline and (b) the proposed one-shot GEAL pipeline.

For a medium-sized dataset like PASCAL VOC, this cycle can take over 40 hours. Furthermore, most AL methods are dataset-specific, requiring the entire process to be restarted for every new task. The authors identify three missing pillars in current AL: Generality (working across datasets), Efficiency (avoiding repetitive training), and Non-supervision (selecting data without needing labels upfront).

The GEAL Framework

The core of GEAL is moving away from global image features toward fine-grained local information and replacing the iterative loop with a one-shot process.

  1. Pretrained Backbone: Instead of training a model from scratch, GEAL uses a Vision Transformer (DeiT-S) pretrained with DINO, a self-supervised method. This allows the model to leverage visual concepts learned from massive datasets like ImageNet without needing task-specific labels.
  2. Knowledge Clusters: Global features often oversimplify complex scenes. GEAL extracts features from intermediate layers and uses the transformer's self-attention maps to filter for important regions, discarding background noise. These filtered features are then grouped into "Knowledge Clusters" using K-Means.
  3. One-Shot Selection: GEAL performs a single pass over the entire unlabeled dataset. It uses a distance-based sampling strategy to pick images whose knowledge clusters are most diverse and representative of the whole pool, ensuring high information density in the selected set.

Experimental Results

The authors evaluated GEAL across three distinct computer vision tasks: Object Detection (PASCAL VOC), Image Classification (CIFAR-10), and Semantic Segmentation (Cityscapes).

Efficiency Gains

The most staggering result is the efficiency gain. To select 8,000 images from PASCAL VOC, traditional methods like Core-Set or CDAL take approximately 42 hours. In contrast, GEAL completes the same task in just 155 seconds, representing a nearly 1,000x speedup.

Performance and Generality

Despite the massive reduction in compute, GEAL remained competitive with or outperformed state-of-the-art methods:

  • Object Detection: GEAL outperformed almost all traditional pipelines and remained competitive with reinforcement learning-based methods (CDAL-RL) that require significantly more compute.
  • Classification: On CIFAR-10, GEAL showed a significant advantage, particularly at low sampling ratios where labeled data is scarce.
  • Stability: GEAL exhibited much lower variance across different runs compared to traditional methods, which are often sensitive to the initial random "seed" set.

Conclusion

GEAL represents a significant leap in making Active Learning practical for real-world applications. By demonstrating that a sufficiently powerful, self-supervised pretrained model can judge data diversity without task-specific training, the authors open a new frontier for "zero-shot" active learning. Future work may involve adapting the Knowledge Cluster approach to other domains, such as Natural Language Processing, or exploring even more robust pretrained backbones.

Summary updated

BibTeX
@misc{xie2021towards,
  author = {Yichen Xie and Masayoshi Tomizuka and Wei Zhan},
  title = {{Towards General and Efficient Active Learning}},
  year = {2021},
  eprint = {2112.07963},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2112.07963},
}
Figure