Skip to main content
QUICK REVIEW

[论文解读] Efficient Graph Similarity Computation with Alignment Regularization

Wei Zhuo, Guang Tan|arXiv (Cornell University)|Jun 21, 2024
Advanced Graph Neural NetworksComputer Science被引用 5
一句话总结

ERIC 引入对齐正则化(AReg),用于训练能够学习图对齐以进行 GED 估计的 GNN 编码器,通过在测试阶段移除跨图匹配来实现更快的推断,并结合一个多尺度 GED 判别器以提高准确性。

ABSTRACT

We consider the graph similarity computation (GSC) task based on graph edit distance (GED) estimation. State-of-the-art methods treat GSC as a learning-based prediction task using Graph Neural Networks (GNNs). To capture fine-grained interactions between pair-wise graphs, these methods mostly contain a node-level matching module in the end-to-end learning pipeline, which causes high computational costs in both the training and inference stages. We show that the expensive node-to-node matching module is not necessary for GSC, and high-quality learning can be attained with a simple yet powerful regularization technique, which we call the Alignment Regularization (AReg). In the training stage, the AReg term imposes a node-graph correspondence constraint on the GNN encoder. In the inference stage, the graph-level representations learned by the GNN encoder are directly used to compute the similarity score without using AReg again to speed up inference. We further propose a multi-scale GED discriminator to enhance the expressive ability of the learned representations. Extensive experiments on real-world datasets demonstrate the effectiveness, efficiency and transferability of our approach.

研究动机与目标

  • 通过 GED 估计推动高效的图相似性计算(GSC),并解决端到端 GNN 基于 GSC 模型中高成本的节点对节点匹配问题。
  • 提出对齐正则化(AReg),在训练期间强制节点-图对齐,而在推断阶段无需跨图匹配。
  • 引入多尺度 GED 判别器,以提升用于 GED 预测的表征表达能力。
  • 证明学习到的图级表征在推断阶段无需匹配模块即可实现快速推断。
  • 展示在真实数据集上达到最先进性能、效率及可迁移性的实证证据。

提出的方法

  • 将 GED 公式化为最优对齐问题,并在最佳置换下推导出引导表征学习的必要条件。
  • 将 AReg 定义为一个正则化项,使用基于 GIN 的编码器和一个置换不变的读出(DeepSets)以鼓励对齐感知的嵌入。
  • 对一对中的两张图使用同一 GNN 编码器,并在多层次(多尺度)应用 AReg,以捕捉节点级和图级的对齐信号。
  • 使用由两部分组成的多尺度 GED 判别器: (i) 具有分解权重的神经张量网络(NTN)用于建模跨图交互,以及 (ii) 额外的指数型 Minkowski(ell-2)距离判别器;最终分值是两者的加权组合。
  • 使用回归损失对真实 GED 派生的相似性来训练 GED 预测器,并加入 AReg 损失;在推断阶段,去除 AReg 组件,直接利用学习到的图表征计算相似性。
  • 提供复杂度分析,表明训练时间包括 GIN 和判别器成本,而推断阶段更快,因为在测试阶段不计算跨图交互。
Figure 1 : Illustration of separating the matching model from the end-to-end GSC framework to achieve a fast model (right side). In the fast model, the dotted arrow means the matching model does not participate in the similarity computation in the inference stage.
Figure 1 : Illustration of separating the matching model from the end-to-end GSC framework to achieve a fast model (right side). In the fast model, the dotted arrow means the matching model does not participate in the similarity computation in the inference stage.

实验结果

研究问题

  • RQ1对齐正则化是否能在推断阶段无需昂贵的跨图节点匹配的情况下,实现基于 GED 的精确图相似性估计?
  • RQ2将多尺度 GED 判别器与 AReg 相结合,是否在判别能力和预测准确性方面优于单一判别器或无正则化的基线?
  • RQ3将 ERIC 应用于其他 GSC 模型时,AReg 的效益迁移性如何?
  • RQ4与最先进基线相比,ERIC 在推断阶段的计算效率提升有多大?
  • RQ5ERIC 对距离/判别器类型的选择以及 Minkowski 参数 p 的敏感性如何?

主要发现

  • ERIC 在多个 GSC 基准(AIDS700、LINUX、IMDB、NCI109)的 MSE、秩相关系数(rho、tau)以及前 k 个的精度方面均达到最先进水平。
  • AReg 提升了性能;移除它会在各数据集上降低 MSE、rho、tau 和 p@k 指标。
  • 基于 NTN 的判别器和 ell-2 距离判别器都对性能有贡献;去掉任一都会降低效果,其中 NTN 提供更大的提升。
  • ERIC 的推断时间显著快于所有基线,因为测试阶段不使用跨图匹配,同时保持或提升准确性。
  • 当通过它们的损失函数整合时,AReg 展现出可迁移性,通过提升 SimGNN 和 EGSC,表明对模型无关的实用性。
  • 可视化和消融研究表明,ERIC 的编码器学习到的节点对图对齐线索与 GED 相关,支持基于对齐的正则化原理。
Figure 2 : The optimal edit path with 3 edit operations to transform $G_{i}$ to $G_{j}$ . As a result, $\mathrm{GED}(G_{i},G_{j})=3$ .
Figure 2 : The optimal edit path with 3 edit operations to transform $G_{i}$ to $G_{j}$ . As a result, $\mathrm{GED}(G_{i},G_{j})=3$ .

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。