用扩散模型生成多种匹配路径,高效求解图编辑距离并还原操作步骤。
DiffGED: Computing Graph Edit Distance via Diffusion-based Graph Matching
- 基于扩散模型并行生成多样化的节点匹配矩阵。
- 在真实数据集上达到接近精确解的准确率,运行时间优于多数混合方法。
- 适合需要高精度编辑路径的图分析任务,如生物网络比对。
图编辑距离(GED)问题旨在计算将一个图转换为另一个图所需的最少编辑操作数,是图分析中的基础挑战,应用广泛。然而由于其NP-hard特性,传统A*方法常因可扩展性差而难以处理大规模图。许多近期深度学习框架将GED建模为回归任务,虽高效但无法恢复编辑路径——这正是GED的核心关注点。此外,结合深度学习与传统方法的混合方案往往解质量较差,且难以并行生成候选解,导致运行时间增加。本文提出DiffGED,利用生成式扩散模型求解GED并恢复对应编辑路径。具体而言,首先通过扩散图匹配模型并行生成多个多样化的节点匹配矩阵;接着并行提取每个匹配矩阵中的节点映射,每条映射可直接转化为编辑路径。得益于扩散模型提供的生成多样性,DiffGED更难陷入局部次优解,整体解质量接近精确解。在真实数据集上的实验表明,DiffGED能以较短时间生成多条高精度编辑路径,其准确率媲美精确解,同时运行时间显著优于多数混合方法。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。