Synthetic Sandbox for Training Machine Learning Engineering Agents
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
As large language model agents advance beyond software engineering (SWE) tasks toward machine learning engineering (MLE), verifying agent behavior becomes orders of magnitude more expensive: while SWE tasks can be verified via fast-executing unit tests, MLE verification requires running full ML pipelines -- data preprocessing, model training, and metric evaluation -- on large datasets at each rollout step, rendering trajectory-wise on-policy reinforcement learning (RL) prohibitively slow. Existing approaches retreat to supervised fine-tuning (SFT) or offline proxy rewards, sacrificing the exploration and generalization benefits of on-policy RL. We observe that sandbox data size is the primary source of this bottleneck. Based on this insight, we introduce SandMLE, a multi-agent framework that generates diverse, verifiable synthetic MLE environments from a small number of seed tasks, preserving the structural and technical complexity of real-world problems while constraining datasets to micro-scale (each task is paired with only 50-200 training samples). Through extensive experiments, we show that SandMLE reduces execution time by over 13 times, enabling large-scale, on-policy trajectory-wise RL for the first time in the MLE domain. On MLE-bench-lite, SandMLE yields significant gains over SFT baselines across Qwen3-8B, 14B, and 30B-A3B, with relative medal rate improvements ranging from 20.3% to 66.9%. Furthermore, the trained policy generalizes across unseen agentic scaffolds, achieving up to 32.4% better HumanRank score on MLE-Dojo.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 29 of its 36 references that are in the map. First posted on arXiv 6 Apr 2026.
Builds on
29 of 36 references.
References · 29
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2025Qwen3 Technical Reportcited by 8,195
- 2024GPT-4o System Cardcited by 4,467
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,678
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 1,908
- 2025SFT Memorizes, RL Generalizes: A Comparative Study of Foundation Model Post-trainingcited by 655
- 2024MLE-bench: Evaluating Machine Learning Agents on Machine Learning Engineeringcited by 429
- 2025AIDE: AI-Driven Exploration in the Space of Codecited by 206
- 2025The Landscape of Agentic Reinforcement Learning for LLMs: A Surveycited by 195
17 more
- 2025WebDancer: Towards Autonomous Information Seeking Agencycited by 180
- 2025ReSum: Unlocking Long-Horizon Search Intelligence via Context Summarizationcited by 132
- 2025Agentic Reasoning and Tool Integration for LLMs via Reinforcement Learningcited by 107
- 2025AI Research Agents for Machine Learning: Search, Exploration, and Generalization in MLE-benchcited by 65
- 2025ML-Master: Towards AI-for-AI via Integration of Exploration and Reasoningcited by 57
- 2025MLE-STAR: Machine Learning Engineering Agent via Search and Targeted Refinementcited by 52
- 2025Scaling Agent Learning via Experience Synthesiscited by 40
- 2025MLE-Dojo: Interactive Environments for Empowering LLM Agents in Machine Learning Engineeringcited by 38
- 2025R&D-Agent: An LLM-Agent Framework Towards Autonomous Data Sciencecited by 33
- 2025ML-Agent: Reinforcing LLM Agents for Autonomous Machine Learning Engineeringcited by 26
- 2026Toward Ultra-Long-Horizon Agentic Science: Cognitive Accumulation for Machine Learning Engineeringcited by 26
- 2025The FM Agentcited by 20
- 2025Reinforcement Learning for Machine Learning Engineering Agentscited by 13
- 2025Let it Calm: Exploratory Annealed Decoding for Verifiable Reinforcement Learningcited by 9
- 2025MLE-Smith: Scaling MLE Tasks with Automated Multi-Agent Pipelinecited by 9
- 2025DISCO Balances the Scales: Adaptive Domain- and Difficulty-Aware Reinforcement Learning on Imbalanced Datacited by 6
- 2026AceGRPO: Adaptive Curriculum Enhanced Group Relative Policy Optimization for Autonomous Machine Learning Engineeringcited by 4
Built on by
Citing papers per year: 2026: 11.
11 papers.
- 2026Qwen-AgentWorld: Language World Models for General Agentscited by 22
- 2026SAGE-OPD: Selective Agent-Guided Intervention for Multi-Turn On-Policy Distillationcited by 11
- 2026Who&When Pro: Can LLMs Really Attribute Failures in AI Agents?cited by 11
- 2026Frontis-MA1: Training an AI4AI Model towards Recursive Self-Improvement in Machine Learning Engineeringcited by 7
- 2026SPADE: Self-Play in Adaptive Synthetic Executable Environmentscited by 6
- 2026Scaling Scientific Discovery Environments for Turn-Level Agentic RLcited by 2
- 2026Scaling Automatic Research Agents via World Modelscited by 1
- 2026Learning Generalizable Behaviors for Terminal Agentscited by 1
- 2026VTOS: Learning to Orchestrate Vision Tools by Co-Searching Solutions and Observerscited by 0
- 2026MEGA: Self-Evolving Agent Optimization Infrastructure via Wisdom Graphcited by 0
- 2026How Much of a Harness Does a Strong Agent Need for Autonomous ML Engineering?cited by 0
- 2026How Much of a Harness Does a Strong Agent Need for Autonomous ML Engineering?30 Sep 2026
- 2026Learning Generalizable Behaviors for Terminal Agents23 Aug 2026
- 2026SPADE: Self-Play in Adaptive Synthetic Executable Environments19 Aug 2026
- 2026Scaling Automatic Research Agents via World Models12 Aug 2026
- 2026MEGA: Self-Evolving Agent Optimization Infrastructure via Wisdom Graph11 Aug 2026
- 2026Scaling Scientific Discovery Environments for Turn-Level Agentic RL31 Jul 2026
- 2026Frontis-MA1: Training an AI4AI Model towards Recursive Self-Improvement in Machine Learning Engineering30 Jul 2026
- 2026Who&When Pro: Can LLMs Really Attribute Failures in AI Agents?10 Jul 2026
- 2026Qwen-AgentWorld: Language World Models for General Agents23 Jun 2026
- 2026VTOS: Learning to Orchestrate Vision Tools by Co-Searching Solutions and Observers17 Jun 2026
- 2026SAGE-OPD: Selective Agent-Guided Intervention for Multi-Turn On-Policy Distillation17 Jun 2026
Similar, not cited
Close in wording, no citation either way
- 2026SWE-rebench V2: Language-Agnostic SWE Task Collection at Scale
- 2026SWE-Universe: Scale Real-World Verifiable Environments to Millions
- 2026SWE-MiniSandbox: Container-Free Reinforcement Learning for Building Software Engineering Agents
- 2026Branching Policy Optimization: Sandbox-Native Language Agent Reinforcement Learning
- 2025R2E-Gym: Procedural Environments and Hybrid Verifiers for Scaling Open-Weights SWE Agents
- 2026SWE-TRACE: Optimizing Long-Horizon SWE Agents Through Rubric Process Reward Models and Heuristic Test-Time Scaling
- 2026SWE-World: Building Software Engineering Agents in Docker-Free Environments
- 2025SWE-RM: Execution-free Feedback For Software Engineering Agents