Complex Systems · 9/11 · Series index · Notation

Two networks, two ways to fail

Suppose a substation still has an intact line to the rest of the power grid. Can it keep running? If it needs a working controller, knowing the state of the grid is not enough. The controller must have power and a route through the communications network. The power line and the control link do different jobs, and a path made by joining the two kinds of link is of no use to either system.

Consider a duplex, a network with two layers. Let AA be a power layer and BB a control layer, each with nn nodes. A connectivity link provides a route within one layer. A dependency link says that two devices need each other to operate. A multiplex describes several kinds of connection among corresponding entities; dependence is an additional rule about what it takes to function. Here each device has exactly one partner in the other layer. A pair works only while both devices have a route into their own layer’s functioning backbone. This is an idealized rule, not an assumption that any real substation necessarily fails when one particular controller goes offline.

Solid links lead to the power and control backbones; dashed lines pair devices with the same number. An initial failure at power node 1 can propagate through all four pairs.

Trace one failure in the diagram. The numbered circles are devices; the two bars stand for intact backbones outside this small patch. Remove power device 1. Its control partner goes offline, cutting control device 2 off from its backbone. Power device 2 now loses its partner even though its own power line is intact. Its loss isolates power device 3, which takes down control device 3. Control device 4 loses its route, and finally power device 4 loses its partner. A single deletion has disabled four pairs. Every step follows one of two rules: lose your route, or lose the partner you require.

In a large random network the backbone is determined by the same rules as everything else. Randomly retain each node of AA with probability pp, where 0≤p≤10\le p\le1, and remove the partners of the lost nodes. Then repeatedly remove nodes outside their layer’s giant component and the partners that depend on them. The surviving extensive set is the mutually connected giant component (MCGC): the same set must be connected in each layer through paths that stay within the set. Taking the intersection of the two original giant components only once can leave paths that rely on nodes already removed.

Write μ\mu for the final number of surviving pairs divided by the original nn pairs. Initially a pair survives with probability pp; after the cascade 0≤μ≤p0\le\mu\le p. There is only one initial attack. If both layers were independently attacked with retention probabilities pAp_A and pBp_B, the initial pair retention would instead be pApBp_Ap_B.

Assume large, sparse, locally tree-like layers. Within each layer, edge endpoints are randomly matched; across layers, partners are randomly assigned and their degrees are independent for now. These assumptions let us treat the unexplored branches from a device as independent in the large-network limit.

For either layer ii (i=Ai=A or BB), let Pi(k)P_i(k) be the probability that a uniformly chosen node has kk neighbors, and let ci=∑k≥0kPi(k)>0c_i=\sum_{k\ge0} kP_i(k)>0 be its mean degree. Two generating functions encode two different ways of arriving. With ss a dummy variable,

g0,i(s)=∑k≥0Pi(k)sk,g1,i(s)=∑k≥1kPi(k)cisk−1.g_{0,i}(s)=\sum_{k\ge0}P_i(k)s^k, \qquad g_{1,i}(s)=\sum_{k\ge1}\frac{kP_i(k)}{c_i}s^{k-1}.

Choose a node directly and it has its full kk neighbors. Follow a random edge and a degree-kk node is kk times as likely to be encountered, before normalization; there are kk possible endpoints at it. Once there, the arriving edge cannot also count as proof that the branch continues. There are k−1k-1 fresh edges.

If a candidate branch succeeds with probability zz, all kk branches fail with probability (1−z)k(1-z)^k. It is useful to name two ways of asking whether at least one succeeds:

Ei(z)=1−g1,i(1−z),Ni(z)=1−g0,i(1−z).E_i(z)=1-g_{1,i}(1-z),\qquad N_i(z)=1-g_{0,i}(1-z).

EiE_i is the edge-arrival test on fresh edges; NiN_i is the node test on all edges. Neither includes the retention of the current node. In a single layer, let xx be the probability that an original edge leads onward to the giant component and SS the fraction of original nodes in it. Random node retention gives x=pEi(x)x=pE_i(x) and S=pNi(x)S=pN_i(x). Random edge retention gives the same edge equation but S=Ni(x)S=N_i(x), because the root node itself is never deleted. If u=1−xu=1-x denotes edge failure, the edge equation reads u=1−p+pg1,i(u)u=1-p+pg_{1,i}(u). These are three views of the same branch calculation.

Return to the duplex. Let xx and yy be the probabilities that an original AA-edge or BB-edge, respectively, leads onward into the mutually functioning backbone. Follow an AA-edge. Its endpoint pair must have survived the attack; the AA device must have at least one successful other AA-edge; and its partner must have at least one successful BB-edge. We used an AA-edge to arrive, so the partner still has all of its BB-edges. Exchanging the layers and then sampling a pair directly gives

