key: cord-0289833-9i4io2cq authors: Burgio, Giulio; Steinegger, Benjamin; Rapisardi, Giacomo; Arenas, Alex title: The impact of homophily on digital proximity tracing date: 2021-02-28 journal: nan DOI: 10.1103/physrevresearch.3.033128 sha: 4d70974c3ca558b5ba6f579781e93f9a58dddfbd doc_id: 289833 cord_uid: 9i4io2cq We study how homophily of human physical interactions affects the efficacy of digital proximity tracing. Analytical results show a non monotonous dependence of the reproduction number with respect to the mixing rate between individuals that adopt the contact tracing app and the ones that do not. Furthermore, we find regimes in which the attack rate has local optima, minima or monotonously varies with the mixing rate. We corroborate our findings with Monte Carlo simulations on a primary-school network. This study provides a mathematical basis to better understand how homophily in health behavior shapes the dynamics of epidemics. We study how homophily of human physical interactions affects the efficacy of digital proximity tracing. Analytical results show a non monotonous dependence of the reproduction number with respect to the mixing rate between individuals that adopt the contact tracing app and the ones that do not. Furthermore, we find regimes in which the attack rate has local optima, minima or monotonously varies with the mixing rate. We corroborate our findings with Monte Carlo simulations on a primary-school network. This study provides a mathematical basis to better understand how homophily in health behavior shapes the dynamics of epidemics. Preventing disease outbreaks is one of the greatest challenges humanity faced in recent history [1] . One of the techniques employed to fight epidemics is identifying and eventually testing or isolating the contacts of infected individuals, which is generally referred to as contact tracing [2] . In the past, contact tracing was employed to combat the spread of smallpox, tuberculosis, HIV or Ebola [3] [4] [5] [6] , to name a few. Accordingly, great efforts have been devoted to analyze the efficacy of manual contact tracing [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] . More recently, the advent of digital proximity tracing (DPT) apps, and their successful large-scale implementation to prevent the spread of SARS-COV-2 [17] [18] [19] [20] , sparked numerous studies that analyzed how this novel technology impacts disease propagation. Many of these studies were tailored for SARS-COV-2 and quantified the impact of DPT apps [21] [22] [23] [24] [25] [26] [27] [28] [29] . However, also a variety of more theoretical studies unveiled the physics behind DPT [30] [31] [32] [33] . A question which has not been addressed so far is how homofilic adoption between individuals affects the efficacy of DPT. Empirical studies suggests that the voluntary adoption of DPT apps strongly varies among the population. App adoption was shown to correlate with age, income and nationality [29, 34] . Accordingly, due to homophily, app adoption is much more probable for contacts of an app user (adopter) compared to a random individual. As a matter of fact, in Switzerland around 70% of the contacts among adopters were found to use the app as well, while average, national adoption is only 20% [19] . This discrepancy is in line with experimental studies, that indicate how homophily importantly affects health behavior [35, 36] . Such evidence let us theorize that this is another manifestation of how human behavior crucially shapes the course of epidemics [37, 38] . Our goal here is to follow this hypothesis and unveil how the homophilic adoption of DPT apps affects the disease propagation. For this aim, we extend a model recently introduced by Bianconi et al. [31] . The model is very convenient due to its simplicity, while it captures the essential ingredients of the dynamics. As a first step, we consider a mean field case, in which we control the interaction rate among adopters and non adopters. This simple setup shows different regimes, in which the homophilic adoption can be beneficial as well as detrimental. Furthermore, we analytically show how the reproduction number is minimized for a specific value of homophily. In a second step, we analyze the impact of homophily on a real world primary-school network. The network exhibits the same dynamical regimes and thus underpins the theoretical results. For modelling the epidemics we consider a standard SIR model, with transmission probability λ, infectious period τ , and contact rate k. For convenience we define β = λτ . Accordingly, in the absence of app users, the basic reproduction number of the disease is given by R 0 = βk. We fix the fraction of adopters as T ∈ [0, 1]. Furthermore, we parametrize the mixing relation between adopters and non adopters, i.e. the contact matrix K (often referred to as the who-acquires-infection-fromwhom matrix [2] ), with a parameter α ∈ [0, 1]. We denote the entries of K as k ij with i, j ∈ {A, N}, where A and N refer to adopters and non adopters, respectively. The parameter α fixes the contact rate between adopters and non adopters as k AN = αk(1 − T ). In other words, α interpolates from complete homophily (α = 0) to random mixing (α = 1). This parametrization does not allow for disassortativity. However, since the empirical evidence clearly indicates a positive correlation between social contacts and app adoption, we discard this possibility. Eventually, the remaining contact rates follow from the balance equation T k AN = (1 − T )k NA and the average contact rate k = k AA + k AN = k NN + k NA . Accordingly, K has the following entries With these definitions, the probability that during a contact both individuals are either adopters or not reads 1 − 2αT (1 − T ). Correctly, this probability becomes 1 for complete isolation (α = 0) and 1 − 2T (1 − T ) for random mixing (α = 1). The dynamical model introduced by Bianconi et. al [31] is based on the assumption that app users infected by other app users, do not further transmit the disease. This assumption requires us to define additional variables to follow the dynamical evolution in comparison to the standard SIR model. Namely, we define I AA (t) and I AN (t) as the number of newly infected (incidence) adopters at generation t, which were infected by adopters and non adopters, respectively. For non adopters such distinction is not necessary, wherefore I N (t) simply refers to the newly infected non adopters at generation t. Together with the number of susceptible adopters S A (t) and non adopters S N (t) at generation t, the discrete dynamical equations then read The parameters N A and N N indicate the number of adopters and non adopters, respectively, in the population. The attack rate, i.e. the number of recovered individuals, is found by summing the number of newly infected (then recovered) individuals, over all generations. As the classical SIR model, this dynamical system does not allow for an explicit solution of the non trivial, stationary state. However, the model allows to calculate the reproduction number, R, for a fully susceptible population. For R > 1, the disease initially invades the population whereas for R < 1 it immediately dies out. The reproduction number can be calculated through the nextgeneration matrix [39, 40] , NGM, which is given by The zero entry of the NGM is due to the tracing capacity preventing adopters to cause any new infections (generations), when infected by other adopters. The largest eigenvalue, i.e. the spectral radius of the NGM represents the effective reproduction number, R. By inserting the explicit expressions of the K matrix entries, the effective reproduction number reads Not surprisingly, R has a monotonous dependence on adoption, T , as well as on the basic reproduction number of the disease, R 0 . However, R exhibits a non trivial dependence on the mixing rate, α. To be more specific, solving dR dα = 0 with respect to α yields Straightforward calculations also show that dR dα | α=0 < 0 is always met. Accordingly, whenever α * ≥ 1, the reproduction number has its smallest value at α = 1. The condition α * < 1 leads to a critical value T c = 2/3 above which no local minimum exists. Fig. 1A shows how α * varies with respect to adoption, T . This non monotonous dependence on the mixing rate, α, distinguishes contact tracing from classical immunization problems as vaccination [41] . Assuming perfect immunization, all the entries of the NGM will be zero, except the one among not immunized individuals (non adopters). Accordingly, the dependence on α will be monotonous and mixing will always reduce the reproduction number. Furthermore, Eq. (11) provides a critical parameter range in which eradication is possible, i.e. R < 1. Since our focus is the effect of homophily, we express the condition for eradication as a function of α. In other words for any α ∈ (α − c , α + c ), we have R < 1, where The existence of two physical solutions of α c implies that increasing mixing may not only push the system below threshold, but also push it above for α > α + c and thus hinder eradication. This possibility emerges from the existence of a local minimum in the reproduction number with respect to the mixing rate, α. The attack rate monotonously increases with R 0 . More interestingly, as indicated by the dashed lines, R 0 separates three different regimes regarding the dependence of the attack rate on α. In Fig. 1C we explicit these three regimes by presenting the attack rate as a function of α following the dashed lines. We categorize these regimes, in ascending order with respect to R 0 , as critical, intermediate and saturated. Close to threshold (critical), the attack rate decreases with the mixing between adopters and non adopters. In contrast, in the intermediate regime, we observe a non monotonous dependence of the attack rate on α. Finally, far from the epidemic threshold, in a saturated regime, the attack rate continuously increases with α. The variety of regimes stems from the competition between two processes. On the one hand, as mixing increases, adopters provide protection to non adopters. This is illustrated by a decreasing reproduction number, R, (top-right panel in Fig. 1C ) and attack rate among non adopters (bottom-right panel in Fig. 1C ). On the other hand, protection vanishes inside the adoption cluster (bottom-left panel in Fig. 1C ). Adoption and infectivity, i.e. the basic reproduction number, R 0 , then determine which of these two processes holds the upper hand. The schema displayed in Fig. 2 illustrates both processes. For low coverage, complete, homophilic adoption is more beneficial, since random mixing does not provide any protection -neither to non adopters nor to adopters. In contrast, for high coverage, random distribution of adopters acts as a firewall for non adopters and enables to immunize the population. Whether a given adoption is sufficient to provide protection to non adopters is determined by the basic reproduction number, R 0 . Far from the critical threshold, in the saturated regime, the attack rate among non adopters only slowly varies with the reproduction number, R. Accordingly, mixing increases the attack rate. In contrast, close to the threshold, in the critical regime, the attack rate among non adopters strongly varies with a decrease in the reproduction number. Therefore, mixing is beneficial and allows to push the system below the critical point, from which then also adopters benefit. Finally, in the intermediate regime, the system switches between critical and saturated, wherefore we observe a non monotonous dependence with respect to α. We kept the coverage of the app, T , fixed in the above analysis of the different regimes. To investigate the effect of coverage, we fix the basic reproduction number, R 0 , and vary α for different values of T . Fig. 3 shows the attack rate as a function of the reproduction number, R. While colors indicate different values of T , the mixing rate, α, is mapped to point size. For high values of T (0.9 & 0.7), the system is in between the intermediate and critical regime. Accordingly, we find a local maximum, but the disease can also be eradicated, R < 1. For lower values of T (0.5 & 0.3), we observe a local minimum of the reproduction number since T < T c . This local minimum in the reproduction number, then causes an additional minimum in the attack rate for T = 0.5. In contrast, for T = 0.3 the attack rate continuously increases with α. More interestingly, due to the non monotonous form of R, we observe different attack rates for equal values of the reproduction number. Overall, Fig. 3 illustrated how the three dynamical regimes can also be reached by varying adoption, T . To corroborate our theory, we used a real-world primary-school network [42] . This physical contact network consists of 226 nodes (students) grouped in 10 communities (classes), whose edges are weighted by the time duration of proximity contacts. To transform the temporal network into a static, binary one, we threshold the aggregated weights. Normalizing with respect to the maximal weight, the relative threshold of 0.021 was fixed just before the network would not have been connected anymore. The resulting network is shown in Fig. 4A & 4B for two dissimilar app coverings. To systematically study the effect of homophilic vs. random adoption, we leveraged the modular structure of the network. For a given value of app adoption, T , we entirely covered m ≤ 10T communities with app, while randomly distributing the remaining fraction of apps, T − m/10, through all the other communities. For each value of app coverage, T , we computed the adoption homophily h as the fraction of edges whose end nodes where both app or non app users. The mixing parameter α is then obtained as This correlates negatively with m, so that m = 0 corresponds to random adoption, α ≈ 1, while m = 10T to complete homophilic adoption, hence low values of α. To sum up, we analyzed how homophilic adoption of DPT apps affect the disease dynamics. We unveiled the existence of different dynamical regimes, originating from a non trivial dependence on the mixing rate. In the critical regime, mixing is beneficial, may enable to push the system below threshold and thus eradicate the disease. Far from the threshold, mixing is detrimental due to a waning protection among app users. Finally, for an intermediate case, the system switches between the two regimes with varying mixing rate, and the dependence is non monotonous. Moreover, we discovered a local minimum in the reproduction number, existing whenever adoption is smaller than 2/3. Accordingly, an increasing mixing rate may even push the system above the critical threshold and cause the disease to spread. Interestingly, the different regimes in the attack rate can arise indepen-dently on whether the reproduction has a local minimum or not. Switching our focus to the real world, adoption of DPT apps is generally very low, between 20% and 40% [19, 20] . Accordingly, it is very improbable to control the epidemic with such low adoption. In this sense, our results indicate that homophilic adoption is beneficial to this point. However, if health authorities desire to actually contain the spread of SARS-COV-2, i.e. reach the critical regime, overcoming homophily in health behavior to have a more homogeneous distribution may prove crucial. Overall, this study should contribute to the mathematical foundation on how heterogeneity in human behavior affects the course of epidemics and spark new theoretical studies. A preliminary analysis indicates that equivalent dynamical regimes exists in the case of imperfect immunization, i.e. vaccination, but also for any other prophylactic measures, such as social distancing or the use of face masks. PGC2018-094754-B-C21 and No. FIS2015-71582-C2-1) Spanish MINECO (grant PGC2018-094754-B-C21), ICREA Academia, and the James S. McDonnell Foundation (Grant No. 220020325). We thank L. Arola-Fernández for helpful comments and suggestions Plagues and Peoples Modeling Infectious Diseases in Humans and Animals Selective epidemiologic control in smallpox eradication Contact investigation for tuberculosis: A systematic review and meta-analysis Contact Tracing and the Control of Human Immunodeficiency Virus Infection Contact tracing performance during the Ebola epidemic in Liberia Partner Notification to Prevent Pelvic Inflammatory Disease in Women Severijnen, Modeling prevention strategies for gonorrhea and chlamydia using stochastic network simulations Factors that make an infectious disease outbreak controllable The effectiveness of contact tracing in emerging epidemics Logistics of community smallpox control through contact tracing and ring vaccination: A stochastic network model Contact tracing in stochastic and deterministic epidemic models Infectious disease control using contact tracing in random and scale-free networks Contact tracing and disease control Case isolation and contact tracing can prevent the spread of smallpox Controlling emerging infectious diseases like SARS A population-based controlled experiment assessing the epidemiological impact of digital contact tracing Automated and partly automated contact tracing: a systematic review to inform the control of COVID-19 Early evidence of effectiveness of digital contact tracing for SARS-CoV-2 in Switzerland The epidemiological impact of the nhs covid-19 app Effectiveness of isolation, testing, contact tracing, and physical distancing on reducing transmission of SARS-CoV-2 in different settings: a mathematical modelling study Bidirectional contact tracing could dramatically improve COVID-19 control Modelling the impact of testing, contact tracing and household quarantine on second waves of covid-19 Quantifying SARS-CoV-2 transmission suggests epidemic control with digital contact tracing Effect of manual and digital contact tracing on covid-19 outbreaks: a study on empirical contact data Feasibility of controlling COVID-19 outbreaks by isolation of cases and contacts Quantifying the effects of contact tracing, testing, and containment measures in the presence of infection hotspots Digital proximity tracing on empirical contact networks for pandemic control Anatomy of digital contact tracing: role of age Virus spread versus contact tracing: Two competing contagion processes Message-passing approach to epidemic tracing and mitigation with apps Contact tracing in configuration models The effectiveness of backward contact tracing in networks (2020) Drivers of acceptance of covid-19 proximity tracing apps in switzerland: Panel survey analysis The spread of behavior in an online social network experiment An experimental study of homophily in the adoption of health behavior Modelling the influence of human behaviour on the spread of infectious diseases: A review Statistical physics of vaccination On the definition and the computation of the basic reproduction ratio R0 in models for infectious diseases in heterogeneous populations compartmental epidemic models The construction of next-generation matrices for Subject collections The construction of next-generation matrices for compartmental epidemic models The effect of opinion clustering on disease outbreaks High-resolution measurements of face-to-face contact patterns in a primary school