@article{Prates_Avelar_Lemos_Lamb_Vardi_2019, title={Learning to Solve NP-Complete Problems: A Graph Neural Network for Decision TSP}, volume={33}, url={https://ojs.aaai.org/index.php/AAAI/article/view/4399}, DOI={10.1609/aaai.v33i01.33014731}, abstractNote={<p>Graph Neural Networks (GNN) are a promising technique for bridging differential programming and combinatorial domains. GNNs employ trainable modules which can be assembled in different configurations that reflect the relational structure of each problem instance. In this paper, we show that GNNs can learn to solve, with very little supervision, the decision variant of the Traveling Salesperson Problem (TSP), a highly relevant NP-Complete problem. Our model is trained to function as an effective message-passing algorithm in which edges (embedded with their weights) communicate with vertices for a number of iterations after which the model is asked to decide whether a route with cost <em>< C</em> exists. We show that such a network can be trained with sets of dual examples: given the optimal tour cost <em>C</em><sup>∗</sup>, we produce one decision instance with target cost <em>x</em>% smaller and one with target cost <em>x</em>% larger than <em>C</em><sup>∗</sup>. We were able to obtain 80% accuracy training with −2%<em>,</em>+2% deviations, and the same trained model can generalize for more relaxed deviations with increasing performance. We also show that the model is capable of generalizing for larger problem sizes. Finally, we provide a method for predicting the optimal route cost within 2% deviation from the ground truth. In summary, our work shows that Graph Neural Networks are powerful enough to solve NP-Complete problems which combine symbolic and numeric data.</p>}, number={01}, journal={Proceedings of the AAAI Conference on Artificial Intelligence}, author={Prates, Marcelo and Avelar, Pedro H. C. and Lemos, Henrique and Lamb, Luis C. and Vardi, Moshe Y.}, year={2019}, month={Jul.}, pages={4731-4738} }