Active Learning for Multiple Target Models

Ying-Peng Tang, Sheng-Jun HuangNeurIPS 2022

Introduction

Active learning (AL) typically focuses on querying data to train a single machine learning model. However, real-world systems often require deploying multiple models of varying sizes across different devices—from high-performance cloud servers to resource-constrained edge devices like mobile phones. This necessitates training a "family" of models with different architectures on the same dataset.

Because AL is notoriously "model-dependent," data queried to help a massive Transformer might be entirely uninformative for a tiny CNN. This paper tackles a critical gap: Can we design an active learning strategy that effectively queries a single set of labeled data to train multiple diverse target models simultaneously? The authors introduce a novel AL framework for this setting, proving theoretically that AL can still be effective, and propose DIAM, a strategy that queries data from the joint disagreement regions of all models.

Methods: The DIAM Algorithm

The paper approaches the problem from both theoretical and practical angles. Theoretically, the authors define "label complexity" for multiple target models and mathematically prove that an active learning approach can achieve a bounded label complexity vastly superior to passive learning (random sampling).

To translate this theory into practice, they propose DIAM (DIsagreement-based AL for Multi-models), an agnostic AL sampling strategy. Instead of relying on the uncertainty of a single model, DIAM looks for data points located in the joint disagreement regions of all target models.

The DIAM Algorithm

Finding exact disagreement regions in deep neural networks is computationally intractable. DIAM approximates this by examining the predictions of models during the later epochs of training (after they have mostly converged). If models from later epochs disagree on an unlabeled sample, it is flagged. DIAM then uses "vote entropy" among these well-performing hypotheses to rank and select the most contested samples for labeling.

Datasets and Experimental Setup

The authors evaluate their method on two Optical Character Recognition (OCR) benchmarks, a classic application deployed across diverse devices:

  • MNIST: The standard handwritten digit dataset.
  • Kuzushiji-MNIST: A more complex dataset of cursive Japanese characters.

To simulate multiple target models, they utilized 12 specialized model architectures generated by the Once-for-All (OFA) Neural Architecture Search method. These models range widely in computational cost (66M to 237M MACs) and represent architectures optimized for different smartphone constraints.

Key Insights and Results

The experiments reveal the "curse of model dependence": traditional AL methods (like Entropy or Margin sampling) often perform worse than random sampling when their queried data is used to train a diverse suite of models. Standard AL overfits the dataset to one architecture's specific decision boundaries.

By querying data where all target models' version spaces overlap in disagreement, DIAM maximizes the probability of reducing the overall error across the board. If a sample confuses every architecture, it is objectively informative.

Mean accuracy vs. number of queries on MNIST and Kuzushiji-MNIST datasets.
  • Superior Accuracy: DIAM consistently achieved higher mean accuracy across target models compared to baselines (CAL, Entropy, Margin, Least Confidence, Coreset, and Random sampling).
  • Significant Margins on Complex Data: On the harder Kuzushiji-MNIST dataset with 12 simultaneous target models, DIAM achieved a mean accuracy of 86.85%, beating the next best baseline (Entropy at 83.33%) by a massive ~3.5% margin.
  • Robustness to Scale: DIAM's performance holds up even as the number of target models scales. Whether training 2, 4, 6, 8, or 12 models simultaneously, DIAM consistently outperformed random sampling, whereas traditional AL methods frequently fell behind as the number of models increased.

Limitations and Future Work

The authors acknowledge that DIAM primarily focuses on the informativeness of the data (how confusing it is) but ignores representativeness (how diverse the batch is). In deep learning, where data is queried in large batches, this can lead to selecting highly similar, redundant examples. Future directions include developing advanced diversity measurements to combine with DIAM for better batch-mode selection, and extending this multi-model AL framework to more complex computer vision tasks like object detection and face recognition.

Summary updated

BibTeX
@inproceedings{tang2022active,
  author = {Ying-Peng Tang and Sheng-Jun Huang},
  title = {{Active Learning for Multiple Target Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=-V1ITIKPH6},
}
Figure