arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.21574cs.LG
收藏

利用经典算法增强图神经网络

Leveraging Classical Algorithms for Graph Neural Networks

University of Cambridge(剑桥大学);Google DeepMind(谷歌DeepMind)

Jason Wu, Petar Veličković

AI总结:

本研究通过在经典算法上预训练图神经网络,为分子性质预测任务注入算法先验,实验表明该方法在ogbg-molhiv和ogbg-molclintox上分别提升6%和3%的绝对性能,验证了其有效性。

摘要:

神经网络擅长处理非结构化数据,但往往难以在分布外泛化,而经典算法虽保证正确性却缺乏灵活性。我们探究在经典算法上预训练图神经网络(GNN)能否提升其在开放图基准(Open Graph Benchmark)中分子性质预测任务上的表现,这些任务包括ogbg-molhiv(HIV抑制)和ogbg-molclintox(临床毒性)。我们使用来自CLRS算法推理基准的24种经典算法训练的GNN,来初始化并冻结用于分子预测的第二个GNN的选定层。与随机初始化的基线相比,预训练模型持续获得胜利或持平,其中线段相交算法预训练在ogbg-molhiv上取得6%的绝对提升,而Dijkstra预训练在ogbg-molclintox上取得3%的提升。这些结果表明,将经典算法先验嵌入GNN中能提供有用的归纳偏置,从而提升在复杂真实世界图数据上的性能。

英文摘要:

Neural networks excel at processing unstructured data but often fail to generalise out-of-distribution, whereas classical algorithms guarantee correctness but lack flexibility. We explore whether pretraining Graph Neural Networks (GNNs) on classical algorithms can improve their performance on molecular property prediction tasks from the Open Graph Benchmark: ogbg-molhiv (HIV inhibition) and ogbg-molclintox (clinical toxicity). GNNs trained on 24 classical algorithms from the CLRS Algorithmic Reasoning Benchmark are used to initialise and freeze selected layers of a second GNN for molecular prediction. Compared to a randomly initialised baseline, the pretrained models achieve consistent wins or ties, with the Segments Intersect algorithm pretraining yielding a 6% absolute gain on ogbg-molhiv and Dijkstra pretraining achieving a 3% gain on ogbg-molclintox. These results demonstrate embedding classical algorithmic priors into GNNs provides useful inductive biases, boosting performance on complex, real-world graph data.

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

↑