1 Introduction

The effect of individual awareness (or risk perception) in the context of an infectious disease outbreak in a human population has been under investigation for a few years [1, 2]. Human responses to disease outbreaks are sometimes decisive factors. For example, when aware of a disease in their vicinity, people can take precautionary measures such as wearing masks, frequent hand washing, and evading contact with infected individuals to reduce the risk of infection and lower the possibility of disease transmission [35]. The behavioral change triggered in a population corresponds to the information obtained from the circumstances [6]. The information taken from a social or spatial neighborhood is called local information, while information that comes from the news media and public health authorities is called global information. Both sources of information have strong impacts on epidemic dynamics. We refer the readers to [6, 7] for comprehensive surveys of related results.

To investigate the effect of behavioral response, two kinds of awareness, global awareness, which increases with the overall disease prevalence, and local awareness, which increases with the fraction of infected contacts, were studied in [1, 8]. Global and local awareness were described by exponential functions of respective global and local information. By using a mean-field approximation, it was shown that the network topology, homogeneous random network or scale-free network, has an intrinsic impact on the existence of a critical value (in terms of global and local awareness) that stops the epidemics. In [9], a third kind of awareness, called contact awareness, which increases with the individual contact number, was proposed. By using a linear formulation of awareness, the authors showed that both the local and contact awareness can raise the epidemic threshold (hence, inhibit the epidemic from spreading), while the global awareness cannot. The precise functioning of awareness, nevertheless, is still not well understood. One of the goals in this paper is to understand the role of the aforementioned three forms of awareness by providing a more flexible yet analytically tractable framework.

In most of the existing relevant literature (including the work mentioned above), it is assumed that the transmission rate is constant for all individuals. To describe the vast spectrum of disease propagation strategies, the degree-correlated transmission rates were examined in [10]. It was shown that the connectivity-dependent infection scheme can yield threshold effects even in scale-free networks where they would otherwise be unexpected (see e.g., [11, 12]). Therefore, for a more realistic epidemic model, the degree-correlated transmission rates should be taken into account.

In view of the above considerations, in this paper we investigate the impact of global, local, and contact awareness on epidemic spreading with degree-correlated transmission rates. Our model is based on an SIS epidemiological process where, at a given time, each individual can be susceptible (S) or infected (I). The contact network of the population is modeled by a configuration model (described below) where nodes represent individuals and edges indicate potential contacts between individuals. Building on a continuous mean-field approach and the Lyapunov stability theory, we establish the epidemic dynamics and derive the epidemic threshold. The function of awareness is expressed by a non-linear function (the linear function used in [9, 13] can be viewed as a special case) that provides additional flexibility in applications. Through numerical simulation on scale-free networks, we confirm that both local and contact awareness can raise the epidemic threshold while global awareness can only decrease the final epidemic size. However, the influence degree of the awareness is shown to be closely related to the heterogeneous transmission rates.

The rest of the paper is organized as follows. We describe the model and establish the epidemic dynamics by mean-field analysis in Section 2. We determine the epidemic threshold in Section 3 and present numerical simulations in Section 4. Finally, we conclude the paper in Section 5.

2 Model and mean-field analysis

We use a modified SIS (susceptible-infected-susceptible) model to study the epidemic dynamics on a network consisting in n individuals. The contact network is defined as a configuration model [12, 14], where only the network’s degree distribution (that is, the distribution, p k , which governs the probability that a node will have degree k) is specified and the edges are made by random pairing. Configuration model networks are increasingly used for infectious diseases in complex networks, which yield to analytical treatment and allow for heterogeneous contact levels [15]. Data-driven studies reveal that the accuracy of such models is mostly high; see e.g., [16, 17]. In the simplest SIS model, each individual is either in a susceptible state or an infected state. A susceptible individual, say node i, becomes infected upon contact with a single infected individual, say node j, at some infection rate. The infection rate along the edge from \( j \) to  i can be expressed as A i T j , where A i is the admission rate of node i describing the rate that susceptible node i would actually admit an infection through an edge connected to an infected node and T j is the transmission rate of node j meaning the rate that infected node j would actually transmit an infection through an edge connected to a susceptible node [10, 15]. Once infected, a node recovers (i.e., returns to the susceptible state) at rate γ.

In case of no awareness, the admission rate A i is usually assumed to be 1 and the transmission rate T i  = β for all nodes i. As mentioned above, we will consider the degree-correlated transmission rate β k [10], which is defined as the transmission rate of a node with degree k. In addition, we modulate the admission rate A i by some multiplicative factors. First, let 0 ≤ ψ k  ≤ 1 be a decreasing function, which represents the contact awareness of a node with degree k. Naturally, an individual having a larger contact number has a higher risk of being infected [9]. This factor of contact awareness reflects an individual’s risk perception based on the contact information. Second, let 0 ≤ ϕ k  ≤ 1 with ϕ 0 = 1 being a decreasing function accommodating the local and global epidemic information. Specifically, for a node, say i, with degree k, let \( k_{inf} \) be the number of its infected neighbors. The local awareness of node i is given by \(\phi_k^l = 1- \alpha \textrm{(}k_{inf} /k\textrm{)}^{\alpha_{1} }\) for some precaution level, 0 ≤ a ≤ 1 and α 1 is a positive integer reflecting the use of special prophylaxis [1]. The quantity ρ is taken to be representative of the global infection density, that is, the fraction of infected individuals over the whole population. The global awareness of a node with degree k is supposed to be \(\phi _k^g = 1-\textrm{b}_\rho^{\alpha_2} \) with 0 ≤ b ≤ 1 and α 2 similarly being a k positive integer. The parameters α 1 and α 2 embody the impact strength of the local and global epidemic information on the admission rate. The role of them will be clear in the following. For a susceptible node i with degree k and one of its infected neighbor j, the modified infection rate along the edge from j to i can be written as

$$ \begin{array}{rll} \beta_k \psi_k \phi_k^l \phi_k^g =\beta_k \psi_k \left( {1-a\left( {\frac{k_{inf} }{k}} \right)^{\alpha_1}} \right)\left( {1-b\rho ^{\alpha_2 }} \right), \end{array} $$
(1)

where β k is the transmission rate of node i, and k inf is the number of node i’s infected neighbors.

Note that both the infection density ρ and the number of infected neighbors k inf evolve with respect to time t. We mention that the functions \(\phi_x^l \) and \(\phi_x^g \) can be viewed x as an approximation of the exponential function \(\phi_x =e^{-ax^\alpha } \) analyzed in [1, 8]. Setting α 1 = α 2 = 1, we readily reproduce the linear functions used in the work [9].

At time t, let θ(t) be the probability that a randomly chosen edge points to an infected individual. Let ρ k (t) be the infection density among nodes having degree k. As in [18], we obtain

$$ \rho \left( t \right)=\sum\limits_k {p_k \rho_k \left( t \right)\textrm{,}} $$
(2)

and

$$ \theta \left( t \right)=\frac{\sum\nolimits_k {kp_k \rho_k \left( t \right)} }{\sum\nolimits_k {kp_k } }=\frac{\sum\nolimits_k {kp_k \rho_k \left( t \right)} }{\langle k \rangle}, $$
(3)

where \( \langle k \rangle \) is the average degree of the network.

Denote X k to be a random variable counting the number of infected neighbors of a node with degree k. Thus, X k follows a binomial distribution Bin(k, θ(t)) with [19]

$$ {\rm P}\left( X_{k} = s \right)=\left( {_s^k } \right)\theta \left( t \right)^s\left( {1-\theta \left( t \right)} \right)^{k-s} $$
(4)

for 0 ≤ s ≤ k. Given a susceptible individual with degree k, who has s infected neighbors, the probability of infection is

$$ 1-\left( {1-\beta_k \psi_k \left( {1-a\dfrac{s^{\alpha_1 } }{k^{\alpha _1 }}} \right)\left( {1-b\rho \left( t \right)^{\alpha_2 }} \right)} \right)^s $$
(5)

by using (1). Thus, the probability that a susceptible node with degree k becomes infected is shown to be given by

