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

AUTOMATA: Gradient Based Data Subset Selection for Compute-Efficient Hyper-parameter Tuning

Krishnateja Killamsetty, Guttu Sai Abhishek, Aakriti Lnu, Ganesh Ramakrishnan, Alexandre V. Evfimievski, Lucian Popa, Rishabh K Iyer

Introduction

Hyper-parameter optimization (HPO) is often described as the "hidden tax" of deep learning. While training a single state-of-the-art model is computationally expensive, the process of tuning its settings—such as learning rate, batch size, and architecture—requires training hundreds or even thousands of variations. This process consumes massive amounts of energy and time. AUTOMATA is a novel framework designed to mitigate these costs by accelerating HPO through intelligent data subset selection. By training models on small, representative fractions of data (1% to 30%) rather than the full dataset, AUTOMATA achieves speedups of 3x to 30x with minimal impact on final model accuracy.

The Computational Burden of HPO

The scale of the HPO problem is significant. For instance, a single ResNet training run on the CIFAR-10 dataset takes approximately six hours on a V100 GPU. A standard grid search involving 1,000 runs would consume 6,000 GPU hours and generate a carbon footprint equivalent to driving a car for 3,500 miles. While existing schedulers like ASHA or Hyperband employ early-stopping to prune poor configurations, they still typically process the full dataset during the initial stages of evaluation. Naive approaches that use small random subsets often fail because they lack the complexity necessary to distinguish between high-performing hyper-parameter configurations.

Methodology: The AUTOMATA Framework

AUTOMATA addresses the efficiency gap by integrating three core components into a unified pipeline:

  1. Search Algorithm: The framework utilizes standard optimization methods, such as Random Search or Tree-structured Parzen Estimator (TPE), to propose new hyper-parameter configurations.
  2. Gradient-Based Subset Selection (GSS): This is the core innovation of the paper. Instead of evaluating configurations on the full dataset, AUTOMATA selects a tiny, highly informative fraction of the data. The selection criteria ensure that the gradient of the loss on the subset closely matches the gradient of the loss on the entire dataset. This optimization problem is solved efficiently using a greedy algorithm known as Orthogonal Matching Pursuit (OMP).
  3. Scheduling Algorithm: AUTOMATA works in tandem with early-stopping schedulers like Hyperband and ASHA. While the scheduler reduces the number of configurations that run to completion, AUTOMATA reduces the computational cost per epoch for every configuration.

A critical feature of AUTOMATA is that the data subset is adaptive. As a model trains and its weights evolve, the most informative data points change. AUTOMATA periodically refreshes the subset to ensure the gradient approximation remains accurate throughout the tuning process.

Experimental Evaluation

The researchers evaluated AUTOMATA across three diverse domains to demonstrate its generalizability:

  • Text: SST2, SST5, glue-SST2 (sentiment analysis), and TREC6 (question classification).
  • Vision: CIFAR-10, CIFAR-100, and SVHN (Street View House Numbers).
  • Tabular: DNA, SATIMAGE, LETTER, and CONNECT-4 from the LIBSVM library.

Key Results and Insights

The experiments revealed that for the purpose of ranking hyper-parameters, a small, "smart" subset is significantly more effective than a larger random one. By matching the gradient of the full dataset, the subset acts as a high-fidelity compressed version of the data.

  • Significant Speedups: When paired with the Hyperband scheduler, AUTOMATA achieved speedups of 10x to 30x. When paired with the already-efficient ASHA scheduler, it still provided a 2x to 3x performance boost.
  • Accuracy Retention: In most scenarios, the hyper-parameters identified via AUTOMATA resulted in a final model accuracy within 0% to 2% of the accuracy achieved by tuning on the full dataset.
  • Superiority Over Baselines: AUTOMATA consistently outperformed other subset selection methods, such as random sampling or CRAIG, particularly when using very small data fractions (e.g., 5% or 10%).
  • Environmental Impact: By drastically reducing the compute hours required for HPO, AUTOMATA aligns with the goals of "Green AI," significantly lowering the carbon footprint of the machine learning development lifecycle.

Limitations and Future Work

Despite its success, the authors identify several areas for further development. Currently, users must manually select the subset size (e.g., 10%), as there is no automated mechanism to determine the minimum size required for a specific task. Additionally, some schedulers require a "warm-start" on the full dataset for a few initial epochs to stabilize gradients, which introduces some overhead.

Future research will focus on adaptive subset sizing, where the system dynamically adjusts the subset size based on model stability and the quality of the gradient match, potentially further optimizing the balance between speed and precision.

Summary updated

BibTeX
@inproceedings{killamsetty2022automata,
  author = {Krishnateja Killamsetty and Guttu Sai Abhishek and Aakriti Lnu and Ganesh Ramakrishnan and Alexandre V. Evfimievski and Lucian Popa and Rishabh K Iyer},
  title = {{AUTOMATA: Gradient Based Data Subset Selection for Compute-Efficient Hyper-parameter Tuning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=ajH17-Pb43A},
}
Figure