Maximum Independent Set: Self-Training through Dynamic Programming

Lorenzo Brusca, Lars C. P. M. Quaedvlieg, Stratis Skoulakis, Grigorios G Chrysos, Volkan Cevher

TL;DR

This paper introduces a self-training Graph Neural Network (GNN) framework designed to solve the NP-hard Maximum Independent Set (MIS) problem by leveraging the principles of Dynamic Programming (DP). By training a GNN-based comparator to choose between generated subproblems without requiring ground-truth labels, the approach achieves state-of-the-art performance and demonstrates robust out-of-distribution generalization across both synthetic and real-world datasets.

What Problem Does This Paper Address?

Combinatorial Optimization (CO) problems, such as finding the Maximum Independent Set (MIS) in a graph, underpin critical applications from logistics to bioinformatics. However, because MIS is NP-hard, finding exact solutions for large graphs is computationally intractable.

While deep learning approaches like GNNs show immense promise in learning heuristics directly from data, they hit a massive bottleneck: the lack of training data. Generating ground-truth labels for large graphs requires solving the exact NP-hard problem you are trying to avoid, making large-scale supervised learning computationally impossible. The authors address this challenge by designing a self-supervised framework that eliminates the need for external labeled data entirely.

Methods

The core innovation lies in blending classical Dynamic Programming (DP) reductions with a GNN-based learning mechanism.

  1. DP-like Recursion: According to classical DP, the MIS of a graph can be found by picking a vertex $v$ and deciding whether to exclude it (leaving subgraph $G \setminus \{v\}$) or include it (which requires removing it and all its neighbors, leaving subgraph $G \setminus N(v)$).
  2. GNN Comparator: Instead of executing an expensive exhaustive search to see which choice is better, the authors train a GNN model ($M_\theta$) to act as a binary comparator ($CMP_\theta$). It takes two subgraphs as input and predicts which one contains the larger MIS.
  3. Graph Embedding Module (GEM): To power the comparator, the authors introduce a novel GNN layer that explicitly aggregates features from a node's neighbors and its anti-neighbors (nodes it is not connected to). This allows the network to capture contrasting semantic relationships critical for independence problems.
Figure 1: Architecture of model Mθ(G). From left to right: initially, an input graph G is passed into the model with zeros as node embeddings, which are displayed as white in the figure. The striped green edges connect the anti-neighbors, which are also used in the GEM. After K iterations of the GEM module, the final node embeddings are obtained. These are then averaged to obtain a graph embedding µG. Finally, the graph embedding is put through multiple fully-connected layers to obtain a final logit value for the input graph.
  1. Self-Training via Consistency: The model bootstraps its own learning. During training, it executes its recursive policy multiple times ("roll-outs") or combines them with a greedy heuristic ("mixed roll-outs") to estimate the MIS sizes of generated subgraph pairs. The comparator is then optimized to be mathematically consistent—ensuring its step-by-step decisions align with the final estimated outcomes.
Figure 2: An example of data generation for the training. (Left) At the beginning of each training epoch (Step 5), Algorithm 2 samples Ginit ∼D and computes an independent set by using the comparator CMPθt and by following the branches in the recursion tree that are marked red, with the doubly circled one being the produced independent set. The generated graphs from this procedure are added to the buffer B. (Right) Then, a dataset is created by sampling graphs from the buffer and then computing an estimate of their MIS size (based on ACMPθt ). Based on this estimate, a dataset is created with graph pairs (G, G′) and their corresponding binary labels denoting which MIS estimates are larger.

Datasets

The framework was evaluated on a diverse suite of benchmarks:

  • Real-World Social Networks: COLLAB, TWITTER, and IMDB.
  • Synthetic Hard Instances: The RB dataset (specifically designed to generate challenging benchmarks for MIS).
  • Standard Graph Distributions: Erdos-Renyi (ER), Barabasi-Albert (BA), and Watts-Strogatz (WS).
  • SPECIAL Dataset: A new benchmark introduced by the authors containing adversarial graph structures where traditional handcrafted greedy heuristics fail completely, but a large MIS exists.
  • Minimum Vertex Cover (MVC): RB200 and RB500 datasets were used to demonstrate the framework's extensibility to related CO problems.

Key Insights and Ideas

  • The Consistency Guarantee: The authors prove a powerful theoretical property: if the GNN comparator achieves perfect "consistency" (always correctly identifying the subgraph with the larger true MIS), the recursive algorithm is mathematically guaranteed to find the global optimum. This shifts the learning objective from predicting absolute MIS sizes to maintaining relative consistency.
  • Anti-Neighbors Matter: Traditional GNNs only pass messages between connected nodes. For independence problems, knowing which nodes are not connected provides crucial complementary context that helps the model identify valid independent sets.
  • Self-Correction via Roll-outs: By using the maximum result of multiple randomized recursive runs as a pseudo-label, the model successfully filters out poor decisions and reinforces optimal paths without ever seeing a true ground-truth solution.

Key Results

  • Outperforming Neural Baselines: The proposed method consistently outperformed existing deep learning approaches (such as Erdos' GNN, RUN-CSP, and LwDMIS) across all tested datasets.
  • Beating Handcrafted Heuristics: On the TWITTER and the new SPECIAL datasets, the GNN framework surpassed the standard greedy baseline, proving it can navigate complex structures where simple heuristics get trapped.
  • Strong Out-of-Distribution (OOD) Generalization: In zero-shot transfer scenarios, a model trained purely on the COLLAB dataset generalized remarkably well to the highly specific RB dataset, even outperforming models trained directly on RB data.
  • Computational Efficiency: The inference algorithm operates in polynomial time ($O(|V|^3)$) and achieves faster execution speeds per graph than competing neural approaches.

Limitations and Future Work

  • Lack of Theoretical Bounds: While empirically superior, the framework currently lacks formal approximation ratios or convergence guarantees.
  • Random Branching: The algorithm currently selects the initial branching vertex uniformly at random. A promising future direction is to train the model to predict the optimal vertex to split on, which could dramatically accelerate the search.
  • Simple GNN Modules: The architecture relies on basic linear layers within the GEM module. Integrating more sophisticated, state-of-the-art GNN backbones could yield further performance breakthroughs.

Summary updated

BibTeX
@inproceedings{brusca2023maximum,
  author = {Lorenzo Brusca and Lars C. P. M. Quaedvlieg and Stratis Skoulakis and Grigorios G Chrysos and Volkan Cevher},
  title = {{Maximum Independent Set: Self-Training through Dynamic Programming}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=igE3Zbxvws},
}
Figure