mlsanityData to 7 Oct 2026

ML-Bench: Evaluating Large Language Models and Agents for Machine Learning Tasks on Repository-Level Code

arXiv 2311.09835 ↗First posted 16 Nov 2023cs.CL cs.AIcited by 63

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Despite Large Language Models (LLMs) like GPT-4 achieving impressive results in function-level code generation, they struggle with repository-scale code understanding (e.g., coming up with the right arguments for calling routines), requiring a deeper comprehension of complex file interactions. Also, recently, people have developed LLM agents that attempt to interact with repository code (e.g., compiling and evaluating its execution), prompting the need to evaluate their performance. These gaps have motivated our development of ML-Bench, a benchmark rooted in real-world programming applications that leverage existing code repositories to perform tasks. Addressing the need for LLMs to interpret long code contexts and translate instructions into precise, executable scripts, ML-Bench encompasses annotated 9,641 examples across 18 GitHub repositories, challenging LLMs to accommodate user-specified arguments and documentation intricacies effectively. To evaluate both LLMs and AI agents, two setups are employed: ML-LLM-Bench for assessing LLMs' text-to-code conversion within a predefined deployment environment, and ML-Agent-Bench for testing autonomous agents in an end-to-end task execution within a Linux sandbox environment. Our findings indicate that while GPT-4o leads with a Pass@5 rate surpassing 50%, there remains significant scope for improvement, highlighted by issues such as hallucinated outputs and difficulties with bash script generation. Notably, in the more demanding ML-Agent-Bench, GPT-4o achieves a 76.47% success rate, reflecting the efficacy of iterative action and feedback in complex task resolution. Our code, dataset, and models are available at https://github.com/gersteinlab/ML-bench.

Key facts. Cited by 63 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 16 of its 25 references that are in the map. First posted on arXiv 16 Nov 2023.

Builds on

16 of 25 references.

References · 16

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  3. 2021Program Synthesis with Large Language Modelscited by 3,509
  4. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  5. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  6. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  7. 2021Measuring Coding Challenge Competence With APPScited by 879
  8. 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 442
  9. 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 357
  10. 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 346
  11. 2023MLAgentBench: Evaluating Language Agents on Machine Learning Experimentationcited by 339
  12. 2023CodeT5+: Open Code Large Language Models for Code Understanding and Generationcited by 327
4 more
  1. 2022MultiPL-E: A Scalable and Extensible Approach to Benchmarking Neural Code Generationcited by 132
  2. 2023Agents: An Open-source Framework for Autonomous Language Agentscited by 116
  3. 2022PanGu-Coder: Program Synthesis with Function-Level Language Modelingcited by 47
  4. 2023Measuring The Impact Of Programming Language Distributioncited by 32

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 15; 2025: 31; 2026: 16.

63 papers.

Sort:

By area:

  1. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 956
  2. 2024MLE-bench: Evaluating Machine Learning Agents on Machine Learning Engineeringcited by 429
  3. 2024ScienceAgentBench: Toward Rigorous Assessment of Language Agents for Data-Driven Scientific Discoverycited by 208
  4. 2025Deep Research Agents: A Systematic Examination And Roadmapcited by 122
  5. 2024DSBench: How Far Are Data Science Agents from Becoming Data Science Experts?cited by 119
  6. 2025MLGym: A New Framework and Benchmark for Advancing AI Research Agentscited by 111
  7. 2025BixBench: a Comprehensive Benchmark for LLM-based Agents in Computational Biologycited by 75
  8. 2024AutoKaggle: A Multi-Agent Framework for Autonomous Data Science Competitionscited by 70
  9. 2025Paper2Code: Automating Code Generation from Scientific Papers in Machine Learningcited by 67
  10. 2025LLM Agents for Education: Advances and Applicationscited by 59
  11. 2025LLM Agents Making Agent Toolscited by 45
  12. 2025SciReplicate-Bench: Benchmarking LLMs in Agent-driven Algorithmic Reproduction from Research Paperscited by 42
