mlsanityData to 14 Oct 2026

From Reproduction to Replication: Evaluating Research Agents with Progressive Code Masking

arXiv 2506.19724 ↗First posted 24 Jun 2025cs.AIcited by 12

On the map: LLM agents and tool use → Web, search, and research agents

Abstract (arXiv)

Recent progress in autonomous code generation has fueled excitement around AI agents capable of accelerating scientific discovery by running experiments. However, there is currently no benchmark that evaluates whether such agents can implement scientific ideas when given varied amounts of code as a starting point, interpolating between reproduction (running code) and from-scratch replication (fully re-implementing and running code). We introduce AutoExperiment, a benchmark that evaluates AI agents' ability to implement and run machine learning experiments based on natural language descriptions in research papers. In each task, agents are given a research paper, a codebase with key functions masked out, and a command to run the experiment. The goal is to generate the missing code, execute the experiment in a sandboxed environment, and reproduce the results. AutoExperiment scales in difficulty by varying the number of missing functions n, ranging from partial reproduction to full replication. We evaluate state-of-the-art agents and find that performance degrades rapidly as n increases. Agents that can dynamically interact with the environment (e.g. to debug their code) can outperform agents in fixed "agentless" harnesses, and there exists a significant gap between single-shot and multi-trial success rates (Pass@1 vs. Pass@5), motivating verifier approaches to our benchmark. Our findings highlight critical challenges in long-horizon code generation, context retrieval, and autonomous experiment execution, establishing AutoExperiment as a new benchmark for evaluating progress in AI-driven scientific experimentation. Our data and code are open-sourced at https://github.com/j1mk1m/AutoExperiment .

Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Placed in Web, search, and research agents, one of 16 directions in LLM agents and tool use. Builds on 23 of its 41 references that are in the map. First posted on arXiv 24 Jun 2025.

Builds on

23 of 41 references.

Closest ancestors · 1

Same direction, newest first

  1. 2023MLAgentBench: Evaluating Language Agents on Machine Learning Experimentation5 Oct

Other references · 22

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  2. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  3. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
  4. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  5. 2022Do As I Can, Not As I Say: Grounding Language in Robotic Affordancescited by 2,348
  6. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
  7. 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,439
  8. 2025s1: Simple test-time scalingcited by 1,341
  9. 2024The AI Scientist: Towards Fully Automated Open-Ended Scientific Discoverycited by 1,071
  10. 2021Measuring Coding Challenge Competence With APPScited by 902
  11. 2022LLM-Planner: Few-Shot Grounded Planning for Embodied Agents with Large Language Modelscited by 462
  12. 2022Selection-Inference: Exploiting Large Language Models for Interpretable Logical Reasoningcited by 334
10 more
  1. 2025PaperBench: Evaluating AI's Ability to Replicate AI Researchcited by 321
  2. 2024Chain of Agents: Large Language Models Collaborating on Long-Context Taskscited by 206
  3. 2023SciMON: Scientific Inspiration Machines Optimized for Noveltycited by 179
  4. 2023ReviewerGPT? An Exploratory Study on Using Large Language Models for Paper Reviewingcited by 122
  5. 2022Natural Language to Code Generation in Interactive Data Science Notebookscited by 87
  6. 2024Beyond the Limits: A Survey of Techniques to Extend the Context Length in Large Language Modelscited by 76
  7. 2024TroVE: Inducing Verifiable and Efficient Toolboxes for Solving Programmatic Taskscited by 75
  8. 2023Large Language Models are Zero Shot Hypothesis Proposerscited by 45
  9. 2024AI-Driven Review Systems: Evaluating LLMs in Scalable and Bias-Aware Academic Reviewscited by 44
  10. 2017Sustainable computational science: the ReScience initiativecited by 10

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 12.

12 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026AI Coding Agents Can Reproduce Social Science Findings
  2. 2026A case study of evaluating AI agents on a neuroscience data-to-discovery pipeline
  3. 2026Autonomous Research Agents: A Survey of AI Scientists and the Verification Gap
  4. 2026ResearchClawBench: A Benchmark for End-to-End Autonomous Scientific Research
  5. 2026SciNav: A General Agent Framework for Scientific Coding Tasks
  6. 2026The Agentic Scientist: Orchestrating Coding Agents for Automated Scientific (Co-)Discovery
  7. 2026Applying an Agentic Coding Tool for Improving Published Algorithm Implementations
  8. 2025RExBench: Can coding agents autonomously implement AI research extensions?