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

AutoML-Agent: A Multi-Agent LLM Framework for Full-Pipeline AutoML

Patara Trirat, Wonyong Jeong, Sung Ju Hwang

Overview

AutoML-Agent is a multi-agent Large Language Model (LLM) framework designed to automate the entire machine learning pipeline—from data retrieval to model deployment—based entirely on natural language prompts. By combining retrieval-augmented planning with a "training-free" search strategy, it generates highly accurate, deployable ML code up to 8x faster than existing search-based AutoML methods.

High-level overview of the AutoML-Agent workflow

The Problem with Current AutoML

Automated Machine Learning (AutoML) was intended to democratize AI by handling the tedious parts of model building, such as feature engineering and hyperparameter tuning. However, traditional AutoML tools still require significant coding expertise to set up and configure.

Recently, researchers have tried using LLMs to act as natural language interfaces for AutoML. But these early attempts have major flaws:

  1. Fragmented Pipelines: They usually only handle one specific step (e.g., just feature engineering) or are restricted to one domain (e.g., just computer vision).
  2. Prohibitive Costs: To find the best model, many LLM agents write code and train candidate models during the search phase. This trial-and-error approach is computationally expensive and painfully slow.

The authors tackle these gaps by proposing an end-to-end, task-agnostic framework that handles everything from downloading the dataset to spinning up a deployment endpoint, all while minimizing computational overhead.

The AutoML-Agent Framework

AutoML-Agent is composed of several specialized LLM agents (Manager, Prompt, Data, Model, and Operation) working collaboratively. The framework introduces three key innovations to streamline the ML lifecycle:

Detailed architecture of the AutoML-Agent framework
  • Retrieval-Augmented Planning (RAP): Instead of generating a single plan, the Agent Manager searches external sources (like Kaggle, arXiv, and PapersWithCode) to gather state-of-the-art insights. It then devises multiple competing plans for the ML pipeline to ensure a diverse exploration of solutions.
  • Prompting-Based (Training-Free) Execution: This is the framework's secret weapon for speed. Instead of writing and running code to test candidate models, the Data and Model agents simulate the execution. They use their internal knowledge and retrieved context to estimate performance metrics and computational complexity. Actual code is only generated for the single most promising pipeline.
  • Multi-Stage Verification: To prevent the LLM from hallucinating bad code or ignoring user constraints (like "inference must be under 100ms"), the system uses strict feedback loops. It verifies the user's initial request, the proposed execution plan, and the final generated code before handing anything back to the user.

Datasets and Evaluation

To prove the framework is truly task-agnostic, the authors evaluated it on 14 datasets across 5 different data modalities:

  • Image (Computer Vision): Butterfly Image, Shopee-IET
  • Text (NLP): Ecommerce Text, Textual Entailment
  • Tabular (Classic ML): Banana Quality, Software Defects, Crab Age, Crop Price, Smoker Status, Student Performance, Click Prediction, MFeat, Wine Quality, Colleges, House Prices
  • Time Series: Weather, Electricity
  • Graph (Graph Mining): Cora, Citeseer

These cover a wide range of downstream tasks, including classification, regression, clustering, and forecasting.

Key Insights

  • "Imagining" results is surprisingly effective: By relying on the LLM's vast pre-training on ML code and papers, the agents can accurately estimate which architectures and hyperparameters will work best for a given dataset without having to actually train them. This bypasses the massive bottleneck of traditional neural architecture search.
  • Divide and conquer prevents LLM confusion: Asking a single LLM to plan an entire ML pipeline usually results in dropped steps or broken dependencies. Decomposing the plan into role-specific sub-tasks (e.g., the Data Agent only worries about augmentation and preprocessing) keeps the LLMs focused and accurate.
  • General-purpose LLMs aren't enough out-of-the-box: While a vanilla GPT-4 prompt can handle basic tabular classification using scikit-learn, it completely falls apart on complex, multi-step pipelines (like Graph Neural Networks or Time Series) without the structured planning and verification loops provided by AutoML-Agent.

Key Results

  • High Success Rate: In "constraint-aware" settings (where users specify strict accuracy or latency targets), AutoML-Agent successfully generated deployable code 87.1% of the time, vastly outperforming baselines like DS-Agent (26.8%) and zero-shot GPT-4 (22.1%).
  • Massive Speedups: Compared to SELA, a recent state-of-the-art framework that uses Monte Carlo Tree Search to iteratively train and test models, AutoML-Agent was ~8x faster (averaging 250 seconds vs. 2037 seconds) while achieving slightly better downstream performance.
  • Low Cost: Using GPT-4o as the backbone, generating a complete, deployable ML pipeline takes an average of 8.5 minutes and costs about $0.30 per run.

Limitations and Future Work

  • Reliance on Massive Models: The framework currently requires frontier models like GPT-4. Smaller open-weight models (like LLaMA-2-7B or code-specific 7B models) fail systemically at the complex planning and code completion required here.
  • Out-of-Distribution Tasks: The system relies on "skeleton scripts" to guide code generation. For entirely novel ML tasks where a skeleton isn't provided, the risk of code hallucination increases.
  • Missing ML Domains: The current framework is built for supervised and unsupervised learning. It does not yet support Reinforcement Learning (RL) or Recommendation Systems, which would require entirely new specialized agents. The authors suggest an "AutoRL-Agent" as a promising future direction.

Summary updated

BibTeX
@inproceedings{trirat2025automl,
  author = {Patara Trirat and Wonyong Jeong and Sung Ju Hwang},
  title = {{AutoML-Agent: A Multi-Agent LLM Framework for Full-Pipeline AutoML}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=p1UBWkOvZm},
}
Figure