Are Graph Neural Networks Optimal Approximation Algorithms?
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Minimum Vertex Cover | COLLAB (test) | -- | 16 | |
| Max-3-SAT | Random Max-3-SAT instances r=4.00 N=100 (test) | Avg Unsatisfied Clauses4.46 | 7 | |
| Max-3-SAT | Random Max-3-SAT instances r=4.15 N=100 (test) | Avg Unsatisfied Clauses5.15 | 7 | |
| Max-3-SAT | Random Max-3-SAT instances r=4.30 N=100 (test) | Avg Unsatisfied Clauses5.84 | 7 | |
| Minimum Vertex Cover | ENZYMES slice (test) | Vertex Cover Size20 | 5 | |
| Minimum Vertex Cover | ER (400,500) slice (test) | Avg Vertex Cover Size420.7 | 5 | |
| Minimum Vertex Cover | BA (400,500) slice (test) | Avg Vertex Cover Size248.7 | 5 | |
| Minimum Vertex Cover | ER (100,200) (test) | Avg Vertex Cover Size126.5 | 5 | |
| Minimum Vertex Cover | REDDIT-M-12K (test) | Avg Vertex Cover Size81.55 | 5 | |
| Minimum Vertex Cover | REDDIT-M-5K (test) | Avg Vertex Cover Size107.4 | 5 |