HEATACO: Heatmap-Guided Ant Colony Decoding for Large-Scale Travelling Salesman Problems
Bo-Cheng Lin, Yi Mei, Mengjie Zhang
TL;DR
HeatACO reframes heatmap-to-tour decoding for large-scale TSP as probabilistic constrained sampling guided by a soft edge prior. By embedding the heatmap in a Max--Min Ant System and applying lightweight, instance-specific pheromone feedback, HeatACO achieves strong quality–time trade-offs with optional 2-opt/3-opt refinement on problems up to $N=10{,}000$ and across multiple heatmap predictors. The approach outperforms greedy decoding and matches or surpasses published MCTS-based decoders within practical CPU budgets, while offering robust performance when heatmaps preserve high-recall confidence bands. The study also highlights the central role of heatmap reliability and discusses calibration and distribution-shift challenges as levers for further improvements in heatmap-guided decoding. Overall, HeatACO provides a scalable, plug-and-play decoding solution that shifts computational burden toward the decoding stage and clarifies the impact of heatmap quality on real-world routing applications.
Abstract
Heatmap-based non-autoregressive solvers for large-scale Travelling Salesman Problems output dense edge-probability scores, yet final performance largely hinges on the decoder that must satisfy degree-2 constraints and form a single Hamiltonian tour. Greedy commitment can cascade into irreparable mistakes at large $N$, whereas MCTS-guided local search is accurate but compute-heavy and highly engineered. We instead treat the heatmap as a soft edge prior and cast decoding as probabilistic tour construction under feasibility constraints, where the key is to correct local mis-rankings via inexpensive global coordination. Based on this view, we introduce HeatACO, a plug-and-play Max-Min Ant System decoder whose transition policy is softly biased by the heatmap while pheromone updates provide lightweight, instance-specific feedback to resolve global conflicts; optional 2-opt/3-opt post-processing further improves tour quality. On TSP500/1K/10K, using heatmaps produced by four pretrained predictors, HeatACO+2opt achieves gaps down to 0.11%/0.23%/1.15% with seconds-to-minutes CPU decoding for fixed heatmaps, offering a better quality--time trade-off than greedy decoding and published MCTS-based decoders. Finally, we find the gains track heatmap reliability: under distribution shift, miscalibration and confidence collapse bound decoding improvements, suggesting heatmap generalisation is a primary lever for further progress.
