PHYSICAL REVIEW E 71, 027103 共2005兲

Generation of uncorrelated random scale-free networks 1

Michele Catanzaro,1 Marián Boguñá,2 and Romualdo Pastor-Satorras1 Departament de Física i Enginyeria Nuclear, Universitat Politècnica de Catalunya, Campus Nord B4, 08034 Barcelona, Spain 2 Departament de Física Fonamental, Universitat de Barcelona, Martí i Franquès 1, 08028 Barcelona, Spain 共Received 5 August 2004; published 24 February 2005兲 Uncorrelated random scale-free networks are useful null models to check the accuracy and the analytical solutions of dynamical processes defined on complex networks. We propose and analyze a model capable of generating random uncorrelated scale-free networks with no multiple and self-connections. The model is based on the classical configuration model, with an additional restriction on the maximum possible degree of the vertices. We check numerically that the proposed model indeed generates scale-free networks with no two- and three-vertex correlations, as measured by the average degree of the nearest neighbors and the clustering coefficient of the vertices of degree k, respectively. DOI: 10.1103/PhysRevE.71.027103

PACS number共s兲: 89.75.⫺k, 87.23.Ge, 05.70.Ln

Complex networks constitute a general framework for the topological characterization of many natural and technological systems whose complexity prevents a more detailed microscopic description 关1–3兴. Within this framework, these systems are represented in terms of networks or graphs 关4兴, in which vertices stand for the units composing the system, while edges among vertices represent the interactions or relations between pairs of units. The focus is thus shift to the topological characterization of the representative network, a task which is largely more feasible and yields, nevertheless, a noticeable amount of information on the structure and properties of the original system. The empirical analysis of many real complex networks has unveiled the presence of several typical properties, widely found in systems belonging to a large variety of realms. One of the most relevant is given by the scale-free nature of the degree distribution P共k兲 关1,3,5兴, defined as the probability that a randomly chosen vertex has degree k 共i.e., it is connected to other k vertices兲. In mathematical terms, the scale-free property translates into a power-law function of the form P共k兲 ⬃ k−␥ ,

共1兲

where ␥ is a characteristic degree exponent. The presence of a scale-free degree distribution can have an important impact on the behavior of dynamical processes taking place on top of the network. Indeed, scale-free networks with exponent ␥ in the range 2 ⬍ ␥ 艋 3 show large fluctuations in their degrees, evident in the presence of a diverging second moment 具k2典 in the infinite-network-size limit N → ⬁. This divergence, in turn, shows up in a remarkable weakness of the network in front of targeted attacks 关6,7兴 or the propagation of infectious agents 关8,9兴. It has been recently realized that, besides their degree distribution, real networks are also characterized by the presence of degree correlations. This translates in the observation that the degrees at the end points of any given edge are not usually independent. This kind of degree-degree correlations can be theoretically expressed in terms of the conditional probability P共k⬘ 兩 k兲 that a vertex of degree k is connected to a vertex of degree k⬘. From a numerical point of view, it is 1539-3755/2005/71共2兲/027103共4兲/$23.00

more convenient to characterize degree-degree correlations by means of the average degree of the nearest neighbors 共NN兲 of the vertices of degree k, which is formally defined as 关10兴 ¯k 共k兲 = nn

兺 k⬘P共k⬘兩k兲.

共2兲

k⬘

Degree-degree correlations have led to a first classification of complex networks according to this property 关11兴. Thus, when ¯knn共k兲 is an increasing function of k, the corresponding network is said to exhibit assortative mixing by degree; i.e., highly connected vertices are preferentially connected to highly connected vertices and vice versa, while a decreasing ¯k 共k兲 function is typical of disassortative mixing, highly nn connected vertices being more probably connected to poorly connected ones. For uncorrelated networks, the degrees at the end points of any edge are completely independent. Therefore, the conditional probability P共k⬘ 兩 k兲 can be simply estimated as the probability that any edge points to a vertex of degree k⬘, leading to Pnc共k⬘ 兩 k兲 = k⬘ P共k⬘兲 / 具k典, independent of k. Inserting this equation into Eq. 共2兲, the average nearestneighbor degree reads 2 ¯knc 共k兲 = 具k 典 , nn 具k典

共3兲

that is, independent of the degree k. Analogously, from a theoretical point of view, correlations concerning three vertices can be characterized by means of the conditional probability P共k⬙ , k⬘ 兩 k兲 that a vertex of degree k is simultaneously connected to two vertices of degrees k⬘ and k⬙. We can estimate this kind of three-point correlations by means of the clustering coefficient of the vertices of degree k, ¯c共k兲 关12,13兴, defined as the probability that two neighbors of a vertex of degree k are also neighbors themselves. This function can be formally written as

027103-1

©2005 The American Physical Society

PHYSICAL REVIEW E 71, 027103 共2005兲

BRIEF REPORTS

¯c共k兲 =

兺 P共k⬙,k⬘兩k兲pk⬘,k⬙ ,

共4兲

k⬘,k⬙

where pk⬘,k⬙ is the probability that vertices k⬘ and k⬙ are connected given that they have a common neighbor 关14,15兴. An important class of random networks is composed of the so-called Markovian networks 关16兴, for which all topological information is encoded into the degree distribution P共k兲 and the conditional probability P共k⬘ 兩 k兲. In this case, the threevertex conditional probability can be factorized as P共k⬙ , k⬘ 兩 k兲 = P共k⬙ 兩 k兲P共k⬘ 兩 k兲, for k ⬎ 1. Furthermore, when the network is totally uncorrelated, the connection probability can also be computed as pk⬘,k⬙ = 共k⬘ − 1兲共k⬙ − 1兲 / 具k典N, where the term −1 comes from the fact that one of the connections of each vertex has already been used 关14,15,17兴. From the above relations, the clustering coefficient for uncorrelated random networks becomes ¯cnc共k兲 =

共具k2典 − 具k典兲2 . 具k典3N

共5兲

This expression was first derived by Newman 关17兴 共see also 关14,15,18兴兲. As in the previous case, for uncorrelated networks, the function ¯c共k兲 is constant and independent of k. Therefore, any nontrivial dependence of the functions ¯knn共k兲 and ¯c共k兲 on the degree is a signature of the presence of twoand three-point correlations, respectively. While most real networks show indeed the presence of correlations, uncorrelated random networks are nevertheless equally important from a practical point of view, especially as null network models in which to test the behavior of dynamical systems whose analytic solution is usually available only in the absence of correlations 关6–8,19兴. Therefore, it becomes an interesting issue the possibility to generate random networks which have a guaranteed lack of correlations. In the particular case of scale-free networks, however, finding such algorithms is far more difficult than one would expect a priori. In this paper, we observe that classical algorithms, which are supposed to generate uncorrelated networks, do, indeed, generate correlations when the desired degree distribution is scale free and no more than one edge is allowed between any two vertices 关20,21兴. To solve this drawback, we present and test an algorithm capable to generate uncorrelated scale-free networks. The classical algorithm to construct random networks with any prescribed degree distribution P共k兲 is the so-called configuration model 共CM兲 关17,22–25兴. To construct a network with the original definition of this algorithm, we start assigning to each vertex i, in a set of N vertices, a random number ki of “stubs”—ends of edges emerging from the vertex—drawn from the probability distribution P共k兲, with m 艋 ki ⬍ N 共no vertex can have a degree larger than N − 1兲 and imposing the constraint that the sum 兺iki must be even. The network is completed by connecting pairs of these stubs chosen uniformly at random to make complete edges, respecting the preassigned sequence ki. The result of this construction is a random network whose degrees are, by defini-

FIG. 1. Average nearest-neighbor degree of vertices of degree k, ¯k 共k兲 共a兲, and average clustering coefficient ¯c共k兲 共b兲 for the original nn CM algorithm with different degree exponents ␥. Network size is N = 105.

tion, distributed according to P共k兲 and in which, in principle, there are no degree correlations, given the random nature of the edge assignment. While this prescription works well for bounded degree distributions, in which 具k2典 is finite, one has to be more careful when dealing with networks with a scale-free distribution, which, for 2 ⬍ ␥ 艋 3, yield diverging fluctuations, 具k2典 → ⬁, in the infinite-network-size limit. In fact, it is easy to see that, if the second moment of the degree distribution diverges, a completely random assignment of edges leads to the construction of an uncorrelated network, but in which a non-negligible fraction of self-connections 共a vertex joined to itself兲 and multiple connections 共two vertices connected by more than one edge兲 are present 关28兴. While multiple and self-connections are completely natural in mathematical graph theory 关4兴, they are somewhat undesired for simulation purposes, since most real network do not display such structures, and also in order to avoid ambiguities in the definition of the network and any dynamics on top of it. This situation can be avoided by imposing the additional constraint of forbidding multiple and self-connections. This constraint, however, has the negative side effect of introducing correlations in the network 关20,21兴. As an example of this fact, in Fig. 1 we show the functions ¯knn共k兲 and ¯c共k兲 computed from numerical simulations of the CM algorithm with no multiple and self-connections for different ␥ exponents and fixed net-

027103-2

PHYSICAL REVIEW E 71, 027103 共2005兲

BRIEF REPORTS

FIG. 3. Numerical average clustering coefficient 具c典 as a function of the corresponding theoretical value, given by Eq. 共5兲, for the CM 共open symbols兲 and the UCM 共solid symbols兲 algorithms. The different points for each value of ␥ represent different network sizes N = 103, 3 ⫻ 103, 104, 3 ⫻ 104, and 105.

FIG. 2. Average nearest-neighbor degree of vertices of degree k, ¯k 共k兲 共a兲, and average clustering coefficient ¯c共k兲 共b兲 for the UCM nn algorithm with different degree exponents ␥. Network size is N = 105.

work size N = 105. As we can observe, for ␥ ⬎ 3, which corresponds to an effectively bounded degree distribution with finite 具k2典, both functions are almost flat, signaling an evident lack of correlations. On the other hand, for values ␥ 艋 3 there is a clear presence of correlations. This correlations have a mixed disassortative nature: vertices with many connections tend to be connected to vertices with few connections, while low-degree vertices connect equally with vertices of any degree. The origin of this phenomenon can be traced back to the effects of the cutoff 共or maximum expected degree兲 kc共N兲 in a network of size N. In fact, it is possible to show that in order to have no correlations in the absence of multiple and self-connections, a scale-free network with degree distribution P共k兲 ⬃ k−␥ and size N must have a cutoff scaling at most as ks共N兲 ⬃ N1/2 共the so-called structural cutoff兲 关26–28兴. For a power-law network generated using the CM algorithm defined above 共i.e., generating random degrees in the range m 艋 ki ⬍ N兲, simple extreme value theory arguments show in fact that kc共N兲 ⬃ N1/共␥−1兲 .

共6兲

For ␥ ⬍ 3, we have that kc共N兲 ⬎ N and therefore it is impossible to avoid the presence of correlations. Only for the particular case ␥ 艌 3 do we recover kc共N兲 艋 N1/2, which explains the lack of correlations observed in Fig. 1 for ␥ = 3.5.

Since it is the maximum possible value of the degrees in the network that rules the presence or absence of correlations in a random network with no multiple or self-connections, we propose the following uncorrelated configuration model 共UCM兲 in order to generate random uncorrelated scale-free networks. 共i兲 Assign to each vertex i, in a set of N initially disconnected vertices, a number ki of stubs, where ki is drawn from the probability distribution P共k兲 ⬃ k−␥ and subject to the constraints m 艋 ki 艋 N1/2 and 兺iki even. 共ii兲 Construct the network by randomly choosing stubs and connecting them to form edges, respecting the preassigned degrees and avoiding multiple and self-connections. This algorithm can be implemented in practice as follows 关29兴: Once the degree ki is assigned, a list of 兺iki elements is created, containing ki copies of the ith vertex. A pair of elements in this list is randomly chosen to create an edge. If the elements are equal or correspond to an already existing edge, they are discarded and a new pair is drawn. Otherwise, the edge is accepted and the list is updated, eliminating the elements corresponding to the newly created edge. This procedure is iterated until all elements in the list are exhausted. The constraint on the maximum possible degree of the vertices ensures that kc共N兲 ⬃ N1/2, allowing for the possibility to construct uncorrelated networks. As an additional numerical optimization of this algorithm, we also impose the minimum degree m = 2 to generate connected networks with probability one 关25,30兴. In Fig. 2 we check for the presence of correlations in the UCM for scale-free networks. As we can observe, both correlation functions show an almost flat behavior for all values of the degree exponent ␥, compatible with the lack of correlations at the two and three vertex levels. We have additionally explored the validity of the expression for the average clustering coefficient 关31兴 具c典, defined as 具c典 =

