G-LNS: Generative Large Neighborhood Search for LLM-Based Automatic Heuristic Design
Baoyun Zhao, He Wang, Liang Zeng
TL;DR
G-LNS tackles the structural bottleneck of LLM-based automated heuristic design by enabling LLMs to write both destroy and repair operators for Large Neighborhood Search. It maintains dual operator populations and evaluates their interaction with a synergy matrix, guiding co-evolution toward complementary logic. Across TSP, CVRP, and OVRP benchmarks, G-LNS achieves near-optimal solutions with reduced compute and demonstrates strong cross-distribution generalization to standard benchmarks. By shifting from evolving fixed templates to designing problem-specific, coupled operators, G-LNS delivers substantial performance gains and practical efficiency for challenging combinatorial optimization problems.
Abstract
While Large Language Models (LLMs) have recently shown promise in Automated Heuristic Design (AHD), existing approaches typically formulate AHD around constructive priority rules or parameterized local search guidance, thereby restricting the search space to fixed heuristic forms. Such designs offer limited capacity for structural exploration, making it difficult to escape deep local optima in complex Combinatorial Optimization Problems (COPs). In this work, we propose G-LNS, a generative evolutionary framework that extends LLM-based AHD to the automated design of Large Neighborhood Search (LNS) operators. Unlike prior methods that evolve heuristics in isolation, G-LNS leverages LLMs to co-evolve tightly coupled pairs of destroy and repair operators. A cooperative evaluation mechanism explicitly captures their interaction, enabling the discovery of complementary operator logic that jointly performs effective structural disruption and reconstruction. Extensive experiments on challenging COP benchmarks, such as Traveling Salesman Problems (TSP) and Capacitated Vehicle Routing Problems (CVRP), demonstrate that G-LNS significantly outperforms LLM-based AHD methods as well as strong classical solvers. The discovered heuristics not only achieve near-optimal solutions with reduced computational budgets but also exhibit robust generalization across diverse and unseen instance distributions.
