Learning to Solve NP-Complete Problems - A Graph Neural Network for Decision TSP
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 58 papers in the map (data through 7 Oct 2026). First posted on arXiv 8 Sep 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 19; 2022: 13; 2023: 12; 2024: 7; 2025: 4; 2026: 3.
58 papers.
Sort:
By area:
- 2021Combinatorial optimization and reasoning with graph neural networkscited by 267
- 2021Learning to schedule job-shop problems: Representation and policy learning using graph neural network and reinforcement learningcited by 52
- 2021A Survey on Neural-symbolic Learning Systemscited by 39
- 2022SizeShiftReg: a Regularization Method for Improving Size-Generalization in Graph Neural Networkscited by 36
- 2021Generalization of Neural Combinatorial Solvers Through the Lens of Adversarial Robustnesscited by 35
- 2022Explaining the Explainers in Graph Neural Networks: a Comparative Studycited by 34
- 2021Link Scheduling using Graph Neural Networkscited by 26
- 2024Neural Combinatorial Optimization Algorithms for Solving Vehicle Routing Problems: A Comprehensive Survey with Perspectivescited by 23
- 2021Analytics and Machine Learning in Vehicle Routing Researchcited by 22
- 2021An Overview and Experimental Study of Learning-based Optimization Algorithms for Vehicle Routing Problemcited by 22
- 2022Augment with Care: Contrastive Learning for Combinatorial Problemscited by 22
- 2021Learning Connectivity with Graph Convolutional Networks for Skeleton-based Action Recognitioncited by 20
38 more
- 2022Annealed Training for Combinatorial Optimization on Graphscited by 17
- 2022Learning to Solve Vehicle Routing Problems: A Surveycited by 16
- 2022A Survey on Influence Maximization: From an ML-Based Combinatorial Optimizationcited by 15
- 2025Graph World Modelcited by 14
- 2023Are Graph Neural Networks Optimal Approximation Algorithms?cited by 10
- 2021Graph Partitioning and Sparse Matrix Ordering using Reinforcement Learning and Graph Neural Networkscited by 8
- 2021Maximizing Influence with Graph Neural Networkscited by 8
- 2021Generalization in Deep RL for TSP Problems via Equivariance and Local Searchcited by 8
- 2023WISK: A Workload-aware Learned Index for Spatial Keyword Queriescited by 6
- 2023NN-Steiner: A Mixed Neural-algorithmic Approach for the Rectilinear Steiner Minimum Tree Problemcited by 6
- 2021Can Graph Neural Networks Learn to Solve MaxSAT Problem?cited by 5
- 2022Learning to solve Minimum Cost Multicuts efficiently using Edge-Weighted Graph Convolutional Neural Networkscited by 5
- 2023Maximum Independent Set: Self-Training through Dynamic Programmingcited by 5
- 2024Towards a Generic Representation of Combinatorial Problems for Learning-Based Approachescited by 5
- 2021Learning to Pool in Graph Neural Networks for Extrapolationcited by 4
- 2021Computing Steiner Trees using Graph Neural Networkscited by 4
- 2022Graph Learning and Its Advancements on Large Language Models: A Holistic Surveycited by 4
- 2024A Unified Framework for Combinatorial Optimization Based on Graph Neural Networkscited by 4
- 2024Enhancing GNNs Performance on Combinatorial Optimization by Recurrent Feature Updatecited by 4
- 2025MeLA: A Metacognitive LLM-Driven Architecture for Automatic Heuristic Designcited by 4
- 2021Optimal Solving of Constrained Path-Planning Problems with Graph Convolutional Networks and Optimized Tree Searchcited by 3
- 2023Neural Lattice Reduction: A Self-Supervised Geometric Deep Learning Approachcited by 3
- 2023Physics-Informed Graph Neural Network for Dynamic Reconfiguration of Power Systemscited by 2
- 2021Skeleton-based Hand-Gesture Recognition with Lightweight Graph Convolutional Networkscited by 1
- 2022Solving Disjunctive Temporal Networks with Uncertainty under Restricted Time-Based Controllability using Tree Search and Graph Neural Networkscited by 1
- 2023Lightsolver challenges a leading deep learning solver for Max-2-SAT problemscited by 1
- 2023Learning-Based Heuristic for Combinatorial Optimization of the Minimum Dominating Set Problem using Graph Convolutional Networkscited by 1
- 2023Current and Future Challenges in Knowledge Representation and Reasoningcited by 1
- 2024Network Interdiction Goes Neuralcited by 1
- 2024Versatile Ordering Network: An Attention-based Neural Network for Ordering Across Scales and Quality Metricscited by 1
- 2025VAGPO: Vision-augmented Asymmetric Group Preference Optimization for Graph Routing Problemscited by 1
- 2021Reinforcement Learning for Freight Booking Control Problemscited by 0
- 2021Learning Chebyshev Basis in Graph Convolutional Networks for Skeleton-based Action Recognitioncited by 0
- 2021Complexity-based partitioning of CSFI problem instances with Transformerscited by 0
- 2022A Higher-Order Semantic Dependency Parsercited by 0
- 2022Network Calculus with Flow Prolongation -- A Feedforward FIFO Analysis enabled by MLcited by 0
- 2022Lightweight Graph Convolutional Networks with Topologically Consistent Magnitude Pruningcited by 0
- 2022A Survey on Machine Learning Solutions for Graph Pattern Extractioncited by 0
50 most cited of 58 All 58 (JSON)
- 2026ORBITER: Conflict-Aware Decision-Making for Agentic Last-Mile Delivery19 Aug 2026
- 2026Graph Neural Networks with Triangle-Based Messages for the Multicut Problem13 May 2026
- 2026A zone-based training approach for last-mile routing using Graph Neural Networks and Pointer Networks8 Jan 2026
- 2025VAGPO: Vision-augmented Asymmetric Group Preference Optimization for Graph Routing Problems3 Aug 2025
- 2025MeLA: A Metacognitive LLM-Driven Architecture for Automatic Heuristic Design28 Jul 2025
- 2025Graph World Model14 Jul 2025
- 2025RIDGECUT: Learning Graph Partitioning with Rings and Wedges20 May 2025
- 2024Versatile Ordering Network: An Attention-based Neural Network for Ordering Across Scales and Quality Metrics17 Dec 2024
- 2024Neural Networks for Vehicle Routing Problem17 Sep 2024
- 2024Enhancing GNNs Performance on Combinatorial Optimization by Recurrent Feature Update23 Jul 2024
- 2024A Unified Framework for Combinatorial Optimization Based on Graph Neural Networks19 Jun 2024
- 2024Neural Combinatorial Optimization Algorithms for Solving Vehicle Routing Problems: A Comprehensive Survey with Perspectives1 Jun 2024
38 more
- 2024Network Interdiction Goes Neural26 May 2024
- 2024Towards a Generic Representation of Combinatorial Problems for Learning-Based Approaches9 Mar 2024
- 2023NN-Steiner: A Mixed Neural-algorithmic Approach for the Rectilinear Steiner Minimum Tree Problem17 Dec 2023
- 2023Neural Lattice Reduction: A Self-Supervised Geometric Deep Learning Approach14 Nov 2023
- 2023Maximum Independent Set: Self-Training through Dynamic Programming28 Oct 2023
- 2023Symmetry-preserving graph attention network to solve routing problems at multiple resolutions24 Oct 2023
- 2023Physics-Informed Graph Neural Network for Dynamic Reconfiguration of Power Systems1 Oct 2023
- 2023Are Graph Neural Networks Optimal Approximation Algorithms?1 Oct 2023
- 2023Current and Future Challenges in Knowledge Representation and Reasoning8 Aug 2023
- 2023Learning-Based Heuristic for Combinatorial Optimization of the Minimum Dominating Set Problem using Graph Convolutional Networks6 Jun 2023
- 2023Solving the Kidney-Exchange Problem via Graph Neural Networks with No Supervision19 Apr 2023
- 2023WISK: A Workload-aware Learned Index for Spatial Keyword Queries28 Feb 2023
- 2023Lightsolver challenges a leading deep learning solver for Max-2-SAT problems14 Feb 2023
- 2023A Structural Approach to the Design of Domain Specific Neural Network Architectures23 Jan 2023
- 2022Graph Learning and Its Advancements on Large Language Models: A Holistic Survey17 Dec 2022
- 2022A Survey on Influence Maximization: From an ML-Based Combinatorial Optimization6 Nov 2022
- 2022Explaining the Explainers in Graph Neural Networks: a Comparative Study27 Oct 2022
- 2022Annealed Training for Combinatorial Optimization on Graphs23 Jul 2022
- 2022SizeShiftReg: a Regularization Method for Improving Size-Generalization in Graph Neural Networks16 Jul 2022
- 2022Learning to Solve Vehicle Routing Problems: A Survey5 May 2022
- 2022Learning to solve Minimum Cost Multicuts efficiently using Edge-Weighted Graph Convolutional Neural Networks4 Apr 2022
- 2022A Survey on Machine Learning Solutions for Graph Pattern Extraction3 Apr 2022
- 2022Solving Disjunctive Temporal Networks with Uncertainty under Restricted Time-Based Controllability using Tree Search and Graph Neural Networks28 Mar 2022
- 2022Lightweight Graph Convolutional Networks with Topologically Consistent Magnitude Pruning25 Mar 2022
- 2022Augment with Care: Contrastive Learning for Combinatorial Problems17 Feb 2022
- 2022Network Calculus with Flow Prolongation -- A Feedforward FIFO Analysis enabled by ML7 Feb 2022
- 2022A Higher-Order Semantic Dependency Parser27 Jan 2022
- 2021Learning Connectivity with Graph Convolutional Networks for Skeleton-based Action Recognition6 Dec 2021
- 2021Can Graph Neural Networks Learn to Solve MaxSAT Problem?15 Nov 2021
- 2021A Survey on Neural-symbolic Learning Systems10 Nov 2021
- 2021Generalization of Neural Combinatorial Solvers Through the Lens of Adversarial Robustness21 Oct 2021
- 2021Generalization in Deep RL for TSP Problems via Equivariance and Local Search7 Oct 2021
- 2021Link Scheduling using Graph Neural Networks12 Sep 2021
- 2021Computing Steiner Trees using Graph Neural Networks18 Aug 2021
- 2021Maximizing Influence with Graph Neural Networks10 Aug 2021
- 2021Optimal Solving of Constrained Path-Planning Problems with Graph Convolutional Networks and Optimized Tree Search2 Aug 2021
- 2021An Overview and Experimental Study of Learning-based Optimization Algorithms for Vehicle Routing Problem15 Jul 2021
- 2021Complexity-based partitioning of CSFI problem instances with Transformers28 Jun 2021
50 newest of 58 All 58 (JSON)
- 2025Graph World Modelcited by 14
- 2025Graph World Model14 Jul 2025
- 2021Combinatorial optimization and reasoning with graph neural networkscited by 267
- 2021Learning to schedule job-shop problems: Representation and policy learning using graph neural network and reinforcement learningcited by 52
- 2021A Survey on Neural-symbolic Learning Systemscited by 39
- 2022SizeShiftReg: a Regularization Method for Improving Size-Generalization in Graph Neural Networkscited by 36
- 2021Generalization of Neural Combinatorial Solvers Through the Lens of Adversarial Robustnesscited by 35
- 2022Explaining the Explainers in Graph Neural Networks: a Comparative Studycited by 34
- 2021Link Scheduling using Graph Neural Networkscited by 26
- 2024Neural Combinatorial Optimization Algorithms for Solving Vehicle Routing Problems: A Comprehensive Survey with Perspectivescited by 23
- 2021Analytics and Machine Learning in Vehicle Routing Researchcited by 22
- 2021An Overview and Experimental Study of Learning-based Optimization Algorithms for Vehicle Routing Problemcited by 22
- 2022Augment with Care: Contrastive Learning for Combinatorial Problemscited by 22
- 2021Learning Connectivity with Graph Convolutional Networks for Skeleton-based Action Recognitioncited by 20
12 most cited of 56 All 56 (JSON)
- 2026Graph Neural Networks with Triangle-Based Messages for the Multicut Problem13 May 2026
- 2026A zone-based training approach for last-mile routing using Graph Neural Networks and Pointer Networks8 Jan 2026
- 2025VAGPO: Vision-augmented Asymmetric Group Preference Optimization for Graph Routing Problems3 Aug 2025
- 2025MeLA: A Metacognitive LLM-Driven Architecture for Automatic Heuristic Design28 Jul 2025
- 2025RIDGECUT: Learning Graph Partitioning with Rings and Wedges20 May 2025
- 2024Versatile Ordering Network: An Attention-based Neural Network for Ordering Across Scales and Quality Metrics17 Dec 2024
- 2024Neural Networks for Vehicle Routing Problem17 Sep 2024
- 2024Enhancing GNNs Performance on Combinatorial Optimization by Recurrent Feature Update23 Jul 2024
- 2024A Unified Framework for Combinatorial Optimization Based on Graph Neural Networks19 Jun 2024
- 2024Neural Combinatorial Optimization Algorithms for Solving Vehicle Routing Problems: A Comprehensive Survey with Perspectives1 Jun 2024
- 2024Network Interdiction Goes Neural26 May 2024
- 2024Towards a Generic Representation of Combinatorial Problems for Learning-Based Approaches9 Mar 2024
12 newest of 56 All 56 (JSON)