Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Machine Learning for Two-Stage Graph Sparsification for the Travelling Salesman Problem

About

High-performance TSP solvers like LKH search within a sparsified candidate graph rather than over all possible edges. Graph sparsification is non-trivial: keep too many edges and the solver wastes time; cut too many and it loses edges that belong to the optimal tour. The two leading heuristic methods, $\alpha$-Nearest and POPMUSIC, produce high-quality candidate graphs, but no single heuristic is both sparse and reliable across all instance sizes and distributions. Machine learning methods can potentially learn better sparsification models. However, existing approaches operate on the complete graph, which is expensive and mostly restricted to Euclidean distances. To address this issue, we propose a two-stage graph sparsification approach: Stage~1 takes the union of $\alpha$-Nearest and POPMUSIC to maximise recall; Stage~2 trains a single model to reduce density. We conducted experiments across four TSPLIB distance types, five spatial distributions, and problem sizes from 50 to 500. The two-stage approach substantially reduces candidate-graph density while retaining high coverage, generalises across distance types and distributions, outperforms recent neural sparsification methods that are restricted to Euclidean distances, and becomes increasingly valuable at larger scales where single-stage heuristics degrade.

Bo-Cheng Lin, Yi Mei, Mengjie Zhang• 2026

Related benchmarks

TaskDatasetResultRank
Traveling Salesman ProblemTSP-200
Optimality Gap16.4
41
Traveling Salesman ProblemTSP100
Optimality Gap (%)12.4
37
Traveling Salesman ProblemTSP-50
Gap0.2
25
TSP Graph SparsificationEUC_2D TSP50 (test)
Inference Time (wall-clock)0.075
8
TSP Graph SparsificationEUC_2D TSP100 (test)
Inference Time0.186
8
TSP Graph SparsificationEUC_2D TSP200 (test)
Inference Time (s)3.63e-4
8
TSP Graph SparsificationEUC_2D TSP500 (test)
Inference Time (per instance)1.08
8
TSP Graph SparsificationTSP500 EUC_2D uniform distribution
Edge Density (E/N)5.156
7
TSP Graph SparsificationTSP500 EUC_2D clustered distribution
Edge Density (E/N)2.198
7
TSP Graph SparsificationTSP500 EUC_2D grid_jitter distribution
Edge Density (E/N)5.077
7
Showing 10 of 16 rows

Other info

Follow for update