InternScience/MLEvolve

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.

What it solves

MLEvolve is an agentic system designed to automate machine learning engineering (MLE) tasks, such as solving Kaggle-style data science competitions. It addresses the challenge of navigating complex, long-horizon coding and optimization problems by using a self-evolving framework that can discover effective algorithms autonomously.

How it works

The system employs Monte Carlo Graph Search (MCGS) to explore potential solutions. It uses a multi-agent approach where different agents handle planning and code generation. The framework includes a global memory layer that stores previous plans, code, and performance metrics, which are retrieved using a combination of BM25 and FAISS to help the system learn from past successes and failures. When progress stalls, the system uses cross-branch fusion to merge insights from different search paths, allowing it to evolve its strategy over time.

Who it’s for

This project is for researchers and machine learning engineers interested in autonomous agent frameworks, automated machine learning (AutoML), and algorithmic discovery. It is particularly useful for those working on complex optimization tasks or looking to benchmark agentic performance on the MLE-bench dataset.

Highlights

  • Achieves top-tier performance on the MLE-bench leaderboard for automated machine learning tasks.
  • Generalizes to mathematical optimization problems, often outperforming specialized baseline methods.
  • Features a robust memory mechanism that allows agents to learn from their own search history.
  • Supports multiple code generation strategies, including single-pass, multi-agent pipelines, and incremental diff patching.

Related

  • Project
  • Project
  • Project
  • Project
  • Project