The Economics of LLM-Driven Program Search: What Model, Method, and Budget Achieve

LLM-driven program search has produced strong scientific and engineering results. Its outcome depends on three inputs, the model that proposes changes, the search method that selects parents, and the compute budget. Earlier works mostly vary one input at a time and use different computational cost units, tasks and scoring, so they cannot show how to divide a budget among them. We present, to our knowledge, the most thorough controlled evaluation of all three, spanning 20 tasks in six domains, seven search methods (three open evolutionary systems, four simple controls) and nine models from three families, all scored in one shared environment. Half the tasks, including popular ones, are too saturated to rank methods. On the rest, three findings emerge. First, the computational cost unit decides which method leads. Per attempt, an evolutionary system ranks first for Codex and Qwen, but these systems use up to 4.3 times the median net tokens. At equal computational cost, no evolutionary system is clearly better than Greedy and Parallel Greedy Search, two controls that build on the best program. Second, a stronger model achieves more than a better search method for Claude and Qwen, and about as much for Codex. Third, a larger compute budget gives diminishing returns. With Sonnet on three tasks, going from 1,000 to 3,000 attempts tripled the computational cost with no clear improvement. We propose Strong-First Parallel Greedy Search (SFPG), which hands each chain from a strong model to a computationally cheaper one. On held-out tasks it matches the quality of Parallel Greedy Search and the open systems at 0.16-0.70 times their computational cost in token rate units. Our evaluation protocol and its results give practitioners an order of priority (model first, a simple greedy loop second, compute budget last) and the research community a more principled basis for comparing new approaches.

Authors

Publication Details

Journal
arXiv
Published
2026-12-03
Primary Topic
Evolutionary Algorithms and Applications
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

The Economics of LLM-Driven Program Search: What Model, Method, and Budget Achieve

Raffay Hamid, Tuyen, Tran
arXiv
Evolutionary Algorithms and Applications
preprint

The Economics of LLM-Driven Program Search: What Model, Method, and Budget Achieve

Raffay Hamid, Tuyen, Tran
preprint en

Abstract

LLM-driven program search has produced strong scientific and engineering results. Its outcome depends on three inputs, the model that proposes changes, the search method that selects parents, and the compute budget. Earlier works mostly vary one input at a time and use different computational cost units, tasks and scoring, so they cannot show how to divide a budget among them. We present, to our knowledge, the most thorough controlled evaluation of all three, spanning 20 tasks in six domains, seven search methods (three open evolutionary systems, four simple controls) and nine models from three families, all scored in one shared environment. Half the tasks, including popular ones, are too saturated to rank methods. On the rest, three findings emerge. First, the computational cost unit decides which method leads. Per attempt, an evolutionary system ranks first for Codex and Qwen, but these systems use up to 4.3 times the median net tokens. At equal computational cost, no evolutionary system is clearly better than Greedy and Parallel Greedy Search, two controls that build on the best program. Second, a stronger model achieves more than a better search method for Claude and Qwen, and about as much for Codex. Third, a larger compute budget gives diminishing returns. With Sonnet on three tasks, going from 1,000 to 3,000 attempts tripled the computational cost with no clear improvement. We propose Strong-First Parallel Greedy Search (SFPG), which hands each chain from a strong model to a computationally cheaper one. On held-out tasks it matches the quality of Parallel Greedy Search and the open systems at 0.16-0.70 times their computational cost in token rate units. Our evaluation protocol and its results give practitioners an order of priority (model first, a simple greedy loop second, compute budget last) and the research community a more principled basis for comparing new approaches.

arXiv
Evolutionary Algorithms and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon