scimeatlas

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

ICLR 2024Large language models › Agents, code and mathapproach: Execution-based code verificationopen problems in this approach23 citations (OpenAlex)

University of Pennsylvania · Carnegie Mellon University · Google DeepMind · Google

Read the paperPlace an idea next to itCheck your own paper ↗

In one sentence

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?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy