Growing multiplex networks
Vincenzo Nicosia, Ginestra Bianconi, Vito Latora, Marc Barthelemy
References
Appendix A Mean-field theory
In this section, using a mean-field approach, we discuss the time evolution of the degree of the nodes of a multiplex in the different layers and we derive long-time expressions for the degree distribution at each layer and for the inter-layer degree-degree correlations. We first consider the linear attachment case (A) and then proceed to the semi-linear case (B). We also provide a concise discussion of the case in which new nodes bring a random number of new edges (C).
According to the growth model discussed in the main text, the probability that a newly arrived node in the multiplex creates a link to node on layer can be written as
where is a certain function of the degrees of the replicas of node . If is a linear function of , and all the replicas of the new node arrive at the same time, the temporal evolution of the degree of a node on each layer is governed by the equations
with the constraints and . Since the matrix elements are real and non-zeros, the maximal eigenvalue is real. Moreover since we have just two layers then both eigenvalues and are real. We notice that if we impose that each row of matrix must sum to , and that the coefficients are non-negative (to ensure that is a probability distribution ), then we can write
It is easy to verify that if the matrix has eigenvalues and , with eigenvectors and (the degenerate case is considered below). Since the eigenvalues are distinct, then is diagonalizable, i.e. it is similar to the diagonal matrix
whose non-zero elements are the eigenvalues of . The system in Eq. (S-2) can be also written in the form
where is a scalar function, and is a constant matrix. This is a homogeneous time-varying linear dynamical system, whose temporal evolution is fully determined by the initial state and by the state transition matrix , where is the time at which a node is added to the graph
Since is diagonalizable, then the transition matrix can be written as
where is the matrix whose columns are the eigenvectors of and is the diagonal matrix of the eigenvalues of . After some simple algebra we obtain
Let us now consider the degenerate case . Since we imposed that each row of the matrix has to sum to , then only if and . In this case the two layers evolve independently, the matrix is diagonal and the time evolution of the degree on each layer reads
with . This means that in the case of linear attachment kernel on both layers without delay the degree distribution of each layer is a power-law with exponent and we have
A.2 Semi-linear attachment kernel
For the semi-linear attachment kernel we have
The system in Eq. (S-16) is a non-homogeneous time-varying linear dynamical system where represents an external forcing function. If we call the state transition matrix of the corresponding homogeneous system , it is possible to show that the unique solution of Eq. (S-16) is given by
The form of the transition matrix associated to the homogeneous system depends on the value of . When then reads
By plugging Eq. (S-18) into Eq. (S-17) one obtains the mean-field temporal evolution of and :
In general, if then for we have . Consequently, Eqs. (S-19) can be written as
so that the degree distribution on both layers reads
Instead, if the solution for the degree of nodes on the second layer reads
while is expressed by Eq. (S-20). In this case, the degree distribution on the first layer is the same as in Eq. (S-22), while for the second layer we have
and in the limit of large we obtain
Eqs. (S-18—S-24) are valid when . When the state transition matrix reads
and the generic solutions for and are
In this case, the degree distribution on the first layer is exponential . On the second layer, the functional form of the degree distribution depends on the value of . It is easy to verify that when then , and we have in the limit of large
Conversely, when the degree distribution on the second layer is
In this case, in the limit of large , we have
A.3 Fluctuations in the number of edges
In principle, the mean-field approach could be also applied to the case in which the number of edges brought on layer by each new-born node is not fixed but is a random variable drawn from a given distribution . In this case we should solve the system of stochastic differential equations:
The random variable is a positive integer with average and the dominant term at large times of is then given by
This implies in particular that at large times, the effect of randomness in the number of edges is negligible, and the behavior of the system is governed by the average number of edges added in each layer.
Appendix B Master Equation approach for the model without delay
We provide here the derivation of exact expressions of and starting from the master equation of the system. We denote by the average number of nodes that at time have degree in layer 1 and degree in layer 2. We start from a small connected network and at each time we add a node which brings, at same time, new edges in layer 1 and new edges in layer 2. We assume that, when we add the new node to the network, the expected number of new links in layer 1 attached to a node of degree in layer 1 and degree in layer 2 is given by . Similarly, the expected number of new links in layer 2 attached to a node of degree in layer 1 and degree in layer 2 is given by . In addition to that, we work in the hypothesis that in the large limit, , we have and so that we can neglect the probability that a node acquires at the same time a link in both layers. In this hypothesis the master equation for evolving multiplex network is given by
for and , as long as . Assuming that is valid in the large time limit , we can solve for the combined degree distribution indicating the probability that a node has at the same time degree in layer 1 and degree in layer 2. We get the master equations
(i) Linear attachment kernel – Let us first consider a linear preferential attachment kernel, in which and . In this case we have
where is fixed by the normalization condition . Using the relation
it can be proved recursively that takes the following expression
Summing over the degree in layer 2 we can find the degree distribution in layer 1, i.e. obtaining the known result for a single layer,
The function is given by
Similar expressions are obtained for and , by summing Eq. (S-38) over .
(ii) Uniform attachment kernel – Let us now consider a uniform attachment kernel, in which every target node is chosen with probability in layer 1 and with probability in layer 2, so that
In this case the recursive Eqs. (S-34) read
where is again fixed by the normalization condition . Using again the relation provided in Eq. (S-37) it is easy to prove recursively that is given in this case by
Moreover the degree distribution and of a single network are given by
while the function is given by
(iii) Semi-linear attachment kernel – Finally we analyze the case of semi-linear attachment with and . We have:
where is fixed by the normalization condition . It can be shown recursively that these equations have the following solution,
with the associated degree distributions and given by
Finally the function is given by
Appendix C Role of β\beta in the delayed arrival
In Fig. S-1 we show the time evolution of the maximum degree on the first layer, for different values of . Notice that . The effect of the exponent tuning the width of the delay distribution is evident: the larger the value of , the closer is to , the value observed in the case of synchronous arrival. Consequently, the rightmost part of the degree distribution is broader when is close to and becomes more similar to when increases.
Appendix D Finite size effects
It is interesting to investigate how the properties of the multiplexes generated using the model we propose depend on the number of nodes . For instance, most of the mean-field predictions for the degree distributions and inter-layer degree correlations are valid in the limit of large . However, as shown in Fig. S-2 and in Fig. S-3, the properties of the degree distributions and of inter-layer degree-degree correlations are similar to those predicted for large even for relatively small multiplexes, e.g. with .
Appendix E Time complexity
The most efficient algorithm for the construction of a simplex networks based on preferential attachment takes advantage of random sampling with rejection and runs in . However, in the case of a multiplex the procedure to sample a candidate neighbour of a newly-arrived node is a bit more complicated. Let us first consider a two-layer multiplex described by Eq. (S-2). When we sample the candidate neighbours of node at layer at time , each node should be sampled with a probability proportional to . The simplest way to implement such sampling is to construct a vector whose -th entry is equal to (the first element of the array is set equal to zero); then we sample a real number in the interval and we choose the node such that and . The construction of the vector at each time requires operations while the sampling of a single node can be efficiently implemented by binary search, requiring at most operations per edge, so that the sampling of edges requires at most steps. Thus, the total number of operations needed to sample a layer of a multiplex is:
It is easy to verify that the construction of a -layer multiplex requires a number of steps
which, for fixed, is dominated by . Therefore, the time complexity of this algorithm is linear in the number of layers and quadratic in the number of nodes. We notice that in principle it is possible to construct better algorithms to sample growing multiplexes by implementing a smart policy to update the array .
Appendix F Randomly-chosen master layer
In the main text we made the simplifying assumption that each node arrives first on the master layer and then on the other layers, after a certain delay. We call this assumption “Equal master layer” (EML). In this Section we briefly comment on the case in which this assumption does not hold, i.e. when a node first arrives either on the first or on the second layer, and then arrives on the other layer after a power-law distributed delay. We call this case “Randomly-chosen master layer” (RML), to stress the fact that the master layer of each node is chosen at random among the layers of the multiplex. In particular, we are interested in the case in which a newly arrived node selects one of the layers of the multiples as its master layer with uniform probability . In Fig. S-4, S-5 and S-6 we report, respectively, the degree distributions, the temporal scaling of the degree of the largest hub and the distribution of shortest path lengths and node interdependence for RML with . The plots suggest that the random choice of the master layer produces a more balanced distribution of super hubs between the two layers, which has a relevant impact on the distribution of shortest path lengths and node interdependence (Fig. S-6). Conversely, the degree distributions and the temporal scaling of the degree of the largest hub are practically indistinguishable from those observed in EML (Fig. S-4 and S-5).