Epidemic Thresholds with External Agents
Abstract
We study the effect of external infection sources on phase transitions in epidemic processes. In particular, we consider an epidemic spreading on a network via the SIS/SIR dynamics, which in addition is aided by external agents  sources unconstrained by the graph, but possessing a limited infection rate or virulence. Such a model captures many existing models of externally aided epidemics, and finds use in many settings  epidemiology, marketing and advertising, network robustness, etc. We provide a detailed characterization of the impact of external agents on epidemic thresholds. In particular, for the SIS model, we show that any external infection strategy with constant virulence either fails to significantly affect the lifetime of an epidemic, or at best, sustains the epidemic for a lifetime which is polynomial in the number of nodes. On the other hand, a random externalinfection strategy, with rate increasing linearly in the number of infected nodes, succeeds under some conditions to sustain an exponential epidemic lifetime. We obtain similar sharp thresholds for the SIR model, and discuss the relevance of our results in a variety of settings.
I Introduction
We study epidemic processes on large graphs in the presence of external agents  i.e., settings in which information/infection spreads in a network via an intrinsic infection process (i.e., along the edges of the graph), but in addition, is aided in its spread by external sources unconstrained by the graph topology. More specifically, we focus on characterizing phase transition behaviour in SIS/SIR epidemic processes in the presence external infection sources of bounded virulence, but whose position is unconstrained by the graph.
Epidemic processes are widely used as an abstraction for various realworld phenomena – human infections, computer viruses, rumors, information broadcast, product advertising, etc. Though there are many models for such epidemic processes, at a high level they can be divided in two groups – those in which nodes once infected remain forever in such a state, and those in which nodes can recover from the infection. Henceforth, to distinguish between the two, we refer to the former as spreading processes, reserving the term epidemic process for the latter. Spreading processes help understand the dynamics of oneway dissemination of some object in a network – for example: a rumor, a software update, a fitter genetic mutation, etc. On the other hand, epidemic processes are used to study transient infection processes, i.e., those which spread for a while but eventually die out in finite networks.
A standard model for a spreading process is the SI (SusceptibleInfected) dynamics, wherein a ‘susceptible’ node (S) transitions to being ‘infected’ (I) at a rate proportional to the number of infected neighboring nodes. An important metric here is the spreading time, i.e., the time taken for all nodes to get infected. In our earlier work [1], it was shown that external agents can dramatically shorten the spreading time of the SI process in some graphs  further this remains true even if the agents infect in a random manner.
On the other hand, the metric of interest in epidemic processes is usually the extinction time – the time when the infection dies out in the system. A nontrivial aspect of epidemic processes is that they exhibit phase transition phenomena  when the infection rate exceeds a threshold, then the infection abruptly switches from being shortlived to being persistent (i.e., with a very large extinction time; in case of infinite graphs, they never die out). This aspect makes them interesting from a mathematical perspective, and also is important for understanding reallife settings, wherein such threshold phenomena have been observed empirically.
The two most widelyused models for epidemic processes are the SusceptibleInfectedSusceptible (SIS) [2], and the SusceptibleInfectedResistant (SIR) dynamics [3]. In both models, as in the SI model, a node in the susceptible state (S) transitions to the infected state (I) at a rate equal to an infection rate times the number of infected neighbors – however nodes do not remain infected forever. In the SIS model, an infected node transitions back to the susceptible state (S) according to a cure rate – the critical parameter herein is the ratio of the infection to cure rate, denoted as ^{1}^{1}1It turns out that without loss of generality, we can normalize the cure rate to – the ratio of the two is sufficient to characterize the system.. In the SIR dynamics, a node in state (I) upon being cured enters a resistant state (R), whereupon it is removed from the system. Note that the absorbing states of the SIS/SIR models correspond to the epidemic becoming extinct – for the SIS process, this is when all nodes are in state , while for the SIR process it is when all nodes are either in state (S) or (R)^{2}^{2}2Specifically, an absorbing state of the SIR model consists of any connected component of nodes in state (R), and the rest in state (S). In this work, we characterize the impact of external sources on phase transition phenomena in SIS/SIR epidemics..
In addition to technical contributions to the understanding of epidemic processes (in terms of new techniques and intuition for threshold phenomena), our results are significant in terms of their interpretation for certain realworld settings. Our analysis captures both the worstcase perspective (by how much can the extinction time of a ‘harmful’ epidemic be extended via an adversarial external agent?) and the design perspective (how can we design the external policy to prolong the lifetime of ‘useful’ epidemic). In particular, it is instructive to keep in mind two particular examples:

Epidemiology  Characterizing the spread of a human disease/computer worm in a network, aided by external agents. Here the aim is to understand the worst case scenario that could be induced by external agents unconstrained by locality/geography. In human diseases, the external agents correspond to longdistance travellers; for the propagation of computer viruses spreading on a local network, longrange jumps are via the Internet, or sometimes, through portable disks.

Product advertising  Enhancing brand recall amongst consumers via viral means (wordof mouth, viral ads on online social networks, etc.) coupled with longrange ‘broadcast’ advertising (TV advertising, targeting customers for special offers, etc.). The aim here is the exact opposite of the previous case – how can product awareness be sustained for a longer time via welldesigned advertising strategies.
Ia Our Contributions
We consider graphs , parametrized by the number of nodes , in which an epidemic commences spreading through two interacting processes: an intrinsic spread, and an additional external infection. The intrinsic spread follows either the SIS or SIR dynamics (refer Section I for an informal description, and Section II for details). For the external infection process, similar to the model in [1], each node becomes infected (if susceptible) at a different (zero or nonzero) exponential rate at each instant in addition to the intrinsic process; thus at time , the external infection can be represented as a dimensional vector of external infectionrates for each node. We allow the external rates to be chosen as a function of the network state and history (omniscience) and further, potentially designed to maximize the extinction time (adversarial) – the only constraint on the external process is that it has bounded virulence, i.e., the total external rate at any instant is less than some parameter (which can be a function of ). Further, we assume that the external source exists if and only if there is at least one infected node in the network, ensuring that our process has the same absorbing states as the original epidemics.
We focus on characterizing the expected time to extinction (and in case of the SIR model, the number of eventual infected nodes) as a function of four factors: the intrinsic infection rate (with intrinsic cure rate normalized to ), the external virulence , the graph topology, and the external infection policy. Our main results are as follows:

(Subcritical SIS epidemic): Under the SIS dynamics with (constant external infection), for any graph with maximum degree , and any external infection policy, if , then , i.e., the epidemic dies out in constant time.
For comparison, the critical threshold for subcritical epidemics without external infection is [2], where is the leading eigenvalue of the graph adjacency matrix; note that .

(Critical SIS epidemic): Under the SIS dynamics with , for any graph if , i.e., orderwise greater than , but less than , then there exists an external infection policy resulting in an extinction time which is at least polynomial in .
Furthermore, this is tight in that for any graph with sufficiently large maximumdegree, and any infection policy with the above choices of and , the extinction time is also bounded by a polynomial in . To the best of our knowledge, this is the first rigorous demonstration of such a polynomiallifetime regime in SIS epidemics.

(Supercritical SIS epidemic): Next, we consider the problem of designing an external infection strategy so as to result in a supercritical epidemic, i.e., . Without external infection, the bestknown sufficient condition for this is [2], where is the graph conductance^{3}^{3}3More specifically, the local conductance, i.e., the isoperimetric number of all sets of size for some .. We show that if the external rate grows with the number of infected nodes as , for some constant , and up to some , then even a random external infection strategy ensures exponential epidemic lifetime provided .

(Subcritical SIR epidemic): Finally, we show that is a tight threshold for subcritical epidemics – if , then the number of infected nodes is subpolynomial in , whereas if is orderwise greater, then it is possible to infect a polynomial number of nodes independent of where the infection starts spreading. A unique feature of our analysis is that unlike most existing work on the SIR epidemic which essentially reduce the problem to studying a static process, our model necessitates an understanding of the dynamics of the SIR model – we achieve this via a coupling between the SIS and SIR models.
We formally state these results in Section III. In addition, in Section IIIE, we highlight the importance of our results through detailed analyses of several important settings – we discuss both the import of our results in realworld examples, as well as apply them to characterize epidemic lifetimes in some important classes of networks.
IB Related Work
The spread of processes over graphs/networks has been studied in various contexts (e.g., epidemiology [4, 5, 6], sociology [7, 8], applied probability [9, 10, 11]).
The SIS/SIR processes has been widely studied to characterize its phase transitions. The foundational work in the probability community focused on infinite regular graphs, in particular, grids and trees [10]. For finite graphs, phase transitions were first characterized via empirical [12, 13], and also approximate (meanfield) techniques [14, 15]. Other works have provided a more rigorous analysis of phase transition – in particular, Ganesh et al. [2] for general graphs, and some specific families, and Berger et al. [16] for the preferential attachment graph. These papers provide conditions for subcritical and supercritical regimes under the SIS model. Draief et al. [3] undertake a similar program for the SIR model. Our work follows in the line of these results, providing a rigorous characterization for epidemics with external sources.
The role of external sources in epidemic spread has been studied under different models. In the context of human disease spread, works include [17] (airline effects), [18] (geographic effects) and [19] (multiscale effects). This is paralleled by studies of epidemics on computer/mobile phone networks [20, 21, 22]. Finally, in the context of social networks, Myers et al. [23] consider a model similar to our model of random external infection, and use Twitter data to estimate the extent of external influence.
Several studies in literature consider network intervention to modify spread properties. The authors in [24] study enhancing epidemics via designing the seed set. In [14], the authors change the graph topology via additional edges; this in some sense is an optimization view of the famous ‘smallworld’ graph constructions [25, 26]. Wagner and Anantharam [27] consider redistributing edge infectionrates in a line network so as to ensure longlasting epidemics. A complementary setting to this is considered by Borgs et al. [28], wherein the curerate can be redistributed among nodes to minimize the infection spread. All of these works only consider static (or oneshot) policies – we instead allow our external agents to dynamically change their policies.
Finally, our earlier work [1] considers the same model of external infection, but for spreading processes (in particular, the SI dynamics). However, unlike spreading processes, where external agents always speed up spreading, this work shows that the situation is much more subtle for epidemic processes.
Ii Model
Intrinsic infection: As mentioned before, we consider epidemic processes on an underlying graph (with ). The process evolves in continuoustime following either the SIS or the SIR dynamics.
In the SIS model, a node exists in one of the two states: susceptible or infected . The state of the network at any time is given by (with the state of node at time ). Infected nodes propagate the epidemic to neighboring susceptible nodes at rate , and revert to being susceptible at a rate . Hence at a time the transition for a node in the network follows a Markov process with transitions:
In the SIR model, a node can take states: susceptible , infected or resistant . Now an infected node, i.e., with state , upon recovering transitions to a resistant state – subsequently it plays no further part in the dynamics. Thus the transition for node follows a Markov process:
Note that state is an absorbing state for a node.
External infection: Our model for external infections is the same as in [1]. We formally model the external infection as a timevarying vector , where is the extra rate (i.e., in addition to any intrinsic infection rate) at which the external source tries to infect node at time . We define the external virulence as – one way to visualize this is that the external source’s infection times follow a Poisson process with rate , and during each infection event (say at time ), the external source infects a single node with probability . The external infectionrate vector (and the virulence ) can vary with time and can depend on the state of the network .
Our external infection model generalizes several models for longrange infection spreading, in particular:

reduces to the underlying SIS/SIR process.

Static longrange edges: is the number of additional edges added; at time is the number of longrange edges incident on node that have an infected node at the other end.

Dynamic longrange edges: Same as above, but the set of additional edges can be changed over time.

Mobile agents: One/several mobile agents spread the infection (and which can move arbitrarily over the graph). This can also model targeted advertising, giving ‘special offers’ for individuals, etc.

