mlsanityData to 14 Oct 2026

NeuroPrim: An Attention-based Model for Solving NP-hard Spanning Tree Problems

arXiv 2210.12453 ↗First posted 22 Oct 2022cs.LGcited by 1

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2015Pointer Networkscited by 895
  4. 2018Attention, Learn to Solve Routing Problems!cited by 656
  5. 2016Neural Combinatorial Optimization with Reinforcement Learningcited by 608
  6. 2017Learning Combinatorial Optimization Algorithms over Graphscited by 561
  7. 2020POMO: Policy Optimization with Multiple Optima for Reinforcement Learningcited by 348
  8. 2018Reinforcement Learning for Solving the Vehicle Routing Problemcited by 333
  9. 2021The Transformer Network for the Traveling Salesman Problemcited by 59
  10. 2020OR-Gym: A Reinforcement Learning Library for Operations Research Problemscited by 51
  11. 2020Learning to Solve Combinatorial Optimization Problems on Real-World Graphs in Linear Timecited by 39
  12. 2021A Game-Theoretic Approach for Improving Generalization Ability of TSP Solverscited by 14
3 more
  1. 2021Fast Parallel Algorithms for Euclidean Minimum Spanning Tree and Hierarchical Spatial Clusteringcited by 9
  2. 2021Vulcan: Solving the Steiner Tree Problem with Graph Neural Networks and Deep Reinforcement Learningcited by 5
  3. 2021Computing Steiner Trees using Graph Neural Networkscited by 4

Built on by

Cited by year

Citing papers per year: 2023: 1.

1 paper.