Unsupervised Learning for Solving the Travelling Salesman Problem

Yimeng Min, Yiwei Bai, Carla P. Gomes
3/19/2023
cs.AIcs.LG

No official code found. Best implementation: yimengmin/UTSP (60 stars, last commit 2024-05-03).

Abstract

We propose UTSP, an unsupervised learning (UL) framework for solving the Travelling Salesman Problem (TSP). We train a Graph Neural Network (GNN) using a surrogate loss. The GNN outputs a heat map representing the probability for each edge to be part of the optimal path. We then apply local search to generate our final prediction based on the heat map. Our loss function consists of two parts: one pushes the model to find the shortest path and the other serves as a surrogate for the constraint that the route should form a Hamiltonian Cycle. Experimental results show that UTSP outperforms the existing data-driven TSP heuristics. Our approach is parameter efficient as well as data efficient: the model takes $\sim$ 10\% of the number of parameters and $\sim$ 0.2\% of training samples compared with reinforcement learning or supervised learning methods.

View on arXivView PDF

Code Implementations(1)

yimengmin/UTSPCommunity100%

code repo for paper Unsupervised Learning for Solving the Travelling Salesman Problem

6011C, C++Apr 9, 20232 years ago
travelling-salesman-problemtsp-problemunsupervised-learning

Similar Papers

Cite this paper

@article{min2023unsupervised,
  title  = {Unsupervised Learning for Solving the Travelling Salesman Problem},
  author = {Yimeng Min and Yiwei Bai and Carla P. Gomes},
  year   = {2023},
  eprint = {2303.10538},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.10538v2},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.10538.svg)](https://codeofpaper.com/paper/2303.10538)

Discussion