$$ \begin{array}{l} I_k =\mathbb{E}\left[ {1-\left( {1-\beta_k \psi_k \left( {1-a\dfrac{X_k^{\alpha_1 } }{k^{\alpha_1}}} \right)\left( {1-b\rho \left( t \right)^{\alpha_2 }} \right)} \right)^{X_k} } \right] \\ \quad =1-\sum\limits_{s=0}^k \mathbb{P} \left( {X_k =s} \right)\left( {1-\beta _k \Psi_k \left( {1-\alpha \dfrac{s^{\alpha_1}}{k^{\alpha_1 }}} \right)\left( {1-bp\left( t \right)^{\alpha_2 }} \right)} \right)^s. \\ \end{array} $$
(6)

Hence, the discrete-time epidemic dynamics can be described as

$$ \rho_k \left( {t+1} \right)=\left( {1-\gamma } \right)\rho_k \left( t \right)+\left( {1-\rho_k \left( t \right)} \right)I_k . $$
(7)

Considering an infinitesimal interval (t, t + h], similarly as in [9, 20], we can transform (6) and (7) into

$$ \begin{array}{l} \rho_k \left( {t+h} \right)-\rho_k \left( t \right)=-\gamma h\rho_k \left( t \right)+\left( {1-\rho_k \left( t \right)} \right)\left[ {1-\sum\limits_{s=0}^k {{\rm P}\left( {X_k =s} \right)} } \right. \\ \quad \quad \quad \quad \quad \quad \quad \quad \quad\cdot\left. {\left( {1-\beta_k h\psi_k \left( {1-a\dfrac{s^{\alpha_1 }}{k^{\alpha_1 }}} \right)\left( {1-b\rho \left( t \right)^{\alpha_2} } \right)} \right)^s} \right]+o\left( h \right), \\ \end{array} $$
(8)

where the probability P(X k  = s) is given by (4).

By employing L’ Hospital’s rule, we obtain

$$ \begin{array}{rll} &&\mathop{\textrm{lim}}\limits_{h\to 0} \dfrac{1}{h}\left[ {1-\sum\limits_{s=0}^k {\mathbb{P}\left( X_{k} = s \right)\left( {1-\beta_k h\psi_k \left( {1-a\dfrac{s^{\alpha_1 }}{k^{\alpha_1 }}} \right)\left( {1-b\rho^{\alpha_2 }} \right)} \right)^s} } \right] \\ &=&{\mathop{\textrm{lim}}\limits_{h\to 0} \sum\limits_{s=0}^k s\mathbb{P}}\left( X_{k} = s \right)\left(\! {1-\beta_k h\psi_k \!\left(\! {1-a\dfrac{s^{\alpha_1 }}{k^{\alpha_1 }}} \!\right)\left(\! {1-b\rho^{\alpha_2 }} \right)} \!\right)^{s-1}\beta_k \psi (k)\left(\! {1-a\dfrac{s^{\alpha_1 }}{k^{\alpha_1 }}} \!\right)\left( {1-b\rho^{\alpha 2}} \right)\, \\ &=& \beta_k \psi_k \left( {1-b\rho^{\alpha 2}} \right)\sum\limits_{s=0}^k {s\mathbb{P}} \left( X_{k} = s \right)\left( {1-a\dfrac{s^{\alpha_1 }}{k^{\alpha_1 }}} \right) \\ &=& \beta_k \psi_k \left( {1-b\rho^{\alpha 2}} \right)\left( {\mathbb{E}X_k -\dfrac{a}{k^{\alpha_1 }}\mathbb{E}\left( {X_k^{\alpha_1 +1} } \right)} \right). \end{array} $$
(9)

The moment-generating function of X k is defined for all ℓ ∈ (− ∞ , ∞ ) by \(M\left( \ell \right)=\mathbb{E}\left( {e^{\ell X_k }} \right)=\left( {\theta e^\ell +\textrm{1}-\theta } \right)^k\). It is well known that by differentiation at ℓ = 0,

$$ M{ ^\prime} \left( 0 \right)=\mathbb{E}X_{k}=k\theta $$
(10)

and

$$ M^{\left( {\alpha_1 +1} \right)}\left( 0 \right)=E\left( {X_k^{\alpha_1 +1} } \right)=\left( {k\left( {\theta e^\ell +1-\theta } \right)^{k-1}\theta e^\ell } \right)^{\left( {\alpha_1 } \right)}\left| {_{\ell =0} } \right. $$
(11)

for any positive integer α 1.

Dividing both sides of (8) by h and letting h → 0, we obtain

