paper-with-me

홈 › Papers

LMC: Fast Training of GNNs via Subgraph Sampling with Provable Convergence

2023-02-02 · Zhihao Shi, Xize Liang, Jie Wang

The message passing-based graph neural networks (GNNs) have achieved great success in many real-world applications. However, training GNNs on large-scale graphs suffers from the well-known neighbor explosion problem, i.e., the exponentially increasing dependencies of nodes with the number of message passing layers. Subgraph-wise sampling methods -- a promising class of mini-batch training techniques -- discard messages outside the mini-batches in backward passes to avoid the neighbor explosion problem at the expense of gradient estimation accuracy. This poses significant challenges to their convergence analysis and convergence speeds, which seriously limits their reliable real-world applications. To address this challenge, we propose a novel subgraph-wise sampling method with a convergence guarantee, namely Local Message Compensation (LMC). To the best of our knowledge, LMC is the {\it first} subgraph-wise sampling method with provable convergence. The key idea of LMC is to retrieve the discarded messages in backward passes based on a message passing formulation of backward passes. By efficient and effective compensations for the discarded messages in both forward and backward passes, LMC computes accurate mini-batch gradients and thus accelerates convergence. We further show that LMC converges to first-order stationary points of GNNs. Experiments on large-scale benchmark tasks demonstrate that LMC significantly outperforms state-of-the-art subgraph-wise sampling methods in terms of efficiency.

📄 PDF Abstract BibTeX arXiv:2302.00924

Code (1)

miralab-ustc/gnn-lmc 공식 구현 pytorch

Similar Papers 제목 키워드 기반

Provably Convergent Subgraph-wise Sampling for Fast GNN Training

2023-03-17 · Jie Wang, Zhihao Shi, Xize Liang, Defu Lian 외

Subgraph-wise sampling -- a promising class of mini-batch training techniques for graph neural networks (GNNs -- is critical for real-world applications. During the message passing (MP) in GNNs, subgraph-wise sampling me…

An Efficient Subgraph GNN with Provable Substructure Counting Power

2023-03-19 · Zuoyu Yan, Junru Zhou, Liangcai Gao, Zhi Tang 외

We investigate the enhancement of graph neural networks' (GNNs) representation power through their ability in substructure counting. Recent advances have seen the adoption of subgraph GNNs, which partition an input graph…

Graph Learning

A Local Graph Limits Perspective on Sampling-Based GNNs

2023-10-17 · Yeganeh Alimohammadi, Luana Ruiz, Amin Saberi

We propose a theoretical framework for training Graph Neural Networks (GNNs) on large input graphs via training on small, fixed-size sampled subgraphs. This framework is applicable to a wide range of models, including po…

Node Classification

Distance-Restricted Folklore Weisfeiler-Leman GNNs with Provable Cycle Counting Power

2023-09-10 · NeurIPS 2023 11 · Junru Zhou, Jiarui Feng, Xiyuan Wang, Muhan Zhang

The ability of graph neural networks (GNNs) to count certain graph substructures, especially cycles, is important for the success of GNNs on a wide range of tasks. It has been recently used as a popular metric for evalua…

Minimal Variance Sampling with Provable Guarantees for Fast Training of Graph Neural Networks

2020-06-24 · Weilin Cong, Rana Forsati, Mahmut Kandemir, Mehrdad Mahdavi

Sampling methods (e.g., node-wise, layer-wise, or subgraph) has become an indispensable strategy to speed up training large-scale Graph Neural Networks (GNNs). However, existing sampling methods are mostly based on the g…