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

AutoML in the Age of Large Language Models: Current Challenges, Future Opportunities and Risks

Alexander Tornede, Difan Deng, Theresa Eimer, Joseph Giovanelli, Aditya Mohan, Tim Ruhkopf, Sarah Segel, Daphne Theodorakopoulos, Tanja Tornede, Henning Wachsmuth, Marius Lindauer

TL;DR

This paper explores the emerging symbiotic relationship between Automated Machine Learning (AutoML) and Large Language Models (LLMs). It outlines how AutoML can optimize the complex, multi-stage lifecycle of LLMs, and conversely, how LLMs can revolutionize AutoML through natural language interfaces, automated configuration, and meta-learning components.

What Problem Does This Paper Address?

Both Natural Language Processing (via LLMs) and AutoML have advanced rapidly in recent years, but they have largely done so in isolation. LLMs are notoriously expensive to train, fine-tune, and deploy, requiring massive expert engineering to select hyperparameters and architectures. On the flip side, traditional AutoML tools—while great at automating machine learning pipelines—can be rigid, requiring deep technical expertise to configure, interpret, and interface with.

The authors address this gap by proposing a unified, two-way vision:

  1. AutoML for LLMs: Using automation to make LLMs more efficient, cheaper, and better tailored to specific tasks.
  2. LLMs for AutoML: Leveraging the natural language and reasoning capabilities of LLMs to democratize AutoML, making it accessible to non-experts and smarter from an engineering perspective.

Methods

As a survey and position paper, this work does not introduce a single new algorithm. Instead, it synthesizes existing literature and maps out a framework for how these two fields intersect. The authors break down the methodology into two main paradigms:

1. AutoML for LLMs

The paper details how Hyperparameter Optimization (HPO) and Neural Architecture Search (NAS) can be applied across the three core stages of the LLM lifecycle: pre-training, fine-tuning (including instruction tuning and alignment via RLHF), and inference.

Figure 1: AutoML can be used in all stages of the LLM lifecycle and needs to be adjusted to the different objectives, hyperparameters, and design decisions of each stage. The graphic depicts exemplary objectives, subjects of optimization, and associated hyperparameters. Due to computational constraints, the stages are considered separately, one after the other.

Key techniques discussed include:

  • Multi-Fidelity Optimization with Scaling Laws: Using cheap, downscaled models (fewer parameters or less data) to predict the performance of full-scale LLMs.
  • Automated Prompt Engineering: Treating prompts as hyperparameters and optimizing them using gradient-based methods or evolutionary algorithms.

2. LLMs for AutoML

The perspective is then flipped to show how LLMs can act as components within AutoML systems:

  • Human-Machine Interaction: Using LLMs as conversational interfaces (chatbots) that help users define their goals, choose metrics, and understand AutoML outputs.
  • LLMs as Optimizers: Replacing traditional optimization components (like mutation operators in evolutionary algorithms or acquisition functions in Bayesian Optimization) with LLMs that leverage their web-scale knowledge of machine learning code and best practices.

Datasets

Not discussed in the paper. Because this is a survey and position paper, no new datasets or benchmarks were introduced or quantitatively evaluated.

Key Insights and Ideas

  • The Multi-Stage Challenge: Traditional AutoML is built for single-stage supervised learning. LLMs break this paradigm because they require a multi-stage process (pre-training $\rightarrow$ fine-tuning $\rightarrow$ alignment $\rightarrow$ inference) where each stage uses different metrics and learning paradigms (e.g., self-supervised learning vs. reinforcement learning).
  • Scaling Laws as an HPO Cheat Code: LLMs follow predictable scaling laws (power-law correlations between data, compute, and performance). This predictability makes them uniquely suited for multi-fidelity AutoML, as performance on small models correlates well with large models.
  • The "Data Snooping" Evaluation Crisis: A major insight is the risk of biased evaluation. Because LLMs are trained on massive web scrapes, they have likely already "seen" popular machine learning datasets (like those on OpenML or Kaggle). Using an LLM to configure an AutoML pipeline on these datasets is akin to cheating, making true zero-shot evaluation incredibly difficult.
  • Shifting the Barrier to Entry: While LLMs make AutoML easier by removing coding barriers, they shift the bottleneck to prompt engineering. If an AutoML system relies on an LLM, the user must know how to prompt it reliably to avoid bad configurations.

Key Results

While the paper does not present new empirical data, it highlights significant milestones from the literature it surveys:

  • Efficiency Gains: Prior-guided multi-fidelity frameworks (like PriorBand) have successfully optimized deep learning models within a strict budget of fewer than ten full training runs by leveraging expert priors.
  • LLMs as Feature Engineers: Systems like CAAFE demonstrate that LLMs can iteratively write code to perform context-aware feature engineering on tabular data, outperforming traditional automated feature engineering methods.
  • Zero-Shot AutoML: Frameworks like AutoML-GPT and MLCopilot have proven that LLMs can successfully simulate or direct entire machine learning pipelines purely from textual descriptions of a dataset and task.

Limitations and Future Work

The authors identify several critical roadblocks that the community must solve:

  • Prohibitive Costs: Jointly optimizing the entire LLM lifecycle remains financially and ecologically impossible for all but a few tech giants.
  • Hallucinations and Over-Trust: LLMs confidently generate false information. If an LLM hallucinates a bad hyperparameter space, the AutoML system will fail. Furthermore, because LLMs communicate in natural language, users are prone to over-trusting their flawed recommendations.
  • The Need for New Benchmarks: To combat data snooping, the community needs to develop evaluation protocols using entirely fresh, post-training datasets or private benchmarks.
  • Specialized AutoML-LLMs: The authors conclude that a vital next step is training open-source LLMs specifically on AutoML data—such as optimization histories, code repositories, and benchmark results—rather than relying on general-purpose models.

Summary updated

BibTeX
@article{tornede2024automl,
  author = {Alexander Tornede and Difan Deng and Theresa Eimer and Joseph Giovanelli and Aditya Mohan and Tim Ruhkopf and Sarah Segel and Daphne Theodorakopoulos and Tanja Tornede and Henning Wachsmuth and Marius Lindauer},
  title = {{AutoML in the Age of Large Language Models: Current Challenges, Future Opportunities and Risks}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2024},
  url = {https://openreview.net/forum?id=KJR2gzx90z},
}
Figure