Learning to Solve NP-Complete Problems - A Graph Neural Network for the Decision TSP

09/08/2018
by   Marcelo O. R. Prates, et al.
0

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 <C exists. We show that such a network can be trained with sets of dual examples: given the optimal tour cost C^*, we produce one decision instance with target cost x% smaller and one with target cost x% larger than C^*. We were able to obtain 80% accuracy training with -2%,+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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/08/2018

Learning to Solve NP-Complete Problems - A Graph Neural Network for Decision TSP

Graph Neural Networks (GNN) are a promising technique for bridging diffe...
research
03/11/2019

Graph Colouring Meets Deep Learning: Effective Graph Neural Network Models for Combinatorial Problems

Deep learning has consistently defied state-of-the-art techniques in man...
research
09/11/2018

Multitask Learning on Graph Neural Networks - Learning Multiple Graph Centrality Measures with a Unified Network

The application of deep learning to symbolic domains remains an active r...
research
08/18/2021

Computing Steiner Trees using Graph Neural Networks

Graph neural networks have been successful in many learning problems and...
research
01/23/2019

Typed Graph Networks

Recently, the deep learning community has given growing attention to neu...
research
06/10/2023

Finding Hamiltonian cycles with graph neural networks

We train a small message-passing graph neural network to predict Hamilto...
research
07/25/2023

Combinatorial Auctions and Graph Neural Networks for Local Energy Flexibility Markets

This paper proposes a new combinatorial auction framework for local ener...

Please sign up or login with your details

Forgot password? Click here to reset