1/2

兺k P共k兲c¯共k兲,

共7兲

which, for random uncorrelated networks, takes the form given by Eq. 共5兲. For scale-free networks with a general cut-

027103-3

PHYSICAL REVIEW E 71, 027103 共2005兲

BRIEF REPORTS

off kc共N兲, we have that, in the large-N limit, 具k2典 ⬃ kc共N兲3−␥. Therefore, for random networks generated with the classical CM model, in which kc共N兲 ⬃ N1/共␥−1兲, we have that 具c典CM ⬃ N共7−3␥兲/共␥−1兲. This expression is clearly anomalous for ␥ ⬍ 7 / 3, since it leads to a diverging clustering coefficient for large N, while, by definition, this magnitude, being a probability, must be smaller than 1. This anomaly vanishes in the UCM prescription. In this case, we have that kc共N兲 ⬃ N1/2 for any value of ␥, leading to 具c典UCM ⬃ N2−␥, which is a decreasing function of the network size for any ␥ ⬎ 2. In Fig. 3 we plot the average clustering coefficient obtained from numerical simulations of the CM and UCM algorithms as a function of the theoretical value, Eq. 共5兲, for different values of ␥ and different network sizes N. We can observe that, while the results for the uncorrelated UCM nicely collapses onto the diagonal line in the plot, meaning that the numerical values are almost equal to their theoretical counterparts, noticeable departures are observed for the implicitly correlated CM algorithm. To sum up, in this Brief Report we have presented a model to generate uncorrelated random networks with no

This work has been partially supported by EC-FET Open Project No. IST-2001-33555. R.P.-S. acknowledges financial support from the Ministerio de Ciencia y Tecnología 共Spain兲 and from the Departament d’Universitats, Recerca i Societat de la Informació, Generalitat de Catalunya 共Spain兲. M.B. acknowledges financial support from the Ministerio de Ciencia y Tecnología through the Ramón y Cajal program. M.C. acknowledges financial support from Universitat Politècnica de Catalunya.

关1兴 R. Albert and A.-L. Barabási, Rev. Mod. Phys. 74, 47 共2002兲. 关2兴 S. N. Dorogovtsev and J. F. F. Mendes, Adv. Phys. 51, 1079 共2002兲. 关3兴 S. N. Dorogovtsev and J. F. F. Mendes, Evolution of Networks: From biological nets to the Internet and WWW 共Oxford University Press, Oxford, 2003兲. 关4兴 B. Bollobás, Modern Graph Theory 共Springer-Verlag, New York, 1998兲. 关5兴 A.-L. Barabási and R. Albert, Science 286, 509 共1999兲. 关6兴 R. Cohen, K. Erez, D. ben-Avraham, and S. Havlin, Phys. Rev. Lett. 86, 3682 共2001兲. 关7兴 D. S. Callaway, M. E. J. Newman, S. H. Strogatz, and D. J. Watts, Phys. Rev. Lett. 85, 5468 共2000兲. 关8兴 R. Pastor-Satorras and A. Vespignani, Phys. Rev. Lett. 86, 3200 共2001兲. 关9兴 R. M. May and A. L. Lloyd, Phys. Rev. E 64, 066112 共2001兲. 关10兴 R. Pastor-Satorras, A. Vázquez, and A. Vespignani, Phys. Rev. Lett. 87, 258701 共2001兲. 关11兴 M. E. J. Newman, Phys. Rev. Lett. 89, 208701 共2002兲. 关12兴 A. Vázquez, R. Pastor-Satorras, and A. Vespignani, Phys. Rev. E 65, 066130 共2002兲. 关13兴 E. Ravasz and A.-L. Barabási, Phys. Rev. E 67, 026112 共2003兲. 关14兴 M. Boguñá and R. Pastor-Satorras, Phys. Rev. E 68, 036112 共2003兲. 关15兴 S. N. Dorogovtsev, Phys. Rev. E 69, 027104 共2004兲. 关16兴 M. Boguñá and R. Pastor-Satorras, Phys. Rev. E 66, 047104 共2002兲.

