Benchmarking Multi-Domain Active Learning on Image Classification

Jiayi Li, Rohan Taori, Tatsunori B. HashimotoarXiv 2023 · DOI

Introduction

Active Learning (AL) is a powerful paradigm for building high-performance models with minimal labeled data by iteratively selecting the most informative samples for human annotation. However, most AL research assumes a "closed-world" setting where data originates from a single, uniform distribution. In real-world applications, data is inherently multi-domain—for instance, a "statue" in a European context differs significantly from one in an Asian context.

This paper identifies a critical "in-the-wild" reality check: standard AL methods often falter in multi-domain settings, sometimes performing up to 25% worse than simple random sampling. To address this, the authors introduce a new large-scale geographical dataset, CLIP-GeoYFCC, and a framework for Multi-Domain Active Learning (MDAL).

Multi-Domain Datasets

To evaluate AL performance across diverse distributions, the study utilizes two primary benchmarks:

  1. Domainnet: A standard dataset featuring images across different artistic genres like clipart, painting, and real photos.
  2. CLIP-GeoYFCC: A novel contribution consisting of over 1.1 million images across 18,814 classes, categorized into 6 geographical domains (continents). Unlike the artificial genres in Domainnet, CLIP-GeoYFCC offers a naturalistic testbed where domains share subtle but pervasive similarities.
Examples from the CLIP-GeoYFCC and Domainnet datasets illustrating domain shifts across geography and artistic style.

Methodology: A Two-Step Framework

The researchers propose a two-step framework for MDAL:

  • Domain Allocation: Determining the optimal labeling budget for each domain (e.g., prioritizing domains where the model currently underperforms).
  • Instance-level Query: Selecting specific images within those domains using strategies like Threshold-margin.

Threshold-margin is designed to balance difficulty and diversity. Unlike standard margin sampling, which can get trapped in unrepresentative "hard" niches, this method uses a validation set to establish an uncertainty threshold and then samples randomly from examples exceeding that threshold.

Key Insights and Results

The study reveals several critical aspects of multi-domain active learning:

  • Volatility: AL effectiveness is highly sensitive to domain composition. An algorithm might be twice as efficient as random on one set of domains but significantly less efficient on another.
  • Robustness via Worst-Group Allocation: Focusing the labeling budget on the worst-performing domain ("Worst-group allocation") improved accuracy on those difficult domains by an average of 3.6% over standard methods.
  • Reliability of Threshold-Margin: This new strategy consistently outperformed or matched random sampling (data efficiency ≥ 1.0), providing a safer alternative to traditional margin sampling which can be highly volatile.
  • Transferability: Knowledge transfers more effectively between geographical domains (CLIP-GeoYFCC) than between disparate genres (Domainnet), suggesting that geographical shifts are a more robust way to test model generalization.

Conclusion and Future Work

While this work provides a much-needed benchmark for MDAL, challenges remain. There is a persistent trade-off between average accuracy and worst-case robustness, and no single strategy currently excels at both. Furthermore, methods like Threshold-margin currently depend on a pre-labeled validation set. Future research should explore these dynamics in more complex tasks like object detection and segmentation to further bridge the gap between AL theory and real-world deployment.

Summary updated

BibTeX
@misc{li2023benchmarking,
  author = {Jiayi Li and Rohan Taori and Tatsunori B. Hashimoto},
  title = {{Benchmarking Multi-Domain Active Learning on Image Classification}},
  year = {2023},
  eprint = {2312.00364},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.00364},
}
Figure