key: cord-0442228-blxcqhp8 authors: Pastor-Satorras, Romualdo; Castellano, Claudio title: The advantage of self-protecting interventions in mitigating epidemic circulation at the community level date: 2022-04-29 journal: nan DOI: nan sha: 842bd051e98ff533b57a5c7c213fe6badf9938db doc_id: 442228 cord_uid: blxcqhp8 Protecting interventions of many types (both pharmaceutical and non-pharmaceutical) can be deployed against the spreading of a communicable disease, as the worldwide COVID-19 pandemic has dramatically shown. Here we investigate in detail the effects at the population level of interventions that provide an asymmetric protection between the people involved in a single interaction. Masks of different filtration types, either protecting mainly the wearer or the contacts of the wearer, are a prominent example of these interventions. By means of analytical calculations and extensive simulations of simple epidemic models on networks, we show that interventions protecting more efficiently the adopter (e.g the mask wearer) are more effective than interventions protecting primarily the contacts of the adopter in reducing the prevalence of the disease and the number of concurrently infected individuals ("flattening the curve"). This observation is backed up by the study of a more realistic epidemic model on an empirical network representing the patterns of contacts in the city of Portland. Our results point out that promoting wearer-protecting face masks and other self-protecting interventions, though deemed selfish and inefficient, can actually be a better strategy to efficiently curtail pandemic spreading. The recent COVID-19 pandemic has shown how fragile world societies are when confronted to the runaway spreading of a new virus strain [1] . In stark contrast with other diseases, however, the combination of recent scientific advances, liberal funding by governments and the availability of large scale manufacturing, has allowed to create and deploy world-wide vaccines for the SARS-CoV-2 virus at unprecedented speed [2] , a fact that has without any doubts greatly diminished the death toll expected in this pandemic. Despite this huge effort, however, more than nine months lapsed between the declaration of the COVID-19 pandemic by WHO in March 2020 and the approval of the first vaccine in December 2020. The large-scale deployment of vaccines worldwide required additional months and is still an unsolved problem in many areas of the planet. Moreover, the protection guaranteed by vaccines against recently emerged new variants is far from perfect. In this context, societies have had and still have to fight the propagation of the virus by adopting also more traditional non-pharmaceutical interventions [3] . These interventions, aiming at limiting the spread of a disease [1] , include collective actions, such as school closures, prohibition of large meetings, closing of public transportation, curfews or lockdown orders [4] . At an individual level, non-pharmaceutical interventions include, among others, physical distancing, hand and respiratory hygiene, and face masks. Understanding the impact of each of these interventions at the level of the single transmission event among individuals and how this translates at the community level is a crucial goal, which has attracted a huge scientific interest [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] . In this paper we present an analysis of how the reduction of the chance that the disease is transmitted in a single contact, induced by a generic type of protecting intervention, results in an overall mitigation of the epidemic circulation in the population. In particular, we focus on asymmetric interventions having different efficacies at the individual level, i.e., in reducing the infectivity of an infected individual with respect to decreasing the susceptibility of a susceptible one. As one of the most widely adopted means to fight the current pandemic, mask wearing is the paradigmatic example of these types of interventions. Given the evidence for the airborne transmission of SARS-CoV-2 by means of droplets and aerosols [18] , recent research has shown that face masks are a very effective way to reduce the spread of COVID-19 [19] [20] [21] [22] [23] [24] [25] [26] . Different types of masks exist, characterized by very different protecting performance, both qualitatively and quantitatively. Some protect mainly the mask wearer, such as valved masks endowed with an exhalation valve. Others mainly protect the contacts of the mask wearer, such as surgical or cloth masks. Such asymmetric efficacy is however more general. For example, vaccines reduce the susceptibility of individuals to being infected upon contact with an infectious person, but they need not be equally effective in reducing the capability of vaccinated infected individuals to transmit the pathogen further if they ever catch the disease [27] . Also, symptomatic treatment reducing cough and sneezing hinders the possibility to transmit the disease onward but it does not reduce the chance to be infected. Here we present a comparative analysis of the global efficiency of generic protective interventions (PI) in the context of epidemic models on networks [28] , representing the patterns of social contacts among people that mediate the propagation of an infective pathogen [29] . We use a formulation over networks with a static topology, parametrizing the effect of PIs in terms of the fraction of adopters and of the efficacy of adoption in reducing the chance to receiving/transmitting the disease. We analyze the effect of different types of PIs at the community level by considering two paradigmatic models of disease propagation in networks [30, 31] : the Susceptible-Infected-Removed (SIR) model for non-recurrent diseases, that confer immunity and develop in outbreaks (similarly to COVID-19, at least on short time scales), and the Susceptible-Infected-Susceptible (SIS) model for recurrent diseases that may lead to a steady endemic state. Using a combination of numerical simulations and analytical calculations we show that the adoption of asymmetric PIs leads to surprisingly different scenarios. In particular interventions protecting the adopter turn out to have a stronger effect at the population level. If PIs of the same efficacy in reducing infectivity/susceptibility are available, it is better to use PIs protecting the adopter, as they suppress more the global circulation of the disease. We investigate the origin of this unexpected finding and show that the conclusion holds also when considering more realistic interaction patterns and disease dynamics. The effect of protecting interventions on the propagation of a disease can be modeled by considering the modification of the probability that the disease is transmitted between an infected and a susceptible individual [20, 32] . Consider a population of N individuals, whose pattern of contacts is determined by a complex network [33] , in which nodes represent individuals and edges the presence of social contacts between pairs of individuals. The network is fully described by its adjacency matrix a ij , taking value 1 if nodes i an j are connected, and zero otherwise. From a statistical perspective, the network can be characterized by its degree distribution P (k), representing the probability that a randomly chosen node has degree k (i.e., it is connected to k other individuals). Disease transmission is mediated by contacts between infected and susceptible individuals. The properties of this transmission are mathematically encoded [30, 31] in terms of an infection rate β, representing the probability per unit time that the infection is transmitted from an infected to a susceptible along a single contact. Protecting interventions induce a reduction of this infection rate in two possible manners. An intervention involving the infected individual diminishes the infection rate along any edge emanating from him/her by a factor α o . An intervention affecting the susceptible individual decreases, by a factor α i , the infection rate of any edge pointing to him/her. For example, in the case of airborne transmission, a mask may reduce the number of viral particles exhaled by an infected individual and also reduce the number of viral particles that a susceptible can inhale from the environment [20] . As the example of masks shows, the factors α o and α i are not necessarily equal. For example valved masks strongly protect the wearer α i 1 while they do not impede viral transmission towards the others α o ≈ 1. For cloth masks the opposite is true. We compare scenarios where a single type of PI (with given α o and α i ) is adopted by a fraction f of the population. For a given edge pointing from node i to node j, the infection rate associated to the disease transmission from i to j takes the form where m i are quenched Bernoulli stochastic variables taking value 1 with probability f and zero with probability 1 − f . From this definition it is obvious that, even if the contact network is undirected (symmetric a ij ) [33] , the transmission network given by (1) is effectively directed, with β ij = β ji unless f = 0 (no PI adoption in the population) or f = 1 (whole population adopting PI), which lead to β ij = βa ij and β ij = βα i α o a ij , respectively. In these cases, the infection process is symmetric if the underlying contact network is undirected. In our study we are concerned with the differences between PIs that mostly protect the adopter, characterized by α i α o , and PIs that mostly protect his/her contacts, given by α o α i . For the sake of simplicity, we focus on what we call SELF interventions (with α i < 1, α o = 1) that offer protection to the adopter and no protection for his/her contacts, and OTHER interventions (α i = 1, α o < 1), that offer protection to the contacts, and no protection to the adopter. In the following, we investigate the effects of PIs in fundamental models of disease propagation, either nonrecurrent or recurrent. As an example of a communicable non-recurrent disease (that is, a disease that confers permanent immunity), we consider the simple Susceptible-Infected-Removed (SIR) model [30] . The SIR model is defined in terms of three compartments. Susceptible individuals are healthy and can contract the disease. Infected individuals carry the disease and can infect susceptible ones upon contact with a rate (probability per unit time) given by the factor β ij in Eq. (1). In their turn, infected individuals can recover and become removed with a constant rate µ. By rescaling time, we can absorb the rate µ and consider a single parameter, the spreading rate λ = β/µ. Focusing for simplicity on homogeneous networks with a uniform degree k i = K, a mean-field theoretical analysis (see Appendix A) shows that the SIR model exhibits a transition between a phase with non-extensive outbreaks only and a phase with macroscopic ones, at a critical value of the spreading rate λ (see Appendix A 1) From this expression, we see that the threshold is symmetric in the parameters α i and α o , in agreement with the results in Ref. [20] , and that the maximum system-wide protection is obtained, for a given value of adoption probability f , when α i α o = 0, which can be attained either in the perfect SELF scenario (α i = 0) or in the perfect OTHER case (α o = 0). In the same theoretical framework, it is also possible to calculate the total prevalence R ∞ , i.e., the overall fraction of individuals infected by the disease throughout the outbreak, obtaining, slightly above the threshold (see Appendix A 2) where ∆ = λ − λ c quantifies the distance from the critical threshold. This expression reveals that, at variance with the position of the threshold, the size of an outbreak is not symmetric with respect to the efficacy of PIs: At fixed values of f , λ and of the product α i α o (i.e at a fixed threshold λ c ), the total prevalence is easily shown to be an increasing function of α i and a decreasing function of α o . In other words, while using more effective SELF interventions (i.e., reducing α i ) decreases R ∞ , imposing more effective OTHER interventions (i.e reducing α o ) creates the opposite result, an increase of R ∞ . This signals that SELF interventions, protecting the adopter, are more effective than OTHER interventions, protecting the contacts, at reducing the overall spreading of the disease at the community level. This is confirmed by integrating numerically the homogeneous mean field equations (D6)-(D12), for generic values of α i and α o (see Fig. 1(a) ). Most of the parameter space results in R ∞ (OTHER) > R ∞ (SELF), i.e. a larger circulation of the disease when OTHER interventions are adopted. The comparison of SELF and OTHER scenarios provides remarkable insight also at the level of the individual. As shown in Appendix A 3, the relation between the asymptotic prevalence R 1 (∞) for adopting individuals and the prevalence R 0 (∞) for nonadopting ones is which does not depend on the protection level α o offered to contacts. This means that adopting interventions offering more protection to contacts (i.e. reducing α o ) has exactly the same effect on the prevalence of adopting and nonadopting individuals. In particular, if OTHER PIs are used, since α i = 1 then R 1 (∞) = R 0 (∞), for any value of α o . In such a case, from the point of view of a given individual, adopting an intervention is perfectly equivalent to not adopting it, as the probability to be eventually infected is exactly the same. With the benefit of hindsight this result is not so odd: If α i = 1, PIs do not provide any protection against the transmission from others to the adopter, hence for the individual adopter the risk of being infected cannot be smaller than for a non-adopter. However, Eq. (4) reveals that, while adopting a PI always implies some degree of inconvenience (think for example at the bother of wearing a mask), no immediate utility exists for the individual adopting an OTHER PI, while such a utility exists for SELF PIs. See the concluding section for further discussion. From now on we mostly focus on the comparison of the effects at the population level of SELF and OTHER interventions with exactly the same efficacy α (α i = α for the SELF case, α o = α for the OTHER case). For reference we consider also the case NONE, where no intervention is adopted, corresponding to α i = α o = 1, and the case BOTH, given by α i = α o = α, and representing equally protecting performance in both directions. In this last case (i.e., along the diagonal in Fig. 1 (a)) SELF PIs outperform OTHER PIs for any value of the fraction f of adopters. This is checked by considering R ∞ (OTHER)−R ∞ (SELF) as a function of α and f . The values plotted in Fig. 1(b) , which are nonnegative for any value of α and f , demonstrate that in all cases SELF interventions are better than or equal to OTHER interventions in curbing disease diffusion. These conclusions remain true for other values of the infectivity λ > λ c as we can see from The numerical solution of MF equations also allows us to determine the height I m of the peak of incidence over time. This is a crucial quantity that must be kept as low as possible in order to avoid the saturation of health care systems by an inflow of too many seriously ill individuals. Fig. 1(c) shows clearly that also in this respect SELF PIs perform better than the OTHER counterparts, as witnessed by the asymmetry of the plot with respect to the diagonal. The same conclusion is confirmed by Fig. 1(d) : I m (OTHER) − I m (SELF) ≥ 0 for any value of α and f . Adopting SELF interventions "flattens the curve" more effectively than the adoption of OTHER PIs does. A comparison between panels (b) and (d) in Fig. 1 reveals also that PI adoption affects differently the total number The previous predictions have been obtained within the mean-field framework. The comparison with numerical simulations, to check whether the picture derived above remains true, requires to take into account the phenomenology of the stochastic SIR model in finite systems (see Appendix B), but reveals new interesting features. Fig. 7(a) shows that, also in numerical simulations, the better efficacy of SELF interventions at the population level remains valid for any value of the infectivity λ. Indeed the average size R ∞ of extensive outbreaks is smaller when SELF PIs, rather than OTHER PIs, are adopted. Different values of the asymptotic prevalence for long times R ∞ reflect a different temporal evolution. The mean-field approach predicts (see Appendix A 4) that the initial growth is exponential, with a characteristic time scale depending only on the threshold value, and thus on the product α o α i , and hence is equal for both SELF and OTHER scenarios with the same α i = α o = α. The difference in the value of R ∞ stems from the fact that this exponential growth ends later in the OTHER case, thus corresponding to a higher value of the peak incidence I m . Notice that this is different with what happens for the NONE (α i = 1, α o = 1) or BOTH (α i = α o < 1) scenarios. In these other cases already the exponential growth rate is different. Performing simulations of the stochastic SIR model (see Appendix B) and analyzing the temporal evolution of the number of infected individuals (see Fig. 7 (b)), these differences are clearly observed. The maximum value of the incidence in the SELF case is in general lower than in the OTHER case: adopter-protecting interventions are more effective than contact-protecting interventions in "flattening the curve" and thus reduce the maximum instantaneous pressure on health care systems. SELF interventions, however, are not the silver bullet against epidemics. Indeed, while they reduce the overall prevalence of the infectious disease, they are worse than OTHER interventions at preventing the emergence of a macroscopic outbreak. As Fig. 7(c) shows, the probability that a macroscopic outbreak emerges is larger for the SELF prescription than for the OTHER one. This means that, if people adopt SELF PIs, it is more likely that a single infected individual can give rise to a macroscopic outbreak. However, as shown above, if such an outbreak occurs, or if the disease is introduced in different nodes (for example because several infected individuals arrive simultaneously in a community) the outbreak will affect, on average, less people if SELF PIs are adopted. The paradigmatic model for recurrent diseases, leading to a steady endemic state, is the Susceptible-Infected-Susceptible (SIS) model [30] . In this case the epidemic transition separates values of the parameter λ = β/µ for which the disease quickly goes extinct (λ ≤ λ c ), from values such that an endemic state is reached (λ > λ c ), with a steady fraction of infected individuals. Also in this case it is possible to investigate the effect of different types of interventions via a mean-field approach for homogeneous networks (see Appendix C), obtaining for the threshold while the stationary density of infected nodes in the vicinity of this threshold is These predictions are verified numerically to be true for all values of λ > λ c , not only close to the transition (see Fig. 7 (d)). While we have considered so far extremely simple epidemic models on idealized networks, the qualitative conclusions extend to more complicated epidemic models and more general types of networks. For example, the extension to heterogeneous networks with a general degree distribution P (k), presented in Appendixes D and E, leads to results perfectly analogous to those discussed above. To give a more realistic example, here we consider a Susceptible-Exposed-Infected-Recovered (SEIR) dynamics on a large weighted network describing interactions among people in Portland, OR [34] . This network has been inferred using mobile device data before social distancing measures were enacted during the COVID-19 pandemic. SEIR model parameters were calibrated to describe the first wave of COVID-19 in 2020 (see Appendix F for more details). The size of the network is N = 214, 393, which is a substantial fraction of the census population of Portland city in 2020, namely N P = 652, 503 [35] . In this framework, we tested the four scenarios for PI efficacy, assuming again f = 0.5. Figure 8 shows that also in this case SELF interventions flatten the curve of the number of infected people more effectively than OTHER interventions with the same individual efficacy. With respect to the final prevalence R ∞ , adopting SELF PI reduces the value in the absence of interventions R ∞ (NONE) = 0.595 to R ∞ (SELF) = 0.487, which is significantly (beyond stochastic fluctuations) smaller than R ∞ (OTHER) = 0.510, while for interventions with both SELF and OTHER efficacy the prevalence is R ∞ (BOTH) = 0.406. On the scale of the city, extrapolating these values for a population of N P = 652, 503, the adoption of SELF PI instead of OTHER PI would imply a reduction of around 15, 000 in the total number of cases. For the maximum number of simultaneously infected people, we obtain the values I m (NONE) = 0.238, I m (SELF) = 0.166, I m (OTHER) = 0.180, and I m (BOTH) = 0.130, which on the city scale implies a reduction of around 9, 000 concurrently infected individuals when SELF interventions are used instead of OTHER interventions. Although we do not claim these numbers to be directly applicable to a real world scenario, the results clearly show that the collective effects leading to a better performance of SELF interventions with respect to OTHER interventions at the population level are at work also for more complicated epidemic models on realistic networks. A vast range of protecting interventions of different type, both pharmaceutical and non-pharmaceutical, can be used to combat the diffusion of an infectious disease. Each intervention may in general affect differently the infectivity and the susceptibility of the single individual. Here we have considered, in a simple formalism based on disease propagation on networks, the effects of generic PIs on the reduction of the total number of infected individuals and of the maximum number of individuals concurrently infected, the so-called goal of "flattening the curve", to prevent the saturation of health care systems. In the simple setting adopted, PIs are characterized by two parameters which, in the case of masks, gauge the level of viral particle filtration offered from the mask wearer to the environment (α o ), and in the opposite direction (α i ). The results presented above demonstrate that collective effects have surprising consequences for what concerns the level of global protection guaranteed by different kinds of intervention. In agreement with many other publications, we find, of course, that no matter how imperfect, the adoption of PIs reduces the circulation of an infectious disease with respect to the case of no adoption, and that a higher efficiency at the individual level guarantees a higher protection for the whole community. Contrary to naive expectation, however, we find that interventions protecting the adopter (SELF PIs) or interventions protecting mostly contacts of the adopter (OTHER PIs) have not the same effect, even for equal efficacy of the individual intervention. SELF PIs turn out to reduce more the overall incidence of the infection and to "flatten the curve" more efficiently, i.e., they reduce more drastically the peak value of the number of individuals simultaneously infected. Although we have focused on purely SELF (α o = 1, α i < 1) and purely OTHER (α o < 1, α i = 1) interventions, the same picture applies when SELF (OTHER) PIs provide some small level of protection also in the other direction, i.e. α i α o (α i α o ), respectively. Our results are presented in terms of a mean-field theory for the simple SIR and SIS models of disease propagation in homogeneous networks, that can be readily extended to heterogeneous contact patterns, and are backed up with numerical simulations. Additionally, we consider a SEIR model, often used for COVID-19 analyses and estimations, on an empirical network representing contact patterns in the city of Portland. This last analysis allows us to confirm the expected effect of the different kinds of PIs in a realistic scenario. Our results can be interpreted in the framework of the general theory for heterogeneous agents put forward by Miller [32] , predicting that control strategies having a heterogeneous impact on susceptibilities are more effective in reducing epidemic size while strategies with heterogeneous impact on infectivities reduce more the probability of large outbreaks. What causes the difference between the performance of the SELF and OTHER strategies? To investigate this issue we considered a system where the choice of the PI is not individual-based, but contact-based: in other words, β ij is still a quenched random variable given by (1), but the variables m i and m j are extracted independently for each edge. Hence, considering the example of mask wearing, an individual i can use a mask when interacting with contact j 1 and not use it when interacting with contact j 2 . In such a case, see Fig. 9 , SELF and OTHER scenarios give exactly the same results. Therefore asymmetry arises at the community level only if each individual consistently adopts (or does not adopt) the protecting intervention in every interaction. Concerning the example of masks, our results place a strong question mark on policies adopted to curb the diffusion of COVID-19. During the initial stages of the pandemic, concerns were raised about the use of valved masks, as it was argued that they do not protect contacts [36] . This led to advice against their use by the World Health Organization (WHO) [37] and the Centers for Disease Control and Prevention (CDC) [38] , and to outright bans in some cities [39] and in major US air-lines [40] . At the same time the usage of masks protecting contacts of the wearer has been encouraged. As we have shown, unless effective masks providing protection in both directions can be widely used, it is better to adopt SELF (valved) masks to maximally reduce the impact of the disease at the population level. This global effect is not the only argument pushing to reconsider this type of policies. Another compelling reason has to do with the utility of single individuals. The usage of PIs can be imposed by ordinances issued by the government, but the adoption of individual PIs, even if policed by authorities, always involves a personal choice. As shown above, the adoption of an intervention that protects only the contacts of the adopter (α i = 1) does not imply any direct utility for the adopter: The probability to be eventually infected is exactly the same for adopting and nonadopting persons. On the other hand, adopting an intervention (for example wearing a mask) is a burden, so that the net direct utility for adopting an OTHER PI is negative. A positive overall payoff for the individual adopting an OTHER PI can be obtained only if many people cooperate so that the common good is achieved, overcoming the inconvenience implied by the adoption. Thus OTHER PIs are both less effective at the population level and less likely to be adopted at the individual one. No such barrier to adoption exists for self-protecting (SELF) PIs: In such a case it is not only beneficial at the collective level, but also in the selfish interest of each individual to adopt a protecting intervention. Hence the overall higher effectiveness of self-protecting interventions at the community level is further enhanced by the fact that they are more likely to be spontaneously adopted. Appendix A: Mean-field theory for the SIR model In the case of a homogeneous network, with all nodes sharing the same degree k = K, a mean-field approximation considers that all nodes with the same PI state are equivalent, and therefore we can characterize the dynamics by the probability that a node in a given PI state (adopter, nonadopter) is in the compartment S, I, or R. Under these conditions, the dynamics of the network is defined by the set of probabilities that an individual in the PI state a, taking values a = 1 (adopter) and a = 0 (nonadopter), is infected, susceptible or recovered, respectively. In a population of fixed size, these sets of probabilities are subject to the normalization condition The mean-field equations for the system are constructed by considering the contacts that can change the number of infected individuals in each PI state. Thus, the rate equation for the number of removed individuals takes the form for all PI states. For the density of infected adopting individuals, we can write [28, 30] (A4) In this equation, the first term considers the decay to the recovered state with rate µ. The second term considers the probability of a new infection along a given edge, that is proportional to the density of susceptible adopting individuals, and the probability that the edge points to an adopting infected individual (with probability f ), which will lead to an effective infection rate βα i α o , or to an infected nonadopting individual (with probability 1 − f ), associated to an effective infection rate βα i . The term K − 1 takes into account that infected individuals have at most only K −1 edges available to propagate the infection, since one is used up by the neighbor that induced their infection. Rescaling time by µ, we can write where λ = β/µ and we have defined From here, the rate equation for adopting susceptible individuals is Finally, for nonadopting individuals, we can write From the general Eq. (D17), considering that µ is absorbed into the time rescaling, we have and from Eqs. (D16) and (D12), where φ(t) = t 0 θ(t )dt can be written as '' and where we assume an initial condition given by a vanishing fraction of infected individuals. To estimate the value of the threshold, we consider the final outbreak size, given by the number of removed individuals at time t → ∞. Since I a (∞) = 0, we have from the normalization condition, Eq. (A2), R a (∞) = 1−S a (∞). In this infinite time limit, defining φ ∞ ≡ φ(∞), A non-zero solution is obtained when dΨ(φ∞) dφ∞ φ∞=0 leading to the threshold condition λ > λ c to observe a finite outbreak, with 2. Behavior close to the threshold In the limit λ → λ + c , we have that R a (∞) and φ ∞ are both small. From Eq. (A13), performing an expansion for small φ ∞ up to second order, we can solve it and obtain where ∆ = λ − λ c is the distance to the critical threshold. For the total prevalence, using Eq. (A11) and the normalization condition, we can write where the have expanded the exponential factors to leading order. Combining Eqs. (A16) and (D21), we finally obtain the total prevalence close to the threshold 3. Relation between R0(∞) and R1(∞) Taking the limit t → ∞ in (A11) and eliminating φ ∞ we obtain S 1 = S αi 0 , from which, using the condition R a (∞) = 1 − S a (∞), we arrive at (A18) To estimate the initial time behavior of the epidemic outbreak, we consider the limit of a very small density of infected individuals. Linearizing the corresponding equations, we havė Using these expressions in Eq. (D7), we havė Defining the characteristic time scale the solution for θ is Using these expressions, we can integrate Eqs. (A19) and (A20) to obtain while the total incidence I(t) = f I 1 (t) + (1 − f )I 0 (t) has the form For the initial condition, let us consider that a randomly chosen node is initially infected. In this case, I m (0) = I 0 (0) = 1/N , and therefore Therefore Appendix B: Phenomenology of the SIR model in finite networks Starting from a single infected node, outbreaks can develop in two qualitatively different ways [41] . Some of them die after a few infection events; others instead survive much longer and affect an extensive fraction of the individuals. This is reflected in the distribution of outbreak sizes, which has two components. For small values of λ only the small component exists, made up by short-lived small outbreaks and weakly depending on N . For large values of λ also the second component exists, peaked around a size proportional to N . The epidemic threshold marks the birth of the large, extensive component. This distinction is exactly defined only in the thermodynamic limit (indeed the threshold is properly defined only in this limit), but it is operatively meaningful also for finite, but large, size N . The fraction of outbreaks belonging to the large component is the probability P s that an extensive outbreak emerges. It is zero below the threshold and grows with λ > λ c above it. The average size of extensive outbreaks R ∞ (i.e. the average value calculated only for the large component) is another observable that is zero up to λ c and grows with λ. For epidemics on undirected networks the two quantities coincide [41] . On directed networks (such as the effective networks over which the epidemic spreads if PIs are used) they are in general different [32, 42] . By construction, the mean-field approach on networks [28, 41] deals only with extensive outbreaks in an infinite size system. Hence the quantity R ∞ computed above has to be compared with the average size of macroscopic outbreaks, which must be defined, in simulations, as outbreaks larger than a given fraction of the whole system. We take this fraction to be 0.01. Clearly only for N → ∞ and sufficiently far from the transition point, results are independent from the choice of this fraction. For simulations in finite systems starting with a single infected node, one must take into account that the exponential growth is preceded by a regime dominated by stochastic fluctuations, whose duration has quite large variations depending on the realization of the process. Only when a sufficiently large fluctuation in the number of infected nodes I(t) is generated, exponential growth is triggered. Averaging at fixed time the value of I(t) over many such realizations leads to a spurious bending as a function of time. Moreover, the duration of the initial stochastic regime (and hence the size of the spurious bending) is different in the various scenarios, further complicating the analysis. To overcome these difficulties, as it is customary, we start from a larger number of initial infected nodes, namely 50, so that the initial regime dominated by fluctuations is strongly suppressed. We can compute the threshold λ c by performing a linear stability analysis around the solution I a = 0, corresponding to the healthy, non-endemic state. The Jacobian matrix of Eqs. (E1) and (C2), evaluated at the origin, is whose associated eigenvalues are Λ 1 = −1 and Λ 2 = −1 + λK(f α i α o + 1 − f ). The healthy state becomes unstable when the largest eigenvalue becomes positive, that is, −1 + λK(f α i α o + 1 − f ) > 0. This defines the threshold λ c , given by such that for λ > λ c there is a steady infected state with a non-zero prevalence. For homogeneous networks of degree K, the steady state conditionİ a = 0 translates into the relations Inserting these into the definition of θ, Eq. (E3), we obtain the self-consistent equation Eq. (C8) can be solved close to the threshold, in the limit of small θ, performing a Taylor expansion up to second order, which leads to the solution Using the lowest order approximation I 1 λKα i θ and I 0 λKθ, the final steady state prevalence I = f I 1 + (1 − f )I 0 takes the form, close to the threshold in close analogy to the SIR result in Eq. (A17). It is easy to see that the initial time behavior of the SIS model is described by the same equations as the SIR case, simply replacing the factor K − 1 by K. Therefore, the time initial time evolution of an outbreak initiated by a randomly chosen node takes the form, as Eq. (A28), Appendix D: Heterogeneous mean-field theory for the SIR model In the case of heterogeneous networks with a non-trivial degree distribution, heterogeneous mean-field (HMF) theory [28] considers that all nodes in the network with the same degree share the same dynamical state, and therefore we can characterize the state of the epidemics in terms of the probability that a node of degree k is in the state S, I, or R, taking the same value for all nodes with the same degree. In the case of a population with a fraction f of protecting intervention (PI) adopters we must consider the independent probabilities for adopting and nonadopting individuals, in such a way that the state of the network is fully described by the set of probabilities that an adopting individual of degree k is infected, susceptible or recovered, respectively, and the corresponding probabilities for nonadopting individuals Both sets of probabilities are subject to the normalization condition In order to construct the rate equations for the time evolution of these variables we need to consider the probability that a randomly chosen link points to an infected node. From a mean field point of view, considering that any individual has a probability f to adopt a PI, and assuming that the contact networks are undirected and uncorrelated [43, 44] we can write the rate equation for the density of infected adopting individuals of degree k as [28, 45, 46] In this equation, the second factor considers the probability that a link emanating from any node points to a node of degree k (taking into account in the −1 term that an infected node is necessarily connected to at least another infected node that transmitted the disease to it and is thus not capable of further transmission), and the probability that this node of degree k either adopts a PI (with probability f ) and the effective infection rate is βα i Appl. Opt., or he/she does not adopt a PI (with probability 1 − f ), with an effective infection rate βα i . Performing a time rescaling t → tµ, Eq. (D5) can be written as The Profound and Enduring Impact of Coronavirus on the Way We Live What the lightning-fast quest for COVID-19 vaccines means for other diseases Non-pharmaceutical interventions during the COVID-19 pandemic: A review European Centre for Disease Prevention and Control, Guidelines for non-pharmaceutical interventions to reduce the impact of COVID-19 in the EU/EEA and the UK A conceptual model for the coronavirus disease 2019 (covid-19) outbreak in wuhan, china with individual reaction and governmental action Microsimulation based quantitative analysis of covid-19 management strategies The importance of nonpharmaceutical interventions during the covid-19 vaccine rollout Quantifying the impact of physical distance measures on the transmission of covid-19 in the uk The effect of human mobility and control measures on the covid-19 epidemic in china Inferring the effectiveness of government interventions against covid-19 Effects of non-pharmaceutical interventions on covid-19 cases, deaths, and demand for hospital services in the uk: a modelling study A modelling framework to assess the likely effectiveness of facemasks in combination with ‘ Modeling the impact of mass influenza vaccination and public health interventions on covid-19 epidemics with limited detection capability The unintended consequences of inconsistent pandemic control policies Inferring change points in the spread of covid-19 reveals the effectiveness of interventions The effect of large-scale anticontagion policies on the covid-19 pandemic Effectiveness of nonpharmaceutical interventions on covid-19 transmission in 190 countries from 23 Ten scientific reasons in support of airborne transmission of SARS-CoV-2 Face masks considerably reduce COVID-19 cases in germany How adherence to public health measures shapes epidemic spreading: A temporal network model Efficacy of face mask in preventing respiratory virus transmission: A systematic review and meta-analysis To mask or not to mask: Modeling the potential for face mask use by the general public to curtail the COVID-19 pandemic Mathematical assessment of the impact of non-pharmaceutical interventions on curtailing the 2019 novel coronavirus An evidence review of face masks against COVID-19 Impact of assortative mixing by mask-wearing on the propagation of epidemics in networks How effective are face coverings in reducing transmission of covid-19? Vaccine effectiveness against infection and onwards transmission of covid-19: Analysis of belgian contact tracing data Epidemic processes in complex networks Social and Economic Networks Modeling Infectious Diseases in Humans and Animals Mathematics of Epidemics on Networks: From Exact to Approximate Models Epidemic size and probability in populations with heterogeneous infectivity and susceptibility Networks: An Introduction Modelling the impact of social distancing and targeted vaccination on the spread of COVID-19 through a real city-scale contact network Flow visualization of an N95 respirator with and without an exhalation valve using schlieren imaging and light scattering Coronavirus disease (COVID-19): Masks Centers for Disease Control and Prevention, Guidance for wearing masks Why some cities and counties are banning face masks with valves Face masks with vents and valves are banned from another major airline Mathematics of Epidemics on Networks: From Exact to Approximate Models Second look at the spread of epidemics on networks Dynamical and correlation properties of the internet Critical phenomena in complex networks Epidemic outbreaks in complex heterogeneous networks Cutoffs and finite size effects in scale-free networks Epidemic spreading in scale-free networks We acknowledge financial support from the Spanish MCIN/AEI/10.13039/501100011033, under Project No. PID2019-106290GB-C21. The mean-field equations for the SIS model in a homogeneous network of degree k i = K depend only on the densities of infected adopting and nonadopting individuals I a , and take the form [28, 30] I 1 = −I 1 + (1 − I 1 )λKα i θ (C1)withwhere λ = β/µ and we have defined(D7) From here, we can write the rate equations for the rest of variables related to adopting individuals aswhile the variables affecting nonadopting individuals fulfill the rate equationsFrom these equations, we immediately havewhere φ(t) = t 0 θ(t )dt can be written as(D15) and we assume that the initial condition consists in a very small fraction of infected individuals and thus that almost all individuals are susceptible.In order to compute the epidemic threshold, we consider the state of the system in the infinite time limit, where I 1 k (∞) = I 0 k (∞) = 0. In this regime, the final prevalence (density of infected individuals) is given bywithA non-zero solution φ ∞ = 0 is obtained when the condition dΨ(φ∞) dφ∞ φ∞=0 ≥ 1 is fulfilled, leading towhich leads to the threshold valueFrom Eqs. (D16) and (D17) we can recover a relation between R 1 k (∞) and R 0 k (∞), namelyanalogous to the one obtained for homogeneous networks.Appendix E: Heterogeneous mean-field theory for the SIS modelThe HMF equations for the SIS model [47] in a general network can be written in terms of the densities of infected adopting and nonadopting individuals of degree k, I 1 k and I 0 k , respectively, that in this case take the forṁwhere θ, in random uncorrelated networks, is defined byThe steady state condition,İ 1 k =İ 0 k = 0, corresponding to the large time behavior, leads to the equationsInserting these expressions into the definition of θ, we obtain the self-consistent equation(E5) The non-zero solution, corresponding to a finite prevalence, appears when the condition dΨ(θ) dθ θ=0 ≥ 1 is fulfilled, which leads toand to the thresholdAppendix F: Details on the network and the epidemic model for COVID -19 We consider as the contact pattern for the SEIR dynamics the static contact network determined in Ref. [34] for the city of Portland, Oregon, before social distancing measures were enacted. The network has N = 214393 nodes and M = 1538092 edges, so that the average degree is k = 14.4. Further details on network statistics can be found in the original publication. The network is undirected and weighted, with each contact weighted according to its duration.On top of this network we perform simulations of the SEIR epidemic model in continuous time, using the Gillespie algorithm. The model is characterized by three parameters. An exposed node E spontaneously becomes infectious (I) at a rate α, while the transition between the infectious state E to the recovered state R occurs spontaneously at rate µ. In the absence of PI, an infectious node i transmits the infection to a susceptible neighbor j at a rate βw ij where w ij is the weight associated to the network edge. In the presence of PIs this quantity is further modified as in Eq. (1) . The values of the parameters are the same calibrated for COVID-19 in Ref. [34] : α = 1/3, ν = 1/14, β = 1.337. The initial condition for simulations is that a fraction 10 −3 of the individuals is infected and the rest is susceptible.