Broadcasting with bandwidth constraints: An external source with bandwidth , which can be shared across any set of nodes. Such a model can be used for broadcast advertising (eg., TV/magazine ads), or dissemination of software updates from a central server, etc.
Note that we do not claim our results are the tightest possible under all models of infection via external sources. Some of the above have been studied before, and it is sometimes nontrivial to analyze particular models of external infection, such as additional longrange links [14] or agents performing random walks on the graph [29]. However, our model and analysis does capture many of the salient features of these models, reproducing some existing results, and more importantly, helping characterize many new settings. At a higher level, our work suggests that such models for external infection exhibit a certain dichotomy – external infection sources either do not affect the phase transition points (if is insufficient), or if they do change the threshold (i.e., if is large enough), then they do so even if the strategy is random.
Notation: We denote to be the collection of nonnegative integers, and to be the real numbers. Further, we use the Landau notation (, , ) to describe the growth rate of functions. We use to denote stochastic dominance relations between random variables; specifically implies that for all
Iii Main Results and Discussion
We now state our main results, and discuss their implications for different graphs, and different external agent models. We present the results and discussions here, with brief proof outlines. In Section IV, we discuss in more detail some of the technical novelty of our analysis. The complete proofs are presented in the appendix.
Iiia Subcritical SIS Epidemic
For an SIS epidemic , the metric of interest is the extinction time, given by:
Note that this definition remains consistent under our model of external agents, as we define the external infection vector to be when . Note also that the distribution of depends on the initial condition .
Recall that the subcritical regime is one wherein the extinction time of an epidemic is small (usually or ). Our main result for subcritical SIS epidemics in the presence of external infection agents is as follows:
Theorem 1.
Given an SIS epidemic with intrinsic infection rate on a graph with maximum degree , if the initial number of infected nodes is (arbitrarily chosen) and , then for any external infection strategy with rate , we have:
Prior work for the intrinsic SIS epidemic (i.e., without external agents) reveals that the subcritical threshold for is related to , where is the largest eigenvalue (or spectral radius) of the adjacency matrix. This fact, though earlier known empirically and via meanfield approximations, was formally established by Ganesh et al. [2], who showed that if , then ^{4}^{4}4Note that this result does not make any restrictions on the size of the initial infected set. The factor is then inevitable – essentially, it is the expected time for isolated infected nodes to recover.. Note that for any graph, (where is the average degree). Thus for regular graphs, the spectral radius is equal to the maximum degree; moreover, for any graph, is a sufficient condition for the subcritical regime.
What Theorem 1 shows is that under constant external infection (i.e., ), remains a sufficient condition for subcritical epidemics – as long as the initial infected set is of size , the epidemic has extinction time, under an arbitrary choice of the initial infected nodes, and arbitrary external infection strategies (including omniscient and adversarial strategies).
Proof outline.
We first embed the multidimensional Markov chain in a suitable dimensional Markov chain – we do this by considering the total number of infected nodes in the network and embedding it in a Markov chain via stochastic domination arguments. Similar techniques were used to show supercritical behavior in [2, 16] – however the resulting Markov chains in those works have an absorbing state at (i.e., if there are no infected nodes in the network). A critical contribution of our work is to show that it is possible to further embed the process in an ergodic Markov Chain, by adding some virtual transitions, while preserving the quantities of interest (in this case, the time to absorption). This technique allows us to easily compute closedform bounds for the absorbing time,even under complex externalinfection policies. The complete proof is given in Section AA in the Appendix. ∎
Comparing with the bounds for the intrinsic infection raises the following natural question – what happens in settings where is still , but (i.e., is orderwise greater than , but below the subcriticalilty threshold). We focus on this in the next section where we show that such a setting does in fact make a difference – it leads to a regime where the resulting epidemic has a polynomial lifetime.
IiiB Critical SIS Epidemic
Suppose now is still , but – in other words, it is not large enough to escape the subcritical regime without external aid, but larger than the sufficient condition in Theorem 1 for extinction time with external aid. The question now is whether this regime is also subcritical, or if there is a fundamental shift in the epidemic lifetime in this region brought about by the external agents. This is particularly important in settings where and differ greatly – for example, graphs with a power law degree distribution.
In this section we show that there is in fact a fundamental shift in this regime – for a large class of graphs, the presence of the external source causes an orderwise change in the epidemic lifetime, which we characterize in a tight manner. First, existing results for subcritical epidemics without external aid (in particular, Theorem in [2]) can be bootstrapped to derive the following upper bound on the extinction time:
Theorem 2.
For an SIS epidemic with , originating from any set of initially infected nodes, and aided by any external infection strategy with , we have
i.e., the lifetime is at most polynomial in the number of nodes.
Proof Outline.
The main intuition behind this result is that within any time interval that is , the external infection has a (for some ) probability of failing to infect even a single node. Furthermore, existing results indicate that for any initial set of infected nodes, a subcritical epidemic has expected extinctiontime. Now we can combine these two facts to create a stochastically dominating process, wherein whenever the external agent successfully infects a node, we instead assume all the nodes in the system are infected – however by our previous observation, this can happen at most a polynomial number of times. The complete proof is given in Section AB in the appendix. ∎
Thus we know that the epidemic can last for a time at most polynomial in  however can this be achieved? The answer to this is provided in the following result:
Theorem 3.
For SIS epidemics on graphs with for some , suppose for some . Then, for any initial infected set, there exists external infection policies with such that, for some :
The implication of this theorem is as follows: if we consider any graph with sufficiently large maximum degree (i.e., scaling polynomially with ), then an intrinsic infection rate of coupled with a constant external infection is sufficient to ensure that the epidemic lifetime is at least polynomial in . Now the first eigenvalue of the adjacency matrix satisfies – thus it can be orderwise less than . For example, for the star graph on nodes, we have while . The above theorem now implies that for such graphs, it is possible to choose an intrinsic infection rate such that , and then design an appropriate external infection strategy to ensure polynomial lifetime. Note that this is not unique to the star graph – for many graphs, like powerlaw and other heavytailed degree distributions, it is known that the maximum degree is polynomial in number of nodes, and further, there is an orderwise difference between and (see also [2]). The above theorem implies that constant externalinfection can cause a polynomiallifetime critical regime in such networks.
Proof outline.
The proof proceeds in three steps. First, given any initial infected set, the external source can infect the node with degree with at least constant probability (by focusing its entire virulence at that node). Next, by coupling arguments, the process subsequently can be stochastically dominated by considering an SIS process on a single star of degree . The main technical ingredient is showing that the SIS infection on a star on nodes lasts for a time that is at least polynomial in if aided by an external source of at least constant virulence; note that this is not true if the external source is absent (from existing results in [2, 16]). The complete proof is given in Section AB in the appendix. ∎
IiiC Supercritical SIS Epidemic
The results in the previous two sections indicates that external infection is insufficient to push an epidemic from the subcritical to the supercritical regime  it can at most increase the lifetime to a polynomial function of , but not to an exponential. The question we address now is what conditions on are sufficient to ensure exponential epidemic lifetimes – i.e. .
More specifically, we want to design an externalinfection scheme that guarantees that epidemic is in the supercritical regime; ideally, this policy should work for any graph/initial infected set/intrinsic infection rate . The results from the previous section show that we need to grow with to have any chance of reaching the supercritical regime. In fact, it turns out that just scaling with is not sufficient, as we prove the following refinement of Theorem 1, that demonstrates that even if grows slowly with , it can not escape subexponential extinction times:
Theorem 4.
For the SIS epidemic on graph , if and the initial infected set is , then:

