Skip to main content
Springer Nature - PMC COVID-19 Collection logoLink to Springer Nature - PMC COVID-19 Collection
. 2023 May 17;17(2):247–283. doi: 10.1007/s11579-023-00336-w

Contagion risks and security investment in directed networks

Hamed Amini 1,
PMCID: PMC10189239  PMID: 37266157

Abstract

We develop a model for contagion risks and optimal security investment in a directed network of interconnected agents with heterogeneous degrees, loss functions, and security profiles. Our model generalizes several contagion models in the literature, particularly the independent cascade model and the linear threshold model. We state various limit theorems on the final size of infected agents in the case of random networks with given vertex degrees for finite and infinite-variance degree distributions. The results allow us to derive a resilience condition for the network in response to the infection of a large group of agents and quantify how contagion amplifies small shocks to the network. We show that when the degree distribution has infinite variance and highly correlated in- and out-degrees, even when agents have high thresholds, a sub-linear fraction of initially infected agents is enough to trigger the infection of a positive fraction of nodes. We also demonstrate how these results are sensitive to vertex and edge percolation (intervention). We then study the asymptotic Nash equilibrium and socially optimal security investment. In the asymptotic limit, agents’ risk depends on all other agents’ investments through an aggregate quantity that we call network vulnerability. The limit theorems enable us to capture the impact of one class of agents’ decisions on the overall network vulnerability. Based on our results, the vulnerability is semi-analytic, allowing for a tractable Nash equilibrium. We provide sufficient conditions for investment in equilibrium to be monotone in network vulnerability. When investment is monotone, we demonstrate that the (asymptotic) Nash equilibrium is unique. In the specific example of two types of core-periphery agents, we illustrate the strong effect of cost heterogeneity on network vulnerability and the non-monotonous investment as a function of costs.

Keywords: Contagion, Security investment, Stochastic networks, Random graphs

Introduction

Internet security is one of the major sources of concern in today’s interconnected world. Fraud, cyber-attacks, and the influence of malicious software (or malware) on the World Wide Web and its plethora of overlying and underlying networks create significant economic, social, and political damages. In finance, security investment can be seen as a financial institution’s decision to hold higher capital. Higher capital comes, of course, at a cost but has a benefit on the entire financial system because losses are absorbed. Otherwise, a firm’s failure can translate into bankruptcy costs, and losses are imposed on other firms. As the financial crisis has highlighted, systemic risk is one of the most important risks in financial systems, with potential spillovers to the real economy. Investment in capital and liquidity has been mandated in various forms by financial regulators in the aftermath of the crisis.

Security investment is by no means specific to communication networks or to economic, information, or financial exchanges. In the current Covid-19 health emergency, the self-isolation decision played an important role in network vulnerability. Mitigating epidemic spreading and COVID-19 [1, 12, 26] can be seen as a variant of security investment when security investment is replaced by self-isolation decisions. However, the epidemic models in such applications are more realistically based on the Susceptible-Infected-Recovered (SIR) model for non-directed graphs.

In this paper, we propose a general framework in which a directed network of interconnected agents is subject to contagion risks and potential loss. We study the asymptotic Nash equilibrium and socially optimal security investments in a random directed network with fixed degrees. The structure of the networks plays an important role in the resilience of the network and impacts the decisions of different network players. We demonstrate how an agent’s decision on their security level might depend on the decisions of other agents in the network. In particular, agents who decide not to invest in self-protection also put other network participants at contagion risk.

The independent threshold model with security profiles that we introduce generalizes several contagion models in the literature, particularly the independent cascade model and the linear threshold model. We state several limit theorems on the final size of infected agents in the case of random networks with fixed degrees, for finite and infinite variance degree distributions. The results allow us to derive resilience conditions for the network in response to small initial shocks.

We characterize the asymptotic Nash equilibrium and socially optimal security investment. In the asymptotic limit, agents’ risk depends on all other agents’ investments through an aggregate quantity, which we call network vulnerability, and which captures how risky an unknown counterparty is. Based on our results, the vulnerability is semi-analytic, allowing for a tractable Nash equilibrium.

We provide sufficient conditions for investment in equilibrium to be monotone in network vulnerability. When investment is monotone, we demonstrate that the asymptotic Nash equilibrium is unique. For the case of random regular graphs and core-periphery network models, the social optimum is explicit, and we theoretically guarantee that individual decisions will result in underinvestment compared to the social optimum. In the particular example of two types of agents, called core and periphery agents, we exhibit a strong effect of cost heterogeneity and, in particular, non-monotonous investment as a function of costs.

Related literature

Limiting contagion risk requires new analytical and computational tools. Extensive research in this area focuses on the spread of epidemics over different network structures. For example, see [14, 18, 21, 24, 32, 42] for SIR epidemics in random networks and [6, 37, 39, 41, 46] for threshold contagion models in random networks.

Another related strand of literature is on default cascades and systemic risk in random financial networks, see e.g., [5, 8, 11, 13, 17, 23, 25]. In particular, in [7], the authors study financial contagion on configuration model and derive a criterion for the resilience of a financial network to insolvency contagion, based on connectivity and the structure of contagious links (i.e., those exposures of a bank larger than its capital).

There is an emerging literature on the economics of (information) security and the management of systemic cyber risk, see e.g., [2, 29, 40, 48]. In [29], the authors consider a simple one-period economic model for a single agent decision characterized by two parameters: R+ for the monetary loss and v[0,1] called vulnerability, representing the probability that without additional security investment, the agent becomes infected and the loss occurs. The agent can invest the amount x at time 0 to reduce the probability of infection (loss) to p(xv). Assuming the agent is risk-neutral, her optimal security investment would be the value x=x(v,) minimizing

x(v,)=argmin{x+p(x,v):x0}.

Note that the fixed point solution(s) x(v,) does not need to be non-decreasing in (v,). For instance, [29] consider the following example: p(x,v)=vαx+1, where α>0 is a productivity measure parameter for information security. A sufficient condition for monotone investment is given in [38]: Assume that p(xv) is twice continuously differentiable on R+×[0,1], non-increasing in x and 2pxv(x,v)0, then the function (v,)x(v,) is non-decreasing in (v,). In this case, the security investment decision is simpler since there is an augmenting return on investment with vulnerability.

We extend the existing literature in several ways: we generalize the contagion model, allow for network heterogeneity and multiple security levels, and treat the directed network case. When investment is monotone, we show that the Nash equilibrium is unique. In the case of two types of core-periphery agents, we exhibit the strong effect of cost heterogeneity on network vulnerability and the non-monotonic investment as a function of costs.

Outline The paper is structured as follows. Section 2 provides two motivating examples for the optimal security investment game. In Sect. 3, we present our general framework for the study of contagion risks in random networks. We also state our main results on the asymptotic magnitude of contagion and resilience of large networks to small initial shocks in Sect. 3. In Sect. 4, we consider the network security game and provide a sufficient condition for the uniqueness of the equilibrium. In Sect. 5, we give a more detailed analysis of the particular case when there are two security classes, and investment in security provides strong protection. For the case of random regular graphs and core-periphery network modes, the social optimum is explicit, and we theoretically guarantee that the individual decision will be to underinvest compared to the social optimum. Section 6 concludes, and Appendix A contains all the proofs.

Notations We let N be the set of non-negative integers. For non-negative sequences xn and yn, we write xn=O(yn) if there exist NN and c>0 such that xncyn for all nN, and xn=o(yn) (or xnyn), if xn/yn0, as n. Let {Xn}nN be a sequence of real-valued random variables on a probability space (Ω,P). If cR is a constant, we write Xnpc to denote that Xn converges in probability to c. That is, for any ϵ>0, we have P(|Xn-c|>ϵ)0 as n. Let {an}nN be a sequence of real numbers that tends to infinity as n. We write Xn=op(an), if |Xn|/an converges to 0 in probability. Additionally, we write Xn=Op(an), to denote that for any positive sequence ω(n), we have P(|Xn|/anω(n))=o(1). If En is a measurable subset of Ω, for any nN, we say that the sequence {En}nN occurs with high probability (w.h.p.) if P(En)=1-o(1), as n. Also, we denote by Bin(k,p) a binomial distribution corresponding to the number of successes of a sequence of k independent Bernoulli trials each having probability of success p. We will suppress the dependence of parameters on the size of the network n, if it is clear from the context.

Preliminaries

To illustrate the basic intuition in a simpler framework, this section provides two motivating examples for the network security game. First, the case of two agents is considered, followed by a simplified contagion process in the form of a contact process on infinite regular trees.

Optimal security investment for two agents

We first look at the optimal security investment game in the case of two agents A={1,2} sharing two links (12 and 21). Assume that each agent has two security choices S={0,1}: si=1 if the agent i invests in strong security (in this case, she never gets infected) and si=0 if the agent i does not invest in security and is subject to epidemic risk.

Table 1 summarizes the expected costs to the agents for the four possible outcomes: i is the loss in case agent i becomes infected, and C=C1 is the cost of investing in security (level 1). If agent i does not invest in security, there is a probability αi that they become infected directly. On the other hand, βi denotes the probability of indirect contagion from the other agent. Let us make the example even simpler and assume that only direct loss can be avoided by investing in security.

Table 1.

Expected costs associated with investing and not investing in security

Agent 2
0 1
Agent 1
0 (α1+(1-α1)α2β1)1,(α2+(1-α2)α1β2)2 (α11,C+α1β22)
1 (C+α2β11,α22) (CC)

We observe that investing in security is a dominant strategy for agent 1 if C<α11 and

C+α2β11<(α1+(1-α1)α2β1)1C<α1(1-α2β1)1.

Similarly, investing in security is a dominant strategy for agent 2 if C<α22 and

C+α1β22<(α2+(1-α2)α1β2)2C<α2(1-α1β2)2.

We conclude that if

C<minα1(1-α2β1)1,α2(1-α1β2)2,

then both agents will invest in self-protection, while if

C>maxα11,α22,

then neither agent will want to invest in self-protection. In the case

maxα1(1-α2β1)1,α2(1-α1β2)2<C<min{α11,α22},

there are two Nash equilibria, (0,0) and (1,1), and the solution to this game is indeterminate. In other cases, the agent with higher loss will invest in security, while the agent with lower loss will prefer not to invest.

Contact process on infinite regular trees

We now consider a set of infinitely many agents placed over an infinite directed regular tree with the same in-degree (denoted by d+) and out-degree (denoted by d-) satisfying d+=d-=d. Let S={0,1,,K} be a finite ensemble of all possible security strategies for each agent, and, β0>β1>>βK be the infection probabilities over each directed edge depending on the security investment of the host agent. Further, let α0α1αK denote the initial exogenous infection probabilities.

Let γ0,γ1,,γK[0,1] with γ0+γ1++γK=1 be the fraction (probability) of agents invested in each security class. A simple argument shows that

gs(x):=1-(1-αs)1-βsxd

is the probability that an agent invested in security class sS ever gets infected assuming each of its incoming neighbors are infected with probability x.

Assume that each agent i faces a fixed potential loss i in case they become infected. Investing in a higher security class decreases the infection probability but increases the cost. Let Cs denote the cost of investing in security level s. So we can write the loss function for agent i investing in security class sS as

Ji(s,γ)=igs(xγ)+Cs,

