Reinforcement Learning for Machine Learning Engineering Agents
On the map: LLM agents and tool use → Reinforcement learning for LLM agents
Abstract (arXiv)
Existing agents for solving tasks such as ML engineering rely on prompting powerful language models. As a result, these agents do not improve with more experience. In this paper, we show that agents backed by weaker models that improve via reinforcement learning (RL) can outperform agents backed by much larger, but static models. We identify two major challenges with RL in this setting. First, actions can take a variable amount of time (e.g., executing code for different solutions), which leads to asynchronous policy gradient updates that favor faster but suboptimal solutions. To tackle variable-duration actions, we propose duration-aware gradient updates in a distributed asynchronous RL framework to amplify high-cost but high-reward actions. Second, using only test split performance as a reward provides limited feedback. A program that is nearly correct is treated the same as one that fails entirely. To address this, we propose environment instrumentation to offer partial credit, distinguishing almost-correct programs from those that fail early (e.g., during data loading). Environment instrumentation uses a separate static language model to insert print statement to an existing program to log the agent's experimental progress, from which partial credit can be extracted as reward signals for learning. Our experimental results on MLEBench suggest that performing gradient updates on a much smaller model (Qwen2.5-3B) trained with RL outperforms prompting a much larger model (Claude-3.5-Sonnet) with agent scaffolds, by an average of 22% across 12 Kaggle tasks.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Placed in Reinforcement learning for LLM agents, one of 16 directions in LLM agents and tool use. Builds on 43 of its 61 references that are in the map. First posted on arXiv 1 Sep 2025.
Builds on
43 of 61 references.
Closest ancestors · 1
Same direction, newest first
Other references · 42
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
- 2024Qwen2.5 Technical Reportcited by 4,713
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2015Trust Region Policy Optimizationcited by 2,503
- 2019Fine-Tuning Language Models from Human Preferencescited by 2,124
- 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 1,980
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,928
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
- 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 965
30 more
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 956
- 2024Generative Verifiers: Reward Modeling as Next-Token Predictioncited by 465
- 2024MLE-bench: Evaluating Machine Learning Agents on Machine Learning Engineeringcited by 429
- 2023MLAgentBench: Evaluating Language Agents on Machine Learning Experimentationcited by 339
- 2025SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolutioncited by 246
- 2024DigiRL: Training In-The-Wild Device-Control Agents with Autonomous Reinforcement Learningcited by 210
- 2025AIDE: AI-Driven Exploration in the Space of Codecited by 206
- 2024ResearchAgent: Iterative Research Idea Generation over Scientific Literature with Large Language Modelscited by 200
- 2024Generative Reward Modelscited by 148
- 2020Acme: A Research Framework for Distributed Reinforcement Learningcited by 146
- 2022Offline RL for Natural Language Generation with Implicit Language Q Learningcited by 137
- 2024Autonomous Evaluation and Refinement of Digital Agentscited by 136
- 2024What Did I Do Wrong? Quantifying LLMs' Sensitivity and Consistency to Prompt Engineeringcited by 88
- 2023AutoML-GPT: Automatic Machine Learning with GPTcited by 80
- 2025Reinforcement Learning for Reasoning in Small LLMs: What Works and What Doesn'tcited by 72
- 2015Language Understanding for Text-based Games Using Deep Reinforcement Learningcited by 70
- 2024AutoKaggle: A Multi-Agent Framework for Autonomous Data Science Competitionscited by 70
- 2023ML-Bench: Evaluating Large Language Models and Agents for Machine Learning Tasks on Repository-Level Codecited by 63
- 2024Large Language Model Agent for Hyper-Parameter Optimizationcited by 62
- 2024Code as Reward: Empowering Reinforcement Learning with VLMscited by 38
- 2022CHAI: A CHatbot AI for Task-Oriented Dialogue with Offline Reinforcement Learningcited by 33
- 2024LLM-as-a-Judge & Reward Model: What They Can and Cannot Docited by 32
- 2025MLRC-Bench: Can Language Agents Solve Machine Learning Research Challenges?cited by 27
- 2022Context-Aware Language Modeling for Goal-Oriented Dialogue Systemscited by 22
- 2024Kolb-Based Experiential Learning for Generalist Agents with Human-Level Kaggle Data Science Performancecited by 22
- 2025Exploring LLM Agents for Cleaning Tabular Machine Learning Datasetscited by 20
- 2024Large Language Models for Constructing and Optimizing Machine Learning Workflows: A Surveycited by 19
- 2025I-MCTS: Enhancing Agentic AutoML via Introspective Monte Carlo Tree Searchcited by 14
- 2017TensorFlow Agents: Efficient Batched Reinforcement Learning in TensorFlowcited by 9
- 2025HardML: A Benchmark For Evaluating Data Science And Machine Learning knowledge and reasoning in AIcited by 5
Built on by
Citing papers per year: 2025: 3; 2026: 10.
13 papers.
Sort:
By area:
- 2025The Landscape of Agentic Reinforcement Learning for LLMs: A Surveycited by 195
- 2025A Survey of Reinforcement Learning for Large Reasoning Modelscited by 175
- 2026Towards Execution-Grounded Automated AI Researchcited by 19
- 2026Synthetic Sandbox for Training Machine Learning Engineering Agentscited by 11
- 2026Frontis-MA1: Training an AI4AI Model towards Recursive Self-Improvement in Machine Learning Engineeringcited by 7
- 2026Learning to Ideate for Machine Learning Engineering Agentscited by 6
- 2026Revisiting DAgger in the Era of LLM-Agentscited by 4
- 2026Training AI Scientists to Replicate Researchcited by 4
- 2025ML-Tool-Bench: Tool-Augmented Planning for ML Taskscited by 3
- 2026PACEvolve++: Improving Test-time Learning for Evolutionary Search Agentscited by 3
- 2026Matryoshka Agent: Unfolding Sub-Agents for Long-Horizon Machine Learning Engineeringcited by 2
- 2026Reward-rate Policy Gradient for Efficient Machine Learning Engineering Agentscited by 0
1 more
- 2026MLToolBench: Learning Tool-Augmented Agents for Machine Learning Development29 Sep 2026
- 2026Reward-rate Policy Gradient for Efficient Machine Learning Engineering Agents28 Sep 2026
- 2026Training AI Scientists to Replicate Research13 Aug 2026
- 2026Frontis-MA1: Training an AI4AI Model towards Recursive Self-Improvement in Machine Learning Engineering30 Jul 2026
- 2026Matryoshka Agent: Unfolding Sub-Agents for Long-Horizon Machine Learning Engineering27 Jul 2026
- 2026Revisiting DAgger in the Era of LLM-Agents13 May 2026
- 2026PACEvolve++: Improving Test-time Learning for Evolutionary Search Agents7 May 2026
- 2026Synthetic Sandbox for Training Machine Learning Engineering Agents6 Apr 2026
- 2026Learning to Ideate for Machine Learning Engineering Agents24 Jan 2026
- 2026Towards Execution-Grounded Automated AI Research20 Jan 2026
- 2025ML-Tool-Bench: Tool-Augmented Planning for ML Tasks29 Nov 2025
- 2025A Survey of Reinforcement Learning for Large Reasoning Models10 Sep 2025
1 more
- 2025The Landscape of Agentic Reinforcement Learning for LLMs: A Surveycited by 195
- 2026Synthetic Sandbox for Training Machine Learning Engineering Agentscited by 11
- 2026Revisiting DAgger in the Era of LLM-Agentscited by 4
- 2026PACEvolve++: Improving Test-time Learning for Evolutionary Search Agentscited by 3
- 2026Reward-rate Policy Gradient for Efficient Machine Learning Engineering Agentscited by 0
- 2026Reward-rate Policy Gradient for Efficient Machine Learning Engineering Agents28 Sep 2026
- 2026Revisiting DAgger in the Era of LLM-Agents13 May 2026
- 2026PACEvolve++: Improving Test-time Learning for Evolutionary Search Agents7 May 2026
- 2026Synthetic Sandbox for Training Machine Learning Engineering Agents6 Apr 2026
- 2025The Landscape of Agentic Reinforcement Learning for LLMs: A Survey2 Sep 2025
- 2025A Survey of Reinforcement Learning for Large Reasoning Modelscited by 175
- 2026Towards Execution-Grounded Automated AI Researchcited by 19
- 2026Learning to Ideate for Machine Learning Engineering Agentscited by 6
- 2026Training AI Scientists to Replicate Researchcited by 4
- 2025ML-Tool-Bench: Tool-Augmented Planning for ML Taskscited by 3
- 2026Matryoshka Agent: Unfolding Sub-Agents for Long-Horizon Machine Learning Engineeringcited by 2
- 2026MLToolBench: Learning Tool-Augmented Agents for Machine Learning Developmentcited by 0
- 2026MLToolBench: Learning Tool-Augmented Agents for Machine Learning Development29 Sep 2026
- 2026Training AI Scientists to Replicate Research13 Aug 2026
- 2026Matryoshka Agent: Unfolding Sub-Agents for Long-Horizon Machine Learning Engineering27 Jul 2026
- 2026Learning to Ideate for Machine Learning Engineering Agents24 Jan 2026
- 2026Towards Execution-Grounded Automated AI Research20 Jan 2026
- 2025ML-Tool-Bench: Tool-Augmented Planning for ML Tasks29 Nov 2025
Similar, not cited
Close in wording, no citation either way
- 2025ML-Agent: Reinforcing LLM Agents for Autonomous Machine Learning Engineering
- 2026Beyond Static Evaluation: Building Simulation Environments for Scalable Agentic Reinforcement Learning
- 2026CodeMidas: Scaling Agentic Coding RL Environments from Code Itself
- 2025AgentFly: Extensible and Scalable Reinforcement Learning for LM Agents
- 2025Agent-RLVR: Training Software Engineering Agents via Guidance and Environment Rewards
- 2025SWE-RM: Execution-free Feedback For Software Engineering Agents
- 2026RLAnything: Forge Environment, Policy, and Reward Model in Completely Dynamic RL System
- 2025MLE-Dojo: Interactive Environments for Empowering LLM Agents in Machine Learning Engineering