RGF: Recursive Generative Framework for the Edge-Cut Separable Problems

Bo Peng, Rongzhen Ye, Yaohua Li, Weilin Luo, Hai Wan, Jiahao Xu, Zexian LiangNeurIPS 2026

TL;DR

Neural networks are surprisingly good at approximating NP-hard graph problems, right up until the graph gets too big to fit on a GPU. By noticing that fixing the values of just a few boundary nodes cleanly shatters a giant graph into completely independent smaller pieces, the authors build a recursive divide-and-conquer wrapper called RGF. This lets existing neural solvers tackle massive real-world networks of up to 51 million nodes without running out of memory, while actually improving solution quality along the way.

What Problem Does This Paper Address?

Classic combinatorial puzzles—like Maximum Independent Set (MIS) (picking the largest group of non-adjacent nodes), Dominating Set (DS), and Vertex Cover (VC)—pop up everywhere from chip design to bioinformatics. Because they are NP-hard, researchers have increasingly turned to neural networks to approximate solutions quickly.

However, current ML solvers hit a brutal wall at scale. Autoregressive models pick nodes one by one, requiring $\mathcal{O}(n)$ neural network passes—painfully slow for millions of nodes. Non-autoregressive models predict the whole graph in one shot, which is fast, until a massive real-world graph instantly blows past your GPU’s VRAM limit. Even prior divide-and-conquer neural methods require loading the entire graph first to guess an initial global solution. How do you get a neural solver to digest a 50-million-node network on standard hardware without losing accuracy?

Methods

The authors formalize a shared structural quirk across MIS, DS, and VC, grouping them as Edge-Cut Separable Problems (ECSPs). If you slice a graph along a set of edges (a "cut") and decide the states (0 or 1) of just the vertices touching that cut, the resulting subgraphs no longer interact—their optimal solutions become completely independent.

Building on this, the Recursive Generative Framework (RGF) pairs off-the-shelf tools with a novel topological loop:

Figure 1: The overall process of RGF. Given a graph G, we first identify a cut using the partitioner. Cut edges and vertices connected by cut edges are marked with dotted lines. Predicting these vertices forms a CDSP. We then apply a predictor to solve the CDSP, i.e., predict the states of these vertices. Vertices assigned 1 are marked in green, while those assigned 0 are marked in red. After prediction, we infer the states of nearby vertices, according to the MIS constraints. Then we remove all vertices that are predicted or inferenced in previous steps, and the corresponding edges. The remaining graph forms at least two connected subgraphs. We recursively apply this framework to each subgraph.
  1. Partition: Use a standard graph partitioner (like METIS) to slice the graph into two balanced halves with minimal cut edges.
  2. Predict the Cut (New): Formulate a Cut-Determination Sub-Problem (CDSP). Instead of feeding the whole graph to a pre-trained neural solver (like DIFUSCO or FastT2T), RGF extracts only a bounded local neighborhood (up to size $\beta$) around the cut vertices. It predicts states for the cut, runs a quick legality-repair step to ensure no constraints are violated, and prunes/labels neighboring nodes as dictated by the problem rules.
  3. Conquer: Repeat recursively on the newly disconnected subgraphs. Because subgraphs at the same recursion depth are independent, RGF batches them into a single GNN pass, requiring only $\mathcal{O}(\log n)$ neural inferences overall. Once a subgraph shrinks below a size threshold $\alpha$, an exact solver finishes it off cleanly.

Datasets

No new datasets are introduced; instead, RGF is stress-tested on established synthetic and massive real-world benchmarks:

  • Synthetic Graphs: RB graphs (200–300 vertices) and Erdős–Rényi (ER) graphs (700–800 vertices) to test MIS, DS, and VC across multiple neural backbones.
  • Real-World Large Graphs: 16 large-scale MIS instances from the 10th DIMACS Challenge, road networks, and web graphs—ranging from ~114K vertices (luxembourg.osm) up to 50.9 million vertices and 54 million edges (europe.osm).

