Breaking Validity-Induced Boundaries to Expand Algorithm Search Space: A Two-Stage AST-Based Operator for LLM-Driven Automated Heuristic Evolution
Sun Shengming, Shi Jialong

TL;DR
This paper introduces a two-stage AST-based operator for LLM-driven heuristic evolution, enhancing search space exploration by generating invalid variants and repairing them into high-quality heuristics, improving optimization results.
Contribution
It proposes a novel two-stage, structure-based evolutionary operator that allows exploration of invalid heuristic variants and their repair, expanding the search space beyond existing methods.
Findings
Improved optimization performance on TSP and OBP.
Faster convergence compared to state-of-the-art LLM-AHD algorithms.
Significantly enhanced search ability demonstrated through experiments.
Abstract
Large Language Model (LLM) based automated heuristic design (AHD) has shown great potential in discovering efficient heuristics. Most existing LLM-AHD frameworks use semantic evolutionary operators that rely entirely on the LLM's pre-trained knowledge. These one-stage methods strictly require the generated code to be valid during the operation and often rely on a ``thought-code'' representation. We argue that this end-to-end generation fundamentally limits the exploration ability within the algorithm search space. In this paper, we propose a two-stage, structure-based evolutionary operator for LLM-AHD. In the first stage, our approach directly performs crossover and mutation on the Abstract Syntax Trees (ASTs) of the heuristic code, intentionally generating diverse but often invalid structural variants. In the second stage, the LLM is employed to repair these invalid heuristics into…
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.
