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

图神经网络的描述复杂性

The Descriptive Complexity of Graph Neural Networks

RWTH Aachen University(亚琛工业大学)

Martin Grohe

AI总结:

该研究从电路与描述复杂性角度分析GNN能力,证明不同配置的GNN分别对应非一致/一致$\text{TC}^0$类及GFO+C逻辑可定义的查询,刻画了GNN的计算表达能力边界。

摘要:

我们从布尔电路复杂性和描述复杂性的角度分析图神经网络(GNNs)的能力。我们证明,多项式规模、有界深度的GNN族可计算的图查询,恰好等价于带计数与内置关系的一阶逻辑受护片段GFO+C(带计数的受护一阶逻辑)可定义的查询,这将GNN归入(非一致)电路复杂性类$\text{TC}^0$。值得注意的是,这类GNN族可使用任意实数权重,以及包含标准ReLU、逻辑“sigmoid”和双曲正切函数在内的一大类激活函数。若允许GNN使用随机初始化和全局读出(二者均为实际中广泛使用的GNN标准特性),则它们可计算的查询恰好等价于带阈值门的有界深度布尔电路,即恰好是$\text{TC}^0$中的查询。此外,我们证明,具有分段线性激活和有理权重的单个GNN可计算的查询,可在无内置关系的GFO+C中定义,因此属于一致$\text{TC}^0$。

英文摘要:

We analyse the power of graph neural networks (GNNs) in terms of Boolean circuit complexity and descriptive complexity. We prove that the graph queries that can be computed by a polynomial-size bounded-depth family of GNNs are exactly those definable in the guarded fragment GFO+C of first-order logic with counting and with built-in relations. This puts GNNs in the circuit complexity class (non-uniform) $\text{TC}^0$. Remarkably, the GNN families may use arbitrary real weights and a wide class of activation functions that includes the standard ReLU, logistic "sigmoid", and hyperbolic tangent functions. If the GNNs are allowed to use random initialisation and global readout (both standard features of GNNs widely used in practice), they can compute exactly the same queries as bounded depth Boolean circuits with threshold gates, that is, exactly the queries in $\text{TC}^0$. Moreover, we show that queries computable by a single GNN with piecewise linear activations and rational weights are definable in GFO+C without built-in relations. Therefore, they are contained in uniform $\text{TC}^0$.

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

↑