$$ \begin{array}{rll} \dfrac{\textrm{d}}{\textrm{d}t}\rho_k \left( t \right)&=&-\gamma \rho_k +\beta_k \psi_k \left( {1-b\rho^{\alpha_2}} \right)k\theta \left( {1-\rho _k } \right) \\ &&-\beta_k \psi_k \left( {1-b\rho^{\alpha_2 }} \right)\dfrac{a}{k^{\alpha_1 }}\left( {1-\rho_k } \right)\left( {k\left( {\theta e^\ell +1-\theta } \right)^{k-1}\theta e^\ell } \right)^{\left( {\alpha_1 } \right)}\left|\vphantom{\left( {k\left( {\theta e^\ell +1-\theta } \right)^{k-1}\theta e^\ell } \right)} {_{\ell =0} } \right. \end{array} $$
(12)

employing (9), (10) and (11), where ρ and θ are given by (2) and (3), respectively.

For α 1 = α 2 = 1 and β k  ≡ β, (12) reduces to (9) obtained in [9]. The consistency confirms that (12) is valid. Notice that the above system (12) (k = 1, ⋯ , n) is highly involved. However, we will see in the next section that a neat formulation of the epidemic threshold can be derived. Without loss of generality, we will set the recovery rate γ = 1 in the following.

3 Epidemic threshold

In this section, we determine the epidemic threshold in terms of the connectivity-correlated (i.e., k-dependent) transmission rates β k . In the simplest networked SIS model, the epidemic threshold corresponds to a critical value of infection rate β c (or the reproductive ratio R 0), above which the disease in question spreads, while below it the disease dies out [21]. The critical value has been shown to rely on the infection and recovery rates of a disease, as well as the topology of the host population through which it spreads [2226]. By studying the local stability of the infection-free equilibrium, we will present the dependency of awareness on the epidemic threshold. Our results also have implications for the dissemination of a computer virus/worm across the Internet as well as opinions/rumors/news in social networks.

To start with, we establish a linearization system of (12). On omitting higher powers of ρ k and noting that γ = 1, we obtain

$$ \begin{array}{rll} {\dfrac{\mathrm{d}}{\mathrm{d}t}\rho_{k}\!\left( t \right)} &=&-\rho_{k}+\beta_k \psi_k \theta \left({1-b\rho^{\alpha_2 }} \right)\left( {1-\rho_k } \right) \\ && \cdot \left( {k-\frac{a }{k^{\alpha_1 -1}}\left( {\left( {\theta e^\ell+1-\theta } \right)^{k-1}e^\ell} \right)^{\left( {\alpha_1 } \right)}\left|\vphantom{\left( {k\left( {\theta e^\ell +1-\theta } \right)^{k-1}\theta e^\ell } \right)} {_{\ell=0} } \right.} \right) \\ & &\simeq -\rho_k+\beta_k \psi_k \theta \left( {k-\frac{a }{k^{\alpha_1 -1}}\left( {\left( {\theta e^\ell+1-\theta } \right)^{k-1 }e^\ell} \right)^{\left( {\alpha_1 } \right)}\left|\vphantom{\left( {k\left( {\theta e^\ell +1-\theta } \right)^{k-1}\theta e^\ell } \right)} {_{\ell=0} } \right.} \right). \end{array} $$
(13)

Notice that

$$ \begin{array}{rll} &&\left( {\left( {\theta e^\ell +1-\theta } \right)^{k-1}e^\ell } \right)^{\left( {\alpha_1 } \right)}\left|\vphantom{\left( {k\left( {\theta e^\ell +1-\theta } \right)^{k-1}\theta e^\ell } \right)} {_{\ell =0} } \right. \\ &=&\left( {\left( {k-1} \right)\left( {\theta e^\ell +1-\theta } \right)^{k-2}\theta e^{2\ell }+\left( {\theta e^\ell +1-\theta } \right)^{k-1}e^\ell } \right)^{\left( {\alpha_1 -1} \right)}\left|\vphantom{\left( {k\left( {\theta e^\ell +1-\theta } \right)^{k-1}\theta e^\ell } \right)} {_{\ell =0} } \right. \\ &=&\left( {\theta \cdot \ast +\left( {\theta e^\ell +1-\theta} \right)^{k-1}e^\ell } \right)\left|\vphantom{\left( {k\left( {\theta e^\ell +1-\theta } \right)^{k-1}\theta e^\ell } \right)} {_{\ell =0} } \right., \end{array} $$
(14)

