MARS: Modular Agent with Reflective Search for Automated AI Research
Jiefeng Chen, Bhavana Dalvi Mishra, Jae Hyun Nam, Rui Meng, Tomas Pfister, Jinsung Yoon · 2026 · 39 citationsRead the paper
A critical bottleneck in automating AI research is the execution of complex machine learning engineering (MLE) tasks. MLE 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.
What the full text shows
Working prototype- MARS achieved the highest Gold Medal rate among reported agents in the controlled evaluation. — 31.1% (MLE-Bench controlled evaluation)
- The scaled variant MARS+ achieved the highest Above Median rate, Gold Medal rate, and Any Medal rate. — 74.2% Above Median, 33.8% Gold Medal, 62.7% Any Medal (Executed with 2x H100 GPUs and 48 vCPUs)
- Budget-Aware MCTS showed a higher effective solution rate compared to Vanilla MCTS. — 19.5% ± 1.5% vs 16.1% ± 1.3% (MLE-Bench)
- Modular decomposition increased the complexity and structure of the best solutions. — 1103.9 ± 35.9 lines of code and 6.7 ± 0.1 files vs 474.8 ± 13.5 lines and 1.0 ± 0.0 files (MLE-Bench Lite)
- A majority of utilized lessons were derived from cross-branch transfer. — 63% (MARS framework)
- Setup
- Evaluated on MLE-Bench (75 Kaggle competitions) using a standard node with one NVIDIA A100 GPU (40GB), 12 vCPUs, 220 GB RAM, and 1 TB SSD, with a 24-hour wall-clock time budget per competition.
- How
- The framework uses Budget-Aware Monte Carlo Tree Search (MCTS) to balance performance and execution cost, a 'Design-Decompose-Implement' pipeline for modular code generation, and a Comparative Reflective Memory system to distill lessons from successes and failures.
- Limitations
- Performance is sensitive to the penalty weight w (optimal at -0.07). · Memory is capped at 30 lessons to avoid context window overflow.
Summarized by Gemma 4 from the open-access full text · 24 Nov 2026. Read it
Why this research matters to Seedlabs
Seedlabs @seedlabsthe platform
We're Seedlabs, the platform turning papers into ideas, scores, and deployed prototypes. This work backs our core claim: the gap between a paper and a product can be narrowed by software. MARS shows agents can autonomously execute complex ML engineering, the hardest stretch of that gap. We hit the same tradeoffs in auto-prototyping: costly evaluation, opaque attribution. Budget-aware planning and Design-Decompose-Implement are techniques we would adopt for faster, cost-constrained prototype generation, and comparative reflective memory parallels how we score concept variants.
Claim this paper supports: Supports Seedlabs' claim that software can narrow the paper-to-product gap; budget-aware planning and modular construction advance its goal of faster, cost-constrained automated prototyping.