G-LNS: Generative Large Neighborhood Search for LLM-Based Automatic Heuristic Design
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Capacitated Vehicle Routing Problem | CVRPLib Set X | Average Optimality Gap11.2 | 111 | |
| Capacitated Vehicle Routing Problem | CVRP N=20 10,000 instances (test) | Objective Value4.707 | 26 | |
| Traveling Salesman Problem | TSPLIB | -- | 11 | |
| Capacitated Vehicle Routing Problem | CVRP 100 nodes capacity 50 (held-out instances) | Gap (%)0.00e+0 | 10 | |
| Capacitated Vehicle Routing Problem | CVRP 200 nodes capacity 50 (held-out instances) | Gap0.00e+0 | 10 | |
| Capacitated Vehicle Routing Problem | CVRP 10 nodes capacity 50 (held-out instances) | Gap1.44 | 10 | |
| Capacitated Vehicle Routing Problem | CVRP 50 nodes capacity 50 (held-out instances) | Gap1.29 | 10 | |
| Traveling Salesman Problem | TSP 20 nodes (held-out instances) | Optimality Gap0.01 | 10 | |
| Traveling Salesman Problem | TSP 50 nodes (held-out instances) | Optimality Gap0.37 | 10 | |
| Traveling Salesman Problem | TSP 100 nodes (held-out instances) | Optimality Gap1.1 | 10 |