MLEvolve: A Self-Evolving Framework for Automated Machine Learning Algorithm Discovery

Shangheng Du, Xiangchao Yan, Jinxin Shi, Zongsheng Cao, Shiyang Feng +11 more
6/4/2026
29 citations
cs.AIcs.CL

Official code: InternScience/MLEvolve (473 stars, Python, Apache-2.0, last commit 2026-10-16).

Abstract

Large language model (LLM) agents are increasingly applied to long-horizon tasks such as scientific discovery and machine learning engineering (MLE), where sustained self-evolution becomes a key capability. However, existing MLE agents suffer from isolated exploration, inefficient experience reuse, and lack of hierarchical control, which together hinder long-horizon optimization.

Show full abstract

We present MLEvolve, an LLM-based self-evolving multi-agent framework for end-to-end machine learning algorithm discovery. By extending tree search to Progressive MCGS, MLEvolve enables cross-branch information flow through graph-based reference edges and gradually shifts the search from broad exploration to focused exploitation with an entropy-inspired progressive schedule. To allow the agent to evolve with accumulated experience, we introduce Retrospective Memory, which combines a cold-start domain knowledge base with a dynamic global memory for task-specific experience retrieval and reuse. For stable long-horizon iteration, we further decouple strategic planning from code generation with adaptive coding modes. Evaluation on MLE-Bench shows that MLEvolve achieves state-of-the-art performance across multiple dimensions including average medal rate and valid submission rate under a 12-hour budget (half the standard runtime). Moreover, MLEvolve also outperforms specialized algorithm discovery methods including AlphaEvolve on mathematical algorithm optimization tasks, demonstrating strong cross-domain generalization. Code is available at https://github.com/InternScience/MLEvolve.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

MLEvolve is an open-source autonomous system for end-to-end machine learning algorithm design and optimization powered by progressive search and experience-driven memory.

47367Python, ShellFeb 14, 20261 months agoApache-2.0

Similar Papers

Cite this paper

@article{du2026mlevolve,
  title  = {MLEvolve: A Self-Evolving Framework for Automated Machine Learning Algorithm Discovery},
  author = {Shangheng Du and Xiangchao Yan and Jinxin Shi and Zongsheng Cao and Shiyang Feng and Zichen Liang and Boyuan Sun and Xu Guo and Tianshuo Peng and Yifan Zhou and Jie Hou and Xin Li and Jie Zhou and Liang He and Bo Zhang and Lei Bai},
  year   = {2026},
  eprint = {2606.06473},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.06473v2}
}

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/2606.06473.svg)](https://codeofpaper.com/paper/2606.06473)

Discussion