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

GNN风格计算的逻辑视角与激活函数的作用

A Logical View of GNN-Style Computation and the Role of Activation Functions

Institute for Mathematical and Computational Engineering(数学与计算工程研究所);Pontifical Catholic University of Chile(天主教智利大学);IMFD;CENIA;Department of Computer Science, University of Antwerp(安特卫普大学计算机科学系);Institute for Logic and Computation, TU Wien(逻辑与计算研究所,维也纳技术大学);Data Science Institute, Universiteit Hasselt(数据科学研究所,哈塞尔特大学)

Pablo Barceló, Floris Geerts, Matthias Lanzinger, Klara Pakhomenko, Jan Van den Bussche

AI总结:

本文通过定义语言MPLang,从逻辑角度研究图神经网络的计算能力,重点分析激活函数(特别是ReLU与有界激活函数)对数值和布尔表达能力的影响,并首次证明在存在线性层时,ReLU比有界激活函数具有更强的数值查询表达能力。

摘要:

我们研究了MPLang的数值和布尔表达能力,MPLang是一种声明式语言,通过线性消息传递和激活函数捕获图神经网络(GNN)的计算。我们从A-MPLang(无激活函数的片段)开始,并基于游走求和特征刻画了其表达能力。对于有界激活函数,我们证明(在温和条件下)所有最终恒定的激活函数产生相同的表达能力——数值和布尔——并且它包含了先前为具有最终恒定激活函数但无线性层的GNN建立的逻辑。最后,我们证明了在存在线性层的情况下,无界激活函数与有界激活函数之间的第一个表达能力分离:使用ReLU的MPLang在数值查询上严格强于使用最终恒定激活函数(例如截断ReLU)的MPLang。这依赖于线性聚合与最终恒定非线性之间的微妙交互,并确立了使用ReLU的GNN比那些仅限于最终恒定激活函数和线性层的GNN更具表达能力。

英文摘要:

We study the numerical and Boolean expressiveness of MPLang, a declarative language that captures the computation of graph neural networks (GNNs) through linear message passing and activation functions. We begin with A-MPLang, the fragment without activation functions, and give a characterization of its expressive power in terms of walk-summed features. For bounded activation functions, we show that (under mild conditions) all eventually constant activations yield the same expressive power - numerical and Boolean - and that it subsumes previously established logics for GNNs with eventually constant activation functions but without linear layers. Finally, we prove the first expressive separation between unbounded and bounded activations in the presence of linear layers: MPLang with ReLU is strictly more powerful for numerical queries than MPLang with eventually constant activation functions, e.g., truncated ReLU. This hinges on subtle interactions between linear aggregation and eventually constant non-linearities, and it establishes that GNNs using ReLU are more expressive than those restricted to eventually constant activations and linear layers.

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

↑