mlsanityData to 7 Oct 2026

Reinforcement Learning for Machine Learning Engineering Agents

arXiv 2509.01684 ↗First posted 1 Sep 2025cs.LG cs.AIcited by 13

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

  1. 2025Process Reward Models for LLM Agents: Practical Framework and Directions14 Feb

Other references · 42

  1. 2022Training language models to follow instructions with human feedbackcited by 15,712
  2. 2017Proximal Policy Optimization Algorithmscited by 14,441
  3. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  4. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
  5. 2024Qwen2.5 Technical Reportcited by 4,713
  6. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  7. 2015Trust Region Policy Optimizationcited by 2,503
  8. 2019Fine-Tuning Language Models from Human Preferencescited by 2,124
  9. 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 1,980
  10. 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,928
  11. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
  12. 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 965
30 more
  1. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 956
  2. 2024Generative Verifiers: Reward Modeling as Next-Token Predictioncited by 465
  3. 2024MLE-bench: Evaluating Machine Learning Agents on Machine Learning Engineeringcited by 429
  4. 2023MLAgentBench: Evaluating Language Agents on Machine Learning Experimentationcited by 339
  5. 2025SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolutioncited by 246
  6. 2024DigiRL: Training In-The-Wild Device-Control Agents with Autonomous Reinforcement Learningcited by 210
  7. 2025AIDE: AI-Driven Exploration in the Space of Codecited by 206
  8. 2024ResearchAgent: Iterative Research Idea Generation over Scientific Literature with Large Language Modelscited by 200
  9. 2024Generative Reward Modelscited by 148
  10. 2020Acme: A Research Framework for Distributed Reinforcement Learningcited by 146
  11. 2022Offline RL for Natural Language Generation with Implicit Language Q Learningcited by 137
  12. 2024Autonomous Evaluation and Refinement of Digital Agentscited by 136
  13. 2024What Did I Do Wrong? Quantifying LLMs' Sensitivity and Consistency to Prompt Engineeringcited by 88
  14. 2023AutoML-GPT: Automatic Machine Learning with GPTcited by 80
  15. 2025Reinforcement Learning for Reasoning in Small LLMs: What Works and What Doesn'tcited by 72
  16. 2015Language Understanding for Text-based Games Using Deep Reinforcement Learningcited by 70
  17. 2024AutoKaggle: A Multi-Agent Framework for Autonomous Data Science Competitionscited by 70
  18. 2023ML-Bench: Evaluating Large Language Models and Agents for Machine Learning Tasks on Repository-Level Codecited by 63
  19. 2024Large Language Model Agent for Hyper-Parameter Optimizationcited by 62
  20. 2024Code as Reward: Empowering Reinforcement Learning with VLMscited by 38
  21. 2022CHAI: A CHatbot AI for Task-Oriented Dialogue with Offline Reinforcement Learningcited by 33
  22. 2024LLM-as-a-Judge & Reward Model: What They Can and Cannot Docited by 32
  23. 2025MLRC-Bench: Can Language Agents Solve Machine Learning Research Challenges?cited by 27
  24. 2022Context-Aware Language Modeling for Goal-Oriented Dialogue Systemscited by 22
  25. 2024Kolb-Based Experiential Learning for Generalist Agents with Human-Level Kaggle Data Science Performancecited by 22
  26. 2025Exploring LLM Agents for Cleaning Tabular Machine Learning Datasetscited by 20
  27. 2024Large Language Models for Constructing and Optimizing Machine Learning Workflows: A Surveycited by 19
  28. 2025I-MCTS: Enhancing Agentic AutoML via Introspective Monte Carlo Tree Searchcited by 14
  29. 2017TensorFlow Agents: Efficient Batched Reinforcement Learning in TensorFlowcited by 9
  30. 2025HardML: A Benchmark For Evaluating Data Science And Machine Learning knowledge and reasoning in AIcited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 3; 2026: 10.

13 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2025ML-Agent: Reinforcing LLM Agents for Autonomous Machine Learning Engineering
  2. 2026Beyond Static Evaluation: Building Simulation Environments for Scalable Agentic Reinforcement Learning
  3. 2026CodeMidas: Scaling Agentic Coding RL Environments from Code Itself
  4. 2025AgentFly: Extensible and Scalable Reinforcement Learning for LM Agents
  5. 2025Agent-RLVR: Training Software Engineering Agents via Guidance and Environment Rewards
  6. 2025SWE-RM: Execution-free Feedback For Software Engineering Agents
  7. 2026RLAnything: Forge Environment, Policy, and Reward Model in Completely Dynamic RL System
  8. 2025MLE-Dojo: Interactive Environments for Empowering LLM Agents in Machine Learning Engineering