where * represents an unspecified or unknown quantity. Therefore, we have linear differential equations for k = 1, ⋯, n

$$ \frac{\textrm{d}}{\textrm{d}t}\rho_k \left( t \right)=-\rho_k +\beta_k \left( {k-\frac{a}{k^{\alpha_1 -1}}} \right)\psi_k \theta , $$
(15)

which implies that the Jacobian matrix of (12) can be calculated as

$$ J=\left( {{\begin{array}{*{20}c} {f_{} g_1 -1} & {f_{} g_2 } & {f_{} g_3 } & \cdots & {f_{} g_n } \\ {f_{} g_1 } & {f_{} g_2 -1} & {f_{} g_3 } & \cdots & {f_{} g_n } \\ {f_{} g_1 } & {f_{} g_2 } & {f_{} g_3 -1} & \cdots & {f_{} g_n } \\ \vdots & \vdots & \vdots & \ddots & \vdots \\ {f_{ n} g_1 } & {f_{ n} g_2 } & {f_{ n} g_3 } & \cdots & {f_{ n} g_n -1} \\ \end{array} }} \right), $$
(16)

where\( f_{ k} =\) β k (k − a/k α1 − 1) ψ k and g k  = kp k / \( \langle k \rangle \) for k = 1, ⋯, n.

By basic determinant transformations (see e.g., [9, Lemma 1]), we obtain the n eigenvalues of J from the characteristic equation det (J − λI) = 0 as λ 1 = ⋯ = λ n − 1 = −1 and \(\lambda_n =-\textrm{1+}\sum {_{k=1}^n f_{ k} g_k } \). The trivial solution ρ k  ≡ 0 of system (12) (which is the infection-free equilibrium) is locally stable if and only if λ n  < 0, which yields

$$ \sum\limits_{k=1}^n {\beta_k \left( {k-\frac{a}{k^{\alpha_1 -1}}} \right)\psi_k k} \frac{p_k}{\left\langle k \right\rangle }<1. $$
(17)

Hence, if (17) holds, the disease dies out; otherwise, the disease spreads. This expression shows that local and contact awareness play a pivotal role in determining whether an epidemic spreads in a population, while the global awareness is independent of the epidemic threshold. The same result was observed in [9].

In what follows, we study the epidemic threshold by instantiating the above general correlated transmission rates in two special examples.

In the first example, we set β k  ≡ β. This infection scheme implies that an infected individual can transmit the infection from all of its edges with the same rate. This example has been addressed in [9] and it has relevance for many of the respiratory infectious diseases such as the 2003 severe acute respiratory syndrome (SARS) [27] and the 2009 influenza A (H1N1) [28]. Introducing β k  = β into (17), we obtain the threshold for containing the disease as

$$ \beta <\beta_c =\frac{\left\langle k \right\rangle }{\left\langle {k^2\psi _k } \right\rangle - a \left\langle {k^{2-\alpha_1 }\psi_k } \right\rangle }. $$
(18)

If we set α 1 = 1, the above threshold reduces to that deduced in [9, Eq. (11)].

Next, we consider a reciprocal infection scheme where \(\beta_{k} = \beta ^{\prime}/k\). Here, the transmission rate is connectivity correlated. This scheme reflects the infection dynamics of some macroparasite diseases where infected agents have a limited pathogen reservoir and the more the agent contacts the less would be the chance of transmission per contact (or per capita) [10]. Substituting \(\beta_{k} = \beta^{\prime}/k\) into (17) yields

$$ \beta {^\prime} <\beta {^\prime}_c =\frac{\left\langle k \right\rangle }{\left\langle {k\psi_k } \right\rangle - a \left\langle {k^{1-\alpha _1 }\psi_k } \right\rangle }. $$
(19)

We mention that this infection scheme also has implications in cyber security. In peer-to-peer (P2P) file-sharing networks (e.g., Napster and Kazaa), every node has a limited upload capacity. The larger the connectivity, the slower each one of its neighbors can download. The probability of successful downloading would thus be inversely proportional to the connectivity. Another plausible scenario is the denial of service (DoS) attacks, which flood a target computer system with bogus requests, making it unable to provide normal services to legitimate users.

The variance \(\sigma =\left\langle {k^2} \right\rangle -\left\langle k \right\rangle^2\) of the degree in a network is an indicator of the degree of asymmetry [12]. Compared with regular graphs or classical random graphs, scale-free networks have much larger σ and their degree distributions are asymmetric. To take a look at the effect of σ on the epidemic threshold, for simplicity, we set ψ k  = 1 and α 1 = 1.

From (18) and (19) we obtain

$$ \beta_c =\frac{\left\langle k \right\rangle }{\sigma +\left\langle k \right\rangle^2- a \left\langle k \right\rangle }, $$
(20)

and

$$ \beta^{\prime}_{c} =\frac{\left\langle k \right\rangle }{\left\langle k \right\rangle - a }. $$
(21)

It is clear that the threshold β c decreases with respect to σ while β c remains unchanged. This suggests that, in our first infection scheme where β k  = β, an epidemic is more inclined to occur for asymmetric networks and that in a reciprocal infection scheme the asymmetry has no influence on the epidemic threshold. For scale-free networks, a similar result was observed in [10] without considering awareness.

4 Simulation study

To complement the theoretical analysis carried out in the previous section, we now investigate the impact of awareness on the epidemic thresholds (18) and (19) by numerical simulations.

Simulations are performed on a scale-free network of n = 2,000 nodes with degree distribution \(p_{k \sim }k^{-2.5}\) (see Fig. 1). The graph is generated by using the configuration_model in NetworkX [29]. This degree exponent is a typical value for networks seen in the real world [30]. Initially 1% of the nodes are infected. We iterate the SIS process until convergence to a steady/equilibrium state. Following [9], we choose the contact awareness as a power-law function \(\psi_{k}= k^{-\mu }\), where μ ≥ 0 . Hence, it follows from (18) and (19) that we obtain the thresholds

$$ {\beta_c =\frac{\left\langle k \right\rangle }{\left\langle {k^{2-\mu }} \right\rangle - a \left\langle {k^{2-\alpha_1 -\mu }} \right\rangle }}. $$
(22)

and

$$ \beta^{\prime}_{c} =\frac{\left\langle k \right\rangle }{\left\langle {k^{1-\mu }} \right\rangle - a \left\langle {k^{1-\alpha_1 -\mu }} \right\rangle }. $$
(23)
Fig. 1
figure 1

The degree distribution of a scale-free network with degree distribution \(p_{k} \sim k^{-2.5}\) used in the simulations. The slope of the dotted line is − 2.5

First, we examine the dependence of β c and \(\beta^{\prime}_{c}\) on local and global awareness, namely the parameters a, b, α 1 and α 2. We fix μ = 0.6. The epidemic threshold β c is measured by calculating the final infected portion ρ for each β from 0 to 1 in steps of 0.01 and the epidemic threshold \(\beta^{\prime}_{c}\) is measured by calculating ρ for each β′ starting from 0 in steps of 0.1. If ρ > 0.0025, we accept the corresponding value of β (or β′) as the threshold value.

To reduce the fluctuation, for each β (or β′), we calculate the average of ρ over 10 simulation runs with different initial infected nodes.

In Fig. 2 we show the results of calculations of the epidemic thresholds β c and \(\beta^{\prime}_{c}\) from the exact formulas (22) and (23), compared with explicit simulations of the model with α 1 = α 2 = 1. We find that both β c and \(\beta^{\prime}_{c}\) are almost unchanged for different b, while they increase with a. An intuitive interpretation is that a higher level of precaution measures adopted by individuals (i.e., larger a) can decrease the likelihood of an epidemic outbreak (i.e., larger β c and \(\beta^{\prime}_{c}\)). The simulated values are slightly larger than the theoretical predictions, which is likely due to a finite-size effect [9, 10]. We illustrate the epidemic thresholds for α 1 = 2, α 2 = 1 in Fig. 3 and those for α 1 = 1, α 2 = 2 in Fig. 4. We find similar behaviors as observed in Fig. 2. By comparing Fig. 2 with Fig. 3 and comparing Fig. 2 with Fig. 4, we see that the epidemic thresholds β c and \(\beta^{\prime}_{c}\) decrease with α 1; while, they are almost unchanged for different α 2. (The dependency between \(\beta_{c}(\beta^{\prime}_{c})\) and α 1 is re-plotted in Fig. 5 for the sake of comparison). These observations agree well with our analytical solutions. The decrease of epidemic thresholds with respect to α 1 has an important epidemiological implication. Nodes with exposure to a lot of infectious contacts (corresponding to a high value of k inf /k) in a network may fail to be infected due to their increased perception of the risk or safety measures (here, smaller α 1) and thus stopping the epidemic spreading. In the real world, medical doctors and care/sex workers should adopt strong safety measures, which may efficiently contain the disease transmission. A similar phenomenon was observed in Bagnoli et al. [1] for a network with a power-law in-degree distribution and an exponential out-degree distribution using degree-independent transmission rates (corresponding to our Fig. 5a). The ineffectiveness of factor α 2 as well as b, nevertheless, indicates the incapability of altering an epidemic threshold for a global influence over the population.

