arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2208.03093cs.LOcs.AIcs.PL
收藏

图神经网络的内部逻辑

A Gaze into the Internal Logic of Graph Neural Networks, with Logic

University of North Texas(北德克萨斯大学)

Paul Tarau

摘要:

图神经网络与逻辑编程共享几个关键的关系推理机制。它们被训练和评估的数据集可以被视为包含基础术语的数据库事实。这使得可以用等效的逻辑程序来建模它们的推理机制,不仅可以更好地理解它们如何在机器学习过程中涉及的实体之间传播信息,还可以推断出从给定数据集可以学习到什么的限制,以及如何推广到看不见的测试数据。这使我们的关键思想,本文:建模的帮助下,一个逻辑程序的信息流参与学习推断的链接结构的图和信息内容的节点属性的新节点,给定它们的已知连接到节点可能具有类似的属性。这个问题被称为图节点属性预测,我们的方法将包括在Prolog程序的帮助下模拟图神经网络的训练和推理阶段的关键信息传播步骤。我们在ogbn-arxiv节点属性推断基准上测试了我们的方法。为了推断引文网络中代表论文的节点的类标签,我们将与每个节点相关联的文本的依赖树提取到有向非循环图中,并将其编码为基础Prolog术语。连同他们对其他论文的引用,它们成为数据库中的事实,我们在Prolog程序的帮助下进行推理,该程序模仿图神经网络中预测节点属性的信息传播。在这个过程中,我们发明的地面术语相似性关系,有助于推断标签的测试集,通过传播节点属性从类似的节点在训练集中,我们评估其有效性比较图的链接结构。最后,我们实现了解释生成器,揭示了数据集固有的性能上限。作为一个实际的结果,我们得到了一个逻辑程序,当被视为机器学习算法时,在节点属性预测基准上执行接近最先进的状态。

英文摘要:

Graph Neural Networks share with Logic Programming several key relational inference mechanisms. The datasets on which they are trained and evaluated can be seen as database facts containing ground terms. This makes possible modeling their inference mechanisms with equivalent logic programs, to better understand not just how they propagate information between the entities involved in the machine learning process but also to infer limits on what can be learned from a given dataset and how well that might generalize to unseen test data. This leads us to the key idea of this paper: modeling with the help of a logic program the information flows involved in learning to infer from the link structure of a graph and the information content of its nodes properties of new nodes, given their known connections to nodes with possibly similar properties. The problem is known as graph node property prediction and our approach will consist in emulating with help of a Prolog program the key information propagation steps of a Graph Neural Network's training and inference stages. We test our a approach on the ogbn-arxiv node property inference benchmark. To infer class labels for nodes representing papers in a citation network, we distill the dependency trees of the text associated to each node into directed acyclic graphs that we encode as ground Prolog terms. Together with the set of their references to other papers, they become facts in a database on which we reason with help of a Prolog program that mimics the information propagation in graph neural networks predicting node properties. In the process, we invent ground term similarity relations that help infer labels in the test set by propagating node properties from similar nodes in the training set and we evaluate their effectiveness in comparison with that of the graph's link structure. Finally, we implement explanation generators that unveil performance upper bounds inherent to the dataset. As a practical outcome, we obtain a logic program, that, when seen as machine learning algorithm, performs close to the state of the art on the node property prediction benchmark.

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

↑