^{5}^{5}5Recall means that . results in subpolynomial lifetime, i.e., .

results in subexponential lifetime, specifically .
Thus, in order to achieve exponential epidemic lifetimes, it would appear that we need to be at least polynomial in . However this is impractical for realworld settings – for example, it implies having a very high advertising budget, or a large number of infected longdistance travelers. Further, such an assumption is somewhat trivial from a mathematical point of view, as essentially the external infection dominates any effects of the intrinsic infection.
However, it turns out we can circumvent this problem in the following way: instead of considering a fixed, large , we allow to scale with the size of the infected population (upto some maximum size). Note that from the previous theorem, it is clear that we need the maximum size to be polynomial in , however the required external rate over time may be much smaller. This is the situation we consider next; in Section IIIE, we discuss the relevance of this assumption in various settings.
To state our results, we first need to recap the best known conditions for the supercritical regime for the SIS epidemic without external infection. For this, we need to introduce the generalized isoperimetric constant of a graph [2], defined as follows:
where is any subset of nodes (of size , with its complement ), and is the set of edges with one endpoint in and one in the complement. The isoperimetric constant captures the notion of a bottleneck set: one which has the smallest number of edges exiting it, normalized by the number of nodes in the set. It is related to the notion of expansion on graphs – in particular, the above definition is equivalent to a expander [16]. Further, via Cheeger’s inequality, it is also related to the second largest eigenvalue of the adjacency matrix. Finally, it is known [2] that if , then for any initial set of infected nodes, we have . We now show how this can be improved with external sources.
Suppose we define the set of infected nodes at time as . Now we have the following sufficient condition for the epidemic to enter the supercritical regime:
Theorem 5.
Consider the SIS epidemic on graph : given any , suppose the external infection rate scales linearly with the number of infected nodes as for . Now if the intrinsic infection rate satisfies , then under an external infection strategy which infects nodes uniformly at random, we have
We can unravel this result as follows – to achieve supercriticality, we require:

The external infectionrate scale linearly with the number of infected nodes upto a maximum limit which is at least polynomial in (though it can be of as small an order as we desire).

The slope of the line must obey : essentially, it must compensate for the gap between the intrinsic rate and the critical threshold.

