Research map / Large language models / Agents, code and math
Learning Performance-Improving Code Edits
Alexander G Shypula, Aman Madaan, Yimeng Zeng, Uri Alon, Jacob R. Gardner, Yiming Yang, Milad Hashemi, Graham Neubig, Parthasarathy Ranganathan, Osbert Bastani, Amir Yazdanbakhsh
University of Pennsylvania · Carnegie Mellon University · Google DeepMind · Google
Read the paperPlace an idea next to itCheck your own paper ↗
Introduces a dataset of performance-improving code edits (Learning Performance-Improving Code Edits, PIE) and evaluates LLMs and fine-tuning methods for optimizing programs.
AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Problem
Optimizing program performance through high-level changes such as API and algorithm changes is hard for LLMs because it requires understanding code semantics.
Approach
Builds a dataset of pairs of slow and fast competitive-programming code edits and uses LLMs, with prompting and fine-tuning (including retrieval-augmented and instruction-tuned variants), to generate performance-improving edits.
Open problems in execution-based code verification
Can execution-based code verification be trusted beyond Python, small benchmarks and the tests it relies on?
- Evaluated on Python or one other language only. · 17 papers state it
- Only a few models were tested, and larger ones were left out. · 16 papers state it
- Passing the tests does not show the code is correct. · 15 papers state it
Closest papers by meaning
- NextCoder: Robust Adaptation of Code LMs to Diverse Code Edits (ICML 2025 · similarity 0.89)
- Afterburner: Reinforcement Learning Facilitates Self-Improving Code Efficiency Optimization (NeurIPS 2025 · similarity 0.88)
- Training Language Models on Synthetic Edit Sequences Improves Code Synthesis (ICLR 2025 · similarity 0.88)
- EffiCoder: Enhancing Code Generation in Large Language Models through Efficiency-Aware Fine-tuning (ICML 2025 · similarity 0.88)
- Simple Baselines are Competitive with Code Evolution (NeurIPS 2026 · similarity 0.88)
- CodeChemist: Test-Time Scaling for Low-Resource Code Generation via Functional Knowledge Transfer (ICML 2026 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.