arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.03399cs.LGcs.AI
收藏

GRAPES:学习为可扩展图神经网络采样图

GRAPES: Learning to Sample Graphs for Scalable Graph Neural Networks

Vrije Universiteit Amsterdam(瓦赫宁海姆大学阿姆斯特丹分校);Amsterdam UMC(阿姆斯特丹医疗中心);University of Edinburgh(爱丁堡大学);University of Amsterdam(阿姆斯特丹大学)

Taraneh Younesian, Daniel Daza, Emile van Krieken, Thiviyan Thanapalasingam, Peter Bloem

AI总结:

提出自适应采样方法GRAPES,通过训练辅助GNN预测节点采样概率以优化下游任务,在保持高准确率的同时实现大规模图的可扩展性。

摘要:

图神经网络(GNNs)通过聚合来自邻居的信息来学习表示节点。随着GNNs深度的增加,其感受野呈指数级增长,导致高昂的内存开销。现有的一些方法通过对节点的小子集进行采样来解决这一问题,从而将GNNs扩展到更大的图上。这些方法主要在同质图上进行评估,其中相邻节点通常共享相同的标签。然而,大多数此类方法依赖于静态启发式策略,可能无法在不同的图或任务间泛化。我们认为采样方法应当是自适应的,能够根据每个图复杂的结构特性进行调整。为此,我们提出了GRAPES,一种自适应采样方法,它通过学习来识别对训练GNN至关重要的节点集合。GRAPES通过优化下游任务目标来训练第二个GNN,以预测节点的采样概率。我们在多种节点分类基准上评估了GRAPES,涉及同质图以及异质图。我们证明了GRAPES在准确性和可扩展性方面的有效性,特别是在多标签异质图中。与其他采样方法不同,GRAPES即使在样本量较小的情况下也能保持高准确率,因此能够扩展到大规模图上。我们的代码已在 https://github.com/dfdazac/grapes 公开。

英文摘要:

Graph neural networks (GNNs) learn to represent nodes by aggregating information from their neighbors. As GNNs increase in depth, their receptive field grows exponentially, leading to high memory costs. Several existing methods address this by sampling a small subset of nodes, scaling GNNs to much larger graphs. These methods are primarily evaluated on homophilous graphs, where neighboring nodes often share the same label. However, most of these methods rely on static heuristics that may not generalize across different graphs or tasks. We argue that the sampling method should be adaptive, adjusting to the complex structural properties of each graph. To this end, we introduce GRAPES, an adaptive sampling method that learns to identify the set of nodes crucial for training a GNN. GRAPES trains a second GNN to predict node sampling probabilities by optimizing the downstream task objective. We evaluate GRAPES on various node classification benchmarks, involving homophilous as well as heterophilous graphs. We demonstrate GRAPES' effectiveness in accuracy and scalability, particularly in multi-label heterophilous graphs. Unlike other sampling methods, GRAPES maintains high accuracy even with smaller sample sizes and, therefore, can scale to massive graphs. Our code is publicly available at https://github.com/dfdazac/grapes.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