x=p EA(x)NB(y),y=p EB(y)NA(x),μ=p NA(x)NB(y).\begin{aligned} x&=p\,E_A(x)N_B(y),\\ y&=p\,E_B(y)N_A(x),\\ \mu&=p\,N_A(x)N_B(y). \end{aligned}

These equations are self-consistent: an edge succeeds if at least one of the edges ahead succeeds under the same rule. The expression for μ\mu has no edge-arrival test because we selected a device pair directly. Both layers have the same number of functioning devices, yet their edge success probabilities can differ.

The all-zero solution is always present. Which solution is realized if there are several? Start with every branch provisionally successful, x=y=1x=y=1, and repeatedly apply the right-hand sides. The update rules are increasing in both inputs, so the first decrease can only be followed by a decrease or equality. This sequence is bounded below by any fixed point and converges to the largest fixed point. That is precisely the solution selected by a process that starts intact and only removes nodes. Written in terms of failure probabilities, the same choice would be the smallest failure solution.

Watching the damage propagate

The same final size can be reached by following the cascade one layer at a time. This reveals a bookkeeping issue: the fraction currently alive is usually not a fresh random sample from a layer it has already passed through.

Imagine testing a single layer ii in isolation with random retention rr. Let wi(r)w_i(r) be its edge success probability. Of the retained nodes, let Ci(r)C_i(r) be the fraction reaching the layer’s giant component. The giant therefore contains a fraction rCi(r)rC_i(r) of the original nodes:

wi(r)=rEi(wi(r)),Ci(r)=Ni(wi(r)).w_i(r)=rE_i(w_i(r)),\qquad C_i(r)=N_i(w_i(r)).

Start the duplex at rA=pr_A=p, where rAr_A is the effective input retention for a connectivity check on AA. The first check leaves pCA(p)pC_A(p) of all pairs. By random pairing, this is an effective random input rB=pCA(p)r_B=pC_A(p) for BB. After the BB check, the actual surviving fraction is rBCB(rB)r_BC_B(r_B). To recheck AA, its new effective input is pCB(rB)pC_B(r_B): the initial attack and the current support supplied by BB. Its old connectivity test will be replaced by the new one. Feeding the entire surviving fraction back into AA as a fresh random retention would count the previous AA test twice.

Thus one round consists of two updates:

rB←pCA(rA),rA←pCB(rB).r_B\leftarrow pC_A(r_A),\qquad r_A\leftarrow pC_B(r_B).

For each check use the input for that layer times its conditional response to obtain the actual surviving fraction. At the fixed point, the two layers agree:

μ=rACA(rA)=rBCB(rB)=rArBp(p>0).\mu=r_AC_A(r_A)=r_BC_B(r_B)=\frac{r_Ar_B}{p}\quad(p>0).

For p=0p=0 nothing survives. This iterative description and the edge equations are equivalent: substitute x=wA(rA)x=w_A(r_A) and y=wB(rB)y=w_B(r_B) to recover the three duplex equations. Tracking whole degree distributions at every pruning step is possible, but the final state requires only these two edge probabilities under random pairing.

An abrupt collapse with just three neighbors

Now give every node exactly three neighbors in each of two independently wired random regular layers. In a single such layer, E(z)=2z−z2E(z)=2z-z^2 and N(z)=1−(1−z)3N(z)=1-(1-z)^3; the absence of a layer subscript means that both layers have the same functions. The nonzero single-layer solution is x=2−1/px=2-1/p, so it first appears continuously at p=1/2p=1/2. At p=3/4p=3/4, for example, the surviving giant fraction is pN(2/3)=13/18pN(2/3)=13/18.

For fully dependent layers the same initialization gives x=yx=y at every step by symmetry. Denote their common success probability by zz, and write Φ(z)\Phi(z) for the product of the two connectivity tests. Then

z=pΦ(z),Φ(z)=[1−(1−z)2][1−(1−z)3],μ=p[1−(1−z)3]2.z=p\Phi(z),\qquad \Phi(z)=[1-(1-z)^2][1-(1-z)^3],\qquad \mu=p[1-(1-z)^3]^2.

For small zz, the two factors in Φ\Phi are about 2z2z and 3z3z. Their product starts at 6z26z^2. An arbitrarily small positive branch cannot sustain itself: reaching the backbone in one layer is too little use when its partner almost never reaches the other. The question becomes: what is the smallest retention that supports any positive solution?

