arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2410.01910cs.LGcs.CCcs.LO
收藏

统一表达能力是否过于严格?迈向图神经网络的高效表达能力

Is uniform expressivity too restrictive? Towards efficient expressivity of graph neural networks

Cornell University(康奈尔大学);Cornell Tech(康奈尔科技学院);Johns Hopkins University(约翰斯·霍普金斯大学)

Sammy Khalife, Josué Tonelli-Cueto

AI总结:

针对统一表达能力的局限性,本文证明sigmoid、tanh等Pfaffian激活函数GNN无法实现GC2查询统一表达能力,提出其可通过参数对数依赖输入图最大度高效表达GC2查询,还实现对数-对数依赖,放宽了统一表达能力限制。

摘要:

统一表达能力保证图神经网络(GNN)无需依赖输入图大小的参数即可表达查询,该特性在应用中很理想,因可使可训练参数数量独立于输入图大小。一阶逻辑的二变量受护片段(GC2)的统一表达能力是整流线性单元(ReLU)GNN的著名成果[Barcelo 等人,2020]。本文证明,对于具有广泛Pfaffian激活函数(包括sigmoid和tanh)的GNN,GC2查询的统一表达能力不可能实现,回答了[Grohe,2021]提出的问题。我们还表明,尽管存在这些限制,许多此类GNN仍能以参数数量对输入图最大度保持对数依赖的方式高效表达GC2查询。此外,我们证明对于特定激活函数选择,可实现对度的对数-对数依赖。这表明统一表达能力可通过覆盖实际应用中出现的大型图成功放宽。我们的实验表明理论估计在实践中成立。

英文摘要:

Uniform expressivity guarantees that a Graph Neural Network (GNN) can express a query without the parameters depending on the size of the input graphs. This property is desirable in applications in order to have number of trainable parameters that is independent of the size of the input graphs. Uniform expressivity of the two variable guarded fragment (GC2) of first order logic is a well-celebrated result for Rectified Linear Unit (ReLU) GNNs [Barcelo & al., 2020]. In this article, we prove that uniform expressivity of GC2 queries is not possible for GNNs with a wide class of Pfaffian activation functions (including the sigmoid and tanh), answering a question formulated by [Grohe, 2021]. We also show that despite these limitations, many of those GNNs can still efficiently express GC2 queries in a way that the number of parameters remains logarithmic on the maximal degree of the input graphs. Furthermore, we demonstrate that a log-log dependency on the degree is achievable for a certain choice of activation function. This shows that uniform expressivity can be successfully relaxed by covering large graphs appearing in practical applications. Our experiments illustrates that our theoretical estimates hold in practice.

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

↑