Adaptive Message Quantization and Parallelization for Distributed Full-graph GNN Training

Borui Wan, Juntao Zhao, Chuan Wu
6/2/2023
cs.LGcs.AIcs.DC

No official code found. Best implementation: raywan-110/AdaQP (24 stars, MIT, last commit 2024-03-01).

Abstract

Distributed full-graph training of Graph Neural Networks (GNNs) over large graphs is bandwidth-demanding and time-consuming. Frequent exchanges of node features, embeddings and embedding gradients (all referred to as messages) across devices bring significant communication overhead for nodes with remote neighbors on other devices (marginal nodes) and unnecessary waiting time for nodes without remote neighbors (central nodes) in the training graph. This paper proposes an efficient GNN training system, AdaQP, to expedite distributed full-graph GNN training. We stochastically quantize messages transferred across devices to lower-precision integers for communication traffic reduction and advocate communication-computation parallelization between marginal nodes and central nodes. We provide theoretical analysis to prove fast training convergence (at the rate of O(T^{-1}) with T being the total number of training epochs) and design an adaptive quantization bit-width assignment scheme for each message based on the analysis, targeting a good trade-off between training convergence and efficiency. Extensive experiments on mainstream graph datasets show that AdaQP substantially improves distributed full-graph training's throughput (up to 3.01 X) with negligible accuracy drop (at most 0.30%) or even accuracy improvement (up to 0.19%) in most cases, showing significant advantages over the state-of-the-art works.

View on arXivView PDF

Code Implementations(1)

raywan-110/AdaQPCommunity100%
MIT

Adaptive Message Quantization and Parallelization for Distributed Full-graph GNN Training

243C, C++2 years agoMIT
distributed-traininggraph-neural-networksquantization

Similar Papers

Cite this paper

@article{wan2023adaptive,
  title  = {Adaptive Message Quantization and Parallelization for Distributed Full-graph GNN Training},
  author = {Borui Wan and Juntao Zhao and Chuan Wu},
  year   = {2023},
  eprint = {2306.01381},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.01381v1}
}

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/2306.01381.svg)](https://codeofpaper.com/paper/2306.01381)

Discussion