[论文解读] Graph Neural Networks for Link Prediction with Subgraph Sketching
本文提出了ELPH和BUDDY两种新型图神经网络模型,用于链接预测,通过哈希技术对子图进行草图化处理,以高效捕获三角形计数等结构特征,克服了标准消息传递GNN的局限性。ELPH在链接预测基准测试中达到最先进性能,同时显著快于基于子图的GNN;BUDDY通过预计算特征进一步实现了全面可扩展性,在标准数据集上超越现有方法,同时保持高效率。
Many Graph Neural Networks (GNNs) perform poorly compared to simple heuristics on Link Prediction (LP) tasks. This is due to limitations in expressive power such as the inability to count triangles (the backbone of most LP heuristics) and because they can not distinguish automorphic nodes (those having identical structural roles). Both expressiveness issues can be alleviated by learning link (rather than node) representations and incorporating structural features such as triangle counts. Since explicit link representations are often prohibitively expensive, recent works resorted to subgraph-based methods, which have achieved state-of-the-art performance for LP, but suffer from poor efficiency due to high levels of redundancy between subgraphs. We analyze the components of subgraph GNN (SGNN) methods for link prediction. Based on our analysis, we propose a novel full-graph GNN called ELPH (Efficient Link Prediction with Hashing) that passes subgraph sketches as messages to approximate the key components of SGNNs without explicit subgraph construction. ELPH is provably more expressive than Message Passing GNNs (MPNNs). It outperforms existing SGNN models on many standard LP benchmarks while being orders of magnitude faster. However, it shares the common GNN limitation that it is only efficient when the dataset fits in GPU memory. Accordingly, we develop a highly scalable model, called BUDDY, which uses feature precomputation to circumvent this limitation without sacrificing predictive performance. Our experiments show that BUDDY also outperforms SGNNs on standard LP benchmarks while being highly scalable and faster than ELPH.
研究动机与目标
- 解决标准消息传递GNN在链接预测中因表达能力有限且无法区分同构节点而导致的性能不佳问题。
- 克服基于子图的GNN(SGNNs)效率低下的问题,后者在子图构建过程中面临高计算成本和冗余问题。
- 开发一种方法,无需显式构建子图即可捕获关键结构特征,如三角形计数和邻域相似性。
- 通过预计算特征实现可扩展的推理与训练,使模型能够处理超出GPU内存限制的大规模图。
- 在标准链接预测基准上实现最先进性能,同时保持高速度和高表达力。
提出的方法
- 提出ELPH,一种全图GNN,利用MinHash和HyperLogLog草图将子图级结构信息作为消息传递,近似子图GNN的关键组件,而无需显式构建子图。
- 采用草图技术将结构特征(如共同邻居和三角形计数)直接编码到节点表示中,使模型能够计数子结构并打破同构对称性。
- 使用可学习的读出机制,通过多层感知机(MLP)将基于草图的结构特征与节点特征结合,以预测链接概率。
- 提出BUDDY,ELPH的可扩展扩展,通过预计算并缓存节点表示和草图特征,实现在大规模图上的高效推理与训练。
- 利用基于草图的特征具有可微性且与标准GNN训练流程兼容的特性,支持端到端学习。
- 采用两阶段训练流程:首先使用图传播和草图技术预计算特征,然后在预计算特征上训练最终的MLP头。
实验结果
研究问题
- RQ1通过哈希技术对子图进行草图化处理,能否在不显式构建子图的情况下,有效近似基于子图的GNN的表达能力,用于链接预测?
- RQ2使用基于草图的结构特征的全图GNN,能否在准确率和效率上均优于现有基于子图的GNN?
- RQ3基于草图的特征在多大程度上使模型能够克服同构节点问题并计数如三角形等子结构?
- RQ4预计算的特征能否实现对超出GPU内存限制的大规模图的可扩展训练与推理?
- RQ5在标准链接预测基准上,所提出的模型与强基线方法(如启发式方法、节点嵌入和子图GNN)相比表现如何?
主要发现
- ELPH在多个OGB链接预测基准上达到最先进性能,优于现有基于子图的GNN,且速度高出数个数量级。
- 在ogbl-ppa数据集上,BUDDY的MRR达到87.56±0.11,显著优于次佳方法(无特征)的82.27±0.10。
- 在ogbl-collab数据集上,BUDDY的HR@100达到92.93±0.27,远超最佳基线方法(无特征)的48.45±4.83。
- 消融实验表明,若同时移除结构特征和节点特征,BUDDY的性能急剧下降,证实了两者的必要性。
- BUDDY在所有数据集上均保持高性能,包括ogbl-citation2和ogbl-ddi,HR@20分别为78.51±1.36和MRR为87.56±0.11。
- 学习曲线显示模型收敛稳定且迅速,多组随机种子下方差极小,表明训练过程稳健。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。