Algorithmic Prompt-Augmentation for Efficient LLM-Based Heuristic Design for A* Search
Thomas B\"omer, Nico Koltermann, Max Disselnmeyer, Bastian Amberg, Anne Meyer

TL;DR
This paper presents A-CEoH, a novel prompt augmentation method leveraging LLMs and evolutionary algorithms to automate heuristic design for A* search, demonstrating superior performance in logistics and puzzle domains.
Contribution
It introduces A-CEoH, a domain-agnostic prompt augmentation strategy that enhances heuristic generation for A* search using LLMs and evolutionary frameworks.
Findings
A-CEoH significantly improves heuristic quality.
Outperforms expert-designed heuristics.
Effective in logistics and puzzle domains.
Abstract
Heuristic functions are essential to the performance of tree search algorithms such as A*, where their accuracy and efficiency directly impact search outcomes. Traditionally, such heuristics are handcrafted, requiring significant expertise. Recent advances in large language models (LLMs) and evolutionary frameworks have opened the door to automating heuristic design. In this paper, we extend the Evolution of Heuristics (EoH) framework to investigate the automated generation of guiding heuristics for A* search. We introduce a novel domain-agnostic prompt augmentation strategy that includes the A* code into the prompt to leverage in-context learning, named Algorithmic - Contextual EoH (A-CEoH). To evaluate the effectiveness of A-CeoH, we study two problem domains: the Unit-Load Pre-Marshalling Problem (UPMP), a niche problem from warehouse logistics, and the classical sliding puzzle…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsConstraint Satisfaction and Optimization · Metaheuristic Optimization Algorithms Research · Natural Language Processing Techniques
