MLR-Copilot: Autonomous Machine Learning Research based on Large Language Models Agents

Ruochen Li, Teerth Patel, Qingyun Wang, Xinya Du
8/26/2024
cs.AIcs.CLcs.LG

No official code found. Best implementation: du-nlp-lab/MLR-Copilot (71 stars, last commit 2025-03-30).

Abstract

Autonomous machine learning research has gained significant attention recently. We present MLR-COPILOT, an autonomous Machine Learning Research framework powered by large language model agents. The system is designed to enhance ML research productivity through automatic generation and implementation of research ideas within constraints. Our work was released in August 2024 (concurrent to AI-Scientist) and has gained notable recognition from leading projects. We further enhance our ideation with training afterwards. The framework consists of three stages: idea generation, experiment implementation, and code execution. First, existing research papers are used to generate feasible ideas and experiment plans with IdeaAgent, powered by an RL-tuned LLM. Next, ExperimentAgent leverages retrieved prototype code to convert plans into executable code with optionally retrieved candidate models and data from HuggingFace. In the final stage, ExperimentAgent runs experiments, and allows subsequent iterations of debugging and human feedback for a better chance of success with executable outcomes. We evaluate our framework on five machine learning research tasks. Experiment results demonstrate the potential of our framework to facilitate ML research progress and innovation.

View on arXivView PDF

Code Implementations(1)

715Shell, PythonAug 24, 20241 years ago

Similar Papers

Cite this paper

@article{li2024mlrcopilot,
  title  = {MLR-Copilot: Autonomous Machine Learning Research based on Large Language Models Agents},
  author = {Ruochen Li and Teerth Patel and Qingyun Wang and Xinya Du},
  year   = {2024},
  eprint = {2408.14033},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.14033v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.14033.svg)](https://codeofpaper.com/paper/2408.14033)

Discussion