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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Albert, R., Barabási, A.L.: Statistical mechanics of complex networks. Reviews of Modern Physics 74(1), 47–97 (2002)
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)
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)
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)
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)
Lovasz, L.: Random walks on graphs: A survey. Combinatorics, Paul Erdos is Eighty 2, 1–46 (1993)
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)
Watts, D., Strogatz, S.: Collective dynamics of small-world networks. Nature 393(6684), 440–442 (1998)
Zager, L.A., Verghese, G.C.: Graph similarity scoring and matching. Applied Mathematics Letters 21(1), 86–94 (2008)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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)