38 more
  1. 2025EnvBench: A Benchmark for Automated Environment Setupcited by 36
  2. 2024Efficient Tool Use with Chain-of-Abstraction Reasoningcited by 33
  3. 2026AIRS-Bench: a Suite of Tasks for Frontier AI Research Science Agentscited by 32
  4. 2025KramaBench: A Benchmark for AI Systems on Data-to-Insight Pipelines over Data Lakescited by 30
  5. 2025GitTaskBench: A Benchmark for Code Agents Solving Real-World Tasks Through Code Repository Leveragingcited by 25
  6. 2024AAAR-1.0: Assessing AI's Potential to Assist Researchcited by 24
  7. 2024Kolb-Based Experiential Learning for Generalist Agents with Human-Level Kaggle Data Science Performancecited by 22
  8. 2025MedAgentGym: A Scalable Agentic Training Environment for Code-Centric Reasoning in Biomedical Data Sciencecited by 22
  9. 2025Large Language Model-based Data Science Agent: A Surveycited by 22
  10. 2024CodePori: Large-Scale System for Autonomous Software Development Using Multi-Agent Technologycited by 21
  11. 2024BudgetMLAgent: A Cost-Effective LLM Multi-Agent system for Automating Machine Learning Taskscited by 19
  12. 2025RepoMaster: Autonomous Exploration and Understanding of GitHub Repositories for Complex Task Solvingcited by 19
  13. 2025InnovatorBench: Evaluating Agents' Ability to Conduct Innovative LLM Researchcited by 18
  14. 2024AIGS: Generating Science from AI-Powered Automated Falsificationcited by 17
  15. 2025ML-Dev-Bench: Comparative Analysis of AI Agents on ML development workflowscited by 16
  16. 2025TimeSeriesGym: A Scalable Benchmark for (Time Series) Machine Learning Engineering Agentscited by 14
  17. 2025The Measurement Imbalance in Agentic AI Evaluation Undermines Industry Productivity Claimscited by 13
  18. 2025Reinforcement Learning for Machine Learning Engineering Agentscited by 13
  19. 2025Evolutionary Perspectives on the Evaluation of LLM-Based AI Agents: A Comprehensive Surveycited by 12
  20. 2025Software Development Life Cycle Perspective: A Survey of Benchmarks for Code Large Language Models and Agentscited by 11
  21. 2025EvaLearn: Quantifying the Learning Capability and Efficiency of LLMs via Sequential Problem Solvingcited by 10
  22. 2026AI4AI-Bench: Benchmarking LLM Agents in Algorithmic Design for Recursive Self-Improvementcited by 10
  23. 2024Exploring the Limitations of Large Language Models in Compositional Relation Reasoningcited by 9
  24. 2024LLM vs. Lawyers: Identifying a Subset of Summary Judgments in a Large UK Case Law Datasetcited by 8
  25. 2025LLM-REVal: Can We Trust LLM Reviewers Yet?cited by 8
  26. 2023Enhancing Open-Domain Task-Solving Capability of LLMs via Autonomous Tool Integration from GitHubcited by 7
  27. 2025SPIO: Ensemble and Selective Strategies via LLM-Based Multi-Agent Planning in Automated Data Sciencecited by 7
  28. 2025OSS-Bench: Benchmark Generator for Coding LLMscited by 6
  29. 2024From Linguistic Giants to Sensory Maestros: A Survey on Cross-Modal Reasoning with Large Language Modelscited by 4
  30. 2025From Standalone LLMs to Integrated Intelligence: A Survey of Compound Al Systemscited by 4
  31. 2025Gistify! Codebase-Level Understanding via Runtime Executioncited by 4
  32. 2025Agint: Agentic Graph Compilation for Software Engineering Agentscited by 4
  33. 2026FormulaCode: Evaluating Agentic Optimization on Large Codebasescited by 4
  34. 2026PDEAgent-Bench: A Multi-Metric, Multi-Library Benchmark for PDE Solver Generationcited by 4
  35. 2026DeltaML-Bench: Evaluating Machine Learning Agents on Real-World Research Repositoriescited by 4
  36. 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Qualitycited by 3
  37. 2025Code2Bench: Scaling Source and Rigor for Dynamic Benchmark Constructioncited by 3
  38. 2025ReX-MLE: The Autonomous Agent Benchmark for Medical Imaging Challengescited by 3

50 most cited of 63 All 63 (JSON)

Similar, not cited

Close in wording, no citation either way

  1. 2025LMR-BENCH: Evaluating LLM Agent's Ability on Reproducing Language Modeling Research
  2. 2025DataSciBench: An LLM Agent Benchmark for Data Science
  3. 2025MRG-Bench: Evaluating and Exploring the Requirements of Context for Repository-Level Code Generation
  4. 2024Large Language Model Evaluation Via Multi AI Agents: Preliminary results
  5. 2025CSR-Bench: Benchmarking LLM Agents in Deployment of Computer Science Research Repositories
  6. 2025CodeJudgeBench: Benchmarking LLM-as-a-Judge for Coding Tasks
  7. 2026Narrowing the Complexity Gap in the Evaluation of Large Language Models ↗
  8. 2025Automatically Benchmarking LLM Code Agents through Agent-Driven Annotation and Evaluation