AlgoTune: Can Language Models Speed Up General-Purpose Numerical Programs?
Not on the map. Why?
Abstract (arXiv)
Despite progress in language model (LM) capabilities, evaluations have thus far focused on models' performance on tasks that humans have previously solved, including in programming (Jimenez et al., 2024) and mathematics (Glazer et al., 2024). We therefore propose testing models' ability to design and implement algorithms in an open-ended benchmark: We task LMs with writing code that efficiently solves computationally challenging problems in computer science, physics, and mathematics. Our AlgoTune benchmark consists of 154 coding tasks collected from domain experts and a framework for validating and timing LM-synthesized solution code, which is compared to reference implementations from popular open-source packages. In addition, we develop a baseline LM agent, AlgoTuner, and evaluate its performance across a suite of frontier models. AlgoTuner uses a simple, budgeted loop that edits code, compiles and runs it, profiles performance, verifies correctness on tests, and selects the fastest valid version. AlgoTuner achieves an average 1.72x speedup against our reference solvers, which use libraries such as SciPy, sk-learn and CVXPY. However, we find that current models fail to discover algorithmic innovations, instead preferring surface-level optimizations. We hope that AlgoTune catalyzes the development of LM agents exhibiting creative problem solving beyond state-of-the-art human performance.
Key facts. Cited by 27 papers in the map (data through 14 Oct 2026). Builds on 45 of its 102 references that are in the map. First posted on arXiv 19 Jul 2025.
Builds on
45 of 102 references.
References · 45
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
- 2016Concrete Problems in AI Safetycited by 1,642
- 2022Competition-Level Code Generation with AlphaCodecited by 1,462
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
- 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,075
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 885
33 more
- 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 867
- 2023StarCoder: may the source be with you!cited by 799
- 2016CVXPY: A Python-Embedded Modeling Language for Convex Optimizationcited by 641
- 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 498
- 2024MLE-bench: Evaluating Machine Learning Agents on Machine Learning Engineeringcited by 469
- 2025HealthBench: Evaluating Large Language Models Towards Improved Human Healthcited by 429
- 2022On Neural Differential Equationscited by 268
- 2024FrontierMath: A Benchmark for Evaluating Advanced Mathematical Reasoning in AIcited by 243
- 2024ScienceAgentBench: Toward Rigorous Assessment of Language Agents for Data-Driven Scientific Discoverycited by 235
- 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 225
- 2017A Survey of Machine Learning for Big Code and Naturalnesscited by 221
- 2017A Rewriting System for Convex Optimization Problemscited by 179
- 2024SciCode: A Research Coding Benchmark Curated by Scientistscited by 178
- 2024Generalization or Memorization: Data Contamination and Trustworthy Evaluation for Large Language Modelscited by 122
- 2023Learning Performance-Improving Code Editscited by 106
- 2015Parallelizing the dual revised simplex methodcited by 89
- 2023NPHardEval: Dynamic Benchmark on Reasoning Ability of Large Language Models via Complexity Classescited by 79
- 2024EffiBench: Benchmarking the Efficiency of Automatically Generated Codecited by 64
- 2024GraphArena: Evaluating and Exploring Large Language Models on Graph Computationcited by 49
- 2024A Performance Study of LLM-Generated Code on Leetcodecited by 49
- 2024How Efficient is LLM-Generated Code? A Rigorous & High-Standard Benchmarkcited by 43
- 2024LeDex: Training LLMs to Better Self-Debug and Explain Codecited by 40
- 2024Meta Large Language Model Compiler: Foundation Models of Compiler Optimizationcited by 39
- 2025ALE-Bench: A Benchmark for Long-Horizon Objective-Driven Algorithm Engineeringcited by 39
- 2024Mercury: A Code Efficiency Benchmark for Code Large Language Modelscited by 35
- 2025CO-Bench: Benchmarking Language Model Agents in Algorithm Search for Combinatorial Optimizationcited by 29
- 2024ECCO: Can We Improve Model-Generated Code Efficiency Without Sacrificing Functional Correctness?cited by 27
- 2025GSO: Challenging Software Optimization Tasks for Evaluating SWE-Agentscited by 25
- 2019Stateful Dataflow Multigraphs: A Data-Centric Model for Performance Portability on Heterogeneous Architecturescited by 21
- 2025HeuriGym: An Agentic Benchmark for LLM-Crafted Heuristics in Combinatorial Optimizationcited by 21
- 2025ML-Dev-Bench: Comparative Analysis of AI Agents on ML development workflowscited by 17
- 2024Don't Transform the Code, Code the Transforms: Towards Precise Code Rewriting using LLMscited by 8
- 2024Finding Missed Code Size Optimizations in Compilers using LLMscited by 5
Built on by
Citing papers per year: 2025: 5; 2026: 22.
27 papers.
Sort:
By area:
- 2026PostTrainBench: Can LLM Agents Automate LLM Post-Training?cited by 64
- 2025Barbarians at the Gate: How AI is Upending Systems Researchcited by 54
- 2026DeltaEvolve: Accelerating Scientific Discovery through Momentum-Driven Evolutioncited by 26
- 2026Toward Generalist Autonomous Research via Hypothesis-Tree Refinementcited by 22
- 2025SWE-fficiency: Can Language Models Optimize Real-World Repositories on Real Workloads?cited by 21
- 2026Structured Scaling of AI Discovery Across Diverse Scientific Domainscited by 21
- 2026MLS-Bench: A Holistic and Rigorous Assessment of AI Systems on Building Better AIcited by 17
- 2025Glia: A Human-Inspired AI for Automated Systems Design and Optimizationcited by 16
- 2025AgenticSciML: Collaborative Multi-Agent Systems for Emergent Discovery in Scientific Machine Learningcited by 14
- 2026SWE-Milestone: Evaluating AI Agents on Continuous Software Evolutioncited by 8
- 2026Understanding the Challenges in Iterative Generative Optimization with LLMscited by 8
- 2026SWE Atlas: Benchmarking Coding Agents Beyond Issue Resolutioncited by 6
15 more
- 2026Evolution Fine-Tuning: Learning to Discover Across 371 Optimization Taskscited by 6
- 2026InferenceBench: A Benchmark for Open-Ended LLM Inference Optimization by AI Agentscited by 5
- 2026PerfAgent: Profiler-Guided Iterative Refinement for Repository-Level Code Optimizationcited by 3
- 2025Let the Barbarians In: How AI Can Accelerate Systems Performance Researchcited by 2
- 2026SMCEvolve: Principled Scientific Discovery via Sequential Monte Carlo Evolutioncited by 2
- 2026Matryoshka Agent: Unfolding Sub-Agents for Long-Horizon Machine Learning Engineeringcited by 2
- 2026Are Performance-Optimization Benchmarks Reliably Measuring Coding Agents?cited by 1
- 2026Agentic Neural Architecture Searchcited by 1
- 2026ParEVO: Synthesizing Code for Irregular Data: High-Performance Parallelism through Agentic Evolutioncited by 0
- 2026SemRep: Generative Code Representation Learning with Code Transformationscited by 0
- 2026RL4RLA: Teaching ML to Discover Randomized Linear Algebra Algorithms Through Curriculum Design and Graph-Based Searchcited by 0
- 2026Algorithmic algorithm development with LLMs: A Case Study on LLM-Usage for Contraction Order Optimization in Tensor Networkscited by 0
- 2026Post-training is (Massive) Supervised Learningcited by 0
- 2026Is manual software optimization a thing of the past?cited by 0
- 2026Learning What to Investigate Next: Meta-Reasoning for Long-Horizon Research Agentscited by 0
- 2026Learning What to Investigate Next: Meta-Reasoning for Long-Horizon Research Agents1 Oct 2026
- 2026Is manual software optimization a thing of the past?29 Sep 2026
- 2026Matryoshka Agent: Unfolding Sub-Agents for Long-Horizon Machine Learning Engineering27 Jul 2026
- 2026PerfAgent: Profiler-Guided Iterative Refinement for Repository-Level Code Optimization22 Jul 2026
- 2026Agentic Neural Architecture Search8 Jul 2026
- 2026Are Performance-Optimization Benchmarks Reliably Measuring Coding Agents?1 Jul 2026
- 2026Evolution Fine-Tuning: Learning to Discover Across 371 Optimization Tasks27 Jun 2026
- 2026Toward Generalist Autonomous Research via Hypothesis-Tree Refinement10 Jun 2026
- 2026Algorithmic algorithm development with LLMs: A Case Study on LLM-Usage for Contraction Order Optimization in Tensor Networks1 Jun 2026
- 2026InferenceBench: A Benchmark for Open-Ended LLM Inference Optimization by AI Agents20 May 2026
- 2026RL4RLA: Teaching ML to Discover Randomized Linear Algebra Algorithms Through Curriculum Design and Graph-Based Search18 May 2026
- 2026SMCEvolve: Principled Scientific Discovery via Sequential Monte Carlo Evolution14 May 2026
15 more
- 2026MLS-Bench: A Holistic and Rigorous Assessment of AI Systems on Building Better AI9 May 2026
- 2026SWE Atlas: Benchmarking Coding Agents Beyond Issue Resolution8 May 2026
- 2026Structured Scaling of AI Discovery Across Diverse Scientific Domains21 Apr 2026
- 2026Post-training is (Massive) Supervised Learning20 Apr 2026
- 2026Understanding the Challenges in Iterative Generative Optimization with LLMs25 Mar 2026
- 2026SemRep: Generative Code Representation Learning with Code Transformations13 Mar 2026
- 2026SWE-Milestone: Evaluating AI Agents on Continuous Software Evolution13 Mar 2026
- 2026PostTrainBench: Can LLM Agents Automate LLM Post-Training?9 Mar 2026
- 2026ParEVO: Synthesizing Code for Irregular Data: High-Performance Parallelism through Agentic Evolution3 Mar 2026
- 2026DeltaEvolve: Accelerating Scientific Discovery through Momentum-Driven Evolution2 Feb 2026
- 2025Let the Barbarians In: How AI Can Accelerate Systems Performance Research16 Dec 2025
- 2025AgenticSciML: Collaborative Multi-Agent Systems for Emergent Discovery in Scientific Machine Learning10 Nov 2025
- 2025SWE-fficiency: Can Language Models Optimize Real-World Repositories on Real Workloads?8 Nov 2025
- 2025Glia: A Human-Inspired AI for Automated Systems Design and Optimization31 Oct 2025
- 2025Barbarians at the Gate: How AI is Upending Systems Research7 Oct 2025
- 2026SWE Atlas: Benchmarking Coding Agents Beyond Issue Resolutioncited by 6
- 2026InferenceBench: A Benchmark for Open-Ended LLM Inference Optimization by AI Agentscited by 5
- 2026Are Performance-Optimization Benchmarks Reliably Measuring Coding Agents?cited by 1
- 2026Agentic Neural Architecture Searchcited by 1
- 2026ParEVO: Synthesizing Code for Irregular Data: High-Performance Parallelism through Agentic Evolutioncited by 0
- 2026Learning What to Investigate Next: Meta-Reasoning for Long-Horizon Research Agentscited by 0
- 2026Learning What to Investigate Next: Meta-Reasoning for Long-Horizon Research Agents1 Oct 2026
- 2026Agentic Neural Architecture Search8 Jul 2026
- 2026Are Performance-Optimization Benchmarks Reliably Measuring Coding Agents?1 Jul 2026
- 2026InferenceBench: A Benchmark for Open-Ended LLM Inference Optimization by AI Agents20 May 2026
- 2026SWE Atlas: Benchmarking Coding Agents Beyond Issue Resolution8 May 2026
- 2026ParEVO: Synthesizing Code for Irregular Data: High-Performance Parallelism through Agentic Evolution3 Mar 2026
- 2026PostTrainBench: Can LLM Agents Automate LLM Post-Training?cited by 64
- 2025Barbarians at the Gate: How AI is Upending Systems Researchcited by 54
- 2026DeltaEvolve: Accelerating Scientific Discovery through Momentum-Driven Evolutioncited by 26
- 2026Toward Generalist Autonomous Research via Hypothesis-Tree Refinementcited by 22
- 2025SWE-fficiency: Can Language Models Optimize Real-World Repositories on Real Workloads?cited by 21
- 2026Structured Scaling of AI Discovery Across Diverse Scientific Domainscited by 21
- 2026MLS-Bench: A Holistic and Rigorous Assessment of AI Systems on Building Better AIcited by 17
- 2025Glia: A Human-Inspired AI for Automated Systems Design and Optimizationcited by 16
- 2025AgenticSciML: Collaborative Multi-Agent Systems for Emergent Discovery in Scientific Machine Learningcited by 14
- 2026SWE-Milestone: Evaluating AI Agents on Continuous Software Evolutioncited by 8
- 2026Understanding the Challenges in Iterative Generative Optimization with LLMscited by 8
- 2026Evolution Fine-Tuning: Learning to Discover Across 371 Optimization Taskscited by 6
- 2026PerfAgent: Profiler-Guided Iterative Refinement for Repository-Level Code Optimizationcited by 3
12 most cited of 20 All 20 (JSON)
- 2026Is manual software optimization a thing of the past?29 Sep 2026
- 2026Matryoshka Agent: Unfolding Sub-Agents for Long-Horizon Machine Learning Engineering27 Jul 2026
- 2026PerfAgent: Profiler-Guided Iterative Refinement for Repository-Level Code Optimization22 Jul 2026
- 2026Evolution Fine-Tuning: Learning to Discover Across 371 Optimization Tasks27 Jun 2026
- 2026Toward Generalist Autonomous Research via Hypothesis-Tree Refinement10 Jun 2026
- 2026Algorithmic algorithm development with LLMs: A Case Study on LLM-Usage for Contraction Order Optimization in Tensor Networks1 Jun 2026
- 2026RL4RLA: Teaching ML to Discover Randomized Linear Algebra Algorithms Through Curriculum Design and Graph-Based Search18 May 2026
- 2026SMCEvolve: Principled Scientific Discovery via Sequential Monte Carlo Evolution14 May 2026
- 2026MLS-Bench: A Holistic and Rigorous Assessment of AI Systems on Building Better AI9 May 2026
- 2026Structured Scaling of AI Discovery Across Diverse Scientific Domains21 Apr 2026
- 2026Post-training is (Massive) Supervised Learning20 Apr 2026
- 2026Understanding the Challenges in Iterative Generative Optimization with LLMs25 Mar 2026
12 newest of 20 All 20 (JSON)