NeuroPrim: An Attention-based Model for Solving NP-hard Spanning Tree Problems
Yuchen Shi, Congying Han, Tiande Guo

TL;DR
NeuroPrim is an attention-based neural framework that effectively solves complex spanning tree problems on graphs by leveraging a Markov Decision Process and Prim's algorithm, outperforming heuristics and generalizing well to large instances.
Contribution
The paper introduces NeuroPrim, a novel neural approach that formulates spanning tree problems as an MDP and applies Prim's algorithm to reduce complexity, enabling effective learning and generalization.
Findings
Outperforms strong heuristics on literature instances.
Achieves small optimality gaps up to 250 vertices.
Demonstrates strong generalization to instances as large as 1000 vertices.
Abstract
Spanning tree problems with specialized constraints can be difficult to solve in real-world scenarios, often requiring intricate algorithmic design and exponential time. Recently, there has been growing interest in end-to-end deep neural networks for solving routing problems. However, such methods typically produce sequences of vertices, which makes it difficult to apply them to general combinatorial optimization problems where the solution set consists of edges, as in various spanning tree problems. In this paper, we propose NeuroPrim, a novel framework for solving various spanning tree problems by defining a Markov Decision Process (MDP) for general combinatorial optimization problems on graphs. Our approach reduces the action and state space using Prim's algorithm and trains the resulting model using REINFORCE. We apply our framework to three difficult problems on Euclidean space:…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsVehicle Routing Optimization Methods · Wildlife-Road Interactions and Conservation
MethodsREINFORCE
