Budget-Efficient Automatic Algorithm Design via Code Graph
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) have emerged as powerful tools for automatic algorithm design (AAD). However, existing pipelines remain inefficient. They operate at the granularity of full algorithms, redundantly rewriting recurring substructures and discarding low-fitness candidates that may contain valuable algorithmic features. We formalize budget-efficient automatic algorithm design, wherein the search policy maximizes realized fitness subject to limited computational cost. We propose a directed acyclic graph representation of algorithms and build a search framework that fully exploits the LLM's output. Instead of querying the LLM for full algorithms, we use it to obtain corrections: compact operators that add, replace, or remove code blocks. Each correction augments the graph, yielding new algorithms that compose with prior corrections. This graph structure decomposes algorithms into sets of corrections, enabling correction-level credit assignment that informs subsequent queries. We complement this framework with theoretical insights into the ideal balance between search depth and breadth at different budget levels. We validate our method empirically on three combinatorial optimization problems, demonstrating consistent superiority of our graph-based search over full-algorithm search at equal token budget. Finally, our experiments suggest that rich contexts help only when the LLM's prior knowledge is shallow, and can hinder performance otherwise.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 22 of its 47 references that are in the map. First posted on arXiv 11 May 2026.
Builds on
22 of 47 references.
References · 22
- 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 867
- 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 815
- 2018Consistent Individualized Feature Attribution for Tree Ensemblescited by 285
- 2024ReEvo: Large Language Models as Hyper-Heuristics with Reflective Evolutioncited by 276
- 2024Evolution of Heuristics: Towards Efficient Automatic Algorithm Design Using Large Language Modelcited by 268
- 2024ORLM: A Customizable Framework in Training Large Models for Automated Optimization Modelingcited by 124
- 2025Monte Carlo Tree Search for Comprehensive Exploration in LLM-Based Automatic Heuristic Designcited by 109
- 2024Multi-objective Evolution of Heuristic Using Large Language Modelcited by 54
- 2024What's Wrong with Your Code Generated by Large Language Models? An Extensive Studycited by 53
- 2024Autoformulation of Mathematical Optimization Models Using LLMscited by 48
- 2025Algorithm Discovery With LLMs: Evolutionary Search Meets Reinforcement Learningcited by 46
- 2024CodeTree: Agent-guided Tree Search for Code Generation with Large Language Modelscited by 34
10 more
- 2024Towards Foundation Models for Mixed Integer Linear Programmingcited by 31
- 2021Fast TreeSHAP: Accelerating SHAP Value Computation for Treescited by 29
- 2025Planning of Heuristics: Strategic Planning on Large Language Models with Monte Carlo Tree Search for Automating Heuristic Optimizationcited by 14
- 2025OptiMind: Teaching LLMs to Think Like Optimization Expertscited by 10
- 2024Exploring Combinatorial Problem Solving with Large Language Models: A Case Study on the Travelling Salesman Problem Using GPT-3.5 Turbocited by 8
- 2024Eyeballing Combinatorial Problems: A Case Study of Using Multimodal Large Language Models to Solve Traveling Salesman Problemscited by 8
- 2025EvoCut: Strengthening Integer Programs via Evolution-Guided Language Modelscited by 8
- 2025Toward a Trustworthy Optimization Modeling Agent via Verifiable Synthetic Data Generationcited by 5
- 2026TIDE: Tuning-Integrated Dynamic Evolution for LLM-Based Automated Heuristic Designcited by 3
- 2026To Diff or Not to Diff? Structure-Aware and Adaptive Output Formats for Efficient LLM-based Code Editingcited by 2
Built on by
Not cited yet.