[Paper Review] Erdos Goes Neural: an Unsupervised Learning Framework for Combinatorial Optimization on Graphs
This paper proposes an unsupervised learning framework for combinatorial optimization on graphs, inspired by Erdős’ probabilistic method. It trains a graph neural network to learn a probability distribution over node subsets, ensuring that with controlled probability, a low-cost integral solution exists; this is then deterministically decoded via conditional expectation. The method achieves competitive results on maximum clique and local graph clustering, outperforming Gurobi on larger instances and matching or exceeding neural baselines and classical algorithms.
Combinatorial optimization problems are notoriously challenging for neural networks, especially in the absence of labeled instances. This work proposes an unsupervised learning framework for CO problems on graphs that can provide integral solutions of certified quality. Inspired by Erdos' probabilistic method, we use a neural network to parametrize a probability distribution over sets. Crucially, we show that when the network is optimized w.r.t. a suitably chosen loss, the learned distribution contains, with controlled probability, a low-cost integral solution that obeys the constraints of the combinatorial problem. The probabilistic proof of existence is then derandomized to decode the desired solutions. We demonstrate the efficacy of this approach to obtain valid solutions to the maximum clique problem and to perform local graph clustering. Our method achieves competitive results on both real datasets and synthetic hard instances.
Motivation & Objective
- To address the challenge of solving NP-hard combinatorial optimization problems on graphs without relying on labeled data or expensive supervision.
- To develop a differentiable, unsupervised training objective that guarantees the existence of low-cost feasible solutions in the learned distribution.
- To enable the derivation of integral, constraint-satisfying solutions from soft, continuous outputs of a neural network through derandomization.
- To demonstrate the framework’s effectiveness on real and synthetic instances of maximum clique and local graph clustering problems.
- To achieve competitive performance against both neural baselines and mathematical programming solvers like Gurobi and CBC, especially on large graphs.
Proposed method
- The framework uses a graph neural network to parametrize a probability distribution over subsets of nodes in an input graph.
- It introduces a differentiable probabilistic penalty loss function derived from Erdős’ probabilistic method, ensuring that minimizing the loss implies the existence of a low-cost feasible solution with controlled probability.
- The training process optimizes the GNN to concentrate the learned distribution around high-quality solutions, even in the absence of labels.
- At inference, a sequential, deterministic decoding procedure based on the method of conditional expectation is applied to extract an integral solution from the learned distribution.
- The method guarantees that the decoded solution satisfies all problem constraints and achieves a cost close to the optimal, based on the probabilistic certificate.
- The framework is applied to two problems: maximum clique (finding the largest complete subgraph) and constrained min-cut (for local graph clustering), with consistent performance gains.
Experimental results
Research questions
- RQ1Can an unsupervised deep learning framework be designed to solve NP-hard combinatorial optimization problems on graphs without requiring labeled solutions?
- RQ2Can the probabilistic method of Erdős be adapted to train a neural network such that the learned distribution stochastically certifies the existence of a low-cost feasible solution?
- RQ3Can a deterministic decoding procedure reliably extract an integral, constraint-satisfying solution from a continuous, soft output of a GNN?
- RQ4How does the proposed framework compare in solution quality and efficiency to supervised neural baselines, discrete algorithms, and commercial solvers like Gurobi and CBC?
- RQ5Can the framework generalize to hard synthetic instances and real-world graphs while maintaining computational efficiency?
Key findings
- The proposed framework outperforms the CBC solver from Google’s OR-Tools on larger graph instances, achieving better solution quality while remaining efficient.
- On the maximum clique problem, the method achieves competitive results against neural baselines and discrete algorithms, with a solution quality close to that of Gurobi 9.0 on large instances.
- For local graph clustering, the method produces sets with significantly better conductance than Pagerank-Nibble, CRD, and other baselines, while maintaining low inference time.
- The framework achieves a mean conductance of 0.124 ± 0.001 on the test set for the maximum clique problem, outperforming L1 and L2 GNN baselines and matching Gurobi on small graphs.
- In terms of computational efficiency, the method runs in 0.22 seconds per graph on average for the maximum clique task, outperforming Gurobi on larger instances where Gurobi’s runtime exceeds 1700 seconds.
- The method demonstrates that unsupervised training with a principled differentiable loss can yield solutions with certified quality, avoiding the need for costly supervision or reinforcement learning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.