Finding Hamiltonian cycles with graph neural networks

06/10/2023
by   Filip Bosnić, et al.
0

We train a small message-passing graph neural network to predict Hamiltonian cycles on Erdős-Rényi random graphs in a critical regime. It outperforms existing hand-crafted heuristics after about 2.5 hours of training on a single GPU. Our findings encourage an alternative approach to solving computationally demanding (NP-hard) problems arising in practice. Instead of devising a heuristic by hand, one can train it end-to-end using a neural network. This has several advantages. Firstly, it is relatively quick and requires little problem-specific knowledge. Secondly, the network can adjust to the distribution of training samples, improving the performance on the most relevant problem instances. The model is trained using supervised learning on artificially created problem instances; this training procedure does not use an existing solver to produce the supervised signal. Finally, the model generalizes well to larger graph sizes and retains reasonable performance even on graphs eight times the original size.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/11/2021

TrackMPNN: A Message Passing Graph Neural Architecture for Multi-Object Tracking

This study follows many previous approaches to multi-object tracking (MO...
research
12/23/2019

Learning Variable Ordering Heuristics for Solving Constraint Satisfaction Problems

Backtracking search algorithms are often used to solve the Constraint Sa...
research
03/02/2021

Autobahn: Automorphism-based Graph Neural Nets

We introduce Automorphism-based graph neural networks (Autobahn), a new ...
research
09/08/2018

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

Graph Neural Networks (GNN) are a promising technique for bridging diffe...
research
12/24/2021

DeepGANTT: A Scalable Deep Learning Scheduler for Backscatter Networks

Recent backscatter communication techniques enable ultra low power wirel...
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
10/30/2022

Learning to Compare Nodes in Branch and Bound with Graph Neural Networks

Branch-and-bound approaches in integer programming require ordering port...

Please sign up or login with your details

Forgot password? Click here to reset