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:
- Partition: Use a standard graph partitioner (like METIS) to slice the graph into two balanced halves with minimal cut edges.
- 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.
- 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).
- 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