Computer Science > Artificial Intelligence
Title:The Economics of LLM-Driven Program Search: What Model, Method, and Budget Achieve
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.
| Subjects: | Artificial Intelligence (cs.AI) ; Computation and Language (cs.CL); Software Engineering (cs.SE) |
|---|---|
| Cite as: | arXiv:2612.04951 [cs.AI] |
| (or arXiv:2612.04951v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2612.04951 arXiv-issued DOI via DataCite (pending registration) |
Submission history
Access Paper:
- HTML (experimental)
Additional Features
- Audio Summary
Current browse context:
References & Citations
- Google Scholar
- Semantic Scholar
BibTeX formatted citation
Bookmark
Bibliographic and Citation Tools
Code, Data and Media Associated with this Article
Demos
Recommenders and Search Tools
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.