Convergent Graph Solvers

Junyoung Park, Jinhyun Choo, Jinkyoo Park

Introduction

Convergent Graph Solvers (CGS) is a novel deep learning framework designed to guarantee convergence when predicting the stationary states of networked systems. By constructing input-dependent "contracting" maps and leveraging the implicit function theorem for memory-efficient training, CGS outperforms traditional Graph Neural Networks (GNNs) in both physical simulations and general graph classification tasks.

The Convergence Problem in GNNs

Many complex systems—from fluid flow in porous rocks to the PageRank algorithm used by search engines—reach their most important properties at a "stationary state" or "fixed point." Traditionally, scientists solve these problems using hand-designed iterative formulas.

While researchers have recently turned to GNNs to learn these iterative maps from data, standard GNNs have a major flaw: they lack mathematical guarantees that the iterations will ever actually settle down (converge). To prevent infinite loops, developers usually set a fixed number of iterations as a hyperparameter. If this number is too small, the model stops before finding the answer; if it’s too large, it wastes computational resources. CGS addresses this by baking mathematical guarantees of existence and uniqueness into the architecture itself.

The CGS Architecture

The CGS forward propagation follows a distinct three-step pipeline:

CGS Architecture Pipeline
  1. Constructing the Map: Given an input graph, a parameter-generating GNN creates a set of linear transition maps ($A$) and bias vectors ($B$). Crucially, these maps are designed to be "contracting," meaning that applying the map repeatedly brings points closer together.
  2. Computing the Fixed Point: Because the maps are contracting, the Banach fixed point theorem guarantees a unique stationary state ($H^*$) exists. For small graphs, CGS can find this state instantly via matrix inversion. For larger graphs, it uses an iterative solver until the state stabilizes.
  3. Decoding: A separate decoder network takes these stable "fixed points" and translates them into the final prediction (e.g., fluid pressure or a graph category).

To make training feasible, the authors use the Implicit Function Theorem. This allows them to calculate gradients for backpropagation without needing to store every intermediate step of the iteration in memory, resulting in a constant $O(1)$ memory footprint regardless of how many iterations the solver takes.

Experimental Evaluation

The authors evaluated CGS across three distinct domains:

  • Physical Diffusion: Simulating fluid flow in 3D pore networks (50–800 nodes). This tests the model's ability to solve linear physical systems.
  • Graph Value Iteration (GVI): Solving Markov Decision Processes (MDPs) where the underlying math is non-linear. This tests if the learned linear maps can approximate complex, non-linear logic.
  • General Benchmarks: Six standard graph classification datasets, including social networks (IMDB-Binary, IMDB-Multi) and bioinformatics (MUTAG, PROTEINS, PTC, NCI1).

Key Findings

  • Guaranteed Stability: Unlike "soft" approaches that simply penalize non-convergence in the loss function, CGS uses a "hard" structural constraint. By forcing the learned maps to be contracting, convergence is a mathematical certainty.
  • Linearity is Expressive: One might worry that using linear maps limits the model. However, by using "multi-head" extensions (multiple maps running in parallel) and a non-linear decoder, CGS can solve highly non-linear problems like Value Iteration.
  • Size Transferability and Superior Accuracy: Because the iterative map is learned based on local graph structures, a model trained on small graphs generalizes remarkably well to much larger graphs.
Performance across different graph sizes

In the fluid diffusion experiments, CGS significantly outperformed other implicit models like IGNN and SSE, as well as standard multi-layer GNNs. In the GVI task, CGS maintained high accuracy even as the number of nodes and edges increased. For example, on graphs with 100 nodes, CGS achieved a Mean Absolute Percentage Error (MAPE) of ~1.13%, while the IGNN baseline struggled at ~29%. Furthermore, on standard benchmarks like MUTAG and PROTEINS, CGS performed competitively with state-of-the-art GNNs, proving it is a viable general-purpose architecture.

Limitations and Future Work

The primary bottleneck for CGS is the computational cost of matrix inversion, which scales cubically ($O(p^3)$) with the number of nodes. While the authors mitigate this by switching to iterative solvers for large graphs, very dense or massive networks remain a challenge. Future work could explore more complex, non-linear contracting maps or investigate how CGS handles dynamic graphs where the structure changes over time, requiring the "fixed point" to be updated continuously.

Summary updated

BibTeX
@inproceedings{park2022convergent,
  author = {Junyoung Park and Jinhyun Choo and Jinkyoo Park},
  title = {{Convergent Graph Solvers}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=ItkxLQU01lD},
}
Figure