arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2305.18015cs.AI
收藏

关于单调最大和GNN与Datalog之间的对应关系

On the Correspondence Between Monotonic Max-Sum GNNs and Datalog

University of Oxford(牛津大学);University of Oslo(奥斯陆大学)

David Tena Cucala, Bernardo Cuenca Grau, Boris Motik, Egor V. Kostylev

AI总结:

本文研究单调max-sum GNN与Datalog的对应关系,证明这类GNN的无界求和不提升表达能力,并细化到单调max GNN子类的对应Datalog程序类,为理解GNN表达能力提供了新视角。

摘要:

尽管人们对将机器学习技术应用于结构化数据抱有浓厚兴趣,但这类技术的表达能力(即对可学习内容的描述)仍未得到充分理解。本文研究基于图神经网络(GNN)的数据变换。首先,我们指出将数据集编码为GNN可处理的数值形式的方式,可能会掩盖模型表达能力的刻画,并且我们认为规范编码提供了合适的基础。其次,我们研究单调max-sum GNN(单调最大和GNN)的表达能力,这类GNN涵盖了具有max(最大)和sum(求和)聚合函数的GNN子类。我们证明,对于每一个此类GNN,都可以计算出一个Datalog程序,使得将该GNN应用于任意数据集所产生的事实,与将该程序的规则对数据集应用一轮所得到的事实相同。单调max-sum GNN可以对数量无界的特征向量求和,这会导致任意大的特征值,而规则应用仅需要有界数量的常量。因此,我们的结果表明,单调max-sum GNN的无界求和并不会提升其表达能力。第三,我们将结果细化到仅使用max聚合函数的单调max GNN子类,并确定了对应的一类Datalog程序。

英文摘要:

Although there has been significant interest in applying machine learning techniques to structured data, the expressivity (i.e., a description of what can be learned) of such techniques is still poorly understood. In this paper, we study data transformations based on graph neural networks (GNNs). First, we note that the choice of how a dataset is encoded into a numeric form processable by a GNN can obscure the characterisation of a model's expressivity, and we argue that a canonical encoding provides an appropriate basis. Second, we study the expressivity of monotonic max-sum GNNs, which cover a subclass of GNNs with max and sum aggregation functions. We show that, for each such GNN, one can compute a Datalog program such that applying the GNN to any dataset produces the same facts as a single round of application of the program's rules to the dataset. Monotonic max-sum GNNs can sum an unbounded number of feature vectors which can result in arbitrarily large feature values, whereas rule application requires only a bounded number of constants. Hence, our result shows that the unbounded summation of monotonic max-sum GNNs does not increase their expressive power. Third, we sharpen our result to the subclass of monotonic max GNNs, which use only the max aggregation function, and identify a corresponding class of Datalog programs.

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

↑