The external infection need not be specifically designed – in fact, it can be random. More specifically, it is sufficient to try to infect each node at a rate , irrespective of whether it is already infected or not.
We give an outline of the proof in Section IVA; the complete proof is provided in Section AC of the appendix.
Combining all the previous theorems, we get the following summary for the SIS epidemic with external agents: suppose we have an intrinsic infection with rate which is below the critical threshold, then adding a constant amount of additional external infection will either leave the extinction time unaffected (in a scaling sense, if ), or at best, if designed carefully, improve it to a polynomial in (if ). If however, we want to push the epidemic into the supercritical regime, we can do so by making the external rate grow linearly with the number of infected nodes, at a rate equal to how much is below the threshold. The three regimes are summarized in Figure 1. We interpret these results in more detail via several examples in Section IIIE.
IiiD Subcritical SIR Epidemic
Next we turn to the case of the SIR epidemic (see Section II for definitions). Recall that in this model, an absorbing state consists of a connected set of nodes in state , and the rest in state . We define the time to extinction of the epidemic as before. However a more important object of study here is the number of nodes eventually infected by the epidemic – we denote this as .
We assume throughout that the initial number of infected nodes is , and they are chosen arbitrarily – this can be generalized, but since we are interested in the number eventually infected, this assumption is appropriate. We also note that there are two models which are referred to as the SIR model in literature – the one we define in Section II, wherein the nodes transition from state to according to an clock, and an alternate model wherein the nodes transition from to after a deterministic time (usually unit). We consider only the former model in this work; the results can be generalized to the latter in a straightforward way.
Sufficient conditions for subcritical SIR epidemics, i.e., with small , have been (rigorously) established – in particular, Driaef et al. [3] show that , then ^{6}^{6}6One can also get results for the case when , but the bounds are in terms of the eigenvectors of the adjacency matrix, making them harder to interpret in general.. Our main result in this section is a generalization of this result for the setting with external agents:
Theorem 6.
For the SIR epidemic on graph with external infectionrate , if , then for any external infection policy, we have:
Further, if then the number of nodes eventually infected is subpolynomial – i.e., .
This means that any infection with intrinsic rate less than can infect only a vanishing fraction of the nodes if the external infection strength is less than .
Proof Outline.
As existing bounds on the SIR epidemic are obtained by observing the structure of the infection as [3], it is difficult to take the same approach to incorporate external infection. We instead build on our results for the SIS epidemic spread via a coupling argument. The main observation is that for SIS and SIR epidemics on the same graph, with identical intrinsic rate , as well as external rate (and identical external infection strategies), the extinction time for the SIS infection stochastically dominates that of the SIR infection. Using this, we can use various coupling arguments to get the result. The complete proof is given in Section AD of the appendix. ∎
These conditions, in particular, for ensuring subpolynomial number of infected nodes, are again tight in case of graphs with sufficiently large (polynomial) maximum degree. In particular we have the following result:
Lemma 7.
Consider a graph with maximum degree for some . For an SIR epidemic with for , aided by external infectionrate , then there exists an external infection policy such that for some .
Thus constant external infection does not significantly change the number of infected nodes when the underlying epidemic is subcritical.
IiiE Discussion and Examples
We conclude the presentation of our results by showing how they can be applied to various settings.
Epidemiology: Both the SIS and SIR models are widely used to model human epidemics [13], and also computer viruses/worms [12]. SIR dynamics is used in cases where recovery from an infection prevents reinfection (e.g., resistance in humans, patches for computer viruses); the SIS dynamics more closely models cases where an infection may return via mutations in the parasite (in fact this is true even for computer worms, which have been known to circumvent patches by exploiting multiple vulnerabilities). Finally, external sources have long been known to promote the spread of such epidemics, be it via longdistance air travel/shipping propagating human diseases, or worms spreading via the Internet.
What do our results imply for such settings? On the positive side, Theorems 1 and 2 show that an external source of constant virulence can not cause an infection to become supercritical – further, Theorem 3 reaffirms the intuition that the critical nodes that need to be defended against the infection are the ones which have highdegree. This is in a sense complementary to the results of Borgs et al. [28], who show that an effective strategy for distributing antidotes (i.e., augmenting recovery rates) is to provide it to nodes proportional to their degree. Our result can be viewed in terms of designing preventive measures – to control epidemic spread, one should vaccinate/quarantine nodes with a high degree.
However, it can be argued that in many cases, the number of external agents actually does scale as  for example in case of longdistance travel, if we assume that the people traveling are randomly chosen (irrespective of whether infected or not), then the number of infected people traveling does scale linearly as the number of infected people. In such a regime, the import of Theorem 5 is more grim – it suggests that an infection can become supercritical if such travel is not curbed before a certain point, and further this is not affected if the travel is random. This matches the empirical observation that epidemics which have a long incubation period (i.e., do not show symptoms in carriers till long after infection) often tend to become more widespread.
Advertising: It is widely accepted that the recall of a product in the minds of consumers is jointly affected by its prevalence in social circles (e.g., if many your friends use a certain product, then you would tend to use it as well) and the use of advertising. Moreover, advertising can be both via broadcast media (e.g., TV/magazine ads, billboards) and also, increasingly, viral media (e.g., word of mouth, videos on Youtube, etc.). This scenario is very well modeled by the SIS/SIR epidemic – the epidemic represents the recall of a brand, which is strengthened by local interactions, and also by broadcast advertising; further, the rate of TV/magazine ads are subject to advertising budgets.
In this domain, our results make very clear recommendations – for any brand, a constant advertising budget is not sufficient to ensure longlasting recall. However, increasing the advertising budget proportional to the number of customers (which is viable since the revenues also increase) can achieve supercritical behavior. In terms of advertising strategy, our results suggest that if the budget is small, then targeted advertising, biased towards highlynetworked consumers, is more beneficial  however, if the budget is large enough (and scaling linearly with the number of customers), then broadcast advertising (which can be thought of as a random infection strategy) is sufficient.
Popular Models for Network Formation: Our results can be applied to specific graph families to obtain thresholds for the different regimes – however, they may not be the tightest in all graph families. Such a program is carried out in [2], who characterize and for several families of graphs, including random graph families such as the and certain families of powerlaw graphs – since our thresholds are also in terms of the same quantities, these results carry over to our setting, and in addition we get additional results for the case of external infection; for example, for graphs with sufficiently high maximum degree, we show that external infection rate is sufficient to push the lifetime to .
However, our results allow for analysis of more sophisticated models of external infection. To illustrate this, consider the example of Kleinberg’s smallworld network construction [25] – this consists of a dimensional grid, where each node has an additional long range link, the other end of which is selected according to some given distribution. Viewing these longrange links as externalinfection sources, we see that the external infection rate increases roughly as (in particular, if the longrange link is chosen uniformly, then as long as ). Now, using Theorem 5, we have that if , then the epidemic is supercritical.
Iv Proofs of Selected Results
Due to lack of space, we defer complete proofs to the appendix. Instead, we outline some of the main technical novelty behind our results; these ideas may be of independent interest for tackling other questions regarding epidemic processes.
Iva Embedding in a Dominating Ergodic Markov Chain
The main idea for the results in the subcritical and supercritical regimes is to study the dynamics of the total number of infected nodes in the network at time . This depends on the exact network topology; however it is possible to stochastically dominate it via appropriate dimensional Markov Chains.
Similar techniques have been used before [2, 16]; however in all prior work, state is an absorbing state, and the absorption time is estimated via Martingale techniques. A technical novelty in our proof is that we embed the chain in an ergodic Markov chain, in a way that preserves the absorption time. This allows us to obtain closedform expressions for the absorption time, and also consider more complex external infection strategies. We now outline this technique.
First, consider the continuoustime Markov chain for the aggregate infected nodes – note that transitions from any state (i.e., increase/decrease in the number of infected nodes) happen at a rate at least and at most . This allows us to consider a uniformized discretetime Markov chain; from the previous observation, we see that the number of timeslots till absorption for the discrete chain is within a factor of the time to absorption for the continuous chain. This is the reason this technique is most useful for the subcritical/supercritical regimes, but not finegrained enough to capture the intermediate critical regime.
Now consider a DTMC on with statetransitions for , , and remaining transitions having probability – i.e., a birthdeath chain, with absorbing state at and reflection at . Next, consider another DTMC, denoted , on the same state space with the same transition matrix as , but in addition, with (i.e., a reflection at instead of absorption). Note that has an absorbing state and hence is not an ergodic DTMC; , however, is an irreducible, aperiodic, finite state Markov chain, and hence ergodic [30].
The chain is often referred to as the Ehrenfest Urn Process [30]; we denote as the stationary distribution of . Now let be the time to hit for the DTMC starting from state (i.e., the time to absorption with initial state ). Then we have the following lemma:
Lemma 8.
More specifically, in terms of the transition probabilities of , with defined to be , we have:
Proof.
First note that the distributions of and are same – this is because a sample path from state to state for does not experience a to transition. Further, since the transition from to happens with probability , a.s,. and as is an ergodic Markov chain, the expectations for both the random variables exist, and also the expected return time for any state is . Putting these together we get the first claim. For the second, observe that for a birthdeath DTMC with transition provabilities and , we can exactly evaluate the steady state distributions using detailed balance equations – this gives us the closedform expression for . ∎
The above lemma can be extended to a setting where the initial number of infected nodes is some . As before, we construct a Markov chain that has the same transition probabilities as , but now with an additional transition – again we have is irreducible, finite state, and hence ergodic. Let denote the stationary distribution for . We have the following lemma:
Lemma 9.
where s are quantities that depend only on the transition probabilities for states in .
Proof.
The proof is identical to that of Lemma 8 – the only difference is that the chain is a birthdeath chain for states . Thus the expression for the stationary probability of state has additional terms which depend on transitionrates of states between and ; in our applications, the terms are all , and do not affect the scaling. ∎
IvB Dynamic Analysis of the SIR Epidemic
Studying thresholds for the SIR model with external infection requires understanding the transient behavior of the process. To this end, we develop the following coupling argument relating the dynamics of the SIR to the SIS model:
Lemma 10.
Consider an SIR epidemic on graph with intrinsic infectionrate and a given external infection policy with infectionrate . For an SIS epidemic on the same graph with identical external infection policy (i.e., same ), we have:
Proof.
The result follows from a simple coupling argument, wherein when a node gets recovered in the SIR model, it becomes susceptible in the SIS model. Now, given that the external infection policies are identical, the SIS epidemic dominates the SIR epidemic with respect to extinction time. ∎
References
 [1] A. Gopalan, S. Banerjee, A. K. Das, and S. Shakkottai, “Random mobility and the spread of infection,” in IEEE INFOCOM, 2011, pp. 999–1007, see also longer version titled "Epidemic Spreading with External Agents" (available on arXiv.org).
 [2] A. J. Ganesh, L. Massoulié, and D. F. Towsley, “The effect of network topology on the spread of epidemics,” in IEEE INFOCOM, 2005, pp. 1455–1466.
 [3] M. Draief, A. Ganesh, and L. Massoulie, “Thresholds for virus spread on networks,” The Annals of Appl. Prob., vol. 18, pp. 359–378, 2008.
 [4] R. M. Anderson and R. M. May, Infectious Diseases of Humans Dynamics and Control. Oxford University Press, 1992.
 [5] M. J. Keeling and K. T. Eames, “Networks and epidemic models,” Journal of the Royal Society Interface, vol. 2, no. 4, pp. 295–307, 2005.
 [6] D. J. Daley and J. Gani, Epidemic modelling: an introduction. Cambridge University Press, 2001, vol. 15.
 [7] E. M. Rogers, Diffusion of Innovations, 5th Edition. Free Press, August 2003.
 [8] A. Vespignani, “Modelling dynamical processes in complex sociotechnical systems,” Nature Physics, vol. 8, pp. 32–39, 2012.
 [9] M. Draief and L. Massoulié, Epidemics and rumours in complex networks, volume 369 of London Mathematical Society Lecture Notes. Cambridge University Press, Cambridge, 2010.
 [10] T. M. Liggett, Stochastic interacting systems: contact, voter and exclusion processes. Springer, 1999, vol. 324.
 [11] R. PastorSatorras and A. Vespignani, Evolution and structure of the Internet: A statistical physics approach. Cambridge Univ. Press, 2007.
 [12] J. O. Kephart and S. R. White, “Directedgraph epidemiological models of computer viruses,” in IEEE Symposium on Security and Privacy, 1991, pp. 343–361.
 [13] R. PastorSatorras and A. Vespignani, “Epidemic Dynamics in Finite Size ScaleFree Networks,” Phys. Rev. E, vol. 65, no. 3, p. 035108, Mar 2002.
 [14] D. Chakrabarti, Y. Wang, C. Wang, J. Leskovec, and C. Faloutsos, “Epidemic thresholds in real networks,” ACM Transactions on Information and System Security (TISSEC), vol. 10, no. 4, p. 1, 2008.
 [15] P. Van Mieghem, J. Omic, and R. Kooij, “Virus spread in networks,” Networking, IEEE/ACM Transactions on, vol. 17, no. 1, pp. 1–14, 2009.
 [16] N. Berger, C. Borgs, J. T. Chayes, and A. Saberi, “On the spread of viruses on the internet,” in Proceedings of the sixteenth annual ACMSIAM symposium on Discrete algorithms. Society for Industrial and Applied Mathematics, 2005, pp. 301–310.
 [17] V. Colizza, A. Barrat, M. Barthélemy, and A. Vespignani, “The role of the airline transportation network in the prediction and predictability of global epidemics,” Proceedings of the National Academy of Sciences, vol. 103, no. 7, pp. 2015–2020, 2006.
 [18] B. Wang, K. Aihara, and B. J. Kim, “Immunization of geographical networks,” in Complex (2), 2009, pp. 2388–2395.
 [19] D. Balcan, V. Colizza, B. Gonçalves, H. Hu, J. J. Ramasco, and A. Vespignani, “Multiscale mobility networks and the spatial spreading of infectious diseases,” Proceedings of the National Academy of Sciences, vol. 106, no. 51, pp. 21 484–21 489, 2009.
 [20] J. Kleinberg, “The Wireless Epidemic,” Nature, vol. 449, pp. 287–288, September 2007.
 [21] D. Moore, C. Shannon et al., “Codered: a case study on the spread and victims of an internet worm,” in Proceedings of the 2nd ACM SIGCOMM Workshop on Internet measurment. ACM, 2002, pp. 273–284.
 [22] P. Wang, M. C. González, C. A. Hidalgo, and A.L. Barabasi, “Understanding the spreading patterns of mobile phone viruses,” Science, vol. 324, no. 5930, pp. 1071–1076, May 2009.
 [23] S. A. Myers, C. Zhu, and J. Leskovec, “Information diffusion and external influence in networks,” in Proceedings of the 18th ACM SIGKDD international conference on Knowledge discovery and data mining. ACM, 2012, pp. 33–41.
 [24] D. Kempe, J. Kleinberg, and E. Tardos, “Maximizing the spread of influence through a social network,” in KDD ’03: Proc. 9th ACM SIGKDD International Conference on Knowledge Discovery and Data mining. ACM, 2003, pp. 137–146.
 [25] J. Kleinberg, “Smallworld phenomena and the dynamics of information,” Advances in neural information processing systems, vol. 1, pp. 431–438, 2002.
 [26] M. E. Newman and D. J. Watts, “Scaling and percolation in the smallworld network model,” Physical Review E, vol. 60, no. 6, p. 7332, 1999.
 [27] A. B. Wagner and V. Anantharam, “Designing a contact process: the piecewisehomogeneous process on a finite set with applications,” Stoch. processes and their applications, vol. 115, no. 1, pp. 117–153, 2005.
 [28] C. Borgs, J. Chayes, A. Ganesh, and A. Saberi, “How to distribute antidote to control epidemics,” Random Structures & Algorithms, vol. 37, no. 2, pp. 204–222, 2010.
 [29] M. Draief and A. Ganesh, “A random walk model for infection on graphs: spread of epidemics & rumours with mobile agents,” Discrete Event Dynamic Systems, vol. 21, no. 1, pp. 41–61, 2011.
 [30] P. Bremaud, Markov Chains: Gibbs Fields, Monte Carlo Simulation, and Queues, corrected ed. SpringerVerlag New York Inc., February 2001.