关17兴 M. E. J. Newman, in Handbook of Graphs and Networks: From the Genome to the Internet, edited by S. Bornholdt and H. G. Schuster, 共Wiley-VCH, Berlin, 2003兲, pp. 35–68. 关18兴 Z. Burda, J. Jurkiewicz, and A. Krzywicki, Phys. Rev. E 70, 026106 共2004兲. 关19兴 Y. Moreno, R. Pastor-Satorras, and A. Vespignani, Eur. Phys. J. B 26, 521 共2002兲. 关20兴 S. Maslov, K. Sneppen, and A. Zaliznyak, Physica A 333, 529 共2004兲. 关21兴 J. Park and M. E. J. Newman, Phys. Rev. E 68, 026112 共2003兲. 关22兴 A. Bekessy, P. Bekessy, and J. Komlos, Stud. Sci. Math. Hung. 7, 343 共1972兲. 关23兴 E. A. Bender and E. R. Canfield, J. Comb. Theory, Ser. A 24, 296 共1978兲. 关24兴 M. Molloy and B. Reed, Random Struct. Algorithms 6, 161 共1995兲. 关25兴 M. Molloy and B. Reed, Combinatorics, Probab. Comput. 7, 295 共1998兲. 关26兴 F. Chung and L. Lu, Ann. Combinatorics 6, 125 共2002兲. 关27兴 Z. Burda and A. Krzywicki, Phys. Rev. E 67, 046118 共2003兲. 关28兴 M. Boguñá, R. Pastor-Satorras, and A. Vespignani, Eur. Phys. J. B 38, 205 共2004兲. 关29兴 D. S. Callaway, J. E. Hopcroft, J. M. Kleinberg, M. E. J. Newman, and S. H. Strogatz, Phys. Rev. E 64, 041902 共2001兲. 关30兴 R. Cohen, K. Erez, D. ben-Avraham, and S. Havlin, Phys. Rev. Lett. 85, 4626 共2000兲. 关31兴 D. J. Watts and S. H. Strogatz, Nature 共London兲 393, 440 共1998兲.

multiple and self-connections and arbitrary degree distribution. The lack of correlations is especially relevant for the case of scale-free networks. In this case, our algorithm is capable to generate networks with flat correlation functions and an average clustering coefficient in good agreement with theoretical predictions. Our algorithm is potentially interesting in order to check the accuracy of the many analytical solutions of dynamical processes taking place on top of complex networks, which are usually found in the uncorrelated limit and, which, up to now, lacked a proper benchmark to check the results for degree exponents ␥ ⬍ 3.

027103-4

Generation of uncorrelated random scale-free networks

Feb 24, 2005 - distribution, real networks are also characterized by the pres- ence of degree correlations. This translates in the observation that the degrees at the end points of any given edge are not usually independent. This kind of degree-degree correlations can be theoretically expressed in terms of the conditional.

57KB Sizes 1 Downloads 197 Views

Recommend Documents

Reconfiguration of Distribution Networks with Dispersed Generation ...
generators of an electric network imposes some additional problems; among ..... Systems for Loss Reduction and Load Balancing", IEEE Trans. Power Delivery ...

Chapter 3 Random Number Generation
and restart capabilities are more involved than for LCRNG's but the long sequence lengths and speed of execution .... SLAC VM Notebook,. Module 18, SLAC ...

Next Generation Networks
Email (for orders and customer service enquiries): [email protected] ..... services based on the Internet Protocol (IP) are replacing traditional telecom.

The Generation of Random Equilateral Polygons
Feb 18, 2011 - Of course, for nine edges and above, where one does not know exactly which knots can .... 1 Animations 1 and 2 can also be viewed online at ...

Uniform generation of random directed graphs with prescribed degree ...
Mar 31, 2006 - Department of Mathematics and Computer Science. Institute of Computer ... Research in this direction has started some years ago. .... 2. Methods. 6. Problem. Given a graphical degree sequence, choose uniformly one rep-.

Random walks on temporal networks
May 18, 2012 - relationships in social networks [2] are a static representation of a succession of ... its nearest neighbors, the most naive strategy is the random walk search, in .... of vertex i, Pr (i; t), as the probability that vertex i is visit

Information cascades on degree-correlated random networks
Aug 25, 2009 - This occurs because the extreme disassortativity forces many high-degree vertices to connect to k=1 vertices, ex- cluding them from v. In contrast, in strongly disassortative networks with very low z, average degree vertices often con-

Random walks on temporal networks
May 18, 2012 - in settings such as conferences, with high temporal resolution: For each contact .... contexts: the European Semantic Web Conference (“eswc”),.

Information cascades on degree-correlated random networks
Aug 25, 2009 - We investigate by numerical simulation a threshold model of social contagion on .... For each combination of z and r, ten network instances.

Capacity of large hybrid erasure networks with random ...
Oct 20, 2015 - optimal capacity scaling in a large erasure network in which n wireless ... to-machine network [3] and a wireless sensor network) has been taken ...... mobile computing, big data analytics, and online social networks analysis.

Performance of data networks with random links
network, but rather examine how introduction of additional random links influences its performance. ... connect these two nodes with direct communication link.

Next Generation Optical Access Networks
on similar passive tree topologies, but have different data transport technologies. ... Wavelength Division Multiplexing (WDM) technology has been considered an .... in large quantities at a low price is the ONUs and Optical. Network Terminals ...

Next Generation Optical Access Networks
network service providers in several places around the world, mostly in Japan ... 1:128 users in the near future with better optical modules. The standard also ...

The Next Generation of Sensor Node in Wireless Sensor Networks
good choice for a battery-limited device likes sensor node. This paper ... Index Terms—Wireless sensor network, Dynamic Partial Reconfigurable, FPGA.

A new generation of LSI switching networks
tially composed of time stages for PCM switching, while ..... components and software development of the microcon- ... designing digital switching networks.

Download Random Graphs and Complex Networks: Volume 1 ...
Networks: Volume 1 (Cambridge Series in. Statistical and ... Mathematics) · All of Statistics: A Concise Course in Statistical Inference (Springer Texts in Statistics)

Random Walks and Search in Time-Varying Networks
Dec 4, 2012 - Random walks on networks lie at the core of many real- ... systems and social networking platforms, the spread of .... nodes, m ј 6, and w ј 10. 2.

Tuning clustering in random networks with arbitrary degree distributions
Sep 30, 2005 - scale-free degree distributions with characteristic exponents between 2 and 3 as ... this paper, we make headway by introducing a generator of random networks ..... 2,3 and its domain extends beyond val- ues that scale as ...

Random Social Networks, Unemployment and Wage ...
Mar 17, 2006 - wage differences among workers may be explained only in part by differences ... matching: heterogeneity in social network characteristics implies dispersion. 3 .... coincide with jobs in the Pissarides model, are homogeneous.

An R Package for Random Generation of 2×2×K and ... - The R Journal
R×C tables provide a general framework for two-way contingency tables. ...... print(z). Consequently, 31 observations were generated under 3 centers. Call:.

On designing next generation MAC for cellular networks using the ...
and protocol efficiency based on open-source design tools. The architecture ... systems, namely Application Optimization Support (AOPS). For each service, we ...