Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Bandit Samplers for Training Graph Neural Networks

About

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.

Ziqi Liu, Zhengwei Wu, Zhiqiang Zhang, Jun Zhou, Shuang Yang, Le Song, Yuan Qi• 2020

Related benchmarks

TaskDatasetResultRank
Node ClassificationCora (test)--
861
Node ClassificationPubMed (test)--
546
Node Classificationogbn-arxiv (test)
Accuracy67.5
433
Node ClassificationChameleon (test)
Mean Accuracy60.2
297
Node ClassificationSquirrel (test)
Mean Accuracy38.6
267
Node ClassificationReddit (test)--
137
Node ClassificationPPI (test)
F1 (micro)90.5
126
Node ClassificationCora Full
Accuracy55.5
88
Node ClassificationFlickr (test)
Micro F151.3
57
Node Property Predictionogbn-proteins (test)
ROC AUC0.7825
34
Showing 10 of 11 rows

Other info

Code

Follow for update