Less Is More -- On the Importance of Sparsification for Transformers and Graph Neural Networks for TSP
Not on the map. Why?
Abstract (arXiv)
Most of the recent studies tackling routing problems like the Traveling Salesman Problem (TSP) with machine learning use a transformer or Graph Neural Network (GNN) based encoder architecture. However, many of them apply these encoders naively by allowing them to aggregate information over the whole TSP instances. We, on the other hand, propose a data preprocessing method that allows the encoders to focus on the most relevant parts of the TSP instances only. In particular, we propose graph sparsification for TSP graph representations passed to GNNs and attention masking for TSP instances passed to transformers where the masks correspond to the adjacency matrices of the sparse TSP graph representations. Furthermore, we propose ensembles of different sparsification levels allowing models to focus on the most promising parts while also allowing information flow between all nodes of a TSP instance. In the experimental studies, we show that for GNNs appropriate sparsification and ensembles of different sparsification levels lead to substantial performance increases of the overall architecture. We also design a new, state-of-the-art transformer encoder with ensembles of attention masking. These transformers increase model performance from a gap of 0.16% to 0.10% for TSP instances of size 100 and from 0.02% to 0.00% for TSP instances of size 50.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 27 of its 36 references that are in the map. First posted on arXiv 25 Mar 2024.
Builds on
27 of 36 references.
References · 27
- 2017Attention Is All You Needcited by 59,932
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2017Graph Attention Networkscited by 8,854
- 2018How Powerful are Graph Neural Networks?cited by 4,355
- 2019A Comprehensive Survey on Graph Neural Networkscited by 2,906
- 2019Fast Graph Representation Learning with PyTorch Geometriccited by 2,414
- 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 878
- 2021How Attentive are Graph Attention Networks?cited by 818
- 2018Attention, Learn to Solve Routing Problems!cited by 646
- 2020POMO: Policy Optimization with Multiple Optima for Reinforcement Learningcited by 341
- 2018Reinforcement Learning for Solving the Vehicle Routing Problemcited by 327
- 2019An Efficient Graph Convolutional Network Technique for the Travelling Salesman Problemcited by 265
15 more
- 2018Learning to Perform Local Rewriting for Combinatorial Optimizationcited by 183
- 2019Learning Improvement Heuristics for Solving Routing Problemscited by 162
- 2020Generalize a Small Pre-trained Model to Arbitrarily Large TSP Instancescited by 161
- 2022DIMES: A Differentiable Meta Solver for Combinatorial Optimization Problemscited by 127
- 2021Learning to Delegate for Large-scale Vehicle Routingcited by 108
- 2021NeuroLKH: Combining Deep Learning Model with Lin-Kernighan-Helsgaun Heuristic for Solving the Traveling Salesman Problemcited by 102
- 2020Learning 2-opt Heuristics for the Traveling Salesman Problem via Deep Reinforcement Learningcited by 100
- 2020Multi-Decoder Attention Model with Embedding Glimpse for Solving Vehicle Routing Problemscited by 100
- 2021Deep Policy Dynamic Programming for Vehicle Routing Problemscited by 94
- 2021Learning Collaborative Policies to Solve NP-hard Routing Problemscited by 86
- 2019Combinatorial Optimization by Graph Pointer Networks and Hierarchical Reinforcement Learningcited by 78
- 2021Graph Neural Network Guided Local Search for the Traveling Salesperson Problemcited by 70
- 2023Unsupervised Learning for Solving the Travelling Salesman Problemcited by 57
- 2023Pointerformer: Deep Reinforced Multi-Pointer Transformer for the Traveling Salesman Problemcited by 49
- 2022Learning to Solve Routing Problems via Distributionally Robust Optimizationcited by 31
Built on by
Citing papers per year: 2024: 1; 2025: 2; 2026: 3.
6 papers.
- 2024A GREAT Architecture for Edge-Based Graph Problems Like TSPcited by 7
- 2025Learning for routing: A guided review of recent developments and future directionscited by 6
- 2026Survey on Neural Routing Solverscited by 4
- 2025RsGCN: Subgraph-Based Rescaling Enhances Generalization of GCNs for Solving Traveling Salesman Problemscited by 0
- 2026Machine Learning-based Two-Stage Graph Sparsification for the Travelling Salesman Problemcited by 0
- 2026AGDN: Learning to Solve Traveling Salesman Problem with Anisotropic Graph Diffusion Networkcited by 0
- 2026AGDN: Learning to Solve Traveling Salesman Problem with Anisotropic Graph Diffusion Network17 Jun 2026
- 2026Machine Learning-based Two-Stage Graph Sparsification for the Travelling Salesman Problem22 Apr 2026
- 2026Survey on Neural Routing Solvers25 Feb 2026
- 2025Learning for routing: A guided review of recent developments and future directions30 Jun 2025
- 2025RsGCN: Subgraph-Based Rescaling Enhances Generalization of GCNs for Solving Traveling Salesman Problems31 May 2025
- 2024A GREAT Architecture for Edge-Based Graph Problems Like TSP29 Aug 2024