paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Are Targeted Messages More Effective?

目标化消息更有效吗?
LICS Proceedings of the 39th Annual ACM/IEEE Symposium on Logic in Computer Science2024匹配度 1/10 · 该论文研究 GNN 的表达力与其对应的计数一阶逻辑片段,属于图神经网络的理论基础,与用户关注的 PL→AI(对 ML 系统/Agentic 程序做静态分析)、AI→PL(用 LLM 改进静态分析/形式化验证)、浮点程序分析或贝叶斯程序分析均无直接关系。引用 3 inbox
Martin Grohe, Eran Rosenbluth
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:回答 GNN 中依赖源与目标状态的消息版本是否比仅依赖源状态版本表达力更强,证明非一致设置下等价、一致设置下更强。

本文研究图神经网络(GNN)中两种核心消息传递机制的表达力差异:一种消息仅依赖源顶点状态,另一种同时依赖源与目标顶点状态。GNN 的表达力可由带计数的 first-order logic 片段和 Weisfeiler-Lehman 算法刻画;这两种机制分别对应带计数一阶逻辑的 modal 片段与 guarded 片段。作者回答 Grohe(LICS'23)提出的问题:在带标签无向图上,modal 与 guarded 片段表达力相同,因此在非一致(non-uniform)设置下两种 GNN 版本表达力相同;但在一致(uniform)设置下,依赖源与目标状态的第二版严格更强。结论表明 targeted messages 的优势取决于是否允许非一致参数。

问题
GNN 两种消息传递版本(消息仅依赖源状态 vs 依赖源和目标状态)的表达力是否不同,此前理论主要关注前者,问题未被充分回答。
方法
将两种 GNN 版本分别对应到带计数一阶逻辑的 modal 与 guarded 片段,利用逻辑片段的表达力比较和 Weisfeiler-Lehman 刻画进行证明。
评估
理论证明:在带标签无向图上证明 modal 与 guarded 片段表达力相等,进而区分非一致与一致设置下两个 GNN 版本的表达力关系。
原文摘要(Abstract)

Graph neural networks (GNN) are deep learning architectures for graphs. Essentially, a GNN is a distributed message passing algorithm, which is controlled by parameters learned from data. It operates on the vertices of a graph: in each iteration, vertices receive a message on each incoming edge, aggregate these messages, and then update their state based on their current state and the aggregated messages. The expressivity of GNNs can be characterised in terms of certain fragments of first-order logic with counting and the Weisfeiler-Lehman algorithm. The core GNN architecture comes in two different versions. In the first version, a message only depends on the state of the source vertex, whereas in the second version it depends on the states of the source and target vertices. In practice, both of these versions are used, but the theory of GNNs so far mostly focused on the first one. On the logical side, the two versions correspond to two fragments of first-order logic with counting that we call modal and guarded. The question whether the two versions differ in their expressivity has been mostly overlooked in the GNN literature and has only been asked recently (Grohe, LICS'23). We answer this question here. It turns out that the answer is not as straightforward as one might expect. By proving that the modal and guarded fragment of first-order logic with counting have the same expressivity over labelled undirected graphs, we show that in a non-uniform setting the two GNN versions have the same expressivity. However, we also prove that in a uniform setting the second version is strictly more expressive.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) · DBLP

BibTeX
@inproceedings{GroheR24,
  title = {Are Targeted Messages More Effective?},
  author = {Martin Grohe and Eran Rosenbluth},
  booktitle = {LICS},
  year = {2024},
  doi = {10.1145/3661814.3662093}
}