Skip to content
Preprint

A Separator-based Algorithm for the Graph Edit Distance Problem

Aug 2026 · 0 citations · 42 references
Computer Science

TL;DR

A novel exponential time algorithm is presented to compute the exact GED and a corresponding edit sequence in $O^*(4 + \varepsilon)^n$ time and polynomial space, provided one of the two graphs admits strictly sublinear balanced separators.

Abstract

The Graph Edit Distance (GED) is a widely used graph similarity measure asking for the minimum cost of a sequence of edits transforming one (labeled) graph into another. The considered edit operations are deletion, insertion, and relabeling of nodes and edges. Special cases include the Graph Isomorphism problem, as well as many other graph problems that ask for the existence or minimum cost of a certain substructure, like the Traveling Salesman or Maximum Clique problem. We present a novel exponential time algorithm to compute the exact GED and a corresponding edit sequence in $O^*(4 + \varepsilon)^n$ time and polynomial space, provided one of the two graphs admits strictly sublinear balanced separators. In particular, the claimed runtime holds if one of the graphs is $K_h$-minor free (e.g., planar), or has bounded treewidth, which is the case for many real-world applications (e.g., all instances in GEDLIB). This substantially improves the best known worst-case running time bounds of $O^*(n!)$ for these graph classes.

View source

Similar papers

Preprint Aug 2026

Instance-Optimality of Bidirectional Dijkstra on Simple Graphs

It is shown that bidirectional Dijkstra is still instance-optimal on simple undirected weighted graphs under the order-oblivious model, where incident edges are given in a random order, and under the order-dependent model, where bidirectional Dijkstra is not instance-optimal.

Christian Bertram, Mads Vestergaard Jensen, Mikkel Thorup et al. · 1 citation
Jul 2026

Structural Tractability Frontiers for Metric Repair

This paper asks what structural properties of the graph itself make metric repair tractable, and gives pseudo-polynomial time algorithms for series-parallel graphs, and by generalization, graphs of bounded treewidth and a new algorithm for the length-bounded multicut problem.

Asaf Etgar, A. Gilbert, Jamie Tucker-Foltz · 0 citations

ExactGED: ILP Benchmarking for Exact GED and Optimal Solutions Dataset

A preliminary comparison with the A ∗ -based algorithms indicates that they are outperformed by the ILP-based approaches on graphs exceeding ten nodes, and a dataset of optimal edit paths across widely used datasets from the TUDataset is released.

Andrea D'Ascenzo, Julian Meffert, Petra Mutzel et al. · 0 citations
Preprint Sep 2026

A new O(n log n) approach for the Euclidean maximum weight matching problem

A novel algorithm for solving the Euclidean MWM running in $O(n \log n)$ time and providing excellent solution quality, especially for larger instances; the algorithm yielded optimum or near-optimum solutions for all test instances.

R. Staněk, Robert Arustamyan · 0 citations
Preprint Aug 2026

A Linear-Time Approximation Scheme for the Densest Subgraph Problem

This paper provides the first truly linear-time approximation scheme for the Densest Subgraph Problem, and uses assignments arising from a flow-based formulation together with a structural carving lemma to progressively carve "sparse" parts of the graph while nearly preserving the densest subgraph.

Elena Grigorescu, Mehrshad Taziki · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.