Efficient Method to Perform Isomorphism Testing of Labeled Graphs

  • Shu-Ming Hsieh
  • Chiun-Chieh Hsu
  • Li-Fu Hsu
Part of the Lecture Notes in Computer Science book series (LNCS, volume 3984)


The need to perform isomorphism testing is emerging recently in many application domains such as graph-based data mining for discovering frequent common patterns in a graph database. Due to the complex nature of graph representations, the isomorphism testing between labeled graphs is one of the most time-consuming phases during the mining process. The canonical form of a graph that serves as the isomorphism certificate needs O(n!) to produce for a graph of order n, or Θ(Π i = 1 c (|π i |!)) if vertex invariants are employed to divide n vertices into c equivalence classes with |π i | vertices in each class i. In this paper, we propose a new algorithm to perform isomorphism testing of labeled graphs with worst case time complexity O i = 1 c (|π i |!)), in which the product of all |π i |! terms is replaced by the sum of the terms and the asymptotic notation is changed from big theta to big oh. To the best of our knowledge, this proposed model is the latest work that focuses on the dealing of the isomorphism testing of labeled graphs. The result of this algorithm is directly applicable to the fields of graph isomorphism testing for labeled graphs.


Large Neighbor Label Graph Edge Label Graph Isomorphism Feasibility Testing 
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.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Artymiuk, P., Poirrette, A., Grindley, H., Rice, D., Willett, P.: A Graph-thoeretic Approach to the Identification of Three-dimensional Patterns of Amino Acid Side-chains in Protein Structures. Journal of Molecular Biology 243(2), 327–344 (1994)CrossRefGoogle Scholar
  2. 2.
    Chartrand, G., Zhang, P. (eds.): Introduction to Graph Theory. McGraw Hill, New York (2002)Google Scholar
  3. 3.
    Conte, D., Foggia, P., Sansone, C., Vento, M.: Thirty Years of Graph Matching in Pattern Recognition. Int’l Journal of Pattern Recognition and Artificial Intelligence 18(3), 265–298 (2004)CrossRefGoogle Scholar
  4. 4.
    Cordella, L., Foggia, P., Sansone, C., Vento, M.: A (Sub)Graph Isomorphism Algorithm for Matching Large Graphs. IEEE Tran. Pattern Analysis and Machine Intelligence 26(10), 1367–1372 (2004)CrossRefGoogle Scholar
  5. 5.
    Foggia, P., Sansone, C., Vento, M.: A Performance Comparison of Five Algorithms for Graph Isomorphism. In: Proc. of the 3rd IAPR-TC15 Workshop on Graph-based Representation (2001)Google Scholar
  6. 6.
    Gross, J., Yellen, J. (eds.): Handbook of Graph Theory. CRC Press, Florida (2004)MATHGoogle Scholar
  7. 7.
    Hsieh, S.M., Hsu, C.C.: New Method for Similarity Retrieval of Iconic Image Database. In: Proceedings of 2005 SPIE-IS&T Symposium on Electronic Imaging: Conference on Storage and Retrieval Methods and Applications for Multimedia, vol. 5682, pp. 247–257 (2005)Google Scholar
  8. 8.
    Hong, P., Huang, T.: Mining Inexact Spatial Patterns. In: Workshop on Discrete Mathematics and Data Mining (2002)Google Scholar
  9. 9.
    Huan, J., Wang, W., Prims, J.: Efficient Mining of Frequent Subgraph in the Presence of Isomorphism, University of North Carolina Computer Science Technical Report (2003)Google Scholar
  10. 10.
    Kim, N., Shiffeldrim, N., Gan, H., Schlick, T.: Candidates for Novel RNA Topologies. Journal of Molecular Biology 34(1), 1129–1144 (2004)CrossRefGoogle Scholar
  11. 11.
    Kuramochi, M., Karypis, G.: An Efficient Algorithm for Discovering Frequent Subgraphs. IEEE Trans. Knowledge and Data Engineering 16(9), 1038–1051 (2004)CrossRefGoogle Scholar
  12. 12.
    McKay, B.D.: Nauty Users Guide (2003), http://cs.anu.edu.au/~bdm/nauty
  13. 13.
    McKay, B.D.: Practical Graph Isomorphism. Congressus Numerantium, 30, 45–87 (1981)Google Scholar
  14. 14.
    Neapolitan, R., Naimipour, K.: Foundations of Algorithms. D. C. Heath and Company, Massachusetts (1996)Google Scholar
  15. 15.
    Petrakis, E., Faloutsos, C., Lin, K.: ImageMap: An Image Indexing Method Based on Spatial Similarity. IEEE Trans. Knowledge and Data Engineering 14(5), 979–987 (2002)CrossRefGoogle Scholar
  16. 16.
    Theobald, D.: Topology revisited: representing spatial relations. Int’l Journal of Geographical Information Science 15(8), 689–705 (2001)CrossRefGoogle Scholar
  17. 17.
    Valiente, G.: Trading uninitialized space for time. Information Processing Letters 92, 9–13 (2004)MATHCrossRefMathSciNetGoogle Scholar
  18. 18.
    Washio, T., Motoda, H.: State of the Art of Graph-Based Data Mining. ACM SIGKDD Exploration Newsletters 5(1), 59–68 (2003)CrossRefGoogle Scholar
  19. 19.
    Yan, X., Han, J.: gSpan: Graph-Based Substructure Pattern Mining. In: Proceedings of 2002 IEEE Int’l Conference on Data Mining (2002)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2006

Authors and Affiliations

  • Shu-Ming Hsieh
    • 1
  • Chiun-Chieh Hsu
    • 1
  • Li-Fu Hsu
    • 1
  1. 1.Dep. Information ManagementNational Taiwan University of Science and TechnologyTaipeiTaiwan

Personalised recommendations