Skip to main content
QUICK REVIEW

[Paper Review] Large Language Models for Constructing and Optimizing Machine Learning Workflows: A Survey

Yang Gu, Haihang You|arXiv (Cornell University)|Nov 11, 2024
Machine Learning and Data ClassificationComputer Science3 citations
TL;DR

This survey explores how Large Language Models (LLMs) can automate and enhance machine learning (ML) workflows across data engineering, model selection, hyperparameter tuning, and evaluation. By leveraging LLMs' reasoning, natural language understanding, and code generation, the paper demonstrates significant potential for streamlining end-to-end ML pipeline construction while identifying key challenges like hallucinations, interpretability, and ethical risks.

ABSTRACT

Building effective machine learning (ML) workflows to address complex tasks is a primary focus of the Automatic ML (AutoML) community and a critical step toward achieving artificial general intelligence (AGI). Recently, the integration of Large Language Models (LLMs) into ML workflows has shown great potential for automating and enhancing various stages of the ML pipeline. This survey provides a comprehensive and up-to-date review of recent advancements in using LLMs to construct and optimize ML workflows, focusing on key components encompassing data and feature engineering, model selection and hyperparameter optimization, and workflow evaluation. We discuss both the advantages and limitations of LLM-driven approaches, emphasizing their capacity to streamline and enhance ML workflow modeling process through language understanding, reasoning, interaction, and generation. Finally, we highlight open challenges and propose future research directions to advance the effective application of LLMs in ML workflows.

Motivation & Objective

  • To provide a comprehensive review of recent advancements in using LLMs to construct and optimize ML workflows.
  • To analyze the role of LLMs in automating key stages of the ML pipeline: data and feature engineering, model selection, hyperparameter optimization, and workflow evaluation.
  • To identify the advantages of LLM-driven approaches, including enhanced reasoning, human-AI collaboration, and improved interpretability.
  • To highlight critical challenges such as reasoning hallucinations, ethical risks, and high computational costs in deploying LLMs for ML workflows.
  • To propose future research directions focused on end-to-end automation, hybrid LLM-specialized model systems, and human-in-the-loop frameworks for trustworthy deployment.

Proposed method

  • Systematic survey of 2411.10478 and related literature on LLM applications in ML workflow automation.
  • Categorization of LLM applications across three core stages: data/feature engineering, model selection/hyperparameter tuning, and workflow evaluation.
  • Analysis of LLM capabilities such as natural language understanding, code generation, and reasoning to support interactive, explainable ML workflow construction.
  • Evaluation of LLMs as interactive agents that generate and refine AutoML code based on user feedback and contextual input.
  • Integration of multimodal LLMs for processing diverse data types (e.g., images, audio) in complex, multimodal ML workflows.
  • Proposal of hybrid frameworks combining LLMs with domain-specific models to improve efficiency and accuracy in specialized tasks like hyperparameter optimization.

Experimental results

Research questions

  • RQ1How can LLMs be effectively leveraged to automate and optimize data and feature engineering in ML workflows?
  • RQ2To what extent can LLMs improve model selection and hyperparameter optimization compared to traditional AutoML methods?
  • RQ3What are the key limitations of LLM-driven ML workflow construction, particularly regarding hallucinations, interpretability, and computational cost?
  • RQ4How can LLMs support human-AI collaboration in ML workflow development while maintaining transparency and trust?
  • RQ5What future research directions are most promising for achieving robust, scalable, and ethical end-to-end ML workflow automation using LLMs?

Key findings

  • LLMs demonstrate strong potential in automating data and feature engineering by generating human-readable, explainable features through natural language prompting.
  • LLM-driven hyperparameter optimization reduces reliance on exhaustive search by leveraging historical and domain-specific knowledge to predict optimal configurations.
  • LLMs enhance human-AI collaboration by acting as interactive agents that generate, refine, and explain AutoML code in response to user queries.
  • Despite their capabilities, LLMs face challenges such as reasoning hallucinations and biased outputs, particularly when exposed to adversarial or low-quality inputs.
  • Ethical risks, including the generation of toxic or unethical content, are significant concerns, especially in high-stakes applications without proper monitoring and auditing mechanisms.
  • Future systems should prioritize hybrid architectures combining LLMs with specialized models to balance flexibility, efficiency, and domain expertise in ML workflow automation.

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.