Benchmarking Graph Neural Networks in Solving Hard Constraint Satisfaction Problems

Geri Skenderi, Lorenzo Buffoni, Francesco D'Amico, David Machado, Raffaele Marino +4 more
2/20/2026
cond-mat.dis-nncs.LG

Official code: ArtLabBocconi/RandCSPBench (5 stars, MIT, last commit 2026-03-19).

Abstract

Graph neural networks (GNNs) are increasingly applied to hard optimization problems, often claiming superiority over classical heuristics. However, such claims risk being unsolid due to a lack of standard benchmarks on truly hard instances. From a statistical physics perspective, we propose new hard benchmarks based on random problems. We provide these benchmarks, along with performance results from both classical heuristics and GNNs. Our fair comparison shows that classical algorithms still outperform GNNs. We discuss the challenges for neural networks in this domain. Future claims of superiority can be made more robust using our benchmarks, available at https://github.com/ArtLabBocconi/RandCSPBench.

View on arXivView PDF

Code Implementations(1)

MIT
50C, C++Sep 23, 20257 months agoMIT

Similar Papers

Cite this paper

@article{skenderi2026benchmarking,
  title  = {Benchmarking Graph Neural Networks in Solving Hard Constraint Satisfaction Problems},
  author = {Geri Skenderi and Lorenzo Buffoni and Francesco D'Amico and David Machado and Raffaele Marino and Matteo Negri and Federico Ricci-Tersenghi and Carlo Lucibello and Maria Chiara Angelini},
  year   = {2026},
  eprint = {2602.18419},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.18419v1}
}

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/2602.18419.svg)](https://codeofpaper.com/paper/2602.18419)

Discussion