[Paper Review] Graph Neural Network Guided Local Search for the Traveling Salesperson Problem
This paper proposes a hybrid GNN-guided local search framework for the Euclidean TSP that uses a Graph Neural Network to predict the global regret of each edge, guiding a Guided Local Search (GLS) procedure to rapidly converge to high-quality solutions. The method achieves a 2× improvement in optimality gap on 100-node TSP instances and a 7× improvement when generalizing from 20- to 100-node problems, outperforming recent learning-based approaches in solution quality and convergence speed.
Solutions to the Traveling Salesperson Problem (TSP) have practical applications to processes in transportation, logistics, and automation, yet must be computed with minimal delay to satisfy the real-time nature of the underlying tasks. However, solving large TSP instances quickly without sacrificing solution quality remains challenging for current approximate algorithms. To close this gap, we present a hybrid data-driven approach for solving the TSP based on Graph Neural Networks (GNNs) and Guided Local Search (GLS). Our model predicts the regret of including each edge of the problem graph in the solution; GLS uses these predictions in conjunction with the original problem graph to find solutions. Our experiments demonstrate that this approach converges to optimal solutions at a faster rate than three recent learning based approaches for the TSP. Notably, we reduce the mean optimality gap on the 100-node problem set from 1.534% to 0.705%, a 2x improvement. When generalizing from 20-node instances to the 100-node problem set, we reduce the optimality gap from 18.845% to 2.622%, a 7x improvement.
Motivation & Objective
- To address the challenge of rapidly computing high-quality solutions for large-scale TSP instances under real-time constraints.
- To overcome limitations of specialized exact solvers and learning-based heuristics that lack generalization or speed.
- To develop a generalizable, data-driven framework that combines GNNs with GLS for efficient combinatorial optimization.
- To improve convergence speed and solution quality compared to recent learning-based TSP solvers, especially in zero-shot generalization to larger or real-world instances.
Proposed method
- The model uses a GNN to predict the global regret of each edge in the TSP graph, defined as the cost of including the edge relative to an optimal solution.
- The GNN operates on the line graph $ L(G) $ of the TSP graph $ G $, enabling edge-centric message passing without relying on node features.
- The predicted regret values guide the GLS algorithm in iteratively improving solutions by penalizing high-regret edges and escaping local minima.
- The approach is trained in a supervised manner on regret approximations, with the GNN learning to generalize across different problem sizes and distributions.
- The method is generalizable to other routing problems, as the regret-based GLS framework can be adapted with problem-specific local search procedures.
- The framework avoids learning a full tour sequence, instead modeling solution quality through edge-level regret, preserving TSP symmetry.
Experimental results
Research questions
- RQ1Can a GNN-based regret predictor guide GLS to find high-quality TSP solutions faster than recent learning-based methods?
- RQ2How does the proposed method generalize from small TSP instances (e.g., 20 nodes) to larger ones (e.g., 100 nodes)?
- RQ3To what extent does using the line graph of the TSP problem improve model generalization and solution quality?
- RQ4Can a regret-based GLS framework outperform sequence-based learning heuristics in convergence speed and optimality?
- RQ5How does the method perform on real-world TSPLIB instances compared to synthetic, randomly generated TSP instances?
Key findings
- On 50-node TSP instances, the method reduces the mean optimality gap from 0.268% (baseline) to 0.009%, representing a 30× improvement.
- On 100-node TSP instances, the mean optimality gap is reduced from 1.534% to 0.705%, a 2× improvement over the best prior learning-based method.
- When generalizing from 20-node to 100-node instances, the mean optimality gap drops from 18.845% to 2.622%, a 7× improvement.
- The method achieves 100% optimal solution rate on 20-node instances within 10 seconds, outperforming all baselines.
- The model generalizes well to real-world TSPLIB instances, demonstrating robustness beyond synthetic data distributions.
- The use of the line graph enables edge-focused learning without node features, improving generalization and symmetry preservation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.