ASP: Automatic Selection of Proxy dataset for efficient AutoML

Peng Yao, Chao Liao, Jiyuan Jia, Jianchao Tan, Bin Chen, Chengru Song, Di ZhangarXiv 2023 · DOI

Abstract

Automated Machine Learning (AutoML) significantly eases the design of neural architectures and hyperparameters but demands immense computational resources. We present the Automatic Selection of Proxy dataset (ASP) framework, which accelerates AutoML by dynamically selecting the most informative training subsets at each epoch. By employing a tri-level optimization strategy and a mixture of importance metrics, ASP achieves up to a 20x speedup in Neural Architecture Search (NAS) and Hyper-parameter Optimization (HPO) while maintaining or improving model accuracy compared to full-dataset training.

Introduction

Finding optimal neural network architectures and hyperparameters is a "GPU-hungry" process. Training thousands of candidate models on massive datasets like ImageNet can take weeks. While using "proxy data" (smaller subsets) is a common acceleration strategy, existing methods suffer from high overhead, prior bias, and a static nature that ignores the evolving needs of a learning model. ASP addresses these flaws by treating the proxy dataset as a dynamic component that is optimized alongside model weights and the AutoML task itself.

The ASP Framework

ASP introduces a tri-level optimization approach that jointly optimizes the AutoML task (architecture/hyperparameters), model weights, and the proxy dataset.

The ASP framework overview showing the selection loop, importance metric selection, and the AutoML task.

Key Innovations

  • Mixture of Multi-metrics: Rather than relying on a single metric like training loss, ASP uses a weighted combination of five metrics: Random, Gradient, Loss, Entropy, and Prediction. The framework adaptively shifts focus: prioritizing Random for diversity in early stages, Prediction and Gradient for convergence in middle stages, and Loss and Entropy for hard-sample refinement in late stages.
  • Proxy Memory Mechanism (PMM): ASP tracks importance scores for every sample using a sampling-with-replacement strategy. This allows "easy" samples to be deactivated as the model learns them, while previously deactivated samples can be rotated back in if they become informative again.
  • Dynamic Sampling Ratio: The scheduler can start with larger data portions for stability and taper off as the model matures, further optimizing the compute-accuracy trade-off.

Experimental Evaluation

The researchers evaluated ASP across standard benchmarks including CIFAR-10/100, ImageNet-16-120, and the full ImageNet-1k dataset. The framework was tested on both NAS (using DARTS and SPOS search spaces) and HPO tasks.

Key Results and Insights

  • Efficiency Gains: In NAS experiments, ASP achieved a 10x reduction in search time. As shown in the results for the DARTS search space, ASP-enhanced versions (using only 10% of the data) consistently outperformed baselines using 100% of the data.
  • Accuracy Improvements: On ImageNet, the ASP-enhanced DARTS achieved 75.61% accuracy using only 10% of the training data, compared to the baseline's 73.30% on the full dataset. This suggests that "smart" subsetting can actually remove noise and redundancy that hinders learning.
  • Metric Synergy: The "Mixture" metric consistently outperformed any single metric, proving that different views of data importance are necessary at different training phases.
Comparison of NAS algorithms on CIFAR-10 and ImageNet, highlighting the efficiency and accuracy of ASP-enhanced methods.

Conclusion and Future Work

ASP demonstrates that data redundancy in large-scale datasets can be leveraged to drastically reduce the cost of AutoML. By treating data selection as a dynamic, state-dependent process, ASP finds superior models in a fraction of the time. Future work will focus on adapting these importance metrics for non-classification tasks like NLP and automating the scheduling of metric weights through meta-learning to reduce manual tuning requirements.

Summary updated

BibTeX
@misc{yao2023asp,
  author = {Peng Yao and Chao Liao and Jiyuan Jia and Jianchao Tan and Bin Chen and Chengru Song and Di Zhang},
  title = {{ASP: Automatic Selection of Proxy dataset for efficient AutoML}},
  year = {2023},
  eprint = {2310.11478},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.11478},
}
Figure