Combining Reinforcement Learning and Optimal Transport for the Traveling Salesman Problem
Yong Liang Goh, Wee Sun Lee, Xavier Bresson, Thomas Laurent, Nicholas Lim
TL;DR
The paper addresses the challenge of solving large TSP instances by blending reinforcement learning with edge prediction in a Transformer-based encoder. By removing a learnable decoder and introducing a differentiable Sinkhorn-based optimal transport layer, the model outputs valid edge probabilities quickly while enforcing assignment constraints during training. The Sinkhorn bias yields notable gains in optimality gaps (up to a 3x improvement on TSP50) with minimal impact on inference time, and the approach scales more favorably for larger instances. This work demonstrates the practical benefits of integrating differentiable optimal transport into deep RL for combinatorial problems and highlights avenues for integrating search strategies during training and inference to scale further.
Abstract
The traveling salesman problem is a fundamental combinatorial optimization problem with strong exact algorithms. However, as problems scale up, these exact algorithms fail to provide a solution in a reasonable time. To resolve this, current works look at utilizing deep learning to construct reasonable solutions. Such efforts have been very successful, but tend to be slow and compute intensive. This paper exemplifies the integration of entropic regularized optimal transport techniques as a layer in a deep reinforcement learning network. We show that we can construct a model capable of learning without supervision and inferences significantly faster than current autoregressive approaches. We also empirically evaluate the benefits of including optimal transport algorithms within deep learning models to enforce assignment constraints during end-to-end training.
