Bipartite Graph Matching for Computing the Edit Distance of Graphs

  • Kaspar Riesen
  • Michel Neuhaus
  • Horst Bunke
Conference paper

DOI: 10.1007/978-3-540-72903-7_1

Part of the Lecture Notes in Computer Science book series (LNCS, volume 4538)
Cite this paper as:
Riesen K., Neuhaus M., Bunke H. (2007) Bipartite Graph Matching for Computing the Edit Distance of Graphs. In: Escolano F., Vento M. (eds) Graph-Based Representations in Pattern Recognition. GbRPR 2007. Lecture Notes in Computer Science, vol 4538. Springer, Berlin, Heidelberg

Abstract

In the field of structural pattern recognition graphs constitute a very common and powerful way of representing patterns. In contrast to string representations, graphs allow us to describe relational information in the patterns under consideration. One of the main drawbacks of graph representations is that the computation of standard graph similarity measures is exponential in the number of involved nodes. Hence, such computations are feasible for rather small graphs only. One of the most flexible error-tolerant graph similarity measures is based on graph edit distance. In this paper we propose an approach for the efficient compuation of edit distance based on bipartite graph matching by means of Munkres’ algorithm, sometimes referred to as the Hungarian algorithm. Our proposed algorithm runs in polynomial time, but provides only suboptimal edit distance results. The reason for its suboptimality is that implied edge operations are not considered during the process of finding the optimal node assignment. In experiments on semi-artificial and real data we demonstrate the speedup of our proposed method over a traditional tree search based algorithm for graph edit distance computation. Also we show that classification accuracy remains nearly unaffected.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag Berlin Heidelberg 2007

Authors and Affiliations

  • Kaspar Riesen
    • 1
  • Michel Neuhaus
    • 1
  • Horst Bunke
    • 1
  1. 1.Department of Computer Science, University of Bern, Neubrückstrasse 10, CH-3012 BernSwitzerland

Personalised recommendations