Arxiv:0811.0484V1 [Stat.ML] 4 Nov 2008 Gto 1,1] Iems Oko Omnt Tutr,It Structure, Community on Work Most Like Nav- and 13]
Total Page:16
File Type:pdf, Size:1020Kb
Hierarchical structure and the prediction of missing links in networks∗ Aaron Clauset,1, 2 Cristopher Moore,1, 2, 3 and M. E. J. Newman2, 4 1Department of Computer Science, University of New Mexico, Albuquerque, NM 87131, USA 2Santa Fe Institute, 1399 Hyde Park Road, Santa Fe NM, 87501, USA 3Department of Physics and Astronomy, University of New Mexico, Albuquerque, NM 87131, USA 4Department of Physics and Center for the Study of Complex Systems, University of Michigan, Ann Arbor, MI 48109, USA Networks have in recent years emerged as an invalu- assumes that communities at each level of organization are able tool for describing and quantifying complex systems disjoint. Overlapping communities have occasionally been in many branches of science [1, 2, 3]. Recent studies sug- studied (see, for example [14]) and could be represented using gest that networks often exhibit hierarchical organization, a more elaborate probabilistic model, but as we discuss below where vertices divide into groups that further subdivide the present model already captures many of the structural fea- into groups of groups, and so forth over multiple scales. tures of interest. In many cases these groups are found to correspond to Given a dendrogram and a set of probabilities pr, the hi- known functional units, such as ecological niches in food erarchical random graph model allows us to generate artifi- webs, modules in biochemical networks (protein interac- cial networks with a specified hierarchical structure, a proce- tion networks, metabolic networks, or genetic regulatory dure that might be useful in certain situations. Our goal here, networks), or communities in social networks [4, 5, 6, 7]. however, is a different one. We would like to detect and ana- Here we present a general technique for inferring hierar- lyze the hierarchical structure, if any, of networks in the real chical structure from network data and demonstrate that world. We accomplish this by fitting the hierarchical model the existence of hierarchy can simultaneously explain and to observed network data using the tools of statistical infer- quantitatively reproduce many commonly observed topo- ence, combining a maximum likelihood approach [15] with logical properties of networks, such as right-skewed de- a Monte Carlo sampling algorithm [16] on the space of all gree distributions, high clustering coefficients, and short path lengths. We further show that knowledge of hier- archical structure can be used to predict missing connec- tions in partially known networks with high accuracy, and for more general network structures than competing tech- niques [8]. Taken together, our results suggest that hierar- chy is a central organizing principle of complex networks, capable of offering insight into many network phenom- ena. A great deal of recent work has been devoted to the study of clustering and community structure in networks [5, 6, 9, 10, 11]. Hierarchical structure goes beyond simple clustering, however, by explicitly including organization at all scales in a network simultaneously. Conventionally, hierarchical struc- ture is represented by a tree or dendrogram in which closely related pairs of vertices have lowest common ancestors that arXiv:0811.0484v1 [stat.ML] 4 Nov 2008 are lower in the tree than those of more distantly related pairs—see Fig. 1. We expect the probability of a connec- tion between two vertices to depend on their degree of relat- edness. Structure of this type can be modelled mathematically using a probabilistic approach in which we endow each inter- nal node r of the dendrogram with a probability pr and then connect each pair of vertices for whom r is the lowest com- mon ancestor independently with probability pr (Fig. 1). This model, which we call a hierarchical random graph, is similar in spirit (although different in realization) to the tree- based models used in some studies of network search and nav- igation [12, 13]. Like most work on community structure, it FIG. 1: A hierarchical network with structure on many scales and the corresponding hierarchical random graph. Each internal node r of the dendrogram is associated with a probability pr that a pair of vertices in the left and right subtrees of that node are connected. (The ∗ shades of the internal nodes in the figure represent the probabilities.) This paper was published as Nature 453, 98 – 101 (2008); doi:10.1038/nature06830. 2 Network hkireal hkisamp Creal Csamp dreal dsamp T. pallidum 4.8 3.7(1) 0.0625 0.0444(2) 3.690 3.940(6) Terrorists 4.9 5.1(2) 0.361 0.352(1) 2.575 2.794(7) a Grassland 3.0 2.9(1) 0.174 0.168(1) 3.29 3.69(2) TABLE I: Comparison of network statistics for the three example networks studied and new networks generated by resampling from our hierarchical model. The generated networks closely match the average degree hki, clustering coefficient C, and average vertex- vertex distance d in each case, suggesting that they capture much of the real networks’ structure. Parenthetical values indicate standard errors on the final digits. possible dendrograms. This technique allows us to sample hi- erarchical random graphs with probability proportional to the likelihood that they generate the observed network. To obtain b the results described below we combine information from a large number of such samples, each of which is a reasonably likely model of the data. The success of this approach relies on the flexible nature of our hierarchical model, which allows us to fit a wide range of network structures. The traditional picture of communities or modules in a network, for example, corresponds to con- nections that are dense within groups of vertices and sparse between them—a behaviour called “assortativity” in the lit- erature [17]. The hierarchical random graph can capture be- haviour of this kind using probabilities pr that decrease as we move higher up the tree. Conversely, probabilities that in- crease as we move up the tree correspond to “disassortative” structures in which vertices are less likely to be connected FIG. 2: Application of the hierarchical decomposition to the net- on small scales than on large ones. By letting the prvalues work of grassland species interactions. a, Consensus dendrogram vary arbitrarily throughout the dendrogram, the hierarchical reconstructed from the sampled hierarchical models. b, A visualiza- random graph can capture both assortative and disassortative tion of the network in which the upper few levels of the consensus dendrogram are shown as boxes around species (plants, herbivores, structure, as well as arbitrary mixtures of the two, at all scales parasitoids, hyper-parasitoids and hyper-hyper-parasitoids are shown and in all parts of the network. as circles, boxes, down triangles, up triangles and diamonds respec- To demonstrate our method we have used it to construct hi- tively). Note that in several cases, a set of parasitoids is grouped into erarchical decompositions of three example networks drawn a disassortative community by the algorithm, not because they prey from disparate fields: the metabolic network of the spirochete on each other, but because they prey on the same herbivore. Treponema pallidum [18], a network of associations between terrorists [19], and a food web of grassland species [20]. To test whether these decompositions accurately capture the net- works’ important structural features, we use the sampled den- cussed above, our method can generates not just a single den- drograms to generate new networks, different in detail from drogram but a set of dendrograms, each of which is a good fit the originals but, by definition, having similar hierarchical to the data. From this set we can, using techniques from phy- structure (see the Supplementary Information for more de- logeny reconstruction [21], create a single consensus dendro- tails). We find that these “resampled” networks match the gram, which captures the topological features that appear con- statistical properties of the originals closely, including their sistently across all or a large fraction of the dendrograms and degree distributions, clustering coefficients, and distributions typically represents a better summary of the network’s struc- of shortest path lengths between pairs of vertices, despite the ture than any individual dendrogram. Figure 2a shows such fact that none of these properties is explicitly represented in a consensus dendrogram for the grassland species network, the hierarchical random graph (Table I, and Fig. S3 in the which clearly reveals communities and sub-communities of Supplementary Information). Thus it appears that a network’s plants, herbivores, parasitoids, and hyper-parasitoids. hierarchical structure is capable of explaining a wide variety Another application of the hierarchical decomposition is of other network features as well. the prediction of missing interactions in networks. In many The dendrograms produced by our method are also of inter- settings, the discovery of interactions in a network requires est in themselves, as a graphical representation and summary significant experimental effort in the laboratory or the field. of the hierarchical structure of the observed network. As dis- As a result, our current pictures of many networks are sub- 3 stantially incomplete [22, 23, 24, 25, 26, 27, 28]. An attrac- a Terrorist association network 1 tive alternative to checking exhaustively for a connection be- Pure chance Common neighbors tween every pair of vertices in a network is to try to predict, 0.9 Jaccard coefficient in advance and based on the connections already observed, Degree product Shortest paths which vertices are most likely to be connected, so that scarce 0.8 Hierarchical structure experimental resources can be focused on testing for those in- teractions. If our predictions are good, we can in this way 0.7 reduce substantially the effort required to establish the net- AUC work’s topology. 0.6 The hierarchical decomposition can be used as the basis for an effective method of predicting missing interactions as fol- 0.5 lows.