Maximum Independent Set: Self-Training through Dynamic Programming

Lorenzo Brusca, Lars C.p.m. Quaedvlieg, Stratis Skoulakis, Grigorios Chrysos, Volkan Cevher

Abstract

Finding the Maximum Independent Set (MIS) is a fundamental NP-hard problem in combinatorial optimization with wide-ranging applications in scheduling and logistics. While deep learning offers a promising alternative to traditional solvers, the lack of high-quality labeled data for large-scale graphs often limits supervised training. This paper presents a novel Graph Neural Network (GNN) framework that leverages the recursive structure of Dynamic Programming (DP) to solve MIS. By employing a self-training mechanism with "roll-outs," the model learns to compare sub-graphs and identify optimal paths without the need for ground-truth labels. Our approach incorporates a Graph Embedding Module (GEM) that accounts for both neighbors and anti-neighbors, enhancing the representation of graph structures. Experimental results across synthetic and real-world datasets demonstrate that our method achieves state-of-the-art performance, high approximation ratios, and robust generalization across varying graph distributions.

1. Introduction

Combinatorial Optimization (CO) problems, such as the Maximum Independent Set (MIS)—the task of finding the largest subset of vertices in a graph where no two vertices are adjacent—are central to logistics, scheduling, and network design. However, as NP-hard problems, they are computationally intensive to solve exactly using traditional algorithms.

Recent advances in deep learning have attempted to replace traditional heuristics with Graph Neural Networks (GNNs). However, these models face a significant "chicken and egg" problem: to train a supervised model, one needs optimal solutions for thousands of graphs, which are themselves too expensive to compute. Unsupervised alternatives often rely on continuous relaxations that can lose the discrete logic required for complex graph structures. This paper introduces a framework that bypasses the need for an oracle by combining the recursive logic of Dynamic Programming (DP) with a self-training loop.

2. Methodology

The proposed framework shifts the focus from predicting the MIS directly to learning the underlying recursive structure of the problem through a "Comparator" architecture.

2.1 DP-like Recursion and the Comparator

The algorithm is rooted in a fundamental DP property: for any vertex $v$, the MIS of graph $G$ is the maximum of two scenarios:

  1. $v$ is included in the set (requiring the removal of $v$ and its neighbors).
  2. $v$ is excluded from the set.

To avoid the exponential complexity of exploring every possible branch, the authors train a GNN-based Comparator (CMP). Instead of calculating the MIS of both sub-graphs, the CMP predicts which of the two resulting sub-graphs is likely to yield a larger independent set, effectively pruning the search space and guiding the recursion.

2.2 Graph Embedding Module (GEM)

Standard GNNs typically aggregate information from a node's immediate neighbors. However, in the context of MIS, the absence of a connection (an "anti-neighbor") is as informative as its presence. The authors introduce the Graph Embedding Module (GEM), which explicitly encodes both neighbors and anti-neighbors. This dual-focus allows the model to better capture the "empty space" where independent nodes can reside, which is essential for identifying optimal sets.

2.3 Self-Training via Roll-outs

To train the CMP without ground-truth labels, the framework utilizes a self-training mechanism. The model performs "roll-outs" by running its current policy multiple times on a graph to observe which branch actually produces a larger set. These empirical results serve as the training signal, allowing the model to "bootstrap" its performance through trial and error. The authors also tested a "Mixed Roll-out" variant that incorporates a simple greedy heuristic to provide a stronger baseline for the model to beat during the early stages of training.

3. Experimental Evaluation

The framework was evaluated on a diverse set of benchmarks, including:

  • Real-World Networks: COLLAB (collaboration networks), TWITTER (social circles), and IMDB (actor networks).
  • Synthetic Benchmarks: Erdos-Renyi (ER), Barabasi-Albert (BA), and Watts-Strogatz (WS) graphs.
  • SPECIAL Dataset: A custom dataset designed to be "greedy-hard," where traditional handcrafted heuristics (e.g., picking the lowest-degree node) are mathematically guaranteed to fail.
  • MVC Benchmarks: RB200 and RB500 for testing Minimum Vertex Cover extensions.

4. Key Results and Insights

The experimental results highlight several strengths of the CMP framework:

  • State-of-the-Art Performance: The proposed method outperformed previous deep learning approaches, such as Erdos GNN and LwDMIS, across almost all datasets.
  • High Approximation Ratios: The model consistently achieved approximation ratios above 0.95, frequently reaching 0.99 on social network graphs.
  • Robust Generalization: Models trained on one type of graph (e.g., COLLAB) performed surprisingly well when tested on completely different distributions (e.g., TWITTER), suggesting the model learns fundamental graph properties rather than memorizing specific datasets.
  • Heuristic-Agnostic Learning: Unlike human-designed heuristics, the CMP successfully navigated the "SPECIAL" dataset, demonstrating its ability to learn complex logic that eludes simple greedy strategies. Furthermore, the inference algorithm maintains a complexity of $O(|V|^3)$, making it competitive with other neural approaches in terms of speed.

5. Conclusion and Future Work

This research demonstrates that combining DP logic with self-training GNNs provides a powerful, label-free approach to solving NP-hard graph problems. By focusing on consistency in sub-graph comparison, the model reaches near-optimal solutions without supervised data.

Future work may address current limitations, such as the random selection of vertices for branching; a learned branching policy could further improve efficiency. Additionally, integrating more advanced architectures like Graph Transformers or establishing theoretical convergence guarantees for the self-training process could further solidify the framework's utility in combinatorial optimization.

Summary updated

BibTeX
@inproceedings{brusca2023maximum,
  author = {Lorenzo Brusca and Lars C.P.M. Quaedvlieg and Stratis Skoulakis and Grigorios 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