A Study On The Stability of Graph Edit Distance Heuristics - Archive ouverte HAL Access content directly
Journal Articles Electronics Year : 2022

A Study On The Stability of Graph Edit Distance Heuristics


Graph edit distance (GED) is a powerful tool to model the dissimilarity between graphs. However, evaluating the exact GED is NP-hard. To tackle this problem, estimation methods of GED were introduced, e.g., bipartite and IPFP, during which heuristics were employed. The stochastic nature of these methods induces the stability issue. In this paper, we propose the first formal study of stability of GED heuristics, starting with defining a measure of these (in)stabilities, namely the relative error. Then, the effects of two critical factors on stability are examined, namely, the number of solutions and the ratio between edit costs. The ratios are computed on five datasets of various properties. General suggestions are provided to properly choose these factors, which can reduce the relative error by more than an order of magnitude. Finally, we verify the relevance of stability to predict performance of GED heuristics, by taking advantage of an edit cost learning algorithm to optimize the performance and the k-nearest neighbor regression for prediction. Experiments show that the optimized costs correspond to much higher ratios and an order of magnitude lower relative errors than the expert cost.

Dates and versions

hal-03816056 , version 1 (15-10-2022)



Linlin Jia, Vincent Tognetti, Laurent Joubert, Benoit Gaüzère, Paul Honeine. A Study On The Stability of Graph Edit Distance Heuristics. Electronics, 2022, 11 (20), pp.3312. ⟨10.3390/electronics11203312⟩. ⟨hal-03816056⟩
19 View
0 Download



Gmail Facebook Twitter LinkedIn More