On the Importance of Sampling in Training GCNs: Tighter Analysis and Variance Reduction

Weilin Cong, Morteza Ramezani, Mehrdad Mahdavi
3/3/2021
cs.LGcs.AIcs.CV
gnn

Official code: CongWeilin/SGCN (4 stars, Python, last commit 2023-07-06).

Abstract

Graph Convolutional Networks (GCNs) have achieved impressive empirical advancement across a wide variety of semi-supervised node classification tasks. Despite their great success, training GCNs on large graphs suffers from computational and memory issues.

Show full abstract

A potential path to circumvent these obstacles is sampling-based methods, where at each layer a subset of nodes is sampled. Although recent studies have empirically demonstrated the effectiveness of sampling-based methods, these works lack theoretical convergence guarantees under realistic settings and cannot fully leverage the information of evolving parameters during optimization. In this paper, we describe and analyze a general doubly variance reduction schema that can accelerate any sampling method under the memory budget. The motivating impetus for the proposed schema is a careful analysis of the variance of sampling methods where it is shown that the induced variance can be decomposed into node embedding approximation variance (zeroth-order variance) during forward propagation and layerwise-gradient variance (first-order variance) during backward propagation. We theoretically analyze the convergence of the proposed schema and show that it enjoys an $\mathcal{O}(1/T)$ convergence rate. We complement our theoretical results by integrating the proposed schema in different sampling methods and applying them to different large real-world graphs.

View on arXivView PDF

Code Implementations(1)

CongWeilin/SGCNOfficial100%
41Python, Jupyter NotebookFeb 15, 20203 years ago

Similar Papers

Cite this paper

@article{cong2021importance,
  title  = {On the Importance of Sampling in Training GCNs: Tighter Analysis and Variance Reduction},
  author = {Weilin Cong and Morteza Ramezani and Mehrdad Mahdavi},
  year   = {2021},
  eprint = {2103.02696},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.02696}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.02696.svg)](https://codeofpaper.com/paper/2103.02696)

Discussion