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

校准并提升 GNN 在多关系图和时序图上的逻辑表达能力

Calibrate and Boost Logical Expressiveness of GNN Over Multi-Relational and Temporal Graphs

University of Michigan(密歇根大学);University of Oxford(牛津大学)

Yeyuan Chen, Dingmin Wang

AI总结:

本文分析多关系与时序图中 R$^2$-GNN 对 $\mathcal{FOC}_2$ 的逻辑表达边界,并提出线性时间图变换以增强其表达能力,实验显示性能优于基线。

摘要:

作为图表示学习的强大框架,图神经网络(GNN)近年来受到了广泛关注。然而,据我们所知,尚没有研究正式分析 GNN 作为多关系图上的布尔节点分类器时的逻辑表达能力;在多关系图中,每条边都带有特定的关系类型。本文研究 $\mathcal{FOC}_2$,它是带有两个变量和计数量词的一阶逻辑片段。在否定性结论方面,我们证明,R$^2$-GNN 架构通过引入全局读出(global readout)扩展了局部消息传递 GNN,但在一般情况下无法刻画 $\mathcal{FOC}_2$ 分类器。尽管如此,在肯定性结论方面,我们确立了在某些受限但合理的场景下,R$^2$-GNN 模型等价于 $\mathcal{FOC}_2$ 分类器。为解决 R$^2$-GNN 在表达能力方面的局限,我们提出一种简单的图变换技术,类似于预处理步骤,并且可以在线性时间内执行。当应用于“经过变换”的输入图时,该变换使 R$^2$-GNN 能够有效刻画任意 $\mathcal{FOC}_2$ 分类器。此外,我们将表达能力分析和图变换扩展到时序图,考察若干时序 GNN 架构,并为它们提供一个表达能力层级。为验证我们的发现,我们实现了 R$^2$-GNN 和该图变换技术,并在节点分类任务中针对多种支持多关系图或时序图的知名 GNN 架构开展实证测试。实验结果一致表明,结合图变换的 R$^2$-GNN 在合成数据集和真实世界数据集上均优于基线方法。

英文摘要:

As a powerful framework for graph representation learning, Graph Neural Networks (GNNs) have garnered significant attention in recent years. However, to the best of our knowledge, there has been no formal analysis of the logical expressiveness of GNNs as Boolean node classifiers over multi-relational graphs, where each edge carries a specific relation type. In this paper, we investigate $\mathcal{FOC}_2$, a fragment of first-order logic with two variables and counting quantifiers. On the negative side, we demonstrate that the R$^2$-GNN architecture, which extends the local message passing GNN by incorporating global readout, fails to capture $\mathcal{FOC}_2$ classifiers in the general case. Nevertheless, on the positive side, we establish that R$^2$-GNNs models are equivalent to $\mathcal{FOC}_2$ classifiers under certain restricted yet reasonable scenarios. To address the limitations of R$^2$-GNNs regarding expressiveness, we propose a simple graph transformation technique, akin to a preprocessing step, which can be executed in linear time. This transformation enables R$^2$-GNNs to effectively capture any $\mathcal{FOC}_2$ classifiers when applied to the "transformed" input graph. Moreover, we extend our analysis of expressiveness and graph transformation to temporal graphs, exploring several temporal GNN architectures and providing an expressiveness hierarchy for them. To validate our findings, we implement R$^2$-GNNs and the graph transformation technique and conduct empirical tests in node classification tasks against various well-known GNN architectures that support multi-relational or temporal graphs. Our experimental results consistently demonstrate that R$^2$-GNN with the graph transformation outperforms the baseline methods on both synthetic and real-world datasets

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

↑