Budget-Efficient Automatic Algorithm Design via Code Graph
Operations Research Center(运筹学研究中心);Department of Civil and Environmental Engineering(土木与环境工程系);University of California, Berkeley(加州大学伯克利分校);Laboratory for Information & Decision Systems(信息与决策系统实验室)
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.
How Should a Prompt Optimizer Spend a Tight Budget? BudgetAPO with Noise-Adaptive Evaluation
School of Science and Engineering, The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳)理工学院);Shenzhen Future Network of Intelligence Institute (FNii-Shenzhen)(深圳市未来智联网络研究院);Guangdong Provincial Key Laboratory of Future Networks of Intelligence, CUHK(SZ)(广东省未来智联网络重点实验室(香港中文大学(深圳)))
LAVa: Layer-wise KV Cache Eviction with Dynamic Budget Allocation
State Key Laboratory for Novel Software Technology, Nanjing University(新型软件技术国家重点实验室,南京大学);School of Artificial Intelligence, Nanjing University(人工智能学院,南京大学);Stepfun
irace-evo: Automatic Algorithm Configuration Extended With LLM-Based Code Evolution
Catalan Institute of Nanoscience and Nanotechnology (ICN2), CSIC and BIST(加泰罗尼亚纳米科学与纳米技术研究所(ICN2)、西班牙国家科研学院(CSIC)和巴塞罗那技术研究所(BIST));Artificial Intelligence Research Institute (IIIA-CSIC)(人工智能研究所(IIIA-CSIC))
OmniQEC: discovering practical quantum error-correcting codes by an AI scientist
College of Computing and Data Science, Nanyang Technological University(南洋理工大学计算与数据科学学院);Tokyo University of Agriculture and Technology(东京农工大学);Zhejiang University of Technology(浙江工业大学);City University of Hong Kong(香港城市大学);Hon Hai (Foxconn) Research Institute(鸿海研究院);School of Physical and Mathematical Science, Nanyang Technological University(南洋理工大学物理与数学科学学院)
Automatic Programming: Large Language Models and Beyond
Chinese University of Hong Kong(香港中文大学);Columbia University(哥伦比亚大学);National University of Singapore(新加坡国立大学);Concordia University(康考迪亚大学);University of Melbourne(墨尔本大学)
One Policy, Any Budget: Internalizing Budget-Aware Search via Reinforcement Learning
College of Computer Science and Artificial Intelligence, Fudan University(复旦大学计算机与人工智能学院);College of Software Engineering, Southeast University(东南大学软件学院);School of Artificial Intelligence, Shanghai Jiao Tong University(上海交通大学人工智能学院)