For z>0z>0, define h(z)=Φ(z)/zh(z)=\Phi(z)/z. Dividing the fixed-point relation by zz gives

p(z)=1h(z),h(z)=(2−z)[1−(1−z)3]=6z−9z2+5z3−z4.p(z)=\frac{1}{h(z)},\qquad h(z)=(2-z)[1-(1-z)^3]=6z-9z^2+5z^3-z^4.

Here p(z)p(z) is the retention required to sustain that particular zz. Its minimum occurs at the maximum of hh on (0,1](0,1]. Write zcz_c for the critical edge success and pcp_c for the corresponding retention. A prime denotes differentiation with respect to zz. The condition h′(zc)=0h'(z_c)=0 gives

6−18zc+15zc2−4zc3=0.6-18z_c+15z_c^2-4z_c^3=0.

The derivative changes from positive to negative exactly once: h′′(z)=−6(3−2z)(1−z)<0h''(z)=-6(3-2z)(1-z)<0 for 0<z<10<z<1. Equivalently, the graph of pcΦ(z)p_c\Phi(z) touches the diagonal at a nonzero point: zc=pcΦ(zc)z_c=p_c\Phi(z_c) and pcΦ′(zc)=1p_c\Phi'(z_c)=1. The result is

zc≃0.54459,pc≃0.75876,μc=pc[1−(1−zc)3]2≃0.62219,z_c\simeq0.54459,\qquad p_c\simeq0.75876,\qquad \mu_c=p_c[1-(1-z_c)^3]^2\simeq0.62219,

where μc\mu_c is the limiting size of the surviving branch at the threshold. Just above it, about 62% of the original system still functions. Just below it, there is no extensive mutually connected set. In particular, at p=3/4p=3/4 the single layer still supports its sizable giant, but the coupled pair has already collapsed.

Calculated surviving fractions versus initial retention for random three-regular networks. One layer grows continuously from one half; two fully dependent layers jump to a finite fraction at about 0.759.

The horizontal axis is the fraction initially retained; the vertical axis is the fraction finally functioning. The dashed segment marks a jump between outcomes, not a continuum of possible stable states. A continuous transition grows from zero; a discontinuous transition begins at a finite size. This distinction refers to the response as a control parameter varies. An S-shaped growth curve against time, by itself, establishes neither type.

What if some devices can operate alone?

Suppose only a randomly chosen fraction qq of each layer belongs to mutual dependency pairs. The remaining fraction 1−q1-q is autonomous: these nodes still need a path in their own layer, but no partner. Only AA is directly attacked, as before. Define D=1−q+qNB(y)D=1-q+qN_B(y) and H=1−q+pqNA(x)H=1-q+pqN_A(x), the probabilities of satisfying the support requirement for an AA or BB device, respectively. The first term counts autonomous devices. In the second term for BB, its required AA partner must survive the initial attack as well as have a path. The edge probabilities and the final fractions μA,μB\mu_A,\mu_B in the two layers obey

x=pEA(x)D,μA=pNA(x)D,y=EB(y)H,μB=NB(y)H.\begin{aligned} x&=pE_A(x)D, & \mu_A&=pN_A(x)D,\\ y&=E_B(y)H, & \mu_B&=N_B(y)H. \end{aligned}

Taking q=1q=1 restores complete dependence. Taking q=0q=0 leaves a damaged AA and untouched BB. Between these limits, the layers need no longer retain equal fractions.

A continuous loss of AA. Let y0y_0 denote the limiting BB-edge success as xx tends to zero from above. Setting x=0x=0 in the BB equation leaves y0=(1−q)EB(y0)y_0=(1-q)E_B(y_0): autonomous BB nodes may still support a giant. In the AA equation, divide by the positive xx before taking the limit. Since EA(0)=0E_A(0)=0, the ratio EA(x)/xE_A(x)/x tends to EA′(0)E'_A(0), the mean number of fresh branches on arrival. This gives the candidate continuous threshold pcontp_{\mathrm{cont}}:

