Are Graph Neural Networks Optimal Approximation Algorithms?

Morris Yau, Eric Lu, Nikolaos Karalias, Jessica Xu, Stefanie Jegelka
2/12/2026

No official code found. Best implementation: penlu/bespoke-gnn4do (16 stars, last commit 2026-04-16).

Abstract

In this work we design graph neural network architectures that capture optimal approximation algorithms for a large class of combinatorial optimization problems, using powerful algorithmic tools from semidefinite programming (SDP). Concretely, we prove that polynomial-sized message-passing algorithms can represent the most powerful polynomial time algorithms for Max Constraint Satisfaction Problems assuming the Unique Games Conjecture. We leverage this result to construct efficient graph neural network architectures, OptGNN, that obtain high-quality approximate solutions on landmark combinatorial optimization problems such as Max-Cut, Min-Vertex-Cover, and Max-3-SAT. Our approach achieves strong empirical results across a wide range of real-world and synthetic datasets against solvers and neural baselines. Finally, we take advantage of OptGNN's ability to capture convex relaxations to design an algorithm for producing bounds on the optimal solution from the learned embeddings of OptGNN.

View on arXivView PDF

Code Implementations(1)

Official Repo for the NeurIPS2024 spotlight paper "Are Graph Neural Networks Optimal Approximation Algorithms?"

162Shell, PythonAug 16, 20236 months ago

Similar Papers

Cite this paper

@article{yau2026graph,
  title  = {Are Graph Neural Networks Optimal Approximation Algorithms?},
  author = {Morris Yau and Eric Lu and Nikolaos Karalias and Jessica Xu and Stefanie Jegelka},
  year   = {2026},
  eprint = {2310.00526},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2310.00526},
  journal = {NEURIPS 2023 2023}
}

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

Discussion