[论文解读] Nested Graph Neural Networks
NGNN 引入嵌套的根子图来学习节点表征,严格地比 1-WL 和标准 GNNs 更强,同时保持线性时间复杂度,并在多个基础 GNN 与数据集上展示出一致的性能提升。
Graph neural network (GNN)'s success in graph classification is closely related to the Weisfeiler-Lehman (1-WL) algorithm. By iteratively aggregating neighboring node features to a center node, both 1-WL and GNN obtain a node representation that encodes a rooted subtree around the center node. These rooted subtree representations are then pooled into a single representation to represent the whole graph. However, rooted subtrees are of limited expressiveness to represent a non-tree graph. To address it, we propose Nested Graph Neural Networks (NGNNs). NGNN represents a graph with rooted subgraphs instead of rooted subtrees, so that two graphs sharing many identical subgraphs (rather than subtrees) tend to have similar representations. The key is to make each node representation encode a subgraph around it more than a subtree. To achieve this, NGNN extracts a local subgraph around each node and applies a base GNN to each subgraph to learn a subgraph representation. The whole-graph representation is then obtained by pooling these subgraph representations. We provide a rigorous theoretical analysis showing that NGNN is strictly more powerful than 1-WL. In particular, we proved that NGNN can discriminate almost all r-regular graphs, where 1-WL always fails. Moreover, unlike other more powerful GNNs, NGNN only introduces a constant-factor higher time complexity than standard GNNs. NGNN is a plug-and-play framework that can be combined with various base GNNs. We test NGNN with different base GNNs on several benchmark datasets. NGNN uniformly improves their performance and shows highly competitive performance on all datasets.
研究动机与目标
- 动机:推动超越以根为子树的结构,以捕捉用于图分类的更丰富的局部图结构。
- 提出 NGNN,通过两层 GNN 框架对每个节点周围的根子图进行编码。
- 证明在给定条件下,NGNN 在严格意义上比 1-WL 和标准的消息传递 GNNs 更强。
- 展示 NGNN 作为现有基础 GNN 的即插即用增强的可扩展性和兼容性。
提出的方法
- 定义根子图和 NGNN 架构,其中内部基 GNN 在根子图上运行。
- 应用子图池化层,从每个根子图获得最终的根节点表征。
- 使用外部 GNN(或图池化)将根节点表征聚合成整图表征。
- 表明基础 GNN 可以是任意 GNN;所有内部 GNN 共享参数并在拷贝的子图上运行。
- 从理论上证明 NGNN 的增强表达能力(可判别几乎所有的 r-正则图),并讨论复杂度(随图大小线性)。
- 可选地用子图特定特征(例如距离编码)来增强节点特征表示。
实验结果
研究问题
- RQ1NGNN 能区分 1-WL 无法区分的图吗?
- RQ2将 NGNN 与不同的基础 GNN 结合在基准数据集上时,性能提升有多大?
- RQ3NGNN 是否在大规模图上具有可扩展性,同时保持与标准 GNNs 相当的效率?
- RQ4在实践中,NGNN 与基于高阶 WL 的 GNNs 相比如何?
- RQ5子图高度和基础 GNN 选择对 NGNN 性能有什么影响?
主要发现
- NGNN 可以区分 1-WL 无法区分的 n-大小 r-正则图几乎所有成对情况。
- NGNN 在 QM9、TU 和 OGB 基准上对多种基础 GNN 的性能有一致提升。
- 给定较小的根子图,NGNN 相对于图大小保持线性时间和空间复杂度。
- 由于子图池化能够在不需要深层架构的情况下获得更丰富的表征,因此单层或少数 NGNN 层就足够。
- 实验结果显示 NGNN 在公开基准上具备与强基线竞争甚至优越的性能。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。