[Paper Review] Combining Reinforcement Learning and Optimal Transport for the Traveling Salesman Problem
This paper proposes a reinforcement learning model for the traveling salesman problem (TSP) that replaces autoregressive decoding with differentiable optimal transport to directly predict edge probabilities, achieving faster inference and improved solution quality. By integrating entropic regularized optimal transport as a differentiable layer, the model enforces assignment constraints without a learnable decoder, reducing training time by nearly 50% and cutting GPU memory use by 10% while improving optimality gaps by 3-fold on TSP50.
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.
Motivation & Objective
- To address the computational inefficiency of autoregressive deep learning models for TSP that rely on slow, memory-intensive decoders.
- To improve solution quality in reinforcement learning-based TSP solvers by enforcing assignment constraints during end-to-end training.
- To accelerate training and inference by eliminating the need for a learnable decoder module.
- To evaluate the impact of integrating differentiable optimal transport as a differentiable layer in a transformer-based architecture.
- To enable faster search strategies and scalability to larger TSP instances by decoupling edge probability prediction from sequential decoding.
Proposed method
- The model uses a multi-head transformer encoder to process city coordinates and produce a latent representation.
- Edge probabilities are generated via vector outer products between token representations, forming an n×n heatmap.
- Entropic regularized optimal transport (Cuturi, 2013) is applied as a differentiable layer to convert the heatmap into a doubly stochastic matrix, enforcing assignment constraints.
- The resulting probability matrix is used to sample or decode a valid TSP tour via greedy or beam search.
- The model is trained end-to-end using policy gradient reinforcement learning without supervision, optimizing for tour length.
- The method avoids autoregressive decoding by directly predicting edge probabilities, reducing sequential dependency and computational overhead.
Experimental results
Research questions
- RQ1Can a differentiable optimal transport layer improve solution quality in a reinforcement learning-based TSP solver without adding significant computational cost?
- RQ2Does replacing a learnable decoder with a differentiable optimal transport layer lead to faster training and inference while maintaining or improving solution quality?
- RQ3How does the integration of optimal transport constraints affect the optimality gap in TSP solutions across different problem sizes?
- RQ4Can the proposed architecture scale effectively to larger TSP instances (e.g., TSP100) compared to prior autoregressive models?
- RQ5To what extent can search strategies like beam search be accelerated and improved when edge probabilities are predicted directly rather than through autoregressive generation?
Key findings
- The model reduces training time by nearly 50% and GPU memory usage by at least 10% compared to autoregressive models with learnable decoders.
- The inclusion of optimal transport as a differentiable layer improves the optimality gap by 3-fold on TSP50, achieving a gap of 0.52% with beam search.
- The model achieves a 0.52% optimality gap on TSP50 with beam search, outperforming the prior state-of-the-art in inference speed while maintaining competitive solution quality.
- The optimal transport layer has minimal impact on training time and GPU usage, adding less than 5% overhead despite enforcing strong structural constraints.
- The model enables faster beam search due to direct edge probability prediction, allowing for increased beam width and improved solution space exploration.
- Experiments on TSP100 show consistent benefits from the optimal transport layer, confirming its effectiveness beyond small-scale instances.
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.