Extended Attention Mechanism for TSP Problem

Hua Yang
DOI: https://doi.org/10.1109/ijcnn52387.2021.9533472
2021-07-18
Abstract:The attention mechanism has shown good performance in many aspects such as machine translation. But it is not completely suitable for combinatorial optimization problems. In the Traveling Salesman Problem(TSP), there is no need to consider the city nodes that have been traveled, but only the city ones that have not been traveled to in the future. To address this problem, this paper extends the attention mechanism to solve combinatorial optimization problems such as the traveling salesman problem. We train a Gated Recurrent Unit(GRU) to predict a distribution over different city permutations with the input of a set of city coordinates, and use negative tour length as the reward signal, and optimize the parameters of the GRU using a policy gradient method. The experiments demonstrate that the extended attention mechanism achieves more close to optimum solutions than the globe attention and local attentional mechanism on two-dimension planar space graphs with up to 100 nodes.
What problem does this paper attempt to address?