Binarizing Physics-Inspired GNNs for Combinatorial Optimization
Martin Krutský, Gustav Šír, Vyacheslav Kungurtsev, Georgios Korpas
TL;DR
This work analyzes physics-inspired GNNs for combinatorial optimization and identifies a density-driven phase transition that pushes the relaxed, continuous solutions away from meaningful binary decisions. It introduces a fuzzy-QUBO interpretation and binarization strategies, including temperature annealing and straight-through gradient estimation, to stabilize training and improve performance on dense graphs. Empirical results on MaxCut and MIS show significant gains over the baseline PI-GNNs, especially as graph density increases, validating the viability of principled discretization for CO with GNNs. The findings highlight a practical pathway to scale PI-GNNs to denser, more realistic CO problems while maintaining GPU efficiency and interpretability through discrete activations.
Abstract
Physics-inspired graph neural networks (PI-GNNs) have been utilized as an efficient unsupervised framework for relaxing combinatorial optimization problems encoded through a specific graph structure and loss, reflecting dependencies between the problem's variables. While the framework has yielded promising results in various combinatorial problems, we show that the performance of PI-GNNs systematically plummets with an increasing density of the combinatorial problem graphs. Our analysis reveals an interesting phase transition in the PI-GNNs' training dynamics, associated with degenerate solutions for the denser problems, highlighting a discrepancy between the relaxed, real-valued model outputs and the binary-valued problem solutions. To address the discrepancy, we propose principled alternatives to the naive strategy used in PI-GNNs by building on insights from fuzzy logic and binarized neural networks. Our experiments demonstrate that the portfolio of proposed methods significantly improves the performance of PI-GNNs in increasingly dense settings.
