[Paper Review] Solving Optimization Problems through Fully Convolutional Networks: an Application to the Travelling Salesman Problem
This paper proposes a novel approach to solving the Traveling Salesman Problem (TSP) using fully convolutional networks (FCNs) by transforming TSP instances into image-like representations. Trained on 10-city TSP samples, the FCN learns to map feasible regions to optimal solutions with millisecond inference times and demonstrates strong generalization across varying city counts, achieving high global optimum recovery rates.
In the new wave of artificial intelligence, deep learning is impacting various industries. As a closely related area, optimization algorithms greatly contribute to the development of deep learning. But the reverse applications are still insufficient. Is there any efficient way to solve certain optimization problem through deep learning? The key is to convert the optimization to a representation suitable for deep learning. In this paper, a traveling salesman problem (TSP) is studied. Considering that deep learning is good at image processing, an image representation method is proposed to transfer a TSP to an image. Based on samples of a 10 city TSP, a fully convolutional network (FCN) is used to learn the mapping from a feasible region to an optimal solution. The training process is analyzed and interpreted through stages. A visualization method is presented to show how a FCN can understand the training task of a TSP. Once the training is completed, no significant effort is required to solve a new TSP and the prediction is obtained on the scale of milliseconds. The results show good performance in finding the global optimal solution. Moreover, the developed FCN model has been demonstrated on TSP's with different city numbers, proving excellent generalization performance.
Motivation & Objective
- To explore whether deep learning can effectively solve combinatorial optimization problems like TSP.
- To bridge the gap between deep learning and optimization by converting discrete TSP instances into a format suitable for convolutional neural networks.
- To develop a generalizable model that can predict near-optimal TSP tours with minimal inference cost after training.
- To analyze the training dynamics and interpretability of FCNs in solving structured optimization tasks.
Proposed method
- Representing TSP instances as image-like grids using spatial encoding to enable convolutional processing.
- Training a fully convolutional network (FCN) on a dataset of 10-city TSP instances to learn the mapping from input representation to optimal tour sequences.
- Employing a differentiable decoding strategy to generate valid TSP tours from the network’s output feature maps.
- Using visualization techniques to interpret how the FCN learns structural patterns in the TSP input space.
- Applying the trained model to TSP instances of varying sizes (beyond 10 cities) to evaluate generalization performance.
- Optimizing training through staged learning and analyzing convergence behavior to improve model stability.
Experimental results
Research questions
- RQ1Can a fully convolutional network be effectively trained to predict optimal TSP tours from image-like representations of TSP instances?
- RQ2How well does the trained FCN generalize to TSP instances with different numbers of cities than in the training set?
- RQ3What insights can be gained about the internal reasoning of the FCN through visualization of its learned representations?
- RQ4How does the model’s inference speed compare to traditional optimization algorithms for TSP?
- RQ5What role does the image representation play in enabling the network to capture the structural properties of TSP?
Key findings
- The FCN model achieves high accuracy in finding globally optimal or near-optimal TSP solutions, especially for smaller instances.
- Inference inference time is on the order of milliseconds after training, enabling real-time deployment.
- The model generalizes well to TSP instances with up to 20 cities, even though it was trained exclusively on 10-city problems.
- Visualization reveals that the network learns to detect salient structural features such as cluster formations and convex hulls in the TSP input.
- The training process exhibits clear stages, indicating progressive learning of increasingly complex patterns in the input data.
- The image-based representation enables effective transfer of inductive bias from computer vision to combinatorial optimization.
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.