Appendix A Proofs
Aa Subcritical SIS Epidemics with External Agents
Proof of Theorem 1.
As transitions in are via exponential clocks, hence the system is a continuous time Markov chain – further , the time when hits , is a stopping time with respect to this Markov chain. Our aim is to upperbound the time .
To do so, we study the onedimensional chain induced by the number of infected nodes in the network – more specifically, we stochastically dominate the total number of infected nodes as follows: Consider a Markov chain with and the state transition rates being the following:
We claim that stochastically dominates , and consequently, the time to hit for is a.s. larger than . This can be formally argued via a coupling argument, but essentially it arises from the fact that for any state , the maximum rate at which the infection can grow (i.e at which can increase) is – this is because a node can try to infect at most nodes and the external infection can increase the number of infected nodes at a maximum rate of . Also note that for the original process is the rate at which infection decreases, since each node recovers at rate . Thus whenever , the rate of growth for is higher than that for , while the rate of decrease are the same for both the processes. Hence, we can instead focus on finding an upper bound on time to hit zero for the process .
Note that is a process on a finite state space and is irreducible, with an absorbing state at – hence the expected time to hit state is finite. We next consider , the embedded discretetime chain (i.e., jump chain) of , whose transitions () are given by:
Note that as the rate of jumps for any state is lower bounded by – hence the expected time spent in any state is , and the time to absorption in the discrete time chain is orderwise equivalent to the absorption time in the original chain. Now we can use Lemma 9 to compute the expected hitting time to zero for , given initial state is (or some fixed ). Note that for any fixed , the transition probabilities of do not scale with for states in ; hence for the stated result, it is sufficient to show that the contribution due to the states is . We have:
Now note that for and , the RHS in the last expression can be upper bound by a constant order moment of a geometric random variable – hence it is . This completes the proof. ∎
Thus we have that and is a sufficient condition for subcritical epidemics. We can also now generalize the above argument to prove Theorem 4, wherein we bound the extinction time for scaling with .
Proof of Theorem 4.
We define – further we can always assume , as otherwise, we can increase , which can only increase the extinction time. Now following identical arguments as in those for Theorem 1, we get that
where . Now using Stirling’s formula, and the fact that , we get that . Now suppose , where is some function such that (i.e., , and ) – substituting, we have – similarly we can show that is not sufficient for an exponential lifetime. ∎
AB Critical SIS Epidemics with External Agents
Next we turn to Theorem 2, wherein we derive a polynomial upper bound for the extinction time in the case when :
Proof of Theorem 2.
From existing results (such as Theorem of Ganesh et al. [2]), we have that in the absence of external agents, the time to extinction for the intrinsic SIS process obeys for any initial set of infected nodes, if . We now bootstrap this to obtain our result.
Note that the external sources, under any strategy, can infect at most at a rate – thus to upperbound (the extinction time with external sources), we can stochastically dominate it as follows: at time , assume all nodes are infected, and start an exponential clock with rate . Clearly the underlying SIS infection expires if all nodes recover before this clock expires; if however the clock stops before the SIS process dies, we restart the process with all nodes infected, and start another exponential clock with . By standard coupling arguments, the time to extinction for this new process stochastically dominates for the original process.
Given an SIS process starting with all nodes initially infected, the time to extinction without external sources is ; further, let . Then we have:
where is some constant (independent of ); the second inequality above follows from Jensen’s inequality, and also we have used the fact that and .
Note that the above quantity lowerbounds the probability that, in the constructed process, the infection process expires before the clock (corresponding to the external source) stops. Hence the expected number of regenerations that take place before the process expires is upperbounded by . Further, the expected time between each regeneration is – this is upperbounded by . Thus . ∎
To complete our analysis of the critical regime, we show that polynomial extinctiontimes are in fact achievable for any graphs with sufficiently large (i.e., polynomial) degree. We consider the following strategy: the external agent targets any susceptible node with degree (henceforth referred to as a highdegree node); else it infects a susceptible node chosen at random (in fact, for ease of exposition, we assume in the proof that the external node only infects the maximumdegree node; however it is easy to see that the above strategy is sufficient to show polynomial lifetime).
A crucial result we use in our proof is as follows: note that as scales as , the expected number of infection attempts due to an infected highdegree node before it recovers is . Suppose now we have that a highdegree node is infected, but none of its neighbors is infected – we show that with high probability (i.e., at least ), the number of neighbors in infected state at the time the first node recovery occurs is . Subsequently, we show that given a number of infected neighbors, a node gets infected with a probability at least in presence of external infection – note that this is not true in the absence of the external agents (when ). Combining these observations, we show that the expected time to extinction of the epidemic is .
Lemma 11.
Given a stargraph on nodes, and an SIS infection with , for some constant . Suppose only the hub is infected at time – then at the time when the first node recovery occurs, the number of infected nodes in the system is with probability at least .
Proof.
First, note that decreasing the value of can only make it less likely to have several infections before a recovery – hence we can assume that . Define . Now let be the number of infected nodes at time (thus ), and be the first time that some infected node recovers. For some constants , we want to show that with probability .
For the system at a time , suppose – note that the hub is still infected, since no recoveries have occurred. Then there are possible events – either goes to state at rate , or it stops (due to node recovery) at rate . Now we have:
Choosing sufficiently large, we get the result ∎
Proof of Theorem 3.
We assume henceforth that the external agent only tries to infect the (unique) node with maximum degree – this is without loss of generality for the scaling results. First, note that irrespective of the initial state, the maximumdegree node gets infected with probability at least – thus the expected lifetime with any initial set of infected nodes is at least a constant fraction of the expected lifetime if the epidemic started at the maximumdegree node. Further, note that the lifetime of the epidemic on graph if some edges are removed is stochastically dominated by the lifetime on – this means that to complete the proof, it is sufficient to show that the SIS epidemic has a lifetime which is poly if on a star graph with a hub and leafnodes, and an additional infectionsource of rate for the hub. We do this by analyzing cyclical epochs characterized by the reinfection/recovery of the hub – this is similar to techniques used in [2], [16], however the presence of external infectionsources changes the lifetime dramatically.
We construct the following process which underdominates the epidemic on the star: at time , we assume that only the hub is infected; subsequently, when either the hub or any of its neighboring leafnodes recovers for the first time, we instead make the hub recover – this clearly underdominates the epidemic, as we have the same recovery rate, but a smaller infection rate in the system. We then show that with probability at least , the hub gets reinfected before all the infected leafnodes get recovered. If this happens, we can again restart the system with only the hub infected (and all leafnodes susceptible) – note that this implies the expected number of such regenerations is , and the time spent in each epoch is at least , which gives us the desired polynomial expected lifetime.
First, suppose the hub is infected at some time – then from Lemma 11, we have that when any infected node in the neighborhood recovers for the first time after , then the number of infected nodes in the system is with probability at least . As we described above, we now assume that the hub is the node which recovers first, and thus there are infected neighbors.
Next, given that there are infected neighbors when the hub recovers – then the probability of the event that the hub is not reinfected before all the neighbors recover is given by the following.
To see this, note that if neighbors are infected, then the probability that one of them recovers before the hub is reinfected is the same as that among three exponential random variables of rate , and , the one with rate is minimum, i.e., ; subsequently, we can use the memoryless property of the exponential distribution. We can now bound the above as follows:
where we use that . Now, using the fact that , we can simplify to get:
where we have used the fact that and hence is . Combining the two (via the union bound), we get the probability that the hub gets reinfected before the infection dies in the network is at least . Thus, there are such regenerations on average before the infection dies in the network. ∎
AC Supercritical SIS Epidemics with External Agents
We now give a sufficient condition for supercritical SIS epidemics in the presence of external sources.
Proof of Theorem 5.
To obtain a sufficient condition for supercritical behavior, we need to lower bound – for this, we stochastically underdominate the process via the following (onedimensional) Markov chain: let be a continuous time Markov chain on the state space with the following transition rates.
and all other transitions having rate . Essentially, captures the bottleneck cut for all sets of size – standard coupling arguments show that this process is stochastically dominated by .
To lower bound the time to absorption for this chain we use an approach similar to that in the proof of the theorem 1 – we construct an appropriate discretetime ergodic Markov chain, so that we can use Lemma 8. Note that to find a lowerbound on the expected time to hit zero, it is sufficient to consider an initial state where only node is infected.
The embedded chain corresponding to has transition probabilities and for all (note we still assume ), and all other transition probabilities being . Defining to be the time for the embedded chain to hit state starting from , then from Lemma 8), we have:
Next, we want to lower bound the time that the system spends in each state. Let – then the expected time spent at any state of the continuous time Markov chain is lowerbounded by . Hence which is as long as .
Thus we have that a sufficient condition for supercritical behavior is given by . Now if for some , we have for some , then the LHS of the above equation is , which is what we desire.
To obtain the condition given in Theorem 5, note that random infection strategy is successful at a rate that equals , when . Now suppose we have for some . Then we have:
Now we can choose large enough such that we have  this then ensures . ∎
AD SIR Epidemics with External Agents
Finally, we utilize Lemma 10 to get conditions for subcritical SIR epidemics:
Proof of Theorem 6.
We first consider a standard technique for bounding the size of eventual infection without external agents (for example, in [3]).The main observation is that the probability of a node to get infected eventually is dependent on its being infected initially and its neighbors being infected eventually. We have:
Next, to account for the external sources, we can add an additional term to the RHS to capture the probability that the node is infected by external agent at some time. Recall that we defined to be an inhomogeneous Poisson process representing the external infection at node – then the probability of being infected via the external source is given by , which is upperbounded by for each . Adding up the inequalities for all the nodes, we get:
where is the number of initially infected nodes. Reorganizing, and using and , we get:
To conclude the proof, we need to bound – however from Lemma 10, we know it is sufficient to bound . Further, from Theorem 4, we have that if , then . This completes the proof. ∎