Faster Local Solvers for Graph Diffusion Equations

Jiahe Bai, Baojian Zhou, Deqing Yang, Yanghua Xiao

Abstract

Graph Diffusion Equations (GDEs) are fundamental to various graph learning tasks, yet traditional global solvers suffer from high computational costs on large-scale graphs. This paper presents a novel framework that treats diffusion as a "locally evolving set process." By localizing iterative solvers such as Gradient Descent and Successive Overrelaxation, the authors develop algorithms that are both general-purpose and highly parallelizable. Empirical evaluations across 18 datasets, including massive graphs with over 100 million nodes, demonstrate up to a 100x speedup over global methods and significant performance gains on GPU architectures.

Introduction

Graph Diffusion Equations (GDEs)—powering algorithms like Personalized PageRank (PPR), Katz centrality, and Heat Kernels—are essential tools in graph learning for understanding node importance and community structure. However, standard solvers are "global," requiring matrix-vector products that touch every edge in the graph ($O(m)$ operations) per iteration. On massive graphs with hundreds of millions of nodes, this approach becomes computationally prohibitive. While specialized "local" solvers like APPR exist, they are often restricted to specific equations and are fundamentally sequential, limiting their utility on modern parallel hardware like GPUs.

The Local Diffusion Framework

The researchers propose a Local Diffusion Process framework based on the observation that diffusion vectors in real-world graphs are naturally "localizable." Most of the "energy" or weight of the diffusion remains concentrated near the source node. This sparsity is quantified using the participation ratio $p(f)$, which measures the fraction of nodes carrying significant weight in the final solution.

By leveraging this locality, the framework treats the diffusion process as a dynamic system where only a small, evolving set of "active" nodes is updated at each step.

Localized Iterative Solvers

The authors localized three standard iterative solvers within this framework:

  1. LocalSOR (Successive Overrelaxation): A localized version of the Gauss-Seidel method. The authors prove that the widely used APPR algorithm is a special case of LocalSOR with a relaxation parameter $\omega = 1$.
  2. LocalGD (Gradient Descent): Unlike sequential local solvers, LocalGD updates all active nodes simultaneously. This "embarrassingly parallel" nature makes it ideal for GPU acceleration.
  3. LocalCH (Chebyshev): An accelerated solver based on Chebyshev polynomials, designed to further speed up convergence.

Experimental Evaluation and Results

The solvers were evaluated on 18 graph datasets, ranging from small citation networks (Cora, Pubmed) to massive graphs like ogbn-papers100M (111M nodes).

Key Findings:

  • Significant Speedups: Local solvers achieved up to a 100x reduction in the number of operations compared to global solvers.
  • GPU Efficiency: LocalGD on GPUs significantly outperformed both CPU-based local solvers and standard GPU-based global solvers, particularly for applications requiring moderate precision.
  • GNN Integration: Integrating these solvers into architectures like InstantGNN reduced training times by 50% without compromising accuracy.
  • Sublinear Complexity: Theoretical analysis confirms that these algorithms achieve sublinear runtime complexity, as the computational cost does not scale linearly with the total graph size.

Conclusion and Future Work

The proposed framework bridges the gap between classical numerical analysis and local graph algorithms. While local solvers excel at providing fast, "good enough" approximations, their advantage diminishes when extremely high precision is required, as the active set eventually expands to the whole graph. Future research will focus on proving accelerated convergence bounds for LocalSOR and LocalCH and exploring local message-passing strategies to further scale Graph Neural Networks.

Summary updated

BibTeX
@inproceedings{bai2024faster,
  author = {Jiahe Bai and Baojian Zhou and Deqing Yang and Yanghua Xiao},
  title = {{Faster Local Solvers for Graph Diffusion Equations}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=3Z0LTDjIM0},
}
Figure