10,923 research outputs found

    Metrics for Graph Comparison: A Practitioner's Guide

    Full text link
    Comparison of graph structure is a ubiquitous task in data analysis and machine learning, with diverse applications in fields such as neuroscience, cyber security, social network analysis, and bioinformatics, among others. Discovery and comparison of structures such as modular communities, rich clubs, hubs, and trees in data in these fields yields insight into the generative mechanisms and functional properties of the graph. Often, two graphs are compared via a pairwise distance measure, with a small distance indicating structural similarity and vice versa. Common choices include spectral distances (also known as Ξ»\lambda distances) and distances based on node affinities. However, there has of yet been no comparative study of the efficacy of these distance measures in discerning between common graph topologies and different structural scales. In this work, we compare commonly used graph metrics and distance measures, and demonstrate their ability to discern between common topological features found in both random graph models and empirical datasets. We put forward a multi-scale picture of graph structure, in which the effect of global and local structure upon the distance measures is considered. We make recommendations on the applicability of different distance measures to empirical graph data problem based on this multi-scale view. Finally, we introduce the Python library NetComp which implements the graph distances used in this work

    Moment-Based Spectral Analysis of Random Graphs with Given Expected Degrees

    Get PDF
    In this paper, we analyze the limiting spectral distribution of the adjacency matrix of a random graph ensemble, proposed by Chung and Lu, in which a given expected degree sequence wβ€ΎnT=(w1(n),…,wn(n))\overline{w}_n^{^{T}} = (w^{(n)}_1,\ldots,w^{(n)}_n) is prescribed on the ensemble. Let ai,j=1\mathbf{a}_{i,j} =1 if there is an edge between the nodes {i,j}\{i,j\} and zero otherwise, and consider the normalized random adjacency matrix of the graph ensemble: An\mathbf{A}_n == [ai,j/n]i,j=1n [\mathbf{a}_{i,j}/\sqrt{n}]_{i,j=1}^{n}. The empirical spectral distribution of An\mathbf{A}_n denoted by Fn(β‹…)\mathbf{F}_n(\mathord{\cdot}) is the empirical measure putting a mass 1/n1/n at each of the nn real eigenvalues of the symmetric matrix An\mathbf{A}_n. Under some technical conditions on the expected degree sequence, we show that with probability one, Fn(β‹…)\mathbf{F}_n(\mathord{\cdot}) converges weakly to a deterministic distribution F(β‹…)F(\mathord{\cdot}). Furthermore, we fully characterize this distribution by providing explicit expressions for the moments of F(β‹…)F(\mathord{\cdot}). We apply our results to well-known degree distributions, such as power-law and exponential. The asymptotic expressions of the spectral moments in each case provide significant insights about the bulk behavior of the eigenvalue spectrum
    • …
    corecore