On the Correlation of Graph Edit Distance and L1 Distance in the Attribute Statistics Embedding Space

  • Jaume Gibert
  • Ernest Valveny
  • Horst Bunke
  • Alicia Fornés
Part of the Lecture Notes in Computer Science book series (LNCS, volume 7626)


Graph embeddings in vector spaces aim at assigning a pattern vector to every graph so that the problems of graph classification and clustering can be solved by using data processing algorithms originally developed for statistical feature vectors. An important requirement graph features should fulfil is that they reproduce as much as possible the properties among objects in the graph domain. In particular, it is usually desired that distances between pairs of graphs in the graph domain closely resemble those between their corresponding vectorial representations. In this work, we analyse relations between the edit distance in the graph domain and the L 1 distance of the attribute statistics based embedding, for which good classification performance has been reported on various datasets. We show that there is actually a high correlation between the two kinds of distances provided that the corresponding parameter values that account for balancing the weight between node and edge based features are properly selected.


Edit Distance Graph Match Node Label Edit Operation Node Information 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


  1. 1.
    Bunke, H.: On a relation between graph edit distance and maximum common subgraph. Pattern Recognition Letters 18(8), 689–694 (1997)MathSciNetCrossRefGoogle Scholar
  2. 2.
    Bunke, H., Allermann, G.: Inexact graph matching for structural pattern recognition. Pattern Recognition Letters 1, 245–253 (1983)zbMATHCrossRefGoogle Scholar
  3. 3.
    Conte, D., Foggia, P., Sansone, C., Vento, M.: Thirty years of graph matching in pattern recognition. International Journal of Pattern Recognition and Artificial Intelligence 18(3), 265–298 (2004)CrossRefGoogle Scholar
  4. 4.
    Geusebroek, J.M., Burghouts, G.J., Smeulders, A.W.M.: The Amsterdam library of object images. International Journal of Computer Vision 61(1), 103–112 (2005)CrossRefGoogle Scholar
  5. 5.
    Gibert, J., Valveny, E., Bunke, H.: Graph embedding in vector spaces by node attribute statistics. Pattern Recognition 45(9), 3072–3083 (2012)CrossRefGoogle Scholar
  6. 6.
    Ren, P., Wilson, R., Hancock, E.: Graph characterization via Ihara coefficients. IEEE Transactions on Neural Networks 22(2), 233–245 (2011)CrossRefGoogle Scholar
  7. 7.
    Riesen, K., Bunke, H.: IAM Graph Database Repository for Graph Based Pattern Recognition and Machine Learning. In: da Vitoria Lobo, N., et al. (eds.) S+SSPR 2008. LNCS, vol. 5342, pp. 287–297. Springer, Heidelberg (2008)CrossRefGoogle Scholar
  8. 8.
    Riesen, K., Bunke, H.: Approximate graph edit distance computation by means of bipartite graph matching. Image and Vision Computing 27, 950–959 (2009)CrossRefGoogle Scholar
  9. 9.
    Riesen, K., Bunke, H.: Graph Classification and Clustering Based on Vector Space Embedding. World Scientific (2010)Google Scholar
  10. 10.
    Sanfeliu, A., Fu, K.S.: A distance measure between attributed relational graphs for pattern recognition. IEEE Transactions on Systems, Man, and Cybernetics - Part B 13(3), 353–363 (1983)zbMATHCrossRefGoogle Scholar
  11. 11.

Copyright information

© Springer-Verlag Berlin Heidelberg 2012

Authors and Affiliations

  • Jaume Gibert
    • 1
  • Ernest Valveny
    • 1
  • Horst Bunke
    • 2
  • Alicia Fornés
    • 1
  1. 1.Computer Vision CenterUniversitat Autònoma de Barcelona, Edifici O Campus UABSpain
  2. 2.Institute for Computer Science and Applied MathematicsUniversity of BernBernSwitzerland

Personalised recommendations