[Paper Review] Graph edit distance : a new binary linear programming formulation
This paper proposes two novel binary linear programming formulations for computing the exact graph edit distance (GED) between directed or undirected, fully attributed graphs (with vertex and edge attributes). The formulations enable exact GED computation and provide efficient lower bounds via continuous relaxation; experimental results show that the refined formulation (F2) is 15% more accurate on average than the best existing method, though with a trade-off in computational time.
Graph edit distance (GED) is a powerful and flexible graph matching paradigm that can be used to address different tasks in structural pattern recognition, machine learning, and data mining. In this paper, some new binary linear programming formulations for computing the exact GED between two graphs are proposed. A major strength of the formulations lies in their genericity since the GED can be computed between directed or undirected fully attributed graphs (i.e. with attributes on both vertices and edges). Moreover, a relaxation of the domain constraints in the formulations provides efficient lower bound approximations of the GED. A complete experimental study comparing the proposed formulations with 4 state-of-the-art algorithms for exact and approximate graph edit distances is provided. By considering both the quality of the proposed solution and the efficiency of the algorithms as performance criteria, the results show that none of the compared methods dominates the others in the Pareto sense. As a consequence, faced to a given real-world problem, a trade-off between quality and efficiency has to be chosen w.r.t. the application constraints. In this context, this paper provides a guide that can be used to choose the appropriate method.
Motivation & Objective
- To address the computational complexity of exact graph edit distance (GED) computation in attributed graphs.
- To develop generic, exact binary linear programming formulations applicable to directed or undirected graphs with mixed vertex and edge attributes.
- To derive efficient lower bound approximations through relaxation of binary constraints in the formulations.
- To provide a comprehensive comparative evaluation of exact and approximate GED methods across multiple datasets.
- To guide practitioners in selecting optimal GED algorithms based on the trade-off between accuracy and efficiency.
Proposed method
- Formulates the GED problem as a binary linear program (F1 and F2), where decision variables represent vertex and edge matchings between two graphs.
- F1 is a didactic formulation with full variable and constraint sets; F2 is a refined version with reduced variables and constraints to improve efficiency.
- Relaxes binary constraints on variables to derive continuous lower bounds (F1LP and F2LP), enabling fast approximation of GED.
- Solves the formulations using CPLEX with branch-and-cut and interior point methods for exact solutions and relaxation-based approximations.
- Adapts the formulation for undirected graphs by modifying edge matching constraints to prevent double counting of symmetric edges.
- Employs a comprehensive experimental setup across four public databases to evaluate performance on accuracy and runtime.
Experimental results
Research questions
- RQ1Can binary linear programming formulations be effectively used to compute the exact graph edit distance for fully attributed graphs?
- RQ2How do the proposed formulations compare in accuracy and efficiency to state-of-the-art exact and approximate GED algorithms?
- RQ3To what extent do the relaxed formulations (F1LP and F2LP) provide tight and efficient lower bounds for GED?
- RQ4Is there a Pareto-optimal trade-off between accuracy and computational efficiency among existing GED methods?
- RQ5Can the proposed formulations guide method selection for real-world applications based on application-specific constraints?
Key findings
- The refined formulation (F2) is 15% more accurate on average than the best existing method in the literature.
- The approximate method F2LP is 8% more accurate than Beam Search (BS), but incurs a 13% higher average runtime.
- No single method dominates all others in both accuracy and efficiency; a Pareto trade-off exists across the evaluated algorithms.
- The F1 formulation is outperformed by F2 in both accuracy and efficiency, validating the benefit of constraint and variable reduction.
- The lower bounds derived from relaxation (F1LP and F2LP) provide efficient approximations with good quality, useful for pruning in search algorithms.
- The proposed formulations are generic and support directed/undirected, simple/multigraphs with symbolic, numeric, and string attributes on vertices and edges.
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.