where (by a simple recursive argument) xγ is the solution in [0,1] to the fixed point equation

x=Φγ(x):=sSγsgs(x).

Note that Φγ(0)0,Φγ(1)1 and Φγ(x) is a strictly increasing function of x. Hence, in this case the fixed point solution is unique.

We call xγ the global network vulnerability parameter as it represents the fraction of infected links in the network. Obviously, this parameter also depends on the agents security strategies through γ0,γ1,,γK. In order to find out these quantities in equilibrium, let us denote by δs(x) the infection probability variation between security level s and s-1, i.e.,

δs(x):=gs-1(x)-gs(x)=(1-αs)1-βsxd-(1-αs-1)1-βs-1xd>0,

so that each agent i prefers security class s over s-1 if and only if

i>s(x):=Cs-Cs-1δs(x).

As we will see later in Sect. 4, we will assume that the cost function is such that

1(x)2(x)K(x),

for all x[0,1]. Indeed, if s+1(x)<s(x), the agent who believes in vulnerability x will never invest in security class s for any loss : If <s(x), the agent prefers s-1 over s, and if s(x)>s+1(x), the agent prefers security s+1 over s. In particular, the condition will be satisfied if gs(x) and Cs are both (discrete) convex functions of s:

Cs+1+Cs-12Cs,andgs+1(x)+gs-1(x)2gs(x),

since in this case δs(x)=gs-1(x)-gs(x) will be a decreasing function of s.

Consider now a strictly increasing continuous loss distribution function F. Consequently, it yields that the fraction γe(s) of agents investing in security s in equilibrium satisfies

γe(s)=F(s+1(xγe))-F(s(xγe)),

where xγe is the unique solution to the fixed point equation x=Φγe(x):

x=sSγe(s)gs(x),

and, we set K+1(x)=,F(K+1(x))=1 and F(0(x))=0. We will come back to this example later in Sect. 5.2 and investigate how the social optimum security strategies differ from the individual decisions.

Independent threshold model with security profiles

In this section, we provide our general framework for the study of contagion risks in random networks and state our main results on the asymptotic magnitude of contagion. We will also provide a resilience condition for the large network to small initial shocks and show how the bailout and intervention by a planner (government) could change the results and make the network more resilient. These results are prerequisites for the analysis of the security game in the next section.

Contagion risk model

Consider a directed graph G=(V,E) where V=[n]:={1,2,,n} is the set of n vertices (agents). We study the independent threshold model with security investment, in which a vertex’s threshold is drawn independently from a distribution which depends on the vertex’s degrees and its security investment. More precisely, we consider a finite ensemble of security classes S. We use the notations s=(s1,s2,,sn) and s-i=(s1,,si-1,si+1,,sn) to denote the security profiles of all agents and all agents other than i respectively.

The contagion process under the threshold model is a diffusion process that starts with a set I0(s)V consisting of initially infected vertices, while every other vertex is uninfected. For each vertex iV with security level sS, we assign a (random) threshold Θi(s)N representing its capacity to resist infection from incoming neighbors. We denote by p(s)(d+,d-,θ) the probability that a vertex with in-degree d+, out-degree d- and investing in security class s becomes infected after (exactly) θ of its incoming neighbors are infected:

p(s)(d+,d-,θ):=P(Θi(s)=θ),

for agent i with degrees (d+,d-) and investing in security class sS.

The contagion process starts from I0(s) and continues progressively by rounds. In round k1, the contagion reaches a set

Ik(s):=iVΘi(si)#{jIk-1(s),(j,i)E}.

This is repeated until no more vertices become infected. Note that the set of final infected vertices depend on the security investment across all agents. The final infected set is denoted by If(s). We now provide few important classes of contagion models which can be seen as a special case of our general framework.

Example 3.1

(Independent cascade models) The cascade model has been extensively used for modeling the spread of infectious diseases, computer viruses, diffusion of innovation, and marketing. For example, consider the SIR (susceptible-infected-removed) epidemic model in which sites (vertices) begin as susceptible, and after being infected, they become removed, i.e., become immune to further infection. Let αs denote the initial infection probability, and βs denote the probability of getting infected from each incoming neighbor if the host vertex invests in security (immunization) class s. It is easy to show that the above independent cascade model corresponds to the independent threshold model by setting

p(s)(d+,d-,0)=αsandp(s)(d+,d-,θ)=(1-αs)βs(1-βs)θ-1,

for all d+,d-N and θ=1,,d+.

Example 3.2

(Bootstrap percolation model) In the case where

p(s)(d+,d-,0)=αs,p(s)(d+,d-,θ)=(1-αs)11{θ=θs},

our model is equivalent to the bootstrap percolation process for each security class s. This process (as well as numerous extensions and variations) has been used as a model to describe various complex phenomena in different areas. A short survey regarding its applications can be found in [3]. Several quantitative characteristics of bootstrap percolation, particularly the dependence of the initially infected set on the final infected set, have been studied on a variety of random graphs [6, 9, 10, 16, 33].

Example 3.3

(Linear threshold model) The linear threshold model has been extensively used in the literature, particularly to model neuronal activity [4, 22] and default contagion in financial networks [5, 7, 11, 27]. In this model, see e.g. [34], the edge weights Lij denote the liability (influence) that agent i has on agent j and Ci=Ci(s) represents the capacity (capital or threshold) for agent i to absorb the losses (influences) from incoming neighbors before becoming infected. At every time step, each agent i computes the total incoming weight from all infected neighbors, and if the sum exceeds the threshold Ci(s), they become infected and remain so forever. For each iN, let {L,i}=1 be a sequence of i.i.d. random variables. For a vertex i with degree (d+,d-), by setting

p(s)(d+,d-,θ)=P(Θi(s)=θ)=P=1θ-1L,iCi(s)<=1θL,i, 1

all our results will be applicable to the linear threshold model with i.i.d. random weights.

The directed configuration model

We represent the underlying network as a set of vertices [n]:={1,2,,n}, endowed with a sequence of in-degrees d+:={di+}i[n] and a sequence of out-degrees d-:={di-}i[n]. Naturally, the degrees should satisfy the condition that i=1ndi+=i=1ndi-, in order for a graph with in- and out-degree sequence (d+,d-) to exist. A vertex i[n], with degree (di+,di-) is assigned di+ in-coming half edges and di- out-going half edges, and the condition above ensures that in total there are as many in-coming half edges as there are out-going half edges. The configuration model with given directed degree sequence (d+,d-) is defined as the multigraph resulting from the uniform random matching of the in-coming half edges and the out-going half edges [19, 43]. This graph is denoted by G=G(d+,d-) and we write (i,j)G for the event that there is a directed link from i to j. Although self-loops may occur, these become rare as n. It is easy to see that, conditional on the multigraph being simple graph, we obtain a uniformly distributed random graph with these given degree sequences; see e.g., [43].

We now describe the regularity assumptions on vertex degrees under the security profile sn=(s1,s2,,sn). For each nN we have a degree sequence (dn+,dn-) and security profile sn=(s1,s2,,sn), but (to lighten notation) this dependency on n will not be carried in the notation. The empirical distribution of the degrees is denoted by μn which is given by

μn(s)(d+,d-):=1ni=1n11{di+=d+,di-=d-,si=s}. 2

We assume that the sequence (d+,d-,s) satisfies the following regularity conditions:

Condition 3.4

(Degree regularity conditions) We say that the sequence (d+,d-,s) satisfies the regularity conditions if for some probability distribution μ:N2×S[0,1], independent of n, the following holds:

(C1)
for every d+,d-N and sS, as n
μn(s)(d+,d-)μ(s)(d+,d-);
(C2)
The average degree λ:=j=0k=0sSjμ(s)(j,k)(0,) and as n
j=0k=0sSjμn(s)(j,k)λ.

We end this section by the following remark:

Remark 3.5

We state our results for the random multigraph G(d+,d-) constructed by configuration model. However, they could be transferred by conditioning on the multigraph being a simple graph (without loop and multiples edges). The resulting random graph, denoted by G(d+,d-), will be uniformly distributed among all directed graphs with the same degrees sequence. In order to transfer the results, we would need to assume that the degree distribution has a finite second moment, i.e.

j=0k=0sS(j+k)2μ(s)(j,k)(0,),

which from [30] implies that the probability that G(d+,d-) is simple being bounded away from zero as n. However, as stated also in [32], we suspect that all results hold even without the second moment assumption for simple random graph G(d+,d-). In [20], the authors have recently shown results for the size of the giant component from the multigraph case without using the second moment assumption; they prove that even with the (exponentially) small probability that the multigraph is simple, the error probabilities are even smaller.

Limit theorems and the resilience conditions

We let p(s)(d+,d-,0) the probability that agent i[n] with degree (d+,d-) and investing in security sS is initially infected:

p(s)(d+,d-,0)=P(iI0(s)si=s,di+=d+,di-=d-).

Let us denote by If(s)(d+,d-) the set of finally infected agents with degrees (d+,d-) and security level sS.

We define the function Φ(s):[0,1][0,1] as

Φ(s)(x):=j=0k=0sSkμ(s)(j,k)λθ=0jp(s)(j,k,θ)P(Bin(j,x)θ), 3

and let x(s) be the smallest fixed point of Φ(s) in [0, 1]. Note that Φ(s) admits at least one fixed point since it is a continuous increasing function, Φ(s)(1)1 and Φ(s)(0)0.

We can interpret x(s) as the probability that an incoming neighbor of a randomly chosen agent gets infected during the contagion process. The intuition behind Eq. (3) is the as follows: The incoming neighbor of a randomly chosen agent has in-degree j, out-degree k, and security s with the size-biased distribution kμ(s)(j,k)λ. Moreover, they will have threshold θ with probability p(s)(j,k,θ) and they will get infected if at least θ of their incoming neighbors are infected (each independently with probability x(s)).

Our first theorem concerns the limit theorem for the final number of infected agents when the number of initially infected agents is macroscopic:

Theorem 3.6

Consider a sequence of random graphs G(d+,d-) and security profiles s satisfying Condition 3.4 and let x(s) be the smallest fixed point of Φ(s) in [0, 1]. We have for all ϵ>0 w.h.p.

|If(s)|nj,ksSμ(s)(j,k)θ=0jp(s)(j,k,θ)P(Bin(j,x(s))θ)-ϵ.

Moreover,

  • if x(s)=1 then w.h.p. almost all vertices become infected: |If|=n-op(n);

  • if x(s)<1 and furthermore x(s) is a stable fixed point of Φ(s) (i.e., Φ(s)(x)<x for x(x(s),x(s)+ϵ) and ϵ>0 small enough), then
    |If(s)|npψ(x(s)):=j,ksSμ(s)(j,k)θ=0jp(s)(j,k,θ)P(Bin(j,x(s))θ),
    and,
    |If(s)(d+,d-)|nμn(s)(d+,d-)pψ(s)(d+,d-,x(s)):=θ=0jp(s)(d+,d-,θ)P(Bin(d+,x(s))θ).

The theorem extends the result in [7] by allowing for different agent types (securities) distributions. The proof of the theorem is provided in Appendix A.3.

Our next theorem concerns the case with few initially infective agents, i.e. |I0(s)|=o(n). As a corollary of Theorem 3.6, we have:

