One Model, Any CSP: Graph Neural Networks as Fast Global Search Heuristics for Constraint Satisfaction
Jan TönshoffBKBerke KisinJLJakob Lindner
Martin Grohe
Jan Tönshoff
BKBerke Kisin
JLJakob Lindner

Martin Grohe
+4
This paper presents a universal Graph Neural Network (GNN) architecture trained as an end-to-end search heuristic for any Constraint Satisfaction Problem (CSP). The key contribution is a novel, compact graph representation of CSPs that allows a single GNN to process arbitrary instances, regardless of constraint arity or domain size. The GNN is trained unsupervised via policy gradient, operating on a global action space to modify multiple variables per step, leveraging parallelism. Evaluated on random CSPs (graph coloring, MaxCut, 3-SAT, MAX-k-SAT), the approach substantially outperforms prior neural methods and competes with conventional heuristics on much larger test instances.

arXiv ·
· August 22, 2022