[Paper Review] An Efficient Heuristic for Graph Edit Distance
This paper proposes AStar+-BMa, an efficient heuristic for graph edit distance (GED) computation and verification using a unified framework with anchor-aware lower bound estimation. By tightening lower bounds on partial mappings and favoring best-first search (AStar+), it reduces search space and achieves over four orders of magnitude speedup over state-of-the-art methods for GED computation and verification on large graphs.
Graph edit distance (GED) is an important similarity measure adopted in a similarity-based analysis between two graphs, and computing GED is a primitive operator in graph database analysis. Partially due to the NP-hardness, the existing techniques for computing GED are only able to process very small graphs with less than 30 vertices. Motivated by this, in this paper we systematically study the problems of both GED computation, and GED verification (i.e., verify whether the GED between two graphs is no larger than a user-given threshold). Firstly, we develop a unified framework that can be instantiated into either a best-first search approach AStar+ or a depth-first search approach DFS+. Secondly, we design anchor-aware lower bound estimation techniques to compute tighter lower bounds for intermediate search states, which significantly reduce the search spaces of both AStar+ and DFS+. We also propose efficient techniques to compute the lower bounds. Thirdly, based on our unified framework, we contrast AStar+ with DFS+ regarding their time and space complexities, and recommend that AStar+ is better than DFS+ by having a much smaller search space. Extensive empirical studies validate that AStar+ performs better than DFS+, and show that our AStar+-BMa approach outperforms the state-of-the-art technique by more than four orders of magnitude.
Motivation & Objective
- To address the computational intractability of graph edit distance (GED), which is NP-hard and limits existing methods to small graphs.
- To develop a unified framework for both GED computation and verification that supports best-first (AStar+) and depth-first (DFS+) search strategies.
- To design tighter lower bound estimation techniques—specifically anchor-aware bounds—that significantly reduce the search space in GED computation.
- To empirically validate that AStar+ with tighter bounds (AStar+-BMa) outperforms DFS+ and existing algorithms in both time and space efficiency.
Proposed method
- Proposes a unified search framework that can be instantiated as AStar+ (best-first) or DFS+ (depth-first) for GED computation and verification.
- Introduces anchor-aware lower bounds (δBMa, δBM, δBMaN) that estimate the minimum cost of transforming unmapped parts of graphs, using vertex and edge label mismatches.
- Designs efficient algorithms to compute the best possible extension of a partial mapping under each lower bound, minimizing search space exploration.
- Employs a priority queue in AStar+ to explore mappings with the smallest estimated cost first, ensuring optimal solutions are found early.
- Uses a strategy of expanding all children of a node (expand-all) to maintain consistency and avoid suboptimal pruning.
- Employs label set-based bounds (δLS) as a baseline and improves upon them with more informed bounds like δBMa that consider structural anchors.
Experimental results
Research questions
- RQ1Can a unified framework be designed to support both best-first and depth-first search for GED computation and verification?
- RQ2How can tighter lower bounds be computed for partial mappings to reduce the search space in GED computation?
- RQ3Does AStar+ with anchor-aware lower bounds outperform DFS+ in terms of search space and runtime?
- RQ4Can the proposed method scale to large graphs (e.g., up to 1024 vertices) and high GED values?
- RQ5How does AStar+-BMa compare to state-of-the-art algorithms in both GED computation and verification tasks?
Key findings
- AStar+-BMa achieves over four orders of magnitude speedup compared to the state-of-the-art algorithm for GED computation on graphs with up to 60 vertices.
- AStar+ consistently outperforms DFS+ due to a significantly smaller search space, especially as graph size increases.
- The anchor-aware lower bound δBMa provides tighter estimates than δLS, leading to faster convergence and reduced memory usage.
- AStar+-BMa scales well on large graphs (e.g., GR with 1024 vertices) and high GED values, completing all tests within 16GB main memory.
- For GED verification, AStar+-BMa performs significantly better than CSI GED and AStar+-LS, especially on dissimilar graph pairs.
- The δBMa lower bound is more effective than δLSa for GED verification, and AStar+ shows a slight but consistent advantage over DFS+ on similar graph pairs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.