scimeatlas

Research map / Large language models / Agents, code and math

LLM Program Optimization via Retrieval Augmented Search

Sagnik Anupam, Alexander Shypula, Osbert Bastani

ACL 2026Large language models › Agents, code and mathapproach: Execution-based code verificationopen problems in this approach6 citations (OpenAlex)

University of Pennsylvania

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

12measured effects
10improved
2hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add contextual retrieval plus beam search (RAS) over dynamic retrievalQwen3-Coder · PIE (C++) testmean best speedup: 4.23 -> 8.70Improved
add contextual retrieval plus beam search (RAS) over dynamic retrievalGPT-4o · PIE (C++) testmean best speedup: 4.43 -> 8.03Improved
add contextual retrieval (LLM description) on top of search (ablation)RAS, Qwen3-Coder · PIE (C++) testmean best speedup: 4.93 -> 8.70Improved
add search over code-retrieval dynamic retrieval (ablation)Dynamic Retrieval, GPT-4o · PIE (C++) testmean best speedup: 4.43 -> 5.84Improved
add RAS-style retrieval and search over instruct-onlyGPT-4o · PIE (C++) testmean best speedup: 2.31 -> 8.03Improved
use AEGIS atomic-edit dataset instead of full RAS training pairsGPT-4o · PIE (C++) testmean best speedup: 8.03 -> 6.08Hurt
add AEGIS atomic editsGPT-4o · PIE (C++) edit sizemean edit distance: 17% smaller edit size than RAS; 30% smaller for first editImproved
add contextual retrieval to AEGIS (ablation)AEGIS, Qwen3-Coder · PIE (C++) testmean best speedup: 2.76 -> 5.37Improved
apply RAS (2 iterations)Qwen2.5-7B-Instruct · Mercury (Python) testBeyond@1: 77.58 -> 87.85Improved
add contextual retrieval (replace code retrieval) (ablation)RAS, Qwen2.5-7B-Instruct · Mercury (Python) testBeyond@1: 69.26 -> 87.85Improved
use No Contextual search instead of Instruct OnlyQwen2.5-7B-Instruct · Mercury (Python) testBeyond@1: 77.58 -> 69.26Hurt
use expert programmer system role instead of instruction prompting (ablation)GPT-4o Instruct Only · PIE (C++) testmean best speedup: 2.16 -> 2.31Improved

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