arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.18245cs.LG
收藏

DiffGED:通过基于扩散的图匹配计算图编辑距离

DiffGED: Computing Graph Edit Distance via Diffusion-based Graph Matching

University of New South Wales(新南威尔士大学);University of Technology Sydney(悉尼科技大学);Zhejiang Gongshang University(浙江工商大学);Shanghai Jiaotong University(上海交通大学)

Wei Huang, Hanchen Wang, Dong Wen, Wenjie Zhang, Ying Zhang, Xuemin Lin

AI总结:

针对传统图编辑距离方法扩展性差、深度学习方法无法还原编辑路径、混合方法解质量低且运行慢的问题,提出基于扩散模型的DiffGED方法,可并行生成多样编辑路径,精度接近精确解且速度优于多数混合方法。

摘要:

图编辑距离(Graph Edit Distance, GED)问题旨在计算将一个图转换为另一个图所需的最少编辑操作次数,是图分析领域的一项基础挑战,具有广泛的应用场景。然而,由于其NP难的特性,传统的A*方法通常存在可扩展性问题,在处理大图时计算上难以实现。近年来的许多深度学习框架将GED建模为回归任务来解决该问题,这类方法虽然高效,但无法还原编辑路径——而这正是GED的核心关注点。此外,近期将深度学习与传统方法相结合以还原编辑路径的混合方法,往往得到的解质量较差,且这些方法难以并行生成候选解,导致运行时间增加。\n本文提出了一种新方法DiffGED,利用生成式扩散模型求解GED并还原对应的编辑路径。具体而言,我们首先通过基于扩散的图匹配模型并行生成多个多样化的节点匹配矩阵;接着从每个生成的匹配矩阵中并行提取节点映射,每个提取出的节点映射都可以简单转换为一条编辑路径。得益于扩散模型提供的生成多样性,DiffGED更不容易陷入局部次优解,从而获得接近精确解的优异整体解质量。在真实世界数据集上的实验结果表明,DiffGED能够生成多条多样化的编辑路径,准确率极高,可与精确解相媲美,同时运行时间短于大多数混合方法。

英文摘要:

The Graph Edit Distance (GED) problem, which aims to compute the minimum number of edit operations required to transform one graph into another, is a fundamental challenge in graph analysis with wide-ranging applications. However, due to its NP-hard nature, traditional A* approaches often suffer from scalability issue, making them computationally intractable for large graphs. Many recent deep learning frameworks address GED by formulating it as a regression task, which, while efficient, fails to recover the edit path -- a central interest in GED. Furthermore, recent hybrid approaches that combine deep learning with traditional methods to recover the edit path often yield poor solution quality. These methods also struggle to generate candidate solutions in parallel, resulting in increased running times.In this paper, we present a novel approach, DiffGED, that leverages generative diffusion model to solve GED and recover the corresponding edit path. Specifically, we first generate multiple diverse node matching matrices in parallel through a diffusion-based graph matching model. Next, node mappings are extracted from each generated matching matrices in parallel, and each extracted node mapping can be simply transformed into an edit path. Benefiting from the generative diversity provided by the diffusion model, DiffGED is less likely to fall into local sub-optimal solutions, thereby achieving superior overall solution quality close to the exact solution. Experimental results on real-world datasets demonstrate that DiffGED can generate multiple diverse edit paths with exceptionally high accuracy comparable to exact solutions while maintaining a running time shorter than most of hybrid approaches.

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

↑