Key Insights and Ideas

  • Memory is bounded by the cut, not the graph: Because the neural network only ever sees a $\beta$-sized neighborhood around the cut edges, you can tune $\beta$ to match whatever GPU you own. A 51M-node continent-wide road network becomes completely tractable on consumer GPUs (RTX 3090s).
  • Exact solvers act as "error barriers": In neural solvers, small prediction mistakes often snowball. In RGF, errors accumulate only linearly with the number of cut vertices predicted, and handing leaves smaller than $\alpha$ to an exact solver stops error propagation cold.
  • Shallower cuts beat wider cuts: Splitting a graph into 3 parts instead of 2 reduces recursion depth and speeds things up, but it exposes a larger cut at the top level. Forcing the neural net to decide more boundary nodes at once hurts overall accuracy, making 2-way splits the sweet spot.

Key Results

  • Massive Scale & Quality on Real Graphs: On real-world graphs up to 51M vertices, RGF achieves tiny optimality gaps (typically 0.008%–0.188% drop relative to the strong KaMIS heuristic). Direct single-pass neural inference runs out of memory on the 4 largest graphs (11.5M–50.9M nodes) and performs far worse on all 12 graphs where it can run (e.g., 5.26% drop vs. RGF's 0.060% on luxembourg.osm).
Table 2: Quality and scalability on real-world large MIS graphs. d is the average degree; “direct’ applies FastT2T to the whole graph in a single forward pass; RW is a plain random walk with the same wall-clock budget as RGF. The better of RGF and RW is marked in bold.
  • Synthetic Boosts: Wrapping DIFUSCO in RGF improves solution quality across all six synthetic MIS, DS, and VC tasks. The jump is dramatic on hard problems like DS on dense ER graphs, slashing the performance drop from 66.76% down to 38.82%.

Limitations and Future Work

  • Speed vs. Scale: RGF trades raw speed for neural scalability; traditional C++ heuristics like KaMIS are still much faster on moderate-sized graphs, and a simple random walk can beat RGF on some small, low-degree street networks.
  • Dense Graphs Hurt: RGF shines on sparse graphs with small cuts (like roads). On very dense graphs, the "cut" involves almost the whole graph, erasing the memory and scaling advantages.
  • Manual Tuning: The exact-solver threshold $\alpha$ is instance-dependent and currently tuned empirically.
  • Future Directions: The authors plan to automate $\alpha$ selection, add post-processing refinements, scale DS and VC to massive real-world graphs, and apply RGF to industrial problems like Set Cover.

Summary updated

Abstract

The Maximum Independent Set (MIS), Dominating Set (DS), and Vertex Cover (VC) problems are fundamental combinatorial optimization problems with wide-ranging applications. We identify a key property of these problems: by finding a cut in the graph and determining the states of vertices associated with the cut, the graph can be decomposed into multiple subgraphs whose solutions are independent of each other. Therefore, we classify MIS, DS, and VC as Edge-Cut Separable Problems (ECSPs). This property enables a natural divide-and-conquer strategy, which significantly reduces the computational cost and allows neural networks to scale to large-scale graphs that were previously intractable. Based on this property, we propose a recursive framework that leverages this property to approximately solve ECSPs, namely RGF. Our framework consists of two major components: a partitioner that identifies a cut in the graph, and a predictor that solves the cut-determination sub-problem (CDSP) to determine the states of vertices associated with the cut. By recursively applying these components, RGF generates a complete solution for the original ECSP instance. Additionally, through partial prediction, the memory consumption is significantly reduced, enabling RGF to handle real-world large graphs. Experimental results validate the advantages of RGF on real-world large graphs with up to 51M vertices: it reaches a 0.008–0.120% gap to the KaMIS heuristic and outperforms direct neural inference on all 12 benchmarks where the latter can be run.
BibTeX
@inproceedings{peng2026rgf,
  author = {Bo Peng and Rongzhen Ye and Yaohua Li and Weilin Luo and Hai Wan and Jiahao Xu and Zexian Liang},
  title = {{RGF: Recursive Generative Framework for the Edge-Cut Separable Problems}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=VOCORbL6JY},
}
Figure