[Paper Review] Solve Traveling Salesman Problem by Monte Carlo Tree Search and Deep Neural Network
This paper proposes a self-learning framework combining deep reinforcement learning and Monte Carlo tree search (MCTS) to solve the traveling salesman problem (TSP) without hand-crafted features or labeled data. By transforming TSP into a tree search problem and using a deep neural network to guide MCTS with value function estimates, the method achieves state-of-the-art performance on small-to-medium instances and comparable results on large-scale problems, demonstrating strong generalization across random, clustered, and real-world graphs.
We present a self-learning approach that combines deep reinforcement learning and Monte Carlo tree search to solve the traveling salesman problem. The proposed approach has two advantages. First, it adopts deep reinforcement learning to compute the value functions for decision, which removes the need of hand-crafted features and labelled data. Second, it uses Monte Carlo tree search to select the best policy by comparing different value functions, which increases its generalization ability. Experimental results show that the proposed method performs favorably against other methods in small-to-medium problem settings. And it shows comparable performance as state-of-the-art in large problem setting.
Motivation & Objective
- To develop a self-learning, end-to-end framework for TSP that eliminates reliance on hand-designed features or supervised data.
- To improve generalization in combinatorial optimization by integrating Monte Carlo tree search with deep reinforcement learning.
- To address the limitations of existing deep learning models in TSP, such as poor scalability and instability on large or clustered graphs.
- To evaluate the method on diverse graph types, including random, clustered, and real-world TSPLIB instances.
Proposed method
- The framework converts the TSP into a tree search problem, where each path represents a candidate TSP tour.
- A deep neural network encodes graph topology into 64-dimensional node features, replacing manual feature engineering.
- Monte Carlo tree search uses the neural network’s value function to guide exploration and select high-potential moves.
- Reinforcement learning trains the network using self-generated experience, with policy optimization via policy gradient methods.
- The MCTS process performs 400 simulations per move, using a UCB1-based selection with Cp = 0.5 for optimal balance.
- Adam optimizer with a learning rate of 1e-4 is used to train the network on synthetic TSP instances of varying sizes.
Experimental results
Research questions
- RQ1Can a deep reinforcement learning model with MCTS outperform supervised and prior RL-based TSP methods without labeled data?
- RQ2How well does the proposed method generalize across different TSP instance types, including random, clustered, and real-world graphs?
- RQ3Does the integration of MCTS with a deep neural network improve solution quality and stability on large-scale TSP instances?
- RQ4How does the method’s performance compare to state-of-the-art models like S2V-DQN and AttentionTSP on benchmark datasets?
Key findings
- On random TSP instances, the method achieved an average optimality gap of 1.010 for TSP20, 1.063 for TSP50, and 1.095 for TSP100, outperforming Pointer Network and matching S2V-DQN.
- On clustered graphs, the method showed better stability than S2V-DQN, especially on TSP100, with an optimality gap of 1.109 compared to S2V-DQN’s 1.082.
- On real-world TSPLIB instances with up to 76 nodes, the method achieved an average optimality gap of 1.003, comparable to S2V-DQN’s 1.002.
- The method significantly outperformed AttentionTSP on real-world instances, where AttentionTSP’s performance degraded sharply (e.g., 1733 for eil51 vs. 442 in our method).
- The model trained on TSP50 generalizes well to TSP100 without retraining, achieving a 1.095 optimality gap, indicating strong scalability.
- Bayesian optimization identified Cp = 0.5 as optimal for MCTS, ensuring effective exploration-exploitation trade-off.
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.