Theorem 3.7

Consider a random graph G(d+,d-) and a security profile s satisfying Condition 3.4. If there exists x0>0 such that for all 0<x<x0,

x>j,ksSkμ(s)(j,k)λθ=1jp(s)(j,k,θ)P(Bin(j,x)θ),

and we initially infect randomly |I0(s)|=o(n) vertices in [n], then |If(s)|=op(n).

Further, as a corollary of the above theorem, we have the following result, which generalizes the resilience condition of [7] by allowing for different agent types.

Let us define

R0(s):=1λj,kNsSjkμ(s)(j,k)p(s)(j,k,1). 4

We denote by S1 to be the largest strongly connected component of the random graph G(d+,d-) on which we apply the site percolation process by removing all vertices with threshold Θi2. Let If(s)(i) denote the final infected set when the epidemic is initiated from vertex i[n], under the security profile s.

Theorem 3.8

Consider a random graph G(d+,d-) and a security profile s satisfying Condition 3.4.

  • If R0(s)<1,
    j,ksSjkμ(s)(j,k)<
    and we initially infect randomly |I0(s)|=o(n) vertices in [n], then |If(s)|=op(n).
  • If R0(s)>1 then w.h.p. for any iS1,
    lim infn|If(s)(i)|nlim infn|S1|n>0.

The proof of the theorem is provided in Appendix A.6. It is worth noting that the above resilience condition requires j,ksSjkμ(s)(j,k)<. In [7], this is implied by the condition of finite second-order moment for the degree distribution. Thus, under the resilience condition and assuming that j,kjkμ(j,k)<, the infection amplification is finite. However, if

j,ksSjkμ(s)(j,k)=,

which is the case for many real-world networks, a small fraction of initially infected agents can still trigger a large cascade under certain conditions. This is the object of a new result in this paper, which we state below.

Consider the case when j,ksSjkμ(s)(j,k)=. Suppose that there is a positive fraction of vertices with a finite threshold and at the same time with a large number of in- and out-degrees. These vertices will amplify the initial infections: their large number of incoming links will likely be connected to multiple initially infected vertices, and thus these vertices will reach their infection threshold. Moreover, these vertices have a large out-degree, and thus they will increase the rate of the epidemic’s spread. The following theorem is another corollary of Theorem 3.6.

Theorem 3.9

Consider a random graph G(d+,d-) and a security profile s satisfying Condition 3.4. Assume that a small fraction ϵ>0 of all vertices represent the initial seed, i.e.,

j,ksSμ(s)(j,k)p(s)(j,k,0)=ϵ.

If there exists x0>0 such that for all 0<x<x0,

x<j,ksSkμ(s)(j,k)λθ=1jp(s)(j,k,θ)P(Bin(j,x)θ),

then with high probability (for all ϵ>0)

|If(s)|n>ψ(x0)>0.

The following corollary shows a discontinuity at 0 for the final size of the infected agents when the degree distribution is heavy-tailed, such as in scale-free networks.

Corollary 3.10

Assume that for some KN,cR+ and χ(2,3):

kNsSθ=1Kkμ(s)(j,k)p(s)(j,k,θ)cj-χ+1

for all jN. Consider a small fraction ϵ>0 of all vertices represent the initial seed, i.e.,

j,ksSμ(s)(j,k)p(s)(j,k,0)=ϵ.

Then there exists x^>0 the smallest positive solution of

x=j,ksSθ1kμ(s)(j,k)λp(j,k,θ)P(Bin(j,x)θ) 5

such that for all ϵ>0, with high probability

0<ψ(x^)<|If(s)|n<ψ(x^)+2ϵ.

The proof of above corollary is provided in Appendix A.4. This shows that the final size of the cascade has a jump discontinuity at 0 when the degree distribution is heavy-tailed and the condition

kNsSθ=1Kkμ(s)(j,k)p(s)(j,k,θ)cj-χ+1

holds for all jN. In particular, this condition implies that (since χ(2,3)),

j,ksSjkμ(s)(j,k)cjj-χ+2=.

The interest of this result lies in the case K>1, since when K=1, we already know from Theorem 3.8 that with this condition R0(s)>1, and the network is not resilient. Note that in the fixed-point equation (5), the threshold runs over θ1, contrary to the fixed point of the function Φ(s) in Theorem 3.6. Corollary 3.10 states that as the fraction of vertices with θ=0 tends to zero, the number of vertices that become infected (which have a threshold θ>0) represents a positive fraction of the system. We also give a precise value for this final fraction of infected vertices.

Targeting interventions

In this section, we consider a social planner (lender of last resort or government) who seeks to intervene and make the network (which is initially subject to an exogenous shock) resilient, by targeting the most central players. Note that the interventions are based on the partial information of the network (based on the degrees and security class of each agent). The complete information setup has been studied in various papers, see e.g.,  [15, 28, 3436].

We assume that the planner’s intervention could be either saving (vulnerable) links in the network or saving (defaulting/infected) agents based on their degrees and security classes. We denote by (1-πe)[0,1] the fraction of links saved by the planner, i.e., πe denotes the fraction of remaining links in the network. Further, for a given function πv:N2×S[0,1], we denote by (1-πv(s)(d+,d-)) the fraction of agents with degree (d+,d-) and invested in security class sS saved (bailed out) by the planner.

The above intervention model is equivalent to considering contagion in the percolated random graph, where we first generate the random graph G(d+,d-) using the configuration model and then randomly delete either vertices or edges based on the given intervention policy (since saved links and agents will not play any role in the contagion process). We denote this percolated random graph by Gπv,πe(d+,d-). Specifically, each edge of G(d+,d-) is deleted with probability 1-πe and each agent with degree (d+,d-) and invested in security s is removed from the network with probability 1-πv(s)(j,k). Consider now the independent threshold model on the percolated random graph Gπv,πe(d+,d-).

Theorem 3.11

Consider Gπv,πe(d+,d-) and suppose that Condition 3.4 holds. Let x(s) be the smallest fixed point in [0,1] of

Φπv,πe(s)(x):=j,ksSkμ(s)(j,k)πv(s)(j,k)λθ=0jp(s)(j,k,θ)P(Bin(j,xπe)θ).

If x(s)<1 and furthermore x(s) is a stable fixed point of Φπv,πe(s), then

|If(s)|npj,ksSμ(s)(j,k)πv(s)(j,k)θ=0jp(s)(j,k,θ)P(Bin(j,x(s)πe)θ),

and,

|If(s)(d+,d-)|nμn(s)(d+,d-)πv(s)(d+,d-)pθ=0jp(s)(d+,d-,θ)P(Bin(d+,x(s)πe)θ).

The proof of theorem is provided in Appendix A.5

We now investigate how the interventions could make the network resilient. Let us denote by S~1 the largest strongly connected component of the percolated random graph Gπv,πe(d+,d-) (network after interventions) on which we apply (another) site percolation by removing all vertices with threshold Θi2.

Theorem 3.12

Consider Gπv,πe(d+,d-) and suppose that Condition 3.4 holds. We have:

  • (i)
    If j,k,sjkμ(s)(j,k)< and
    πe<πe:=λj,k,sjkμ(s)(j,k)πv(s)(j,k)p(s)(j,k,1),
    then the network is resilient, i.e., if we we start by initially infecting (randomly) |I0(s)|=o(n) vertices in [n], then |If(s)|=op(n).
  • (ii)
    If πe>πe, then w.h.p. for any iS~1,
    lim infn|If(s)(i)|nlim infn|S~1|n>0.

The proof of theorem is provided in Appendix A.6. The theorem characterizes the critical value of the bond percolation parameter (fraction of vulnerable links saved by the planner) required to make the network resilient. Note that if πe>1, then the network is already resilient under the site percolation (agents bailout by the planner).

Network security games

In this section, we study the network security game and provide sufficient conditions for the uniqueness of an (asymptotic) Nash equilibrium.

Remark 4.1

For the financial applications, considering the linear threshold model of Example 3.3, the threshold represents the liquidity or capital to absorb incoming losses from the defaulted neighbors (creditors). In this case, the security class could represent the quality of a firms’ assets in terms of liquidity and capital charges. A firm with more liquid assets will then have higher Tier 1 capital. In this case, instead of security classes, we can introduce different asset liquidity classes, so that agents (banks) choose optimally their asset liquidity classes. Our results could be easily transferred to this case.

Contagion risks model

We consider a network security game introduced and motivated in Sect. 2. We assume that agent i can obtain a security level sS:={0,1,,K} for a cost Ci(s)=C(s)(di+,di-), and faces a potential loss i in case it becomes infected. It is natural to assume that:

(C3)
For all vertices the threshold is stochastically increasing with the security investment i.e., for any agent with degrees (d+,d-) and for s<s we have for all kN,
θ=0kp(s)(d+,d-,θ)>θ=0kp(s)(d+,d-,θ). 6
On the other hand, we assume that investing in a higher security class increases the cost and thus Ci(s) is strictly increasing in s.

The timeline is as follows: agents learn their potential loss in case they become infected. This is their private information, but the distribution of losses, denoted by F, is common knowledge. Agents then decide on their security level. They draw a threshold θ from a distribution that increases stochastically with their security investment and depends on their degree. Agents that have a threshold of zero are initially infected and trigger a cascade of infections. This is equivalent to the random attack model, in which the attacker targets and infects each agent based on their degree and security level (see, e.g., [2]).

We assume that agents are risk neutral, so in the network of size n, we can write the payoff of vertex i as

Ji(,s)=Ji(1,,n,s1,,sn):=iPn(iIf(s))+Ci(si),

where Pn(iIf(s)) is over the distribution of the random graph G(d+,d-) of size n and random thresholds, given all vertices’ degrees, losses and investment security vector s.

We say that a security investment across agents s=(s1,s2,,sn) is a (pure-strategy) Nash equilibrium if

siargminsSJi(1,,n,s1,,si-1,s,si+1,,sn),

for all i[n].

Similarly, a security profile s=(s1,s2,,sn) is a social optimum if for all sSn,

i=1nJi(,s)i=1nJi(,s).

Conditions for monotone investment

Consider a sequence of random graphs G(d+,d-) and security profiles s satisfying Condition 3.4. According to Theorem 3.6, see also the proof in Appendix A.3, we know that x(s) is the ratio of infected edges among all the edges. We call this parameter the global vulnerability of the network and securities. Then, for a given random network with vulnerability x, a representative agent with degrees (d+,d-) and security s will become infected and faces losses with (asymptotic) probability

ψ(s)(d+,d-,x):=θ=0d+p(s)(d+,d-,θ)P(Bin(d+,x)θ).

Consequently, under the network vulnerability parameter x[0,1], the agent’s optimal security investment shall be the value s(x) satisfying

s(x)argminsSψ(s)(d+,d-,x)+C(s)(d+,d-).

This can be interpreted as an asymptotic Nash equilibrium with respect to the representative agent’s optimal security investment when the global network vulnerability x summarizes the impact of all individuals’ optimal security strategies and degrees distribution. This is a fixed point problem that will be described in the following.

In particular, the representative agent prefers the security class s over a lower security class s-1 if and only if

ψ(s-1)(d+,d-,x)-ψ(s)(d+,d-,x)>C(s)(d+,d-)-C(s-1)(d+,d-).

