NeuroPrim: An Attention-based Model for Solving NP-hard Spanning Tree Problems
Not on the map. Why?
Abstract (arXiv)
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: the Degree-constrained Minimum Spanning Tree (DCMST) problem, the Minimum Routing Cost Spanning Tree (MRCST) problem, and the Steiner Tree Problem in graphs (STP). Experimental results on literature instances demonstrate that our model outperforms strong heuristics and achieves small optimality gaps of up to 250 vertices. Additionally, we find that our model has strong generalization ability, with no significant degradation observed on problem instances as large as 1000. Our results suggest that our framework can be effective for solving a wide range of combinatorial optimization problems beyond spanning tree problems.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 15 of its 100 references that are in the map. First posted on arXiv 22 Oct 2022.
Builds on
15 of 100 references.
References · 15
- 2017Attention Is All You Needcited by 60,361
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2015Pointer Networkscited by 895
- 2018Attention, Learn to Solve Routing Problems!cited by 656
- 2016Neural Combinatorial Optimization with Reinforcement Learningcited by 608
- 2017Learning Combinatorial Optimization Algorithms over Graphscited by 561
- 2020POMO: Policy Optimization with Multiple Optima for Reinforcement Learningcited by 348
- 2018Reinforcement Learning for Solving the Vehicle Routing Problemcited by 333
- 2021The Transformer Network for the Traveling Salesman Problemcited by 59
- 2020OR-Gym: A Reinforcement Learning Library for Operations Research Problemscited by 51
- 2020Learning to Solve Combinatorial Optimization Problems on Real-World Graphs in Linear Timecited by 39
- 2021A Game-Theoretic Approach for Improving Generalization Ability of TSP Solverscited by 14
Built on by
Citing papers per year: 2023: 1.
1 paper.
- 2023General Method for Solving Four Types of SAT Problemscited by 4
- 2023General Method for Solving Four Types of SAT Problems27 Dec 2023