pcont=1EA′(0)[1−q+qNB(y0)].p_{\mathrm{cont}}=\frac{1}{E'_A(0)[1-q+qN_B(y_0)]}.

For two three-regular layers, y0=(1−q)y0(2−y0)y_0=(1-q)y_0(2-y_0). For q<1/2q<1/2 the physical autonomous branch is y0=(1−2q)/(1−q)y_0=(1-2q)/(1-q). Thus 1−y0=q/(1−q)1-y_0=q/(1-q) and

pcont=12{1−q[q/(1−q)]3}.p_{\mathrm{cont}}=\frac{1}{2\{1-q[q/(1-q)]^3\}}.

At q=1/4q=1/4 this gives pcont=54/107p_{\mathrm{cont}}=54/107, just above one half. As AA loses its giant, y0=2/3y_0=2/3 and μB→(3/4)[1−(1/3)3]=13/18\mu_B\to(3/4)[1-(1/3)^3]=13/18. In fact this is the same single-layer size calculated earlier: the autonomous three quarters of BB can function without any help from AA. For q≥1/2q\ge 1/2 the autonomous network has no positive y0y_0; even when q<1/2q<1/2, a continuous threshold is realized only if the surviving branch actually reaches x=0x=0.

A discontinuous loss at a fold. In the same regular example, on a branch with x,y>0x,y>0, cancel xx and yy from their respective equations and solve each for the remaining probability. Denote the resulting two curves by R1R_1 and R2R_2:

x=R1(p,y)=2−1pD,y=R2(p,x)=2−1H.x=R_1(p,y)=2-\frac{1}{pD},\qquad y=R_2(p,x)=2-\frac{1}{H}.

A positive intersection satisfies both conditions. At a fold two intersections merge. Following a change around x→y→xx\to y\to x returns it with unit gain, so the product of slopes at the touching point is one:

∂R1∂y∂R2∂x=3q(1−y)2pD23pq(1−x)2H2=1.\frac{\partial R_1}{\partial y}\frac{\partial R_2}{\partial x} =\frac{3q(1-y)^2}{pD^2}\frac{3pq(1-x)^2}{H^2}=1.

Solve this condition together with the two curve equations; only a fold on the branch reached by pruning is a collapse threshold. Where this fold reaches x=0x=0 and y=y0y=y_0, the jump vanishes. The continuous and discontinuous transition lines meet at a tricritical point. In this particular model the limiting slope condition reduces to 1−q[q/(1−q)]3=3[q/(1−q)]21-q[q/(1-q)]^3=3[q/(1-q)]^2, giving q≃0.359q\simeq0.359 and p≃0.533p\simeq0.533. Autonomy changes the kind of failure, as well as the amount of damage the system tolerates.

There is a useful version of the tangency test when the equations cannot be rearranged so neatly. Collect the probabilities in a vector x\mathbf{x} and call their update map f(p,x)\mathbf f(p,\mathbf{x}). A fixed point solves the residual equation F=f−x=0\mathbf F=\mathbf f-\mathbf{x}=\mathbf0. Let J=∂F/∂xJ=\partial\mathbf F/\partial\mathbf{x} be the Jacobian of the residual, the matrix of its first derivatives. Follow the solution curve using a parameter ss. At a fold dp/ds=0dp/ds=0, although the tangent dx/dsd\mathbf{x}/ds is nonzero. Differentiating the residual along the curve gives

∂F∂pdpds+Jdxds=0⟹det⁡J=0 at the fold.\frac{\partial\mathbf F}{\partial p}\frac{dp}{ds}+J\frac{d\mathbf{x}}{ds}=\mathbf0 \quad\Longrightarrow\quad \det J=0\ \text{at the fold}.

Thus the update Jacobian ∂f/∂x\partial\mathbf f/\partial\mathbf{x} has eigenvalue +1+1 there. For the two rearranged equations the residual Jacobian has diagonal entries −1-1 and off-diagonal entries equal to the two slopes; its determinant is one minus their product. Singularity identifies a candidate: the probabilities must still be physical, and the surviving branch must actually end or change there.

When the support rule changes

More required layers. If a device now requires all LL layers to work, each adds one more “and.” Let ii and jj index the layers, xix_i be success along an edge in layer ii, and pp now denote the probability that the whole group of replicas initially survives. For independent layer degrees,

xi=pEi(xi)∏j≠iNj(xj),μ=p∏j=1LNj(xj).x_i=pE_i(x_i)\prod_{j\ne i}N_j(x_j),\qquad \mu=p\prod_{j=1}^{L}N_j(x_j).

Only the layer in which we arrived loses an edge. If all layers have the same fixed degree dd and their common message is zz, these become z=p[1−(1−z)d−1][1−(1−z)d]L−1z=p[1-(1-z)^{d-1}][1-(1-z)^d]^{L-1} and μ=p[1−(1−z)d]L\mu=p[1-(1-z)^d]^L. Each extra required layer multiplies success by a factor at most one. With L=1L=1 the empty product is one, returning ordinary percolation.

Correlated layers. A well-connected substation may also be paired preferentially with a well-connected controller. We must average over the joint degree vector k=(k1,…,kL)\mathbf k=(k_1,\ldots,k_L), where kjk_j is the degree of that group’s replica in layer jj. Let P(k)P(\mathbf k) be its probability and ci=∑kkiP(k)c_i=\sum_{\mathbf k} k_i P(\mathbf k) the mean degree in layer ii. Define b(k,z)=1−(1−z)kb(k,z)=1-(1-z)^k, the success probability for kk independent candidate branches. Then

xi=p∑k: ki≥1kiP(k)ci b(ki−1,xi)∏j≠ib(kj,xj),μ=p∑kP(k)∏j=1Lb(kj,xj).\begin{aligned} x_i&=p\sum_{\mathbf k:\,k_i\ge1}\frac{k_iP(\mathbf k)}{c_i}\,b(k_i-1,x_i)\prod_{j\ne i}b(k_j,x_j),\\ \mu&=p\sum_{\mathbf k}P(\mathbf k)\prod_{j=1}^L b(k_j,x_j). \end{aligned}

The endpoint bias is still determined by the layer whose edge was followed. Condition on the whole degree vector, multiply the branch probabilities, and only then average. Splitting this average into the earlier product of layer averages requires independent layer degrees. This correction handles degree correlations between replicas, not shared edges or short loops between branches.

Groups that fail together. The same logic applies inside one layer. Suppose nodes are assigned at random to dependency groups independently of connectivity degree, and each node is initially retained independently with probability pp. A group functions only if every member survives and has a route. Let gmg_m be the probability that a randomly chosen node belongs to a group of mm members. For a generic group member, denote the probability of surviving the attack and finding a path by a=pN(x)a=pN(x), where NN and EE are this layer’s node and edge-arrival tests. Conditioning on group size gives

x=pE(x)∑m≥1gmam−1,μ=∑m≥1gmam.x=pE(x)\sum_{m\ge1} g_m a^{m-1},\qquad \mu=\sum_{m\ge1}g_m a^m.

A pair of independently attacked members contributes two retention factors. That differs from attacking only one layer of a matched pair. If all groups are singletons, no dependence remains. And if g~m\tilde g_m describes the size of a randomly chosen group, convert to node sampling first: gm=mg~m/∑j≥1jg~jg_m=m\tilde g_m/\sum_{j\ge1}j\tilde g_j, where jj runs over group sizes. A large group supplies more possible sampled nodes.

Backup providers. A controller with two independent sources of power might need either one. If a device has dd possible providers and each is available with probability YY, its chance of finding support is 1−(1−Y)d1-(1-Y)^d, the complement of all providers failing. For two providers each available with probability 0.80.8, this is 0.960.96; requiring both instead gives 0.640.64.

The providers need not be equally distributed across device types. For a reciprocal support link, assume a provider can take support from the focal node while its own within-layer routes are tested. Let πAB(ℓ∣k)\pi_{AB}(\ell\mid k) denote the probability that the provider in BB has connectivity degree ℓ\ell given a customer of degree kk in AA. If BB is retained with probability pBp_B and yy denotes its edge success, the availability of one provider for such a customer is

YA(k)=pB∑ℓ≥0πAB(ℓ∣k)b(ℓ,y).Y_A(k)=p_B\sum_{\ell\ge0}\pi_{AB}(\ell\mid k)b(\ell,y).

Let PA(k,d)P_A(k,d) give the joint distribution of a customer's within-layer degree kk and provider count dd. With independent providers conditional on type, pAp_A the retention in AA, and cAc_A its mean within-layer degree, the AA message and surviving fraction become

x=pA∑k≥1,dkPA(k,d)cA b(k−1,x)[1−(1−YA(k))d],μA=pA∑k,dPA(k,d) b(k,x)[1−(1−YA(k))d].\begin{aligned} x&=p_A\sum_{k\ge1,d}\frac{kP_A(k,d)}{c_A}\,b(k-1,x)[1-(1-Y_A(k))^d],\\ \mu_A&=p_A\sum_{k,d}P_A(k,d)\,b(k,x)[1-(1-Y_A(k))^d]. \end{aligned}

The sums run over nonnegative degrees and provider counts, subject to the indicated restriction. Exchange AA and BB for the other layer’s equations. If devices with no provider are autonomous, their support factor must be set to one explicitly; a device that requires a provider but has none has support probability zero.

That distinction matters more than a raw count of links. Giving a controller a second required service creates another point of failure. Giving it an interchangeable backup can keep a whole chain of substations online. The diagram can look much the same; the word and or or in the operating rule changes the outcome.


← Percolation and epidemics · Series index · Dynamical systems →