Note also that

δs(d+,d-,x):=ψ(s-1)(d+,d-,x)-ψ(s)(d+,d-,x)=θ=0d+p(s-1)(d+,d-,θ)-p(s)(d+,d-,θ)P(Bin(d+,x)θ)=θ=0d+qs(d+,d-,θ)P(Bin(d+,x)=θ)>0,

since by Condition (C3),

qs(d+,d-,θ):=j=0θp(s-1)(d+,d-,j)-p(s)(d+,d-,j)>0.

In order to restrict ourselves to threshold-type strategies, we need a stronger assumption. Specifically, let us define for k=1,2,,K:

s(d+,d-,x):=C(s)(d+,d-)-C(s-1)(d+,d-)δs(d+,d-,x), 7

so that the representative agent with degrees (d+,d-) would prefer the security class s over s-1 if and only if >s(d+,d-,x).

(C4)
We assume in the following that for all d+,d-N and x[0,1],
1(d+,d-,x)<2(d+,d-,x)<<K(d+,d-,x).

Under this condition, the optimal agent’s security investment is threshold-type: invest in security class k if and only if (k,k+1] (we set K+1=). Note that the above condition is automatically verified for the case with only two security strategies, i.e., S={0,1}.

On the other hand, we will also need to assume that such thresholds are (strictly) decreasing with the network vulnerability level x:

(C5)

For all d+,d-N,sS and x[0,1], the threshold function s(d+,d-,x) is a decreasing function of x.

The above monotone investment condition states that the level of loss where agents choose to invest in higher security class is lower when the network vulnerability is higher. The higher the global network vulnerability, the more agents invest in security.

Lemma 4.2

The monotone investment condition (C5) holds if and only if for all d+,d-N,sS and x[0,1],

θ=1d+p(s-1)(d+,d-,θ)-p(s)(d+,d-,θ)P(Bin(d+-1,x)=θ-1)>0.

The proof of lemma is provided in Appendix A.7. Consequently, the above lemma implies that if

p(s-1)(d+,d-,θ)>p(s)(d+,d-,θ)

for all θ<d+, then the monotone investment condition will be held. In particular, when we consider the strong versus weak protection setting in Sect. 5.1, the above condition will be held since S={0,1} and the agent investing in security will never get infected, i.e., p(1)(d+,d-,θ)=0. Therefore, the condition in the lemma will be satisfied.

Asymptotic Nash equilibrium analysis

We are now ready to describe the asymptotic Nash equilibrium as a fixed point problem. In the previous section we described the agents’ strategy given the global network vulnerability. Let xe denote the expected network vulnerability (expected ratio of infected links among all the links) of the random network under expected security investments across all agents.

The representative agent with degrees (d+,d-) would invest in the security class sS if and only if

s(d+,d-,xe)<s+1(d+,d-,xe).

Hence, the fraction of agents with degrees (d+,d-) investing in security class s=0,1,,K will be (set F(K+1)=1)

γe(s)(d+,d-)=F(s+1(d+,d-,xe))-F(s(d+,d-,xe)),

and we have

μe(s)(d+,d-)=μ(d+,d-)γe(s)(d+,d-).

On the other hand, given the probability distributions γe:N2P(S), following Theorem 3.6, a vertex i with degrees (d+,d-) will invest in security class sS as long as

s(d+,d-,xγe)<is+1(d+,d-,xγe),

where xγe is the smallest fixed point of

Φγe(x):=j,ksSkμ(j,k)γe(s)(j,k)λθ=0jp(s)(j,k,θ)P(Bin(j,x)θ), 8

in [0, 1]. Hence, the actual fraction of vertices with degree (d+,d-) investing in security class sS is given by

γ(s)(d+,d-)=F(s+1(d+,d-,xγe))-F(s(d+,d-,xγe)). 9

Then for s=K, we have

K(d+,d-,xγe)=F-1(1-γ(K)(d+,d-)),

and, by backward induction, we obtain for s=1,,K:

s(d+,d-,xγe)=F-11-γ(K)(d+,d-)--γ(s)(d+,d-)=F-1k=0s-1γ(k)(d+,d-).

The willingness to pay to move from security class s-1 to s for the last vertex with degrees (d+,d-) in a network with fraction investing in security γ and with expectation γe can be defined as

Wγ,γe(s)(d+,d-):=δs(d+,d-,xγe)F-1k=0s-1γ(k)(d+,d-). 10

For a fixed cost function C:S×N2R+, in equilibrium, the expected fraction γe and the actual one γ must satisfy (for all d+,d- with μ(d+,d-)>0):

C(s)(d+,d-)-C(s-1)(d+,d-)=δs(d+,d-,xγe))F-1k=0s-1γ(k)(d+,d-).

Hence in equilibrium, when expectations are fulfilled, the possible equilibria are given by the fixed point equations (for all d+,d- with μ(d+,d-)>0)

s(d+,d-,xγ)=F-1k=0s-1γ(k)(d+,d-), 11

where xγ is the smallest fixed point in [0, 1] of equation

Φγ(x):=j,ksSkμ(j,k)γ(s)(j,k)λθ=0jp(s)(j,k,θ)P(Bin(j,x)θ). 12

Uniqueness of equilibrium

For any z[0,1], (d+,d-)N2 and sS, following Eq. (11), we define

γ(s)(d+,d-,z)=F(s+1(d+,d-,z))-F(s(d+,d-,z)),

and we set

Φγ(z)(x):=j,ksSkμ(j,k)γ(s)(j,k,z)λθ=0jp(s)(j,k,θ)P(Bin(j,x)θ).

In the following theorem, we show the uniqueness of the (asymptotic) Nash equilibrium for the security mean-field game under monotone investment conditions.

Theorem 4.3

Consider the network security game in a random graph G(d+,d-). Assume that (C1)(C5) hold. We have at most one mean-field equilibrium, which is given by the solution of the following equation:

z=infx[0,1]{x:Φγ(z)(x)=x}. 13

The proof of theorem is provided in Appendix A.8.

Algorithms to find the fixed point

In this section, we present an iterative algorithm to compute the mean-field equilibrium in Theorem 4.3 for our baseline model. We assume that the degrees are bounded from above by Δ. Note that, by Condition 3.4, one can always choose Δ=Δϵ such that

j=0k=ΔϵsSjμ(s)(j,k)+j=Δϵk=0sSjμ(s)(j,k)<ϵ.

.

Under the assumptions of Theorem 4.3, the following algorithm is guaranteed to converge to the unique fixed point of the mapping Φγ.

Step 0:
For initialization set t=0, the error tolerance ϵ>0 and γ0(s)(j,k)=11{s=0} for all 0j,kΔ. Let x0 be the smallest solution x[0,1] of the fixed-point iteration algorithm with error tolerance ϵ given by
Φ0(x):=j=0Δk=0ΔsSkμ(j,k)γ0(s)(j,k)λθ=0jp(s)(j,k,θ)P(Bin(j,x)θ)=j=0Δk=0Δkμ(j,k)λθ=0jp(0)(j,k,θ)P(Bin(j,x)θ).
This is the fixed-point equilibrium under no security investment.
Step 1:
Set tt+1. For all 0j,kΔ, we set the fraction of agents with degrees (jk) investing in security sS at step t to
γt(s)(j,k):=F(s+1(j,k,xt-1))-F(s(j,k,xt-1)),
and let xt be the smallest fixed-point x[0,1] of
Φt(x):=j=0Δk=0ΔsSkμ(j,k)γt(s)(j,k)λθ=0jp(s)(j,k,θ)P(Bin(j,x)θ).
Step 2:

If xt-1-xt<ϵ, terminate the algorithm. Otherwise, return to Step 1.

Note that due to the monotone investment conditions and the strictly increasing cdf function F, Φt(x) is strictly increasing in x and strictly decreasing in t (see Appendix A.8). Hence, the fixed-point sequence xt will be decreasing, converging to x(s), which is unique by Theorem 4.3. Since xt is non-increasing and the algorithm terminates when xt-1-xt<ϵ, the algorithm converges in at most x0/ϵ steps.

Examples and applications

In this section, we provide a more detailed analysis of the particular case where there are two security classes, and investment in security provides strong protection. For the case of random regular graphs and core-periphery network models, the social optimum is explicit, and we can theoretically guarantee that the individual decision will result in underinvestment compared to the social optimum.

Equilibrium analysis in the case of strong protection

We assume S={0,1} and consider the (extreme) case where a vertex invested in security cannot be infected at all, i.e. p(1)(j,k,θ)=0 and p(0)(j,k,θ)=p(j,k,θ) for all j,k,θ. Namely, si=0 if vertex i does not invest in security (i.e. Ci(0)=0) and si=1 if vertex i invests in security. An agent i with degrees (d+,d-) can obtain a security level 1 for a cost Ci=C(d+,d-). Let γ(d+,d-) denotes the fraction of vertices (in equilibrium) with degrees (d+,d-) invested in security. Hence, all vertices investing in security can be removed from the network and contagion goes through all non secured vertices. This is similar to site percolation model by setting πv(s)(d+,d-)=1-γ(d+,d-).

Note that in this setting, the conditions (C3)-(C5) are automatically satisfied (see the remark after Lemma 4.2). Hence, the optimal decision for a vertex i with degrees (d+,d-) and expected vulnerability belief for the network xe is

iθp(d+,d-,θ)P(Bin(d+,xe)θ)>C(d+,d-)agentiinvests in security.

The equilibrium fixed point equations can be simplified to

γ(d+,d-)=1-FC(d+,d-)θp(d+,d-,θ)P(Bin(d+,xγ)θ),

where xγ is the smallest fixed point in [0, 1] of equation

Φγ(x):=j,kkμ(j,k)(1-γ(j,k))λθ=0jp(j,k,θ)P(Bin(j,x)θ).

Equilibrium analysis in the case of random regular graphs

We next consider the previous strong protection setting in the case of random regular graphs, where di+=di-=d for all vertices i[n]. Hence, μ(d,d)=1,λ=d, and we simplify the notations to

p(θ)=p(0)(d,d,θ),γ=γ(d,d),C=c(d,d),

and

δ(x)=δ1(d,d,x)=θ=0dp(θ)P(Bin(d,x)θ).

Consequently in this case the optimal decision for agent i and expected global network vulnerability belief xe is

i>Cδ(xe)agentiinvests in security.

The equilibrium fixed point equations can be simplified as follows:

1-γ=FCδ(xγ)=FCxγ(1-γ)C=xγ(1-γ)F-1(1-γ),

where xγ is the smallest fixed point in [0, 1] of equation

Φγ(x):=(1-γ)θ=0dp(θ)P(Bin(d,x)θ)=FCδ(x)δ(x).

In this case, the social utility averaged over all agents converges to

1ni=1nJi(,s)pJ¯social(γ)=δ(xγ)γ1F-1(1-u)du+Cγ,

where δ(xγ)0γF-1(1-u)du is the (expected) gross cost imposed by the (1-γ)-fraction of agents not investing in security and Cγ is the total cost of security.

Proposition 5.1

The social planner will choose a larger fraction γ of agents to invest in security than the market equilibrium for any fixed cost C.

The proof of proposition is provided in Appendix A.9.