Fig. 2
figure 2

Epidemic thresholds as a function of a and b with \(\psi_{k}= k^{-0.6}\), α 1 = 1 and α 2 = 1. (a) is for β c and (b) is for \(\beta^{\prime}_{c}\). When considering the thresholds versus a, we set b = 0.5; when considering the thresholds versus b, we set a = 0.5. Solid and dotted lines are the exact solutions from (22) and (23)

Fig. 3
figure 3

Epidemic thresholds as a function of a and b with \(\psi_{k}= k^{-0.6}\), α 1 = 2 and α 2 = 1. (a) is for β c and (b) is for \(\beta^{\prime}_{c}\). When considering the thresholds versus a, we set b = 0.5; when considering the thresholds versus b, we set a = 0.5. Solid and dotted lines are the exact solutions from (22) and (23)

Fig. 4
figure 4

Epidemic thresholds as a function of a and b with \(\psi_{k}= k^{-0.6}\), α 1 = 1 and α 2 = 2. (a) is for β c and (b) is for \(\beta^{\prime}_{c}\). When considering the thresholds versus a, we set b = 0.5; when considering the thresholds versus b, we set a = 0.5. Solid and dotted lines are the exact solutions from (22) and (23)

Fig. 5
figure 5

Epidemic thresholds as a function of a with \(\psi_{k}= k^{-0.6}\), α 2 = 1 and b = 0.5. The data are copied from Figs. 2 and 3

Next, we examine the dependence of β c and \(\beta^{\prime}_{c}\) on contact awareness, namely the parameter μ. We show the changes of β c and \(\beta^{\prime}_{c}\) with respect to μ in Fig. 6. Simulated solutions are slightly raised from the expected values again due to a finite-size effect. In Fig. 6a, the value of β c is absent when μ is close to 1. This is because β c  = \(\langle k \rangle / \mathrm{(}\langle k \rangle - 0.5\mathrm{)} > 1\) exceeding the range of β.

Fig. 6
figure 6

Epidemic thresholds as a function of μ with \(\psi_{k}= k^{-\mu }\), a = b = 0.5 and α 1 = α 2 = 1. (a) is for β c and (b) is for \(\beta^{\prime}_{c}\)

5 Conclusions

This paper has addressed the impact of awareness on epidemic outbreaks by proposing a mean-field approach accommodating heterogeneous transmission rates. Our analysis is based on an SIS epidemiological process in random networks modeled by a configuration model. Theoretical and numerical results show that both the contact and local awareness can raise the epidemic threshold, while the global awareness cannot. Our results confirm and further extend the previous observations in [1, 8, 10] to more general forms of awareness as well as degree correlated transmission rates. We found that the non-linear effect encoded in parameter α 1 of local awareness implies that individuals who are exposed to many infectious contacts can effectively contribute to disease control by increasing their awareness of risk.

In the present work, we implicitly assumed that the disease is visible at the same moment it becomes infective. However, from a practical point of view, the information reaction may experience time delay or retardation for an individual. Oscillatory behavior may be displayed if we take delayed/periodic updating mechanisms into account [31]. Applications of the techniques described here are also possible for other network structures, for example, the dynamic contact networks [32], etc. Finally, we mention that a relevant issue we have not addressed is the risk estimation. The form of risk functions in (1) might have implications for disease control [33].