AI Agents

MARS: Modular Agent with Reflective Search for Automated AI Research

JJiefeng ChenBBhavana Dalvi MishraJJaehyun NamRRui MengTTomas PfisterJJinsung Yoon
Published
February 2, 2026
Authors
6
Word Count
7,945
Code
Includes code

MARS automates efficient, reflective machine learning research.

Abstract

Automating AI research differs from general software engineering due to computationally expensive evaluation (e.g., model training) and opaque performance attribution. Current LLM-based agents struggle here, often generating monolithic scripts that ignore execution costs and causal factors. We introduce MARS (Modular Agent with Reflective Search), a framework optimized for autonomous AI research. MARS relies on three pillars: (1) Budget-Aware Planning via cost-constrained Monte Carlo Tree Search (MCTS) to explicitly balance performance with execution expense; (2) Modular Construction, employing a "Design-Decompose-Implement" pipeline to manage complex research repositories; and (3) Comparative Reflective Memory, which addresses credit assignment by analyzing solution differences to distill high-signal insights. MARS achieves state-of-the-art performance among open-source frameworks on MLE-Bench under comparable settings, maintaining competitiveness with the global leaderboard's top methods. Furthermore, the system exhibits qualitative "Aha!" moments, where 63% of all utilized lessons originate from cross-branch transfer, demonstrating that the agent effectively generalizes insights across search paths.

Key Takeaways

  • 1

    MARS balances performance with computational cost effectively.

  • 2

    Modular construction enhances precision and testability.

  • 3

    Comparative reflective memory accelerates convergence and learning.

Limitations

  • Requires extensive evaluations for optimal performance.

  • Dependent on the quality of the MLE-Bench benchmark.

Keywords

Monte Carlo Tree SearchMCTSmodular constructioncomparative reflective memorycross-branch transfer

More in AI Agents

View all
MARS: Modular Agent with Reflective Search for Automated AI Research | Paperchime