技术报告:图神经网络迈向语法化
Technical report: Graph Neural Networks go Grammatical
AI总结:
本研究提出基于上下文无关文法连接代数语言与图神经网络的框架,通过文法约简推导出符合三阶Weisfeiler-Lehman测试的G²N²模型,实验证明其在下游任务中效率优于同类3-WL GNN。
摘要:
本文提出一个框架,用于形式化建立代数语言的一部分与图神经网络(GNN)之间的关联。该框架利用上下文无关文法(CFG,Context-Free Grammars)将代数运算组织为可转化为GNN层模型的生成规则。由于直接从语言推导的CFG往往在规则和变量中存在冗余,我们提出了一种文法约简方案。通过应用该策略,我们使用MATLANG定义了符合三阶Weisfeiler-Lehman(3-WL)测试的CFG。从这个3-WL CFG出发,我们推导出名为G²N²的GNN模型,该模型可证明符合3-WL标准。通过多项实验,我们证明了在众多下游任务中,G²N²相比其他3-WL GNN具有更优的效率。其中一项实验凸显了我们框架中文法约简的优势。
英文摘要:
This paper introduces a framework for formally establishing a connection between a portion of an algebraic language and a Graph Neural Network (GNN). The framework leverages Context-Free Grammars (CFG) to organize algebraic operations into generative rules that can be translated into a GNN layer model. As CFGs derived directly from a language tend to contain redundancies in their rules and variables, we present a grammar reduction scheme. By applying this strategy, we define a CFG that conforms to the third-order Weisfeiler-Lehman (3-WL) test using MATLANG. From this 3-WL CFG, we derive a GNN model, named G$^2$N$^2$, which is provably 3-WL compliant. Through various experiments, we demonstrate the superior efficiency of G$^2$N$^2$ compared to other 3-WL GNNs across numerous downstream tasks. Specifically, one experiment highlights the benefits of grammar reduction within our framework.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。