Skip to main content
QUICK REVIEW

[Paper Review] AutoML-Agent: A Multi-Agent LLM Framework for Full-Pipeline AutoML

Patara Trirat, Wonyong Jeong|arXiv (Cornell University)|Oct 3, 2024
Machine Learning and Data ClassificationComputer Science4 citations
TL;DR

This paper proposes AutoML-Agent, a multi-agent LLM framework that automates the full machine learning pipeline—from data retrieval and preprocessing to model deployment—using specialized LLM agents coordinated via retrieval-augmented planning and multi-stage verification. It achieves a 96.2% average success rate across 14 datasets and 7 tasks, outperforming baselines in both success rate and efficiency while reducing search time by up to 90% compared to MCTS-based methods.

ABSTRACT

Automated machine learning (AutoML) accelerates AI development by automating tasks in the development pipeline, such as optimal model search and hyperparameter tuning. Existing AutoML systems often require technical expertise to set up complex tools, which is in general time-consuming and requires a large amount of human effort. Therefore, recent works have started exploiting large language models (LLM) to lessen such burden and increase the usability of AutoML frameworks via a natural language interface, allowing non-expert users to build their data-driven solutions. These methods, however, are usually designed only for a particular process in the AI development pipeline and do not efficiently use the inherent capacity of the LLMs. This paper proposes AutoML-Agent, a novel multi-agent framework tailored for full-pipeline AutoML, i.e., from data retrieval to model deployment. AutoML-Agent takes user's task descriptions, facilitates collaboration between specialized LLM agents, and delivers deployment-ready models. Unlike existing work, instead of devising a single plan, we introduce a retrieval-augmented planning strategy to enhance exploration to search for more optimal plans. We also decompose each plan into sub-tasks (e.g., data preprocessing and neural network design) each of which is solved by a specialized agent we build via prompting executing in parallel, making the search process more efficient. Moreover, we propose a multi-stage verification to verify executed results and guide the code generation LLM in implementing successful solutions. Extensive experiments on seven downstream tasks using fourteen datasets show that AutoML-Agent achieves a higher success rate in automating the full AutoML process, yielding systems with good performance throughout the diverse domains.

Motivation & Objective

  • To address the limitations of existing LLM-based AutoML systems that focus only on isolated pipeline stages, such as hyperparameter tuning or model selection, rather than end-to-end automation.
  • To reduce the planning complexity of full-pipeline AutoML by introducing a retrieval-augmented strategy that explores diverse, knowledge-grounded plans.
  • To improve code generation accuracy and reduce hallucinations in autonomous ML pipeline construction through role-specific agent decomposition and multi-stage verification.
  • To enable efficient, scalable, and deployment-ready AutoML for non-expert users by integrating data, model, and evaluation stages in a single framework.
  • To demonstrate that multi-agent coordination with retrieval-augmented planning and verification significantly improves success rates and computational efficiency across diverse ML tasks.

Proposed method

  • AutoML-Agent employs a multi-agent architecture where specialized LLM agents (e.g., data, model, verification agents) operate in parallel to decompose and solve subtasks such as data preprocessing, neural architecture search, and hyperparameter tuning.
  • It introduces a retrieval-augmented planning strategy that retrieves relevant knowledge (e.g., from datasets, prior pipelines) to generate multiple candidate plans, enhancing exploration of optimal solutions.
  • Each plan is decomposed into atomic subtasks, each assigned to a specialized agent via role-specific prompting, enabling parallel execution and reducing overall pipeline time.
  • A multi-stage verification process validates intermediate results and guides the code generation agent, minimizing hallucinations and ensuring correctness through iterative feedback.
  • The framework uses a comprehensive scoring system combining success rate, normalized performance, and comprehensive score to evaluate end-to-end pipeline quality.
  • It supports constraint-aware execution by filtering invalid plans early and optimizing for cost and time, reducing total runtime by 4.8% and cost by 18.5% compared to constraint-free settings.

Experimental results

Research questions

  • RQ1Can a multi-agent LLM framework effectively automate the full AutoML pipeline—from data retrieval to deployment—without requiring expert-level configuration?
  • RQ2Does retrieval-augmented planning improve the success rate and diversity of explored pipelines compared to single-plan or heuristic-based approaches?
  • RQ3Can role-specific agent decomposition and parallel execution significantly reduce the time and computational cost of full-pipeline AutoML?
  • RQ4To what extent does multi-stage verification reduce code hallucinations and improve the reliability of generated ML pipelines?
  • RQ5How does AutoML-Agent compare to state-of-the-art baselines in terms of success rate, performance, and efficiency across diverse, real-world datasets and tasks?

Key findings

  • AutoML-Agent achieved a 96.2% average success rate across 14 datasets and 7 downstream tasks, significantly outperforming baseline methods such as DS-Agent (66.1%) and constraint-aware GPT-3.5 (7.7%).
  • The framework reduced average search time by 90% compared to MCTS-based SELA, from 2037.18 seconds to 249.91 seconds, while maintaining or improving normalized performance scores.
  • With five plans generated per task, AutoML-Agent achieved a 100% success rate in image and text classification, and a 90.6% comprehensive score in node classification, demonstrating robustness across tasks.
  • The multi-stage verification strategy improved code reliability, reducing hallucinations and ensuring correct dependency handling, as evidenced by 96.9% success in code generation and deployment.
  • In leaderboard comparisons, AutoML-Agent outperformed Agent K in 7 out of 8 competitions, achieving a median leaderboard quantile of 88.5 compared to Agent K’s 86.5, with lower task-specific performance in 5/8 cases.
  • The constraint-aware setting reduced total cost by 18.5% ($0.32 vs. $0.27) and time by 4.8% (512.35s vs. 538.25s), showing efficiency gains without sacrificing performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.