Graph Neural Networks are Heuristics

Yimeng Min, Carla P. Gomes
1/19/2026
cs.AIcs.LG

No official code found. Best implementation: yimengmin/GNNs-are-Strong-Heuristics (2 stars, last commit 2026-01-26).

Abstract

We demonstrate that a single training trajectory can transform a graph neural network into an unsupervised heuristic for combinatorial optimization. Focusing on the Travelling Salesman Problem, we show that encoding global structural constraints as an inductive bias enables a non-autoregressive model to generate solutions via direct forward passes, without search, supervision, or sequential decision-making. At inference time, dropout and snapshot ensembling allow a single model to act as an implicit ensemble, reducing optimality gaps through increased solution diversity. Our results establish that graph neural networks do not require supervised training nor explicit search to be effective. Instead, they can internalize global combinatorial structure and function as strong, learned heuristics. This reframes the role of learning in combinatorial optimization: from augmenting classical algorithms to directly instantiating new heuristics.

View on arXivView PDF

Code Implementations(1)

Code Repo for "Graph Neural Networks are Heuristics" by Min and Gomes

20C++, ShellAug 27, 20258 months ago

Similar Papers

Cite this paper

@article{min2026graph,
  title  = {Graph Neural Networks are Heuristics},
  author = {Yimeng Min and Carla P. Gomes},
  year   = {2026},
  eprint = {2601.13465},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.13465v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.13465.svg)](https://codeofpaper.com/paper/2601.13465)

Discussion