Figure 1 varies the cost C. As the cost function increases, the network vulnerability fixed point solution increases, while the final fraction of individuals investing in security decreases. The figure also shows the gap between the fraction of individuals who self-protect in equilibrium and the social optimum.

Fig. 1.

Fig. 1

Equilibrium solutions for contact process on random regular graphs: Here d=10,p(0)=α,p(θ)=(1-α)β(1-β)θ-1 for θ=1,,d, with α=0.05,β=0.1 and L follows an exponential distribution with mean one, i.e. F()=1-e-

Analysis of agents heterogeneity: Core-periphery setup

Financial networks often involve significant asymmetries, such as the presence of a core-periphery structure. In order to provide more insights on the impact of network heterogeneity and how agents influence each other, we consider a special case where there are two types of agents: core agents with high degrees dH+=dH-=dH and periphery agents with low degrees dL+=dL-=dL<dH. We denote by μH and μL (respectively) the fraction of core agents and periphery agents in the (large) network. We assume that the cost of (strong) self-protection for core agents is CH and the loss due to being infected follows distribution FH. Similarly, for a periphery agent, the cost is CL<CH and the loss follows distribution FL. We also set

pH(θ)=p(0)(dH,dH,θ)andpL(θ)=p(0)(dL,dL,θ).

A core agent i will invest in security (with expected network vulnerability xe) if

i>CHδH(xe),δH(x)=θ=0dHpH(θ)P(Bin(dH,x)θ),

while a periphery agent i will invest in security in the case

i>CLδL(xe),δL(x)=θ=0dLpL(θ)P(Bin(dL,x)θ).

Hence, the (asymptotic) fraction of core agents γH and periphery agents γL investing in security satisfies the equilibrium fixed point equations

γH=1-FHCHδH(xγ),γL=1-FLCLδL(xγ),

where xγ is the smallest fixed point in [0, 1] of equation

Φγ(x):=dHμH(1-γH)δH(x)+dLμL(1-γL)δL(x)dHμH+dLμL.

In this case, the average social cost function 1ni=1nJi(,s) converges to

J¯social(γH,γL)=δH(xγ)γH1FH-1(1-u)du+δH(xγ)γL1FL-1(1-u)du+CHγH+CLγL.

Similarly to Proposition 5.1, we have:

Proposition 5.2

The social planner will choose a larger fraction γ of core and periphery agents investing in security than the market equilibrium for any fixed costs CH and CL.

The proof of proposition is provided in Appendix A.9.

Figure 2 varies the cost for core CH and periphery CL agents and plots the fraction of core agents who invest in security against the fraction of peripheral agents who invest. The game’s equilibrium decisions are symmetric for agents of the same type based on the loss function. As the cost for periphery agents increases, we note that their investment decreases and this decreases is most pronounced close to zero. This means, as soon as the cost becomes positive, the fraction of peripheral agents investing quickly decreases. For core agents, the slope at zero is much more pronounced. When the cost for both agents is low, both have large fractions investing in security. When the cost for peripheral is low and for core it is high, we see that peripheral agents invest even more. Essentially, because they anticipate underinvestment from the cores they protect themselves to the highest degree possible. Otherwise, the contagion risk from the highly connected cores is too high. It is the cores who are the free riders, and this is based on the implicit threat of the systemic risk they impose. When the cost is high for the peripherals and low for the cores, a high proportion of cores chooses to invest. Note that peripheral agents do not immediately become free riders even when their costs become high and all cores are invested. When the cost for peripheral agents is low and fixed, the fraction of cores investing in protection is not monotone in cost. This is because of the discontinuity of the fixed point solution as a function of initially self protected cores.

Fig. 2.

Fig. 2

Equilibrium solutions for security investment in core-periphery networks: Here μH=0.2,dH=20,pH(0)=0.1,pH(5)=0.9 and dL=4,μL=0.8,pL(0)=0.2,pL(1)=0.3,pL(2)=0.5. Further, we set FL()=FH(5)=1-e-; the (potential) infection loss for periphery and core agents follow exponential distributions with mean 1 and 5, respectively

The above core-periphery example clearly shows that, in a general non-symmetric network, the security investment decisions of agents not only create positive externalities but are also strategic substitutes. This means that greater investment by one type of agent typically reduces the willingness for investment of other agents. Similarly, underinvestment by some agents will encourage over-investment by others.

In the case of introducing insurance to the model, as studied in e.g. [48], the combination of security investment and insurance raises the problem of moral hazard, in which agents covered by insurance may take fewer secure measures, or even falsify their loss.

Concluding remarks

In this paper, we propose a general framework for security investment in a directed network of interconnected agents subject to contagion risks and potential loss. We state various limit theorems and resilience conditions depending on network structure and agent security profile. We show how these results are sensitive to edge and vertex percolation. We study the asymptotic Nash equilibrium and socially optimal security investments in a random directed network with fixed degrees. Our results allow us to understand how the structure of networks affects the resilience of the network and impacts the decisions of different network players. We show how an agent’s decision on their security level might depend on the decision of other agents in the network. In particular, we quantify how agents who decide not to invest in security protection would put the other network participants at contagion risks.

When the agents’ costs vary, the impact of the security choice on the overall system is ambiguous. When peripheral agents anticipate investment by cores, they do not completely decrease investment even when their costs increase. In contrast, cores can quickly become free-riders when their costs increase and when they anticipate investment by the periphery agents (for example because those agents have low costs). There are also non-monotonicities in the investment choices of the cores as a function of their costs. Our results point to a strong effect of the cost heterogeneity across classes of agents.

The model can be extended along the following directions.

Consider a strategic attacker which, after observing the degree and security profile of agents, selects an attack decision α, with

α(s)(d+,d-)=p(s)(d+,d-,0),

that represents the fraction of agents which are attacked and thus act as initial seed of the contagion. His objective is to maximize his utility given by the expected infections minus the cost of the attack decision. The cost of an attack can be captured in a simple way, for example

ζ(α)=d+,d-sSμ(s)(d+,d-)ζs(α(s)(d+,d-)),

where ζs denotes the cost of initially infecting (attack) the fraction of individual with security sS. This can turn into a attacker-defender game, if individuals take into account the possibility of strategic attack.

The model could also be applied to the insurance industry, where security investments can represent fraud detection capabilities. This means that firms with better security have a greater risk-bearing capacity than those with lower security.

Another area of interest is the cyber-insurance market. One can investigate how the presence of competitive insurers can affect security adoption. One problem with the combination of insurance and self-protection is moral hazard, which occurs when the insurance provider cannot observe the protection level of each agent [48]. The reward for a user investing in security depends on the general level of security in the network, leading to the following feedback loop situation [40]: self-protection state of the network pricing of the premium strategy of the agent self-protection. Note that if insurance providers cannot observe the security levels of the agents, there may be agents who choose not to invest in self-protection if the insurance covers part of their losses. Hence, insurance might provide a negative incentive for self-protection.

Acknowledgements

I would like to thank Erhan Bayraktar and Andreea Minca for helpful discussions and the two anonymous reviewers for their useful comments and suggestions.

Appendix A: Proofs

This appendix contains the proofs of all lemmas and theorems in the main text.

We start by describing the dynamics of the contagion on Gn=G(dn+,dn-) as a Markov chain, which is perfectly tailored for asymptotic study. Let

mn:=j,ksSjμn(s)(j,k)=j,ksSkμn(s)(j,k)

denote the number of incoming (outgoing) edges in the graph.

A.1. Markov chain transitions

Consider the configuration model algorithm described in Sect. 3.2. One can observe that the uniform matching which constructs the graph can be obtained sequentially: choose an outgoing half edge according to any rule (random or deterministic) and then choose the corresponding incoming half edge uniformly over the unmatched incoming half edges.

At time 0 the threshold of each agent is distributed randomly. For θN, let pn(s)(j,k,θ) denotes the fraction of agents with in-degree j, out-degree k and security profile s which are given threshold θ. Hence, pn(s)(j,k,θ)p(s)(j,k,θ) as n. At a given time step t agents (vertices) are partitioned into infected I(t) and uninfected U(t). We further partition the class of uninfected vertices according to their in-degree, out-degree, security profile and threshold U(t)=j,k,s,θUjksθ(t).

At time zero, I(0) contains the initial set of infected agents. At each step we have one interaction only between two agents, yielding at least one infected. Our processes at each step is as follows:

  • Choose an outgoing edge of an infected agent i;

  • Identify its partner j (i.e. by construction of the random graph in the configuration model, the partner is given by choosing an incoming edge randomly among all available incoming edges);

  • Delete both edges. If j is currently uninfected with threshold θ and it is the θ-th deleted incoming edge from j, then j fires.

Let us define Unjksθ,(t), 0θ, the number of uninfected agents with in-degree j, out-degree k, security s, threshold θ and incoming edges from the infected agents at time t. We introduce the additional variables of interest:

  • Injksθ(t): the number of infected agents with in-degree j, out-degree k, security s and threshold θ at time t,

  • In-(t): the number of outgoing edges belonging to infected agents at time t,

  • In(t): the number of infected agents at time t.

Because at each step we delete one incoming edge and the number of incoming edges at time 0 is mn, the number of existing incoming edges at time t will be mn-t. It is easy to see that the following identities hold:

Injksθ(t)=μn(s)(j,k)pn(s)(j,k,θ)-=0θ-1Unjksθ,(t),In-(t)=j,ksSθ=0jkInjksθ(t)-t,In(t)=j,ksSθ=0jInjksθ(t).

The contagion process will finish at the stopping time Tn which is the first time tN where In-(t)=0. The final number of infected agents will be In(Tn). By definition of our process Un(t)=Unjksθ,(t)j,k,s,θ, represents a Markov chain. We write the transition probabilities of the Markov chain. There are three possibilities for the B, the partner of an outgoing edge of an infected agent A.

  1. B is infected, the next state is Un(t+1)=Un(t).

  2. B is uninfected of in-degree j, out-degree k, security s, threshold θ and this is the (+1)-th deleted incoming edge and +1<θ. The probability of this event is (j-)Unjksθ,(t)mn-t. The changes for the next state will be
    Unjksθ,(t+1)=Unjksθ,(t)-1,Unjksθ,+1(t+1)=Unjksθ,+1(t)+1.
  3. B is uninfected of in-degree j, out-degree k, security s, threshold θ and this is the θ-th deleted incoming edge. The probability of this event is (j-θ+1)Unjksθ,θ-1(t)mn-t. The changes for the next state will be
    Unjksθ,θ-1(t+1)=Unjksθ,θ-1(t)-1.

Let Δt be the difference operator: ΔtX:=X(t+1)-X(t). We obtain the following equations for the expectation of Un(t+1), conditional on Fn,t (the pairing generated by time t), by averaging over the possible transitions:

EΔtUnjksθ,0|Fn,t=-jUnjksθ,0(t)mn-t,EΔtUnjksθ,|Fn,t=(j-+1)Unjksθ,-1(t)mn-t-(j-)Unjksθ,(t)mn-t. 14

The initial condition is

Unjksθ,(0)=nμn(s)(j,k)pn(s)(j,k,θ)11(=0)11(0<θj).

Remark that we are interested in the value of In(Tn), where Tn is the first time that In(t)=0. In case Tn<mn, the Markov chain can still be well defined for t[Tn,mn) by the same transition probabilities. However, after Tn it will no longer be related to the contagion process and the value In-(t), representing for tTn the number of in-coming half-edges belonging to infected agents, becomes negative. We consider from now on that the above transition probabilities hold for t<mn.

We will show in the next section that the trajectory of these variables throughout the algorithm is a.a.s. (asymptotically almost surely, as n ) close to the solution of the deterministic differential equations suggested by these equations.

A.2. Fluid limit of contagion process

Let (DE) be the following system of differential equations:

(ujksθ,0)(τ)=-jujksθ,0(τ)λ-τ,(ujksθ,)(τ)=(j-+1)ujksθ,-1(τ)λ-τ-(j-)ujksθ,(τ)λ-τ,(DE),

with initial conditions

ujksθ,(0)=μ(s)(j,k)p(s)(j,k,θ)11(=0)11(0<θj).
Lemma A.1

The system of ordinary differential equations (DE) admits the unique solution

u(τ):=ujksθ,(τ)j,k,s,0<θj,

in the interval 0τ<λ, with

ujksθ,(τ):=μ(s)(j,k)p(s)(j,k,θ)j(1-τλ)j-(τλ). 15
Proof

We denote by DEK the set of differential equations defined above, restricted to jk<K and by bK the dimension of the restricted system. (The operator is defined as xy=max(x,y).) Since the derivatives of the functions ujksθ,(τ)jk<K,s,0<θj depend only on τ and the same functions, by a standard result in the theory of ordinary differential equations, there is an unique solution of DEK in any domain of the type (-ϵ,λ)×R, with R a bounded subdomain of RbK and ϵ>0. The solution of (DE) is defined to be the set of functions solving all the finite systems DEK,K1. We solve now the system DE. Let γ=γ(τ)=-ln(λ-τ). Then γ(0)=-ln(λ), γ is strictly monotone and so is the inverse function τ=τ(γ). We write the system of differential equations (DE) with respect to γ:

(ujksθ,0)(γ)=-jujksθ,0(γ),(ujksθ,)(γ)=(j-+1)ujksθ,-1(γ)-(j-)ujksθ,(γ).

Then we have

ddγ(ujksθ,+1e(j--1)(γ-γ(0)))=(j-)ujksθ,(γ)e(j--1)(γ-γ(0)),

and by induction, we find

ujksθ,(γ)=e-(j-)(γ-γ(0))r=0j-r-r1-e-(γ-γ(0))-rujksθ,r(γ(0)).

By going back to τ, we have

ujksθ,(τ)=(1-τλ)j-r=0ujksθ,r(0)j-r-r(τλ)-r.

Then, by using the initial conditions, we find (for θ>0)

ujksθ,(τ)=μ(s)(j,k)p(s)(j,k,θ)j(1-τλ)j-(τλ).

A key idea to prove Theorem 3.6 is to approximate, following [47], the Markov chain by the solution of a system of differential equations in the large network limit. We summarize here the main result of [47].

For a set of variables Y1,,Yb and for DRb+1, define the stopping time

TD=TD(Y1,,Yb)=inf{t1,(t/n;Y1(t)/n,,Yb(t)/n)D}.
Lemma A.2

[45, 47] Given integers b,n1, a bounded domain DRb+1, functions f1b with f:DR, and σ-fields Fn,0Fn,1, suppose that the random variables Yn(t)1b are Fn,t-measurable for t0. Furthermore, assume that, for all 0t<TD and 1b, the following conditions hold

  • (i)

    (Boundedness). max1b|Yn(t+1)-Yn(t)|β,

  • (ii)

    (Trend-Lipschitz). |E[Yn(t+1)-Yn(t)|Fn,t]-f(t/n,Yn1(t)/n,,Yn(t)/n)|δ, where the function (f) is L-Lipschitz-continuous on D,

and that the following condition holds initially:

  • (iii)

    (Initial condition). max1b|Yn(0)-y^n|αn, for some 0,y^1,,y^bD.

Then there are R=R(D,L)[1,) and C=C(D)(0,) such that, whenever αδmin{C,L-1}+R/n, with probability at least 1-2be-nα2/(8Cβ2) we have

max0tσnmax1b|Yn(t)-y(t/n)n|<3eCLαn,

where y(t)1b is the unique solution to the system of differential equations

dy(t)dt=f(t,y1,,yb)withy(0)=y^,for=1,,b,

and σ=σ(y^1,,y^b)[0,C] is any choice of σ0 with the property that (t,y1(t),,yb(t)) has -distance at least 3eLCα from the boundary of D for all t[0,σ).

A.3. Proof of Theorem 3.6

We apply Lemma A.2 to the contagion model described in Sect. A.1. Let us define, for 0τλ,

ηjksθ(τ):=μ(s)(j,k)p(s)(j,k,θ)-=0θ-1ujksθ,(τ),η-(τ):=j,ksSθ=0jkηjksθ(τ)-τ,andη(τ):=j,ksSθ=0jηjksθ(τ),

with ujksθ, given in Lemma A.1. With Bin(j,π) denoting a binomial variable with parameters j and π, we have

ηjksθ(τ)=μ(s)(j,k)p(s)(j,k,θ)PBin(j,τλ)θ, 16
η-(τ)=j,ksSkμ(s)(j,k)θ=0jp(s)(j,k,θ)PBin(j,τλ)θ-τ=λΦ(s)(τλ)-τλ, 17

and

η(τ)=j,ksSμ(s)(j,k)θ=0jp(s)(j,k,θ)PBin(j,τλ)θ=ψ(τλ). 18

We now proceed to the proof of Theorem 3.6 whose aim is to approximate the value In(Tn)/n as n. We base the proof on Lemma A.2. We first need to bound the contribution of higher order terms in the infinite sums (17) and (18). Fix ϵ>0. By Condition 3.4,

λ:=j,kNsSjμ(s)(j,k)=j,kNsSkμ(s)(j,k)<

Then, there exists an integer Kϵ, such that

kKϵj,skμ(s)(j,k)+jKϵkjμ(s)(j,k)<ϵ,

which implies that

jkKϵsSkμ(s)(j,k)<ϵ.

It follows that for all 0τλ,

jkKϵθ=0jsSkμ(s)(j,k)p(s)(j,k,θ)PBin(j,τλ)θ<ϵ. 19

The number of vertices with degree (jk) and security s is nμn(s)(j,k). Again, by Condition 3.4,

j,ksSkμn(s)(j,k)=j,kjμn(s)(j,k)λ(0,).

Therefore, for n large enough, jkKϵsSkμn(s)(j,k)<ϵ, and for all 0tmn,

jkKϵθ=0jsSkUnjksθ(t)/n<ϵ. 20

For K1, we denote

yK:=ujksθ,(τ)jk<K,sS,0<θjandYnK:=Unjksθ,(τ)jk<K,sS,0<θj,

both of dimension b(K), and ηjksθ(τ),ujksθ,(τ) are solutions to a system (DE) of ordinary differential equations. Let

x(s)=min{x[0,1]:Φ(s)(x)=x}.

For the arbitrary constant ϵ>0 fixed above, we define the domain Dϵ as

Dϵ={τ,yKϵRb(Kϵ)+1:-ϵ<τ<λ-ϵ,-ϵ<ujksθ,<1}. 21

The domain Dϵ is a bounded open set which contains the support of all initial values of the variables. Each variable is bounded by a constant times n (C0=1). By the definition of our process, the Boundedness condition is satisfied with β=1. The second condition of the theorem is satisfied by some δn=O(1/n). Finally the Lipschitz property is also satisfied since λ-τ is bounded away from zero. Then by Lemma A.2 and by convergence of initial conditions, we have:

Lemma A.3

For a sufficiently large constant C, we have

P(tnσH(n),YnKϵ(t)=nyKϵ(t/n)+O(n3/4))=1-O(b(Kϵ)n-1/4exp(-n-1/4)) 22

uniformly for all tnσH(n) where

σH(n)=sup{τ0,d(yKϵ(τ),Dϵ)Cn-1/4}.

When the solution reaches the boundary of Dϵ, it violates the first constraint, determined by τ^=λ-ϵ. By convergence of mnn to λ, there is a value n0 such that nn0, mnn>λ-ϵ, which ensures that τ^nmn. Using (19) and (20), we have, for 0tnτ^ and nn0:

In-(t)/n-η-(t/n)=j,ksSθ=0jk(Injksθ(t)/n-ηjksθ(t/n))j,ksSθ=0jkInjksθ(t)/n-ηjksθ(t/n)jkKϵsSθ=0jkInjksθ(t)/n-ηjksθ(t/n)+2ϵ, 23

and

In(t)/n-η(t/n)jkKϵsSθ=0jInjksθ(t)/n-δjksθ(t/n)+2ϵ. 24

We obtain by Lemma A.3 that

suptτ^nIn-(t)/n-η-(t/n)2ϵ+op(1),and 25
suptτ^nIn(t)/n-η(t/n)2ϵ+op(1). 26

We now study the stopping time Tn and the size of the contagion In(Tn). First assume I(x)>x for all x[0,1), i.e., x(s)=1. Then we have for all τ<τ^

η-(τ)=j,ksSθ=0jkηjksθ(τ)-τ>0.

Then we have that Tn/n=τ^+O(ϵ)+op(1) and from convergence (26), since δ(τ^)=1-O(ϵ), we obtain by tending ϵ to 0 that

|Dn(Tn)|=n-op(n).

This proves the first part of the theorem.

Now consider the case x(s)<1, and furthermore x(s) is a stable fixed point of Φ(s)(x). Then by definition of x(s) and by using the fact that Φ(s)(1)1, we have Φ(s)(x)<x for some interval (x(s),x(s)+x~). Then η-(τ) is negative in an interval (τ,τ+τ~), with τ=λx(s). Let ϵ such that 2ϵ<-infτ(τ,τ+τ~)η-(τ) and denote σ^ the first iteration at which it reaches the minimum. Since η-(σ^)<-2ϵ it follows that with high probability I-(σ^n)/n<0, so Tn/n=τ+O(ϵ)+op(1). The Theorem 3.6 thus follows by taking the limit ϵ0.

A.4. Proof of Corollary 3.10

Let x(s)(ϵ) be the smallest fixed point of Φ(s) in [0, 1], when a fraction ϵ of all vertices represent fundamental defaults, i.e., this is the smallest solution in [0, 1] to the fixed point equation

x=Φϵ(s)(x):=ϵ+j,ksSθ1kμ(s)(j,k)λp(s)(j,k,θ)P(Bin(j,x)θ).

Further, let x^>0 be the smallest positive solution of

x=Φ0(s)(x):=j,ksSθ1kμ(s)(j,k)λp(s)(j,k,θ)P(Bin(j,x)θ).

We first show that such a solution exists in (0, 1). Note that Φ0(s)(0)=0, Φ0(s)(1)1 and Φ0(s) is an increasing function of x. Then in order to prove the existence of such a positive x^ it suffices to show that Φ0(x)>1 for x close to zero.

Claim A.4

Assume that for some ΘN,γR+ and β(2,3):

ksSθ=1Θkμ(s)(j,k)p(s)(j,k,θ)γj-β+1

for all jN. Then there exists x0(0,1) such that we have Φ0(x)>1 for all x(0,x0].

Proof

We have for x(0,1) and ΔN

Φ0(x)=j,ksSθ1jkμ(s)(j,k)λp(s)(j,k,θ)P(Bin(j-1,x)=θ-1)1λj=Δ+12Δkθ=1Θjkμ(s)(j,k)p(s)(j,k,θ)P(Bin(j-1,x)=θ-1).

We now set x0=1Δ so that we have for xx0 and Δ large enough

Φ0(x)1λj=Δ+12ΔksSθ=1Θjkμ(s)(j,k)p(s)(j,k,θ)e-(j-1)x((j-1)x)θ-1(θ-1)!e-2λ(Θ-1)!j=Δ+12ΔjksSθ=1Θkμ(s)(j,k)p(s)(j,k,θ)γe-2λ(Θ-1)!j=Δ+12Δj-β+2>γe-2λ(Θ-1)!Δ-β+3.

Hence by choosing Δ large enough, e.g.,

Δγe-2λ(Θ-1)!13-β,

and setting x0=1/Δ we have I0(x)>1 for all xx0 and the claim thus follows.

Since Φϵ(s) is continuous we have limϵ0+x(s)(ϵ)=x^. The corollary now follows by Theorem 3.6.

A.5. Proof of Theorem 3.11

Consider the percolated random graph Gπv,πe(d+,d-) and suppose that Condition 3.4 holds. Our proof of Theorem 3.11 is based on ideas applied in [31] to study the conditions for existence of giant component in the percolated random non directed graph with given vertex degrees; see also [44]. The site percolation model for directed random graphs has also been investigated in [7] in the context of skeleton of contagious links in financial networks.

We fist consider the site percolation model where we remove (delete) each vertex with degrees (d+,d-) with probability 1-πv(s)(d+,d-), independently. This would be equivalent to changing the initial infection probability (for all d+,d-N and sS) to

p~(s)(d+,d-,θ)=πv(s)(d+,d-)p(s)(d+,d-,θ)forθ=0,1,,d+, 27

and p~(s)(d+,d-,d++1)=1-πv(s)(d+,d-). Note that the removed vertices in site percolation model are the vertices with threshold d++1 in our new contagion process. Hence, they will never get infected and the final infected set would have the same distribution in both contagion models.

We now consider the bond percolation model, where we remove each link with probability (1-πe). For all i[n], let Di+(πe)Bin(di+,πe) be binomial random variables independent over all vertices. We then split a vertex with degree (d+,d-) into a single vertex with degree (D+(πe),d-) plus d+-D+(πe) red (artificial) vertices with in-degree 1 and out-degree 0. We call this the explosion of a vertex. Note that the red vertices may be considered as being artificial as they will later need to be removed. After all explosions, a directed edge is retained when its incoming half-edge is retained, which occurs with probability πe as it should be. Let

N+(πe)=i=1n(di+-Di+(πe)),

so that N(πe)=n+N+(πe) denotes the (new) total number of vertices after explosions. Then [N(πe)]/[n] will be the set of all artificial (red) vertices.

Further, instead of removing the N+(πe) red vertices with degrees (1,0), we will give threshold 2 to these artificial vertices so that they will never get infected and hence they will not play any role in the contagion process.

Note that as n, since mn/nλ,

N(πe)n=1+i=1n(di+-Di+(πe))n=1+mn-Bin(mn,πe)np1+λ(1-πe)

and then

N+(πe)N(πe)pλ(1-πe)1+λ(1-πe).

Consequently, it would be quite easy to show that the set of final infected vertices in the initial contagion process on percolated random graph Gπv,πe(d+,d-) will have the same distribution as the contagion process in configuration model with N(πe) vertices where the degrees converges (in probability) to the new distribution

μ^(s)(1,0)=μ(s)(1,0)1+λ(1-πe)+λ(1-πe)1+λ(1-πe)andμ^(s)(d+,d-)=μ(s)(d+,d-)1+λ(1-πe) 28

for (d+,d-)(1,0). Further, the new threshold distribution function satisfies

p^(s)(d+,d-,θ)=πv(s)(d+,d-)p(s)(d+,d-,θ)forθ=0,1,,d+. 29

Note that p~ (threshold distribution after site percolation model) and p^ (threshold distribution after site and bond percolation) only doesn’t agree each other for θ>d+; in particular for d+=1,d-=0 and θ=2. However, this difference will not play any role on the final infected set in the contagion process and the changes will be due to the new degree distribution.

We conclude by applying Theorem 3.6 to the new degree distribution that

|If(s)|N(πe)pj,ksSμ^(s)(j,k)θ=0jp^(s)(j,k,θ)P(Bin(j,x^(s))θ),

and then, using N(πe)/n1+λ(1-πe), Eqs. (28), (29) and x^(s)=x(s)πe we have

|If(s)|npj,ksSμ(s)(j,k)πv(s)(j,k)θ=0jp(s)(j,k,θ)P(Bin(j,x(s)πe)θ).

Note that x(s) by Theorem 3.6 is the smallest fixed point in [0,1] of

Φπv,πe(s)(x):=j,ksSkμ^(s)(j,k)λθ=0jp^(s)(j,k,θ)P(Bin(j,xπe)θ).=j,ksSkμ(s)(j,k)πv(s)(j,k)λθ=0jp(s)(j,k,θ)P(Bin(j,xπe)θ).

Similarly, by applying Theorem 3.6, we obtain

|If(s)(d+,d-)|nμn(s)(d+,d-)pπv(s)(d+,d-)θ=0jp(s)(d+,d-,θ)P(Bin(d+,x(s)πe)θ),

and the theorem follows.

A.6. Proof of Theorems 3.8 and  3.12

We first use Theorem 3.6 to prove that if R0(s)<1,

j,ksSjkμ(s)(j,k)<

and we initially infect randomly |I0(s)|=o(n) vertices in [n], then |If(s)|=op(n). Let us assume that p(s)(d+,d-,0)=ϵ for all d+,d-N and sS. We show that as ϵ0 then x(s)(ϵ)0 which implies the claim. Note that by Theorem 3.6, x(s)(ϵ) is the smallest fixed point of Φϵ(s) in [0, 1], where

Φϵ(s)(x):=ϵ+j=0k=0sSkμ(s)(j,k)λθ=1jp(s)(j,k,θ)P(Bin(j,x)θ). 30

Hence Φϵ(s)(0)>0 and, for j,ksSjkμ(s)(j,k)< and x0,

d(Φϵ(s)(x)-x)dx=1λj,kNsSjkμ(s)(j,k)p(s)(j,k,1)-1=R0(s)-1<0.

This implies that the smallest fixed point x(ϵ)0 as ϵ0.

We now consider the supercritical case when R0(s)>1. From [7, 43], we know if

sSjkμ(s)(j,k)>λ,

there exists a giant strongly connected component in the random graph G(d+,d-). Let S1 be the largest strongly connected component of the random graph G(d+,d-) on which we apply site percolation by removing all vertices with degrees (d+,d-) and security level s with probability 1-p(s)(d+,d-,1) (we remove all vertices with threshold greater than or equal to 2).

We denote by S1 the largest strongly connected component of the random graph G(d+,d-) on which we apply site percolation by removing all vertices with threshold Θi2. Let If(s)(i) denotes the final infected set is when we initiate the epidemic from I0(s)={i} for all i[n]. Using the coupling argument on the site percolation model used in the last section, we obtain if Ro(s)>1, i.e.,

sSjkμ(s)(j,k)p(j,k,1)>λ,

there exists a giant strongly connected component in the percolated random graph and we have

lim infn|If(s)(i)|nlim infn|S1|n>0,

which concludes the proof of Theorem 3.8.

Moreover, using the distribution μ^ and p^ obtained from last section for the percolated random graph Gπv,πe(d+,d-), gives us the new contagion reproduction number

R0(s)(πv,πe):=1λ^j,kNsSjkμ^(s)(j,k)p^(s)(j,k,1)=1λπej,kNsSjkμ(s)(j,k)πv(s)(j,k)p(s)(j,k,1).

Hence, if j,k,sjkμ(s)(j,k)< and R0(s)(πv,πe)<1, i.e.,

πe<πe:=λj,k,sjkμ(s)(j,k)πv(s)(j,k)p(s)(j,k,1),

then initially infecting randomly |I0(s)|=o(n) vertices in [n] implies that |If(s)|=op(n).

Further, if πe>πe then R0(s)(πv,πe)>1 and w.h.p. for any iS~1,

lim infn|If(s)(i)|nlim infn|S~1|n>0,

which concludes the proof of Theorem 3.12.

A.7. Proof of Lemma 4.2

We show that under the lemma condition, δk(d+,d-,x) will be strictly increasing function of vulnerability parameter x. This is equivalent to

δk(d+,d-,x)x=θ=0d+qk(d+,d-,θ)P(Bin(d+,x)=θ)x=d+θ=0d+qk(d+,d-,θ)P(Bin(d+-1,x)=θ-1)-P(Bin(d+-1,x)=θ)=d+θ=1d+qk(d+,d-,θ)-qk(d+,d-,θ-1)P(Bin(d+-1,x)=θ-1)=d+θ=1d+p(k-1)(d+,d-,θ)-p(k)(d+,d-,θ)P(Bin(d+-1,x)=θ-1)>0

for all d+,d-,k=1,2,,K. Consequently, δk(d+,d-,x) is strictly increasing function of x and so

k(d+,d-,x):=C(k)(d+,d-)-C(k-1)(d+,d-)δk(d+,d-,x)

is a strictly increasing function of global network vulnerability x, as desired.

A.8. Proof of Theorem 4.3

Define a function ψ:[0,1][0,1] via the following,

ψ(z):=infx[0,1]{x:Φγ(z)(x)=x}.

It can be easily seen that Φγ(z)(0)>0,Φγ(z)(1)<1. In conjugation with the continuity of xΦγ(z)(x), we conclude that for any z[0,1], the set {x:Φγ(z)(x)=x} is nonempty and closed, and hence ψ(z)(0,1) is well-defined.

Now we show that zψ(z) is decreasing in z, which implies that (13) has at most one solution. Suppose we have 0<z1<z2<1.

It can be easily seen that (note that F(K+1(j,k,z))=1)

Φγ(z)(x)=j,ksSkμ(j,k)γ(s)(j,k,z)λθ=0jp(s)(j,k,θ)P(Bin(j,x)θ)=j,kkμ(j,k)λsSF(s+1(j,k,z))-F(s(j,k,z))θ=0jp(s)(j,k,θ)P(Bin(j,x)θ)=j,kkμ(j,k)λs=1K+1F(s(j,k,z))θ=0jp(s-1)(j,k,θ)-p(s)(j,k,θ)P(Bin(j,x)θ)=j,kkμ(j,k)λs=1K+1F(s(j,k,z))δs(j,k,x).

Hence, by monotone investment conditions and since F is strictly increasing cdf function, Φγ(z)(x) is strictly increasing in x and strictly decreasing function of z. So that we have Φγ(z1)(x)>Φγ(z2)(x) for any x[0,1], and

Φγ(z2)(ψ(z1))-ψ(z1)<Φγ(z1)(ψ(z1))-ψ(z1)=0.

Combining with the fact that Φγ(z2)(0)0 and the continuity of xΦγ(z2)(x), there exists an x<ψ(z1) such that Φγ(z2)(x)=x, which implies that ψ(z2)<ψ(z1).

A.9. Proof of Propositions 5.1 and 5.2

We will prove Proposition 5.2, which implies Proposition 5.1 by setting μH=1,dH=d,CH=C, and μL=CL=0. Note that γe=(γeH,γeL) is such that

δH(xγe)FH-1(1-γeH)=CH,δL(xγe)FL-1(1-γeL)=CL,

while the social planner chooses γs=(γsH,γsL) which minimizes C¯social(γ):

γs=argminγH,γL[0,1]δH(xγ)γH1FH-1(1-u)du+δH(xγ)γL1FL-1(1-u)du+CHγH+CLγL.

Since xγ is decreasing in γH,γL and δH(.),δL(.) are increasing functions, δH(xγ),δL(xγ) are decreasing functions of γH and γL. Moreover, we have

Jsocial(γeH,γeL)γH-δH(xγe)FH-1(1-γe)+CH=0,Jsocial(γeL,γeL)γH-δL(xγe)FL-1(1-γe)+CL=0,

and the proposition follows.

Footnotes

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

References

  • 1.Acemoglu,, D., Chernozhukov, V., Werning, I., Whinston, M.D.: A multi-risk SIR model with optimally targeted lockdown. Working Paper 27102, National Bureau of Economic Research (2020)
  • 2.Acemoglu D, Malekian A, Ozdaglar A. Network security and contagion. J. Econ. Theory. 2016;166:536–585. doi: 10.1016/j.jet.2016.09.009. [DOI] [Google Scholar]
  • 3.Adler J, Lev U. Bootstrap percolation: visualizations and applications. Braz. J. Phys. 2003;33(3):641–644. doi: 10.1590/S0103-97332003000300031. [DOI] [Google Scholar]
  • 4.Albert R, Barabási A. Statistical mechanics of complex networks. Rev. Mod. Phys. 2002;74(1):47–97. doi: 10.1103/RevModPhys.74.47. [DOI] [Google Scholar]
  • 5.Allen F, Gale D. Financial contagion. J. Polit. Econ. 2000;108(1):1–33. doi: 10.1086/262109. [DOI] [Google Scholar]
  • 6.Amini H. Bootstrap percolation and diffusion in random graphs with given vertex degrees. Electron. J. Combin. 2010;17:R25. doi: 10.37236/297. [DOI] [Google Scholar]
  • 7.Amini H, Cont R, Minca A. Resilience to contagion in financial networks. Math. Financ. 2016;26(2):329–365. doi: 10.1111/mafi.12051. [DOI] [Google Scholar]
  • 8.Amini H, Feinstein Z. Optimal network compression. Eur. J. Oper. Res. 2023;306(3):1439–1455. doi: 10.1016/j.ejor.2022.07.026. [DOI] [Google Scholar]
  • 9.Amini H, Fountoulakis N. Bootstrap percolation in power-law random graphs. J. Stat. Phys. 2014;155(1):72–92. doi: 10.1007/s10955-014-0946-6. [DOI] [Google Scholar]
  • 10.Amini, H., Fountoulakis, N., Panagiotou, K.: Bootstrap percolation in inhomogeneous random graphs. Adv. Appl. Probab. (2023)
  • 11.Amini H, Minca A. Inhomogeneous financial networks and contagious links. Oper. Res. 2016;64(5):1109–1120. doi: 10.1287/opre.2016.1540. [DOI] [Google Scholar]
  • 12.Amini H, Minca A. Epidemic spreading and equilibrium social distancing in heterogeneous networks. Dyn. Games Appl. 2022;12(1):258–287. doi: 10.1007/s13235-021-00411-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Amini H, Minca A, Sulem A. A dynamic contagion risk model with recovery features. Math. Oper. Res. 2022;47(2):1412–1442. doi: 10.1287/moor.2021.1174. [DOI] [Google Scholar]
  • 14.Ball FG, Sirl DJ, Trapman P, et al. Epidemics on random intersection graphs. Ann. Appl. Probab. 2014;24(3):1081–1128. doi: 10.1214/13-AAP942. [DOI] [Google Scholar]
  • 15.Ballester, C., Calvó-Armengol, A., Zenou, Y.: Who’s who in networks. wanted: the key player. Econometrica, 74(5):1403–1417 (2006)
  • 16.Balogh J, Pittel BG. Bootstrap percolation on the random regular graph. Random Struct. Algorithms. 2007;30(1–2):257–286. doi: 10.1002/rsa.20158. [DOI] [Google Scholar]
  • 17.Battiston S, Gatti DD, Gallegati M, Greenwald B, Stiglitz JE. Liaisons dangereuses: increasing connectivity, risk sharing, and systemic risk. J. Econ. Dyn. Control. 2012;36(8):1121–1141. doi: 10.1016/j.jedc.2012.04.001. [DOI] [Google Scholar]
  • 18.Bhamidi, S., Van Der Hofstad, R., Komjáthy, J.: The front of the epidemic spread and first passage percolation. J. Appl. Probab., 51(A), 101–121 (2014)
  • 19.Bollobas, B.: Random Graphs. Cambridge University Press (2001)
  • 20.Bollobás B, Riordan O. An old approach to the giant component problem. J. Combin. Theory Ser. B. 2015;113:236–260. doi: 10.1016/j.jctb.2015.03.002. [DOI] [Google Scholar]
  • 21.Britton T, Janson S, Martin-Löf A. Graphs with specified degree distributions, simple epidemics, and local vaccination strategies. Adv. Appl. Probab. 2007;39(4):922–948. doi: 10.1239/aap/1198177233. [DOI] [Google Scholar]
  • 22.Cheng, B., Titterington, D.M.: Neural Networks: A Review from a Statistical Perspective. Stat. Sci., pp. 2–30 (1994)
  • 23.Detering N, Meyer-Brandis T, Panagiotou K, Ritter D. Managing default contagion in inhomogeneous financial networks. SIAM J. Financ. Math. 2019;10(2):578–614. doi: 10.1137/17M1156046. [DOI] [Google Scholar]
  • 24.Draief M, Ganesh A, Massoulié L. Threshold of virus spread on networks. Ann. Appl. Probab. 2008;18:359–378. doi: 10.1214/07-AAP470. [DOI] [Google Scholar]
  • 25.Elliott M, Golub B, Jackson MO. Financial networks and contagion. Am. Econ. Rev. 2014;104(10):3115–53. doi: 10.1257/aer.104.10.3115. [DOI] [Google Scholar]
  • 26.Farboodi, M., Jarosch, G., Shimer, R.: Internal and external effects of social distancing in a pandemic. In: Working Paper 27059, National Bureau of Economic Research (2020)
  • 27.Gai P, Kapadia S. Contagion in financial networks. Proc. R. Soc. A: Math. Phys. Eng. Sci. 2010;466(2120):2401–2423. doi: 10.1098/rspa.2009.0410. [DOI] [Google Scholar]
  • 28.Galeotti A, Golub B, Goyal S. Targeting interventions in networks. Econometrica. 2020;88(6):2445–2471. doi: 10.3982/ECTA16173. [DOI] [Google Scholar]
  • 29.Gordon LA, Loeb MP. The economics of information security investment. ACM Trans. Inf. Syst. Secur. 2002;5(4):438–457. doi: 10.1145/581271.581274. [DOI] [Google Scholar]
  • 30.Janson S. The probability that a random multigraph is simple. Combin. Probab. Comput. 2009;18(1–2):205–225. doi: 10.1017/S0963548308009644. [DOI] [Google Scholar]
  • 31.Janson S, et al. On percolation in random graphs with given vertex degrees. Electron. J. Probab. 2009;14:86–118. doi: 10.1214/EJP.v14-603. [DOI] [Google Scholar]
  • 32.Janson S, Luczak MJ, Windridge P. Law of large numbers for the SIR epidemic on a random graph with given degrees. Random Struct. Algorithms. 2014;45(4):726–763. doi: 10.1002/rsa.20575. [DOI] [Google Scholar]
  • 33.Janson S, Łuczak T, Turova T, Vallier T. Bootstrap percolation on the random graph Gn,p. Ann. Appl. Probab. 2012;22(5):1989–2047. doi: 10.1214/11-AAP822. [DOI] [Google Scholar]
  • 34.Kempe, D., Kleinberg, J., Tardos, É.: Maximizing the spread of influence through a social network. In: Proceedings of the Ninth ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 137–146 (2003)
  • 35.Kempe, D., Kleinberg, J., Tardos, É.: Influential nodes in a diffusion model for social networks. In: International Colloquium on Automata, Languages, and Programming, pp. 1127–1138. Springer (2005)
  • 36.Klages-Mundt A, Minca A. Optimal intervention in economic networks using influence maximization methods. Eur. J. Oper. Res. 2022;300(3):1136–1148. doi: 10.1016/j.ejor.2021.10.042. [DOI] [Google Scholar]
  • 37.Kleinberg J. Cascading behavior in networks: algorithmic and economic issues. Algorithmic Game Theory. 2007;24:613–632. doi: 10.1017/CBO9780511800481.026. [DOI] [Google Scholar]
  • 38.Lelarge M. Coordination in network security games: a monotone comparative statics approach. IEEE J. Sel. Areas Commun. 2012;30(11):2210–2219. doi: 10.1109/JSAC.2012.121213. [DOI] [Google Scholar]
  • 39.Lelarge M. Diffusion and cascading behavior in random networks. Games Econom. Behav. 2012;75(2):752–775. doi: 10.1016/j.geb.2012.03.009. [DOI] [Google Scholar]
  • 40.Lelarge, M., Bolot, J.: Economic incentives to increase security in the internet: the case for insurance. IEEE INFOCOM 2009, 1494–1502 (2009)
  • 41.Morris S. Contagion. Rev. Econ. Stud. 2000;67(1):57–78. doi: 10.1111/1467-937X.00121. [DOI] [Google Scholar]
  • 42.Pastor-Satorras R, Castellano C, Van Mieghem P, Vespignani A. Epidemic processes in complex networks. Rev. Mod. Phys. 2015;87:925–979. doi: 10.1103/RevModPhys.87.925. [DOI] [Google Scholar]
  • 43.van der Hofstad, R.: Random Graphs and Complex Networks. Cambridge University Press (2016)
  • 44.van der Hofstad, R.: Stochastic Processes on Random Graphs. Lecture Notes for the 47th Summer School in Probability Saint-Flour (2017)
  • 45.Warnke, L.: On wormald’s differential equation method. Available at arXiv:1905.08928 (2019)
  • 46.Watts DJ. A simple model of global cascades on random networks. Proc. Natl. Acad. Sci. 2002;99(9):5766–5771. doi: 10.1073/pnas.082090499. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 47.Wormald N. Differential equations for random processes and random graphs. Ann. Appl. Probab. 1995;5(4):1217–1235. doi: 10.1214/aoap/1177004612. [DOI] [Google Scholar]
  • 48.Yang, Z., Lui, J.C.: Security adoption and influence of cyber-insurance markets in heterogeneous networks. Perform. Eval. 74 (2013)

Articles from Mathematics and Financial Economics are provided here courtesy of Nature Publishing Group

RESOURCES