pith. sign in

arxiv: 2403.17159 · v1 · pith:JVANTCDZnew · submitted 2024-03-25 · 💻 cs.LG · cs.AI

Less Is More -- On the Importance of Sparsification for Transformers and Graph Neural Networks for TSP

classification 💻 cs.LG cs.AI
keywords graphinstancessparsificationallowingensemblesproposetransformersarchitecture
0
0 comments X
read the original abstract

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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. AGDN: Learning to Solve Traveling Salesman Problem with Anisotropic Graph Diffusion Network

    cs.LG 2026-06 unverdicted novelty 7.0

    AGDN is a new GNN framework using a MixScore matrix and anisotropic graph diffusion to outperform prior methods on TSP instances across sizes and distributions.

  2. Machine Learning-based Two-Stage Graph Sparsification for the Travelling Salesman Problem

    cs.LG 2026-04 unverdicted novelty 6.0

    A two-stage ML sparsifier for TSP candidate graphs combines alpha-Nearest and POPMUSIC for high recall then trains a model to cut density while preserving coverage across distance types and instance sizes up to 500.

  3. Machine Learning-based Two-Stage Graph Sparsification for the Travelling Salesman Problem

    cs.LG 2026-04 conditional novelty 5.0

    A two-stage ML pipeline unions α-Nearest and POPMUSIC candidate edges then prunes single-source edges via a classifier, cutting TSP graph density 37-47% with ≥99.69% optimal-tour recall.