Large Language Models Synergize with Automated Machine Learning

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Xu, Jinglue, Li, Jialong, Liu, Zhen, Suryanarayanan, Nagar Anthel Venkatesh, Zhou, Guoyuan, Guo, Jia, Iba, Hitoshi, Tei, Kenji
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866929491072253952
author Xu, Jinglue
Li, Jialong
Liu, Zhen
Suryanarayanan, Nagar Anthel Venkatesh
Zhou, Guoyuan
Guo, Jia
Iba, Hitoshi
Tei, Kenji
author_facet Xu, Jinglue
Li, Jialong
Liu, Zhen
Suryanarayanan, Nagar Anthel Venkatesh
Zhou, Guoyuan
Guo, Jia
Iba, Hitoshi
Tei, Kenji
contents Recently, program synthesis driven by large language models (LLMs) has become increasingly popular. However, program synthesis for machine learning (ML) tasks still poses significant challenges. This paper explores a novel form of program synthesis, targeting ML programs, by combining LLMs and automated machine learning (autoML). Specifically, our goal is to fully automate the generation and optimization of the code of the entire ML workflow, from data preparation to modeling and post-processing, utilizing only textual descriptions of the ML tasks. To manage the length and diversity of ML programs, we propose to break each ML program into smaller, manageable parts. Each part is generated separately by the LLM, with careful consideration of their compatibilities. To ensure compatibilities, we design a testing technique for ML programs. Unlike traditional program synthesis, which typically relies on binary evaluations (i.e., correct or incorrect), evaluating ML programs necessitates more than just binary judgments. Our approach automates the numerical evaluation and optimization of these programs, selecting the best candidates through autoML techniques. In experiments across various ML tasks, our method outperforms existing methods in 10 out of 12 tasks for generating ML programs. In addition, autoML significantly improves the performance of the generated ML programs. In experiments, given the textual task description, our method, Text-to-ML, generates the complete and optimized ML program in a fully autonomous process. The implementation of our method is available at https://github.com/JLX0/llm-automl.
format Preprint
id arxiv_https___arxiv_org_abs_2405_03727
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Large Language Models Synergize with Automated Machine Learning
Xu, Jinglue
Li, Jialong
Liu, Zhen
Suryanarayanan, Nagar Anthel Venkatesh
Zhou, Guoyuan
Guo, Jia
Iba, Hitoshi
Tei, Kenji
Software Engineering
Artificial Intelligence
Machine Learning
Programming Languages
Recently, program synthesis driven by large language models (LLMs) has become increasingly popular. However, program synthesis for machine learning (ML) tasks still poses significant challenges. This paper explores a novel form of program synthesis, targeting ML programs, by combining LLMs and automated machine learning (autoML). Specifically, our goal is to fully automate the generation and optimization of the code of the entire ML workflow, from data preparation to modeling and post-processing, utilizing only textual descriptions of the ML tasks. To manage the length and diversity of ML programs, we propose to break each ML program into smaller, manageable parts. Each part is generated separately by the LLM, with careful consideration of their compatibilities. To ensure compatibilities, we design a testing technique for ML programs. Unlike traditional program synthesis, which typically relies on binary evaluations (i.e., correct or incorrect), evaluating ML programs necessitates more than just binary judgments. Our approach automates the numerical evaluation and optimization of these programs, selecting the best candidates through autoML techniques. In experiments across various ML tasks, our method outperforms existing methods in 10 out of 12 tasks for generating ML programs. In addition, autoML significantly improves the performance of the generated ML programs. In experiments, given the textual task description, our method, Text-to-ML, generates the complete and optimized ML program in a fully autonomous process. The implementation of our method is available at https://github.com/JLX0/llm-automl.
title Large Language Models Synergize with Automated Machine Learning
topic Software Engineering
Artificial Intelligence
Machine Learning
Programming Languages
url https://arxiv.org/abs/2405.03727