Less Is More -- On the Importance of Sparsification for Transformers and Graph Neural Networks for TSP
Attila Lischka, Jiaming Wu, Rafael Basso, Morteza Haghir Chehreghani,, Bal\'azs Kulcs\'ar

TL;DR
This paper demonstrates that applying sparsification techniques to GNNs and transformers significantly improves their performance on the Traveling Salesman Problem by focusing on relevant graph parts and enabling effective information flow.
Contribution
The paper introduces a novel data preprocessing approach using graph sparsification and attention masking, along with ensembles of different sparsification levels, to enhance TSP solving models.
Findings
Sparsification improves GNN performance on TSP.
Ensembles of sparsification levels boost accuracy.
State-of-the-art transformer encoder achieves near-perfect results.
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsFuel Cells and Related Materials · Robot Manipulation and Learning · Neural Networks and Applications
MethodsFocus · Graph Neural Network
