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

Introduction

This paper explores the burgeoning symbiotic relationship between Automated Machine Learning (AutoML) and Large Language Models (LLMs). While LLMs offer unprecedented capabilities, their development is notoriously difficult and resource-intensive, involving complex multi-stage lifecycles and a vast array of hyperparameters. AutoML, the field dedicated to automating these processes, has traditionally been machine-centric and difficult for non-experts to navigate. By integrating these two fields, researchers aim to automate the "black magic" of LLM development while using the reasoning capabilities of LLMs to make AutoML more accessible.

Methodological Framework

The authors propose a framework for integration across three primary dimensions:

  1. AutoML for LLMs: Techniques like Neural Architecture Search (NAS) and Hyperparameter Optimization (HPO) are adapted to LLMs. Key strategies include Multi-Fidelity Optimization (using scaling laws to predict performance) and Gradient-Based AutoML (tuning parameters during training) to mitigate extreme costs.
  2. LLMs for AutoML: LLMs act as a human-machine interaction layer, allowing users to describe data and goals in natural language rather than writing complex configuration code.
  3. LLMs as Components: Traditional AutoML sub-systems, such as performance predictors, are replaced with LLMs that have "meta-learned" optimization strategies from vast amounts of ML code and literature.

The Holistic Optimization of the LLM Lifecycle

A core challenge in current AutoML is the "Holistic Optimization Gap." Existing tools are often designed for single-stage supervised learning, whereas LLMs require a multi-phase approach spanning pre-training, fine-tuning, and alignment.

Overview of AutoML applications across the LLM lifecycle stages: Pre-training, Fine-tuning, and Inference.

As shown in the figure above, each stage of the LLM lifecycle—Pre-Training, Fine-Tuning (including Alignment, Task-Specific Supervised, and Instruction Tuning), and Inference—presents unique objectives, subjects for optimization, and hyperparameters. For instance, while Pre-Training focuses on basic language generation skills across all network weights, Fine-Tuning might target specific helpfulness and honesty goals by optimizing adapter layers or policy networks.

Key Insights and Results

  • Democratization: LLMs can serve as an "Interface to AutoML," translating vague human requirements into technical configurations.
  • Knowledge Transfer: LLMs leverage "unstructured meta-learning" from repositories like GitHub to suggest effective learning rates or architectures for novel tasks.
  • Proofs-of-Concept: Projects like GPT-NAS and GENIUS demonstrate that LLMs can successfully suggest high-performing neural architectures. Tools like CAAFE use LLMs for automated feature engineering, while prior-guided HPO can achieve strong results in as few as ten training runs.

Challenges and Future Directions

Several risks accompany this integration. "Data snooping" is a major concern, as LLMs may have seen benchmark test sets during pre-training, biasing evaluation results. Additionally, LLM hallucinations could lead to catastrophic training failures if nonsensical hyperparameters are suggested. Finally, the combined resource consumption of both fields raises significant environmental and financial concerns.

The authors conclude that the next major milestone will be the development of an open-source LLM specifically "meta-trained" to serve as a backbone for AutoML tasks, ensuring transparency and efficiency in the optimization process.

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