Bandit Samplers for Training Graph Neural Networks
Ziqi Liu, Zhengwei Wu, Zhiqiang Zhang, Jun Zhou, Shuang Yang, Le Song, Yuan Qi
Abstract
Several sampling algorithms with variance reduction have been proposed for accelerating the training of Graph Convolution Networks (GCNs). However, due to the intractable computation of optimal sampling distribution, these sampling algorithms are suboptimal for GCNs and are not applicable to more general graph neural networks (GNNs) where the message aggregator contains learned weights rather than fixed weights, such as Graph Attention Networks (GAT). The fundamental reason is that the embeddings of the neighbors or learned weights involved in the optimal sampling distribution are changing during the training and not known a priori, but only partially observed when sampled, thus making the derivation of an optimal variance reduced samplers non-trivial. In this paper, we formulate the optimization of the sampling variance as an adversary bandit problem, where the rewards are related to the node embeddings and learned weights, and can vary constantly. Thus a good sampler needs to acquire variance information about more neighbors (exploration) while at the same time optimizing the immediate sampling variance (exploit). We theoretically show that our algorithm asymptotically approaches the optimal variance within a factor of 3. We show the efficiency and effectiveness of our approach on multiple datasets. * Equal Contribution. Preprint. Under review.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers8
- Hierarchical Graph Transformer with Adaptive Node SamplingZaixi Zhang, Qi Liu, Qingyong Hu, Chee-Kong LeeNeurIPS 2022 · 145 citations
- Do We Need Anisotropic Graph Neural Networks?Shyam A. Tailor, Felix L. Opolka, Pietro Liò, Nicholas Donald LaneICLR 2022 · 46 citations
- Layer-Neighbor Sampling - Defusing Neighborhood Explosion in GNNsMuhammed Fatih Balin, Ümit V. ÇatalyürekNeurIPS 2023 · 37 citations
- A Biased Graph Neural Network Sampler with Near-Optimal RegretQingru Zhang, David Wipf, Quan Gan, Le SongNeurIPS 2021 · 27 citations
- IGLU: Efficient GCN Training via Lazy UpdatesS. Deepak Narayanan, Aditya Sinha, Prateek Jain, Purushottam Kar et al.ICLR 2022 · 13 citations
Builds on2
- Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong et al.NeurIPS 2020 · 3,935 citations
- GraphSAINT: Graph Sampling Based Inductive Learning MethodHanqing Zeng, Hongkuan Zhou, Ajitesh Srivastava, Rajgopal Kannan et al.ICLR 2020 · 1,155 citations
Related papers
- Minimal Variance Sampling with Provable Guarantees for Fast Training of Graph Neural NetworksWeilin Cong, Rana Forsati, Mahmut T. Kandemir, Mehrdad MahdaviKDD 2020 · 73 citations
- GCN meets GPU: Decoupling "When to Sample" from "How to Sample"Morteza Ramezani, Weilin Cong, Mehrdad Mahdavi, Anand Sivasubramaniam et al.NeurIPS 2020 · 37 citations
- On Pipelined GCN with Communication-Efficient Sampling and Inclusion-Aware CachingShulin Wang, Qiang Yu, Xiong Wang, Yuqing Li et al.INFOCOM 2024
- Resource-Efficient Training for Large Graph Convolutional Networks with Label-Centric Cumulative SamplingMingkai Lin, Wenzhong Li, Ding Li, Yizhou Chen et al.WWW 2022 · 10 citations
- Efficient Learning of Linear Graph Neural Networks via Node SubsamplingSeiyun Shin, Ilan Shomorony, Han ZhaoNeurIPS 2023 · 9 citations
