Skip to main content

Measuring Structural Similarities of Graphs in Linear Time

  • Conference paper
Combinatorial Optimization and Applications (COCOA 2012)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 7402))

Abstract

Measuring graph similarities is an important topic with numerous applications. Early algorithms often incur quadratic time or higher, making it unpractical to use for graphs of very large scales. We present in this paper the first-known linear-time algorithm for solving this problem. Our algorithm, called Random Walker Termination (RWT), is based on random walkers and time series. Three major graph models, that is, the Erdős-Rényi random graphs, the Watts-Strogatz small world graphs, and the Barabási-Albert preferential attachment graphs are used to generate graphs of different sizes. We show that the RWT algorithm performs well for all three graph models. Our experiment results agree with the actual similarities of generated graphs. Built on stochastic process, RWT is sufficiently stable to generate consistent results. We use the graph edge rerouting test and the cross model test to demonstrate that RWT can effectively identify structural similarities between graphs.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Albert, R., Barabási, A.L.: Statistical mechanics of complex networks. Reviews of Modern Physics 74(1), 47–97 (2002)

    Article  MathSciNet  MATH  Google Scholar 

  2. Cha, S.H.: Comprehensive survey on distance / similarity measures between probability density functions. International Journal of Mathematical Models and Methods in Applied Sciences 1(4), 300–307 (2007)

    MathSciNet  Google Scholar 

  3. Erdős, P., Rényi, A.: On the evolution of random graphs. Publication of the Methematical Institute of the Hungarian Academy of Sciences, 17–61 (1960)

    Google Scholar 

  4. Jeh, G., Widom, J.: Simrank: a measure of structural-context similarity. In: Proceedings of the Eighth ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD 2002, pp. 538–543. ACM (2002)

    Google Scholar 

  5. Kondor, R.I., Lafferty, J.D.: Diffusion kernels on graphs and other discrete input spaces. In: Proceedings of the Nineteenth International Conference on Machine Learning, ICML 2002, pp. 315–322 (2002)

    Google Scholar 

  6. Lovasz, L.: Random walks on graphs: A survey. Combinatorics, Paul Erdos is Eighty 2, 1–46 (1993)

    MathSciNet  Google Scholar 

  7. Melnik, S., Garcia-Molina, H., Rahm, E.: Similarity flooding: a versatile graph matching algorithm and its application to schema matching. In: Proceedings on 18th International Conference on Data Engineering, pp. 117–128 (2002)

    Google Scholar 

  8. Watts, D., Strogatz, S.: Collective dynamics of small-world networks. Nature 393(6684), 440–442 (1998)

    Article  Google Scholar 

  9. Zager, L.A., Verghese, G.C.: Graph similarity scoring and matching. Applied Mathematics Letters 21(1), 86–94 (2008)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Fang, Z., Li, Y., Wang, J. (2012). Measuring Structural Similarities of Graphs in Linear Time. In: Lin, G. (eds) Combinatorial Optimization and Applications. COCOA 2012. Lecture Notes in Computer Science, vol 7402. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-31770-5_34

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-31770-5_34

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-31769-9

  • Online ISBN: 978-3-642-31770-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics