Skip to main content
Springer logoLink to Springer
. 2025 Aug 18;91(3):28. doi: 10.1007/s00285-025-02252-7

Learned behavioral avoidance can alter outbreak dynamics in a model for waterborne infectious diseases

Anna J Poulton 1,3,, Stephen P Ellner 1,2
PMCID: PMC12360992  PMID: 40824496

Abstract

Many animals show avoidance behavior in response to disease. For instance, in some species of frogs, individuals that survive infection of the fungal disease chytridiomycosis may learn to avoid areas where the pathogen is present. As chytridiomycosis has caused substantial declines in many amphibian populations worldwide, it is a highly relevant example for studying these behavioral dynamics. Here we develop compartmental ODE models to study the epidemiological consequences of avoidance behavior of animals in response to waterborne infectious diseases. Individuals with avoidance behavior are less likely to become infected, but avoidance may also entail increased risk of mortality. We compare the outbreak dynamics with avoidance behavior that is innate (present from birth) or learned (gained after surviving infection). We also consider how management to induce learned avoidance might affect the resulting dynamics. Using methods from dynamical systems theory, we calculate the basic reproduction number Inline graphic for each model, analyze equilibrium stability of the systems, and perform a detailed bifurcation analysis. We show that disease persistence when Inline graphic is possible with learned avoidance, but not with innate avoidance. Our results imply that management to induce behavioral avoidance can actually cause such a scenario, but it is also less likely to occur for high-mortality diseases (e.g., chytridiomycosis). Furthermore, the learned avoidance model demonstrates a variety of codimension-1 and -2 bifurcations not found in the innate avoidance model. Simulations with parameters based on chytridiomycosis are used to demonstrate these features and compare the outcomes with innate, learned, and no avoidance behavior.

Supplementary Information

The online version contains supplementary material available at 10.1007/s00285-025-02252-7.

Keywords: Avoidance behavior, Backward bifurcation, Chytridiomycosis, Environmental transmission, Infectious diseases, Stability

Introduction

Resistance mechanisms are broadly defined as ways in which infection can be prevented or reduced (Miller et al. 2005; Roy and Kirchner 2000). The immune response is an important such mechanism, but other paths to resistance may affect host-pathogen dynamics in different ways (Reluga and Medlock 2007). Here we focus on avoidance behavior, through which individuals attempt to escape becoming infected by avoiding environments or interactions that carry an infection risk (Behringer et al. 2018). Examples from across a variety of taxa include avoiding interactions with infected conspecifics (mice: Boillat et al. 2015; frogs: Herczeg et al. 2024), avoiding consuming potentially contaminated food or water (elephants: Ndlovu et al. 2018; bonobos: Sarabian et al. 2018; nematodes: Zhang et al. 2005), and avoiding the pathogen (or some indicator of its presence) in the environment directly (frogs: McMahon et al. 2021, termites: Rosengaus et al. 1999). The level of avoidance expressed by an individual at a specific time may or may not depend on disease prevalence. For instance, animals may express avoidance by limiting contact with all conspecifics, or may only avoid interacting with conspecifics that appear to be infected, in which case the level of behavioral expression is dependent on disease prevalence in the population (Herczeg et al. 2024). Additionally, while avoidance behavior can reduce the chance of becoming infected, it may also carry fitness trade-offs: for example, if it decreases opportunities to obtain food or increases predation risk (Behringer et al. 2018). Although our focus here is on infectious diseases, very similar concepts of avoidance behavior also apply to parasitism (Ezenwa et al. 2022).

We broadly classify avoidance behaviors in response to disease into two categories: innate avoidance and learned avoidance. Innate avoidance behavior is present in individuals without any prior exposure or experience with the pathogen/disease. For instance, juvenile agile frogs (R. dalmatina) tended to avoid conspecifics infected with Ranavirus, even with no prior exposure to the virus (Herczeg et al. 2024). Mice have similarly been shown to express innate avoidance of infected conspecifics (Boillat et al. 2015). On the other hand, learned avoidance behavior is only acquired after experience with the pathogen (e.g., after recovering from an infection). For instance, both fruit flies (D. melanogaster) and nematodes (C. elegans) have been shown to express learned avoidance of pathogenic bacteria (Babin et al. 2014; Zhang et al. 2005). It is not always clear from observation alone whether avoidance behavior is innate or learned, but behavioral experiments can be used to distinguish between the two (e.g., McMahon et al. 2021).

An especially interesting example of learned avoidance behavior occurs in response to chytridiomycosis, a disease caused by the Bd (Batrachochytrium dendrobatidis) fungus that affects many amphibian species worldwide (Scheele et al. 2019). The Bd fungus is spread by waterborne zoospores that are shed by infected hosts (Berger et al. 2005). Experiments by McMahon et al. (2014, 2021) showed that in some species of frogs, individuals that experienced a chytridiomycosis infection could learn to avoid areas where the Bd fungus was present. The authors suggest that for amphibian species with the capacity for learned avoidance, inducing this behavior in individuals could be a viable management strategy for protecting vulnerable populations of amphibians and increasing the success of reintroduction efforts. As chytridiomycosis often carries a high mortality risk and has caused declines or extinctions in hundreds of amphibian species (Rosenblum et al. 2010; Scheele et al. 2019), learned avoidance behavior and its implications for management deserve further research attention. Thus, we use chytridiomycosis as our primary case study in this paper. While transmission of Bd may also be possible through direct contact (Rowley and Alford 2007), we focus our attention on environmental transmission of disease (e.g., via water or even moist sand/soil (Johnson and Speare 2005) and vegetation (Kolby et al. 2015)).

While modeling behavioral avoidance has received little attention in wildlife host-pathogen systems, avoidance behavior has been included in many models of human disease dynamics (Verelst et al. 2016). Such models have considered how human behavior may affect the outcome of epidemics, and how it can interact with other factors such as information availability, economic indicators, disease prevention measures, and more (Verelst et al. 2016). For instance, (Dashtbali and Mirzaie 2021) modeled how people altering their social distancing practices in response to reported death rates affected the dynamics of COVID-19. Similarly, (Yang et al. 2017) examined the effects of awareness programs (which were assumed to increase avoidance) in a model of cholera dynamics. Other models in human behavioral epidemiology have considered the impacts of vaccination (e.g. Bhattacharyya and Bauch 2011), hygienic behavior (e.g. masking or hand washing, (Wang et al. 2014)), social networks (e.g. Ni et al. 2011), and more.

While our models share some features with human-centric infectious disease models, there are several key differences. For one, human disease models often consider constant population sizes, or that population dynamics are not greatly altered by infection (McCallum 2016). In contrast, examining disease-induced mortality and its impacts on population size and population dynamics is a key question for many diseases of wildlife, including our chytrid example (McCallum 2016). Furthermore, we include a survival cost of avoidance in our model (e.g., due to increased predation risk or decreased access to food-rich areas), which is unlikely to be included in a human-centric disease model. Finally, the goals and policies used for disease management may differ greatly between human and wildlife systems (McCallum 2016).

Here we develop two compartmental ordinary differential equation models to study the epidemiological consequences of innate and learned avoidance behavior in animals in response to waterborne (or more generally, environmentally-transmitted) infectious diseases. The level of behavioral avoidance, along with the associated survival cost, are represented generally and allowed to depend on the current pathogen concentration in the environment. Using methods from dynamical systems theory, we calculate important properties for each model such as the basic reproduction number Inline graphic and the existence/stability of equilibrium points, and carry out a detailed bifurcation analysis. Special attention is given to the impacts of management effort to induce behavior in the learned avoidance system. We show that learned avoidance can lead to complex dynamics, including a variety of codimension-1 and -2 bifurcations, that are not present in the model of innate avoidance. Additionally, we use simulations to compare the outcomes of learned vs. innate vs. no avoidance, with parameters based on chytridiomycosis in frogs. Our work shows that with respect to increasing host population size, the relative performance of behavior types depends strongly on the mortality regime and the effectiveness of behavior at avoiding disease.

Model formulation

Model equations

The forms of our behavioral avoidance models are inspired by the work of (Reluga and Medlock 2007), although we make several changes to focus on wildlife disease modeling (specifically chytrid). Notably, we: (1) include disease-induced mortality, (2) examine environmental transmission via a pathogen pool, (3) consider non-constant avoidance behavior, and (4) include a potential survival cost of avoidance behavior.

We consider two alternative models of behavioral avoidance, which are each summarized in Fig. 1. The first model we examine is the innate avoidance model (Eqs. 1-3), in which all individuals are born with avoidance behavior and the behavior cannot be lost. The compartments of this model represent susceptible individuals with avoidance behavior (A), infected individuals (I), and the pathogen pool (P). Infected individuals shed pathogens into the pool, which in turn infect susceptible individuals. Avoidance behavior is characterized in our model by two functions, Inline graphic and c, which both potentially depend on the current pathogen pool concentration. The function Inline graphic scales the base infection rate and represents the effectiveness of behavior at avoiding infection. It is unitless and constrained by Inline graphic, with Inline graphic near 1 representing weak avoidance and Inline graphic representing strong avoidance. The function c represents a potential survival cost of avoidance behavior (e.g., if it leads to fewer opportunities to obtain food, or greater exposure to predation), and adds to the natural mortality rate for individuals with avoidance behavior. It is constrained by Inline graphic, and has units of daysInline graphic.

Fig. 1.

Fig. 1

Diagrams summarizing the dynamics of the innate avoidance system (Eqs. 1-3; top) and the learned avoidance system (Eqs. 5-8; bottom). The compartments represent susceptible individuals without avoidance behavior (S), susceptible individuals with avoidance behavior (A), infected individuals (I), and the pathogen pool (P).

The innate avoidance system is given by:

graphic file with name d33e443.gif 1
graphic file with name d33e449.gif 2
graphic file with name d33e455.gif 3

The dynamics for the total population size (Inline graphic) of the innate avoidance system are thus

graphic file with name d33e468.gif 4

We assume both Inline graphic and c are Inline graphic (twice continuously differentiable) functions defined for Inline graphic, and furthermore that avoidance behavior should not decrease as pathogen concentration increases: Inline graphic and Inline graphic. The simplest choices for Inline graphic and c are constant functions, in which case we often use the notation Inline graphic and Inline graphic. Note that if Inline graphic and Inline graphic, Eqs. 1-3 reduce to a model without behavior.

We assume that birth (or recruitment) into the population is constant, given by the parameter Inline graphic. Note that we also selected Inline graphic as the natural mortality rate because this results in the equilibrium population size being 1 when there are no other causes of mortality. We thus essentially treat our state variables as unitless, scaled quantities. The parameter Inline graphic represents the base infection rate for susceptible individuals (which is then modified by the avoidance function Inline graphic). Infected individuals may die due to natural mortality, die from disease-induced mortality (Inline graphic), or recover from infection at rate Inline graphic. We further assume that Inline graphic, such that mortality from behavioral avoidance is never greater than mortality from the disease itself. Finally, pathogens are released by infected individuals at the rate Inline graphic, and are lost over time at the rate Inline graphic.

The second model we examine is the learned avoidance model (Eqs. 5 - 8). In this model, avoidance behavior is only gained after surviving an infection event, and may be forgotten over time. The compartments AIP are the same as described for the innate avoidance model, but now there is an additional compartment S representing fully susceptible individuals (no behavioral avoidance). Note that all individuals are born fully susceptible, unlike in the innate avoidance model.

graphic file with name d33e628.gif 5
graphic file with name d33e634.gif 6
graphic file with name d33e640.gif 7
graphic file with name d33e646.gif 8

The dynamics for total population size of the learned avoidance system are the same as in the innate avoidance model, but with Inline graphic:

graphic file with name d33e659.gif 9

There are two paths to learning avoidance behavior. The first is through surviving a natural infection event in the wild: among infected individuals I that recover, a proportion p move into A while Inline graphic move into S. The parameter p effectively represents the probability that avoidance behavior is learned post infection, with Inline graphic. The second path to avoidance behavior is also through infection, but in a controlled setting as the result of management effort. For instance, concerning frogs and chytrid, heat treatments can potentially be used to clear frogs of infection safely while still inducing avoidance behavior (as in McMahon et al. 2014, 2021). The parameter Inline graphic represents a constant rate of management effort put into the system to induce avoidance behavior, resulting in individuals going from Inline graphic (as we assume for simplicity that this action carries no risk of disease-induced mortality). Finally, learned behavioral avoidance may be forgotten over time at rate Inline graphic. All other parameters are as described for the innate avoidance model.

Additionally, one important derived parameter is the basic reproduction number Inline graphic, which represents the number of secondary cases caused by an infected individual in an otherwise susceptible population (Diekmann et al. 1990). We calculate this for each of our models using the next generation matrix approach described in (van den Driessche and Watmough 2002). Typically, we expect an infectious disease to die out when Inline graphic and persist if Inline graphic. However, in certain scenarios disease persistence may be possible even when Inline graphic due to a ‘backward bifurcation’, which we describe more in Sect. 3.3.

Parameter values

Much of our work is analytical and does not require selecting specific parameter values, but for numerical/simulation results when possible we selected parameter values using chytridiomycosis in frogs as our case study (Table 1). It should be noted that parameters for chytridiomycosis dynamics can vary over a large range due to differences between species and environmental factors (such as temperature) (Rosenblum et al. 2010; Tobler and Schmidt 2010; Wilber et al. 2016; Woodhams et al. 2008); where possible we select approximately midway values. Additionally, sometimes we examine parameter values that differ from the default in order to more clearly demonstrate particular analytical findings (e.g., specific bifurcations) numerically.

Table 1.

A summary of parameters/functions for the innate and learned behavioral avoidance models, and their selected default values

Name Meaning Default Value(s) Constraint (s)
Inline graphic Birth/natural mortality 0.0006 Inline graphic
Inline graphic Infection rate Varied Inline graphic
Inline graphic Avoidance effectiveness function Constant; Inline graphic varied in (0, 1] Inline graphic, Inline graphic
c(P) Survival cost of avoidance function Constant; Inline graphic varied in {0, 0.25Inline graphic, Inline graphic} Inline graphic, Inline graphic
Inline graphic Recovery rate from infection 0.04Inline graphic Inline graphic
Inline graphic Disease-induced mortality rate Varied in {0, 0.0044, 0.04, 0.16}Inline graphic Inline graphic
Inline graphic Pathogen release rate 1 Inline graphic
Inline graphic Pathogen death rate 0.24Inline graphic Inline graphic
p Probability of learning avoidance post infection* 1 Inline graphic
w Forgetfulness rate for learned avoidance behavior* 0 Inline graphic
v Management rate for inducing learned avoidance* 0 or varied Inline graphic

* The parameter is only in the learned avoidance model; other parameters are in both models

Inline graphic(Wilber et al. 2016)

Inline graphic(Rosenblum et al. 2010; Tobler and Schmidt 2010)

Inline graphic(Woodhams et al. 2008)

We let days be our unit of time (t). For the natural mortality rate, we select Inline graphic as the default value, which results in approximately 20% annual natural mortality. For the recovery rate, we select Inline graphic, representing a median recovery period of about 17 days (equivalently, Inline graphic10% chance of losing infection over a 3 day time step, reasonably within the range of moderate values given in Wilber et al. 2016). As the chances of dying from chytrid can vary from nearly nothing to nearly Inline graphic depending on species and environment (Rosenblum et al. 2010; Tobler and Schmidt 2010), we consider cases where the chance of dying from chytridiomycosis is absent, low (10%), medium (50%), and high (80%). Given our choice of Inline graphic, we thus select Inline graphic (none), Inline graphic (low), Inline graphic (medium), and Inline graphic (high) for the disease-induced mortality rate.

We set Inline graphic, representing a pathogen death rate of 0.01 per hour (Woodhams et al. 2008). The pathogen shedding rate Inline graphic controls the scaling of P, but since we are treating our state variables as unitless quantities, we fix Inline graphic for simplicity. To keep our simulations simple, we assume that learned avoidance behavior is not forgotten (Inline graphic) and that all infection events result in learning avoidance behavior (Inline graphic). For management effort to induce avoidance (v), we either assume it is absent (Inline graphic indicates an ‘unmanaged’ system), or vary it over a wide interval to demonstrate a range of possible results. We also assume for simplicity in many of our simulations that behavioral avoidance is independent of pathogen concentration (Inline graphic and Inline graphic), varying the effectiveness of behavior Inline graphic in (0, 1] and the survival cost of behavior Inline graphic to represent an absent Inline graphic, low (Inline graphic), or high Inline graphic) cost. However, we show some simulations with non-constant behavior in Sect. S1.8. Additionally, most of our analytical results hold in general for any choice of Inline graphic (that meets our previously noted constraints).

General methods

To assist our analytical investigations of both models, we used the computer algebra software Maxima (version 5.47.0, Maxima 2023). All of these calculations are provided as Maxima scripts available on Figshare at https://doi.org/10.6084/m9.figshare.27914121 (Poulton and Ellner 2024). We also used the MatCont package (version 7.5, Dhooge et al. 2008) in MATLAB (version 24.1.0.2689473 (R2024a), The MathWorks Inc 2024) to carry out a numerical bifurcation analysis in Sect. 4.4. MatCont allows for the numerical identification and continuation (i.e., determination of how they move or change as parameter(s) are gradually varied) of equilibrium points, limit cycles, and most common types of bifurcations (Dhooge et al. 2008). Finally, simulations for both models were performed in R version 4.2.1 (R Core Team 2022), using the ode function with the Adams method from the deSolve package (Soetaert et al. 2010) to solve the system of ODEs. The data from the numerical bifurcation analysis in MatCont and the R scripts to recreate the simulations in Sect. 5 are also provided on Figshare (Poulton and Ellner 2024).

Innate avoidance model analysis

Inline graphic and disease-free equilibrium

Keeping in line with the biological interpretation of the innate avoidance model, we focus our analysis on the non-negative state space (Inline graphic). In Sect. S1.1, we formally define a positively invariant region (Inline graphic) for use in our analysis and show that so long as the initial conditions are non-negative, the state variables will remain non-negative for all time.

The disease-free equilibrium can be found by setting Eq. 1 equal to 0 with Inline graphic. The resulting disease-free equilibrium, DFE = (Inline graphic, Inline graphic, Inline graphic), is given by

graphic file with name d33e1389.gif 10

We use the next generation matrix approach to calculate Inline graphic (van den Driessche and Watmough 2002). We begin by separating the dynamics for infectious compartments (IP) into vectors representing the appearance of new infections (Inline graphic) and other transfers in/out of the compartment (Inline graphic),

graphic file with name d33e1424.gif 11

Note that our decomposition of Inline graphic follows from our biological interpretation of the model, as we don’t consider additions to P to be new infections. Biological interpretations resulting in alternative valid Inline graphic decompositions may lead to different equations for Inline graphic, although the threshold stability properties will be the same (Diekmann et al. 2010; van den Driessche and Watmough 2002). Let FV be the Jacobians of Inline graphic evaluated at the DFE, respectively. Then Inline graphic is then equal to the spectral radius of Inline graphic (i.e., the maximum of the absolute values of the eigenvalues),

graphic file with name d33e1484.gif 12

Note that this means we have Inline graphic when

graphic file with name d33e1497.gif 13

and vice versa. Equation 12 matches our previously stated definition for Inline graphic, as an infected individual produces on average Inline graphic units of pathogen, each of which causes (in an otherwise susceptible population) an average of Inline graphic new infections. Equivalently to considering secondary cases of infected individuals, Inline graphic can also be interpreted in terms of pathogens (i.e., on average how many pathogens result from the infections caused by introducing a small unit of P to an otherwise susceptible population).

As our calculation of Inline graphic satisfies the conditions in Theorem A.1 of Diekmann et al. (2010), it follows that the disease-free equilibrium (Inline graphic) is locally stable when Inline graphic, and unstable for Inline graphic. The same result can also be obtained directly by examining the eigenvalues of the Jacobian evaluated at the DFE, which we do in Maxima (IA_R0_DFEstability.wxmx; Poulton and Ellner 2024). We can further show that for Inline graphic, the DFE is globally asymptotically stable in the positively invariant region Inline graphic (Eq. S4). To do this, we follow the approach from Castillo-Chavez et al. (2002). This approach depends on showing two conditions: first, that in the reduced system with no disease, Inline graphic is globally asymptotically stable (H1), and second, that the dynamics for the infected compartments meet certain conditions stated below (H2). To check condition (H1), we set Inline graphic in Eq. 1, which produces the reduced system Inline graphic, or equivalently Inline graphic. Since this is just a linear differential equation and Inline graphic, Inline graphic is globally asymptotically stable in the reduced system.

For condition (H2), we first write the dynamics for the infected compartments,

graphic file with name d33e1628.gif 14

and let the Jacobian of G evaluated at the DFE be denoted Inline graphic. Then condition (H2) is that Inline graphic for all Inline graphic. Straightforward calculations show that

graphic file with name d33e1657.gif 15

and thus Inline graphic is satisfied when Inline graphic or Inline graphic. Since Inline graphic in Inline graphic and Inline graphic, the condition (H2) is always satisfied in this region. Thus, the DFE is globally asymptotically stable in the region Inline graphic.

Endemic equilibria

Here we solve for the endemic equilibria of the innate avoidance system (i.e., those equilibria with Inline graphic). Setting Eq. 3 equal to 0 and solving gives us Inline graphic. Then, repeating the process for Eqs.1-2 and plugging in Inline graphic gives

graphic file with name d33e1739.gif 16

Solving further requires selecting forms for the behavioral functions Inline graphic and c. Here we focus on the results for when Inline graphic and c are constant functions. Letting Inline graphic and Inline graphic, we find that there is a single endemic equilibrium Inline graphic, given by

graphic file with name d33e1783.gif 17

For this endemic equilibrium to exist (i.e., be positive), we must have Inline graphic, which is precisely the condition for Inline graphic. Additionally, at Inline graphic, the endemic equilibrium equals the DFE. By calculating the Jacobian and employing the Routh-Hurwitz criterion, we can show that the endemic equilibrium is locally stable for Inline graphic, and undergoes a transcritical bifurcation with the DFE at Inline graphic (Sect. S1.2).

Backward bifurcation

We previously showed that under constant behavioral functions Inline graphic and c, the innate avoidance system has a single endemic equilibrium that exists (is positive) and is locally stable for Inline graphic. This is also known as a ‘forward’ bifurcation, referring to the direction of the transcritical bifurcation at Inline graphic (Castillo-Chavez and Song 2004). The typical bifurcation diagram in this case as Inline graphic is varied looks similar to the top panel of Fig. 2. In this section, we show that a forward bifurcation occurs even when Inline graphic and c are non-constant (so long as they follow the assumptions in Table 1). In contrast, another possibility is a ‘backward’ bifurcation, in which a positive endemic equilibrium emerges from the transcritical bifurcation to the left (Castillo-Chavez and Song 2004), as in the bottom panel of Fig. 2. This means that endemic equilibria exist, and the disease may persist, for Inline graphic. Note that disease persistence also demonstrates hysteresis in this case, as the disease will cause an outbreak if Inline graphic increases above 1, but subsequently decreasing Inline graphic below 1 is not enough to ensure the disease dies out (e.g., in the bottom panel of Fig. 2, Inline graphic must decrease below Inline graphic to guarantee that the disease dies out). The examples in Fig. 2 are taken from the learned avoidance system (which we examine in detail in Sect. 4.3), and show that both such bifurcations are possible under learned avoidance.

Fig. 2.

Fig. 2

Examples from the learned avoidance system (see Sect.  4.3) of a forward transcritical bifurcation (top) and a backward transcritical bifurcation (bottom). In contrast, the transcritical bifurcation is always forwards in the innate avoidance system. Solid lines represent locally stable equilibria, while dashed lines represent unstable equilibria. Diagrams were generated by varying Inline graphic, which has a linear relationship with Inline graphic. Top: Inline graphic, bottom: Inline graphic. Other parameter values were Inline graphic and Inline graphic

Here we calculate the conditions for a backward bifurcation to occur, and show they cannot be satisfied under innate avoidance given our assumptions about the model; i.e., we show that the transcritical bifurcation is always forward. To do this, we use the approach in (Castillo-Chavez and Song 2004) (see also van den Driessche and Watmough 2002). The method, based on center manifold theory, allows us to not only show that a transcritical bifurcation of the DFE does occur at Inline graphic, but also to calculate a general condition for the direction of this bifurcation. The calculations result in two bifurcation parameters, Inline graphic and Inline graphic: a backward bifurcation occurs if and only if both of these are positive. The work for these calculations is lengthy and is provided as a Maxima script (IA_backwardsBifurcation.wxmx; Poulton and Ellner 2024). The resulting bifurcation parameters are given in Eqs. 18-19. For brevity, in these equations we let Inline graphic, Inline graphic, Inline graphic, and Inline graphic.

graphic file with name d33e2029.gif 18
graphic file with name d33e2035.gif 19

We can easily see that Inline graphic is always positive. However, Inline graphic is only positive if

graphic file with name d33e2054.gif 20

The right hand side of Eq. 20 is positive, so for a backward bifurcation to occur, we must at the very least have Inline graphic; however, we assumed that under behavioral avoidance, Inline graphic. If this is the case, then Inline graphic must be negative, and the transcritical bifurcation at Inline graphic in the innate avoidance system is always forwards. Under a different model interpretation where Inline graphic is possible, though, a backward bifurcation could potentially occur; for instance, if Inline graphic included within it terms such that transmission was a nonlinear function of incidence. Past work has shown that nonlinear incidence rates can indeed lead to backward bifurcations, see for example Jin et al. (2007).

Learned avoidance model analysis

Inline graphic and disease-free equilibrium

We focus our analysis of the learned avoidance model on the non-negative state space (Inline graphic) to be consistent with biological interpretations. In Sect. S1.1, we again define a positively invariant region (Inline graphic) for use in our analysis and show that so long as the initial conditions are non-negative, the state variables will remain non-negative for all time.

Letting IP = 0 and solving Inline graphic for the learned avoidance system gives us the disease-free equilibrium, DFE = Inline graphic, where Inline graphic and

graphic file with name d33e2159.gif 21

We again use the next generation matrix approach to calculate Inline graphic (van den Driessche and Watmough 2002). Separating the dynamics for infectious compartments (IP) into vectors representing the appearance of new infections (Inline graphic) and other transfers in/out of the compartment (Inline graphic),

graphic file with name d33e2194.gif 22

Again letting FV be the Jacobians of Inline graphic evaluated at the DFE, Inline graphic is found by taking the spectral radius of Inline graphic, from which we obtain

graphic file with name d33e2226.gif 23

In terms of Inline graphic, we have that Inline graphic when

graphic file with name d33e2245.gif 24

Note the similarity to the form of Inline graphic in the innate avoidance system: the only difference is that Inline graphic in Eq. 12 has been replaced with Inline graphic in Eq. 23. This quantity can be thought of as the ‘effective number’ of susceptible individuals in the disease-free equilibrium available to be infected (with Inline graphic scaled by Inline graphic due to the reduced chance of infection with avoidance behavior). As this quantity increases, Inline graphic also increases. Our calculation of Inline graphic again satisfies the conditions in Theorem A.1 of (Diekmann et al. 2010), and thus the disease-free equilibrium (Inline graphic) is locally stable when Inline graphic, and unstable for Inline graphic. The same result can also be obtained by examining the eigenvalues of the Jacobian evaluated at the DFE, which we do in Maxima (LA_R0_DFEstability.wxmx; Poulton and Ellner 2024).

For the innate avoidance system, we showed that the DFE is globally asymptotically stable in the region Inline graphic for Inline graphic. This turns out to not always be the case under learned avoidance, as we show in the next two sections that a stable endemic equilibrium may exist for Inline graphic. Despite this, there are certain subcases in which we can show that the DFE is globally asymptotically stable in the positively invariant region Inline graphic (Eq. S5). In Sect. S1.3, we show that this is the case for the ‘unmanaged’ (Inline graphic) system, again using the approach from (Castillo-Chavez et al. 2002).

Endemic equilibria

To solve for the endemic equilibria, we first set Eq. 8 equal to 0, which again gives us Inline graphic. Then, repeating the process for Eqs. 5-7, we obtain

graphic file with name d33e2388.gif 25

Just as for the innate avoidance system, solving further requires choosing forms for the behavioral functions Inline graphic and c. Here we focus on the case of constant Inline graphic and c. The resulting expressions for the endemic equilibria are long and are discussed further in Sect. S1.4. But the key result is that, depending on parameter values, either zero, one, or two endemic equilibria can exist (i.e., are real and positive). In the case of a forward bifurcation, one endemic equilibrium, which we denote as Inline graphic, exists for Inline graphic. In the case of a backward bifurcation, a saddle-node bifurcation at Inline graphic results in two endemic equilibria (see Fig. 2 bottom, Sect. S1.4). The endemic equilibrium Inline graphic exists for Inline graphic, while the other endemic equilibrium (which we denote Inline graphic, aka the ‘secondary’ endemic equilibrium), only exists for Inline graphic. Thus, much of our attention will be focused on the endemic equilibrium Inline graphic.

In the innate avoidance model, the endemic equilibrium was always locally stable for Inline graphic. However, this is not the case for the learned avoidance model: Inline graphic may be stable or unstable for Inline graphic (and similarly for Inline graphic, when it exists). While the learned avoidance system is too complex to draw meaningful conclusions about local stability from eigenvalue conditions, in Sect. 4.4 we use the MatCont software to demonstrate that the local stability of Inline graphic may change through Hopf bifurcation(s).

While the endemic equilibrium Inline graphic may sometimes be unstable for Inline graphic, we can show that the disease is uniformly persistent in the system when Inline graphic. We define uniform disease persistence as follows (similar to LeJeune and Browne 2023): there exists an Inline graphic such that for all initial conditions Inline graphic with Inline graphic in a region of interest, Inline graphic. We actually prove a more general conclusion, that all state variables are uniformly persistent for Inline graphic. A proof of uniform persistence is given in Sect. S1.5, following the approach in (Freedman et al. 1994). The main step of the proof is to identify a closed positively invariant set B and show that the disease-free equilibrium is the maximal invariant set on the boundary of B. After checking a few additional conditions, the uniform persistence result for Inline graphic follows from simply noting that the disease-free equilibrium is unstable for Inline graphic.

Backward bifurcation

We again use the approach of Castillo-Chavez and Song (2004) to calculate the condition for the transcritical bifurcation at Inline graphic to be backwards. The calculation steps are provided as a Maxima script (LA_backwardsBifurcation.wxmx; Poulton and Ellner 2024) and hold for any choice of the behavioral functions Inline graphic and c. The resulting bifurcation parameters Inline graphic and Inline graphic are given in Equations 26-28; a backward bifurcation occurs if and only if both of these are positive. For brevity, we let Inline graphic, and Inline graphic.

graphic file with name d33e2645.gif 26
graphic file with name d33e2651.gif 27

where

graphic file with name d33e2658.gif 28

It is easy to see that Inline graphic is always positive, but Inline graphic is more difficult to interpret. Here we make note of a few important properties of Inline graphic. First, Inline graphic is always positive, so we can ignore it and focus on the inner terms of Inline graphic. Second, we wrote the formulas for Inline graphic in a specific way to emphasize the fact that increasing disease-induced mortality (Inline graphic) decreases Inline graphic and Inline graphic (while having no effect on Inline graphic, or Inline graphic). Thus, increasing Inline graphic decreases Inline graphic, making a backward bifurcation ‘less likely’. If Inline graphic is sufficiently large, no backward bifurcation will occur. We demonstrate these observations in Fig. 3, which shows the regions of (vp) space for which backward bifurcations occur for different values of Inline graphic. With Inline graphic (Fig. 3 left), backward bifurcations occur over a large area with Inline graphic, but the area shrinks rapidly as Inline graphic is increased, and by Inline graphic backward bifurcations no longer occur. Note that given our chosen parameters, Inline graphic corresponds to a Inline graphic mortality rate from each infection event; equivalently, it represents an approximately 16-fold increase in the mortality rate (compared to background natural mortality). When behavioral avoidance was more effective (Inline graphic in the right panel of Fig. 3), backward bifurcations occurred for larger areas of (vp) parameter space (note especially the change in the x-axis) and for slightly larger disease-induced mortality rates.

Fig. 3.

Fig. 3

The regions of (vp) parameter space for which a backward bifurcation occurs in the learned avoidance model as disease-induced mortality is varied. Left: Inline graphic, right: Inline graphic. The overlapping shaded areas for different values of Inline graphic represent where the transcritical bifurcation at Inline graphic is backwards; outside these regions, the bifurcation is forwards. Backward bifurcations occurred over larger areas of parameter space when behavioral avoidance was more effective (note the different x-axis scales). Other parameters have the values Inline graphic and Inline graphic

Third, again consider the unmanaged system (Inline graphic). Then Inline graphic, Inline graphic, and the condition for a backward bifurcation to occur becomes simply Inline graphic, or equivalently,

graphic file with name d33e2905.gif 29

The right hand side is greater than 1, which violates our assumptions about behavioral avoidance (Inline graphic). Thus, backward bifurcations are not possible in the unmanaged system. This makes sense, as we previously showed that the DFE is globally asymptotically stable for Inline graphic in the unmanaged system. Finally, since we assumed that Inline graphic and Inline graphic, we have that Inline graphic. This means that constant avoidance functions (Inline graphic) represents a ‘best case’ scenario for a backward bifurcation to occur (Inline graphic). Under constant avoidance behavior, the condition for a backward bifurcation to occur is simply Inline graphic.

A backward bifurcation guarantees that an endemic equilibrium exists for some values of Inline graphic, but it does not guarantee disease persistence for Inline graphic. For one, there may or may not be a locally stable endemic equilibrium (or limit cycle), as we demonstrate in Sect. 4.4. Secondly, when there is a locally stable endemic equilibrium (or limit cycle), disease persistence depends on the initial conditions of the system — the dynamics are bistable. Trajectories that begin close enough to the DFE approach it (no disease persistence), while other trajectories approach the stable endemic equilibrium (or limit cycle). In rare cases, the bifurcation analysis presented below shows that the learned avoidance system can even demonstrate ‘tristability’, in which trajectories may approach the stable DFE, a stable endemic equilibrium, or a stable limit cycle.

Some intuition for the backward bifurcation can be gained by considering the ‘effective susceptible population size’, Inline graphic. Consider starting from near the DFE (Inline graphic) and introducing some amount of infection into the system. In typical cases, introducing infection causes a net flow from Inline graphic, as individuals survive infection and learn behavioral avoidance. This decreases the effective susceptible population size, and with fewer vulnerable individuals, the infection tends to die out. However, under certain parameter choices, introducing infection may actually cause a net flow from Inline graphic, leading to an increase in the effective susceptible population size. This can occur if there is management to induce learned avoidance (Inline graphic, meaning Inline graphic), but when individuals with learned avoidance become infected in the wild, they sometimes abandon the behavior upon recovery (Inline graphic is sufficiently small). Then, if the initial infection is sufficiently large, the effective susceptible population size may increase to a level at which the infection can be sustained (see also (Reluga and Medlock 2007), who noted a similar finding). This observation also agrees with our findings regarding disease-induced mortality (Inline graphic), as high enough disease-induced mortality leads to sufficient deaths in the population such that Inline graphic cannot increase to a level at which the infection can be sustained, no matter the flow between A and S.

Limit cycles and bifurcations

We previously demonstrated that a transcritical bifurcation at Inline graphic results in the disease-free equilibrium switching stability, and that this bifurcation may be either forwards or backwards. In the case of a backward bifurcation, two endemic equilibria arise from a saddle-node bifurcation at some Inline graphic. Both of these are codimension-1 bifurcations, meaning that they result as a single parameter is varied (Strogatz 2015). While these are the only two bifurcations in our system that change the number of equilibria that exist (i.e., that are real and positive), there are other codimension-1 bifurcations that change the stability of the equilibria and/or have other global effects, such as the creation/destruction of limit cycle(s). While it is possible to state general conditions for some of these bifurcations (like we did for the backward bifurcation), due to the complexity and number of parameters in our model, such conditions are impossible to interpret in a meaningful way. Thus, in this section we focus on using the MatCont software to numerically detect and continue these bifurcations. In these examples, we vary both the infection rate (Inline graphic) and disease-induced mortality rate (Inline graphic) while fixing the remaining parameters. Parameter values were selected to best demonstrate the resulting bifurcation curves, which sometimes only occur over very small areas.

A Hopf (i.e. Andronov-Hopf) bifurcation simultaneously results in the appearance of a limit cycle and the switch in stability of an equilibrium point (Strogatz 2015). In the learned avoidance system, we found that a Hopf bifurcation may occur around the endemic equilibrium Inline graphic. The Hopf bifurcation may be either supercritical, resulting in a stable limit cycle and unstable fixed point, or subcritical, resulting in an unstable limit cycle and stable fixed point (Strogatz 2015). The top panel of Fig. 4 shows an example bifurcation diagram in which two supercritical Hopf bifurcations occur at Inline graphic and Inline graphic; for Inline graphic in-between, the endemic equilibrium is unstable and a stable limit cycle exists. There is also a supercritical Hopf bifurcation in the bottom panel of Fig. 4 at Inline graphic. In contrast, Fig. 5 shows an example in which there is a subcritical Hopf bifurcation that results in an unstable limit cycle.

Fig. 4.

Fig. 4

Two bifurcation diagrams demonstrating bifurcations of limit cycles in the learned avoidance model. Solid lines represent locally stable equilibria, while dashed lines represent unstable equilibria. Diagrams were generated by varying Inline graphic (which has a linear relationship with Inline graphic). Top (Inline graphic): a supercritical Hopf bifurcation at Inline graphic results in the endemic equilibrium Inline graphic becoming unstable and a stable limit cycle appearing; another supercritical Hopf bifurcation at Inline graphic undoes this. Bottom (Inline graphic): a homoclinic bifurcation near Inline graphic results in the creation of a stable limit cycle, which is destroyed by a supercritical Hopf bifurcation at Inline graphic. Parameter values used were Inline graphic and Inline graphic.

Fig. 5.

Fig. 5

Demonstration of the three types of codimension-1 bifurcations of limit cycles in the learned avoidance system. The left plot shows the size (min/max number of infected individuals) of the resulting limit cycles(s), while the right plot shows the period of the limit cycle(s). As the infection rate Inline graphic increases (with Inline graphic), a subcritical Hopf bifurcation results in an unstable limit cycle, a homoclinic bifurcation results in a stable limit cycle, and then the two limit cycles collide and disappear at the LPC (limit point bifurcation of cycles) point. Other parameters have the values Inline graphic and Inline graphic.

We state the general condition for a Hopf bifurcation to occur at Inline graphic in Sect. S1.6. Due to the complexity our model, though, the resulting condition is difficult to derive meaning from. As for the other equilibria, we showed previously that the DFE only switches stability due to the transcritical bifurcation at Inline graphic, and thus no Hopf bifurcations occur at the DFE. While the condition for a Hopf bifurcation to occur at the secondary endemic equilibrium Inline graphic is similarly difficult to interpret, numerical simulations support that Inline graphic is always unstable when it exists, and thus that there are no Hopf bifurcations around Inline graphic (Fig. S2).

A homoclinic bifurcation occurs when a limit cycle and saddle point collide, resulting in the destruction of the limit cycle (Strogatz 2015). This is a global bifurcation, and cannot be detected by examining the eigenvalues of the Jacobian at the equilibrium point (Strogatz 2015). As the limit cycle gets closer and closer to the saddle point, the period of the cycle approaches infinity; at the bifurcation point the limit cycle becomes a homoclinic orbit (Strogatz 2015). In numerical simulations of the learned avoidance model, we found that a homoclinic bifurcation could occur with the secondary endemic equilibrium Inline graphic. Figure 5 shows an example in which the homoclinic bifurcation involves a stable limit cycle, while Fig. S3 shows an example in which it involves an unstable limit cycle. A homoclinic bifurcation also occurs in the bottom panel of Fig. 4 near Inline graphic (not observable via changes in fixed point stability), resulting in a stable limit cycle which is destroyed by a Hopf bifurcation as Inline graphic increases. The final codimension-1 bifurcation in our model is a limit point bifurcation of cycles (LPC), also known as a fold or saddle-node bifurcation of cycles. At this type of bifurcation, a stable and an unstable limit cycle collide and disappear (Kuznetsov 1998). This is another global bifurcation that cannot be detected through eigenvalue conditions of equilibria (Strogatz 2015). Figure 5 shows an example of an LPC bifurcation that occurs as the infection rate (Inline graphic) varies. This figure also demonstrates that there are regions in the learned avoidance model in which a stable and unstable limit cycle coexist.

The five previously described codimension-1 bifurcations result in bifurcation curves as two parameters are varied. Figures 6 and 7 show a two-dimensional numerical bifurcation diagram for our model resulting from varying both the infection rate (Inline graphic) and the disease-induced mortality rate (Inline graphic). For instance, the backward bifurcation (BB) curve represents the values Inline graphic at which the saddle-node bifurcation of endemic equilibria occurs (and is positive). Similarly, the curve labeled Inline graphic shows where the transcritical bifurcation of the disease-free equilibrium occurs. The bifurcation curves divide the model into ten regions with distinct behavior. In Table 2, we describe for each region the existence/stability of equilibria, existence/stability of limit cycles, and typical behavior of trajectories. Sample trajectories for each region are shown in Fig. 8. For sample trajectories, we focus on the general behavior of the system towards attracting fixed points/limit cycles in the presence of disease (as we previously showed that if no disease is present, the DFE is always globally asymptotically stable).

Fig. 6.

Fig. 6

A bifurcation diagram of the learned avoidance system, varying the infection parameter Inline graphic and the disease-induced mortality parameter Inline graphic. Only the five largest regions are indicated numerically here for clarity; zoomed in figures of the areas indicated with red boxes are given in Fig. 7. The grey line indicates the transcritical bifurcation at Inline graphic, with the area above the line being Inline graphic and below Inline graphic. Other bifurcation curves include a Hopf curve, the saddle-node curve arising from a backward bifurcation (BB), a homoclinic curve (Hom), and a limit point of cycles curve (LPC). Co-dimension two bifurcations are indicated with red stars and include two Bogdanov-Takens (BT) points, a cusp point (CP), a neutral saddle point (NS), and a generalized Hopf point (GH). The parameter values used were Inline graphic and Inline graphic

Fig. 7.

Fig. 7

Zoomed in figures of the areas indicated by red boxes in Fig. 6 (top: left box, bottom: right box). The grey line indicates the transcritical bifurcation at Inline graphic, with the area above the line being Inline graphic and below Inline graphic. Other bifurcation curves include a Hopf curve, the saddle-node curve arising from a backward bifurcation (BB), a homoclinic curve (Hom), and a limit point of cycles curve (LPC). Co-dimension two bifurcations are indicated with red stars and include a Bogdanov-Takens point (BT) and a cusp point (CP). The parameter values used were the same as in Fig. 6

Table 2.

A description of each numerically labeled region in Figs.6 and 7

Region DFE Inline graphic Inline graphic Limit Cycle(s) Sample Trajectories
1 Stable Trajectories approach the DFE
2 (& 10) Stable Stable Unstable Bistability: trajectories approach the DFE or Inline graphic
3 Unstable Stable Trajectories approach Inline graphic
4 Unstable Unstable One (stable) Trajectories approach the stable limit cycle
5 Stable Unstable Unstable Trajectories approach the DFE
6 Stable Unstable Unstable One (stable) Bistability: trajectories approach the DFE or the stable limit cycle
7 Unstable Stable Two (stable & unstable) Bistability: trajectories approach the stable limit cycle or slowly spiral towards Inline graphic
8 Stable Stable Unstable Two (stable & unstable) Tristability: trajectories approach the DFE, the stable limit cycle, or slowly spiral towards Inline graphic
9 Stable Stable Unstable One (unstable) Bistability: trajectories approach the DFE or slowly spiral towards Inline graphic

Sample trajectories for each attracting equilibria/limit cycle are shown for each region in Fig. 8. Equilibrium points include the disease-free equilibrium (DFE), the endemic equilibrium Inline graphic, and the ‘secondary’ endemic equilibrium Inline graphic (which only exists when a backward bifurcation occurs)

Fig. 8.

Fig. 8

Sample trajectories corresponding to the labeled numeric regions in Figs. 6 and 7. Solid red dots represent (locally) stable equilibria, while open red dots represent unstable equilibria. Multiple trajectories are shown when bistability is present (multiple stable equilibria/cycles). Trajectories are described in detail in Table 2. 1) Inline graphic. 2) Inline graphic. 3) Inline graphic. 4) Inline graphic. 5) Inline graphic. 6) Inline graphic. 7) Inline graphic. 8) Inline graphic. 9) Inline graphic. Region 10 was qualitatively similar to region 2 and is not shown here. Line widths were varied to result in clearer depictions of each trajectory. Other parameter values were the same as in Fig.  6.

As Inline graphic and Inline graphic are varied in Figs. 6 and 7, several types of codimension-2 bifurcations occur, which involve the creation/destruction of the codimension-1 bifurcation curves. A cusp point (CP) is found where the backward bifurcation curve collides with the line for the transcritical bifurcation at Inline graphic, at approximately Inline graphic). The backward bifurcation curve ends at the cusp point, and thus the cusp point represents the transition between a backward bifurcation and forward bifurcation as Inline graphic increases. A Bodganov-Takens (BT) bifurcation occurs where a Hopf, homoclinic, and saddle-node curve meet, resulting in the end of the Hopf and homoclinic curves (Guckenheimer 1986). There are two BT points in Fig. 6, where the Hopf and homoclinic curves meet the backward bifurcation (i.e., saddle-node) curve at approximately Inline graphic and Inline graphic. A neutral saddle (NS) point is found on the homoclinic curve near Inline graphic (0.001304, 0.034685). While a neutral saddle simply means that the Jacobian of an equilibrium point has two real eigenvalues that sum to zero, it sometimes indicates more interesting behavior; in this case, the neutral saddle point marks the start of the LPC curve (Guckenheimer 1986; Kuznetsov 1998). The LPC curve doesn’t exist for long, as nearby it collides with the Hopf curve and disappears at a generalized Hopf (GH) point at approximately Inline graphic. A generalized Hopf (i.e., Bautin) bifurcation occurs when the Hopf bifurcation switches from supercritical to subcritical (Kuznetsov 1998). Thus, in Fig. 6 the Hopf bifurcation is subcritical for Inline graphic and supercritical for Inline graphic.

Simulation results

In the presence of disease-induced mortality, avoidance behavior has the potential to increase host abundance, thus benefiting populations by decreasing the chance of extinction via demographic stochasticity. We begin by comparing the outcomes of innate versus learned avoidance behavior to examine what scenarios can lead one to outperform the other (in terms of increasing host population size), and how these outcomes compare to having no avoidance behavior. Assuming constant avoidance functions with Inline graphic (and no management to induce learned avoidance), Fig. 9 shows the steady state population size as the infection rate varies in different mortality scenarios. We see that when disease-induced mortality is low, learned avoidance and innate avoidance generally have similar outcomes, with the steady-state population size being higher than under no avoidance. In the best case scenario, the steady-state population size under learned avoidance was more than Inline graphic greater than under no avoidance. The performance of learned and innate avoidance was even better when behavior was more effective (with Inline graphic in Fig. S4, the steady-state population under learned avoidance was up to 127Inline graphic greater than under no avoidance). With high disease-induced mortality, though, learned avoidance had similar outcomes to no avoidance. Even when behavioral avoidance was very effective, with the chance of dying from each infection event being 80%, few individuals had the chance to learn and benefit from avoidance. Unsurprisingly, the benefits of innate and learned avoidance behavior also lessened as the survival cost of avoidance increased.

Fig. 9.

Fig. 9

The steady-state population size resulting from learned, innate, or no behavioral avoidance as the infection rate (Inline graphic) varies. Learned avoidance generally had similar outcomes to innate avoidance under low disease-induced mortality, and similar outcomes to no avoidance under high disease-induced mortality. Simulations assume constant avoidance behavior for the innate/learned avoidance models, with a moderate effectiveness of behavior (Inline graphic) and the survival cost Inline graphic equal to 0 (no cost), Inline graphic (low cost), or Inline graphic (high cost). The no avoidance model was obtained by setting Inline graphic and Inline graphic. Disease-induced mortality rates were Inline graphic (low), 0.04 (medium), or 0.16 (high). Other parameter values were Inline graphic, and for the learned avoidance model, Inline graphic.

While innate avoidance generally had the best outcomes, in some cases with a small infection rate it performed worse. This is because while all individuals possessing avoidance behavior prevented the disease from persisting, all individuals also experienced the survival cost of avoidance, which brought the steady-state population size down. In contrast, under learned avoidance if the disease cannot persist, the population eventually returns to all fully susceptible individuals (who don’t experience an extra survival cost). However, this difference may be rectified by examining non-constant avoidance behavior: for instance, a behavioral response that ‘turns off’ at very low pathogen concentrations (Figures S5 -S6).

We next consider the effectiveness of management effort to induce avoidance (v) in the learned avoidance system. Figure 10 shows the steady-state population size resulting from varying levels of management effort to induce learned avoidance. We found that management effort was most effective at increasing the steady-state population size when behavioral avoidance was strong, and the cost of behavioral avoidance was not too large. Steady-state population size was maximized at the point where management effort decreased Inline graphic to 1 (note that backward bifurcations did not occur under the chosen simulated parameters). While increasing v further insured a greater decrease in Inline graphic, in cases with a survival cost this leads to slightly decreasing steady-state population sizes. Further simulations showed that management effort was most effective under larger disease-induced mortality (Figure S7, top), which is intuitive since there is more to be gained by avoiding the disease when disease-induced mortality is high. As we assumed that management to induce behavior carries no mortality risk, it thus offers a safe path to learning avoidance behavior in the face of high disease-induced mortality. Management effort to induce avoidance was also more effective when the Inline graphic of the unmanaged system was closer to 1 (Figure S7, bottom).

Fig. 10.

Fig. 10

The steady-state population size resulting from varying levels of management effort to induce behavioral avoidance (v) in the learned avoidance system. Management had the most positive impact when avoidance behavior was effective (small Inline graphic) and the survival cost of avoidance was not too large. Simulations assume moderate disease-induced mortality (Inline graphic) and constant avoidance behavior, with the survival cost Inline graphic equal to 0 (no cost), Inline graphic (low cost), or Inline graphic (high cost). The infection rate Inline graphic was selected to result in Inline graphic when Inline graphic. Other parameter values were Inline graphic and Inline graphic.

Discussion

We examined models representing two alternative mechanisms for behavioral avoidance: innate avoidance, which is present from birth, and learned avoidance, which may be gained after an infection event. The innate avoidance model showed relatively simple behavior, in which there was a single endemic equilibrium and disease persistence was only possible for Inline graphic. In contrast, the learned behavioral avoidance model showed a wealth of codimension-1 and -2 bifurcations, resulting in potential disease persistence for Inline graphic and other complex model behavior, such as limit cycles. We provided analytical results for these bifurcations when possible, and otherwise performed numerical bifurcation analyses to demonstrate our observations. Our work showed that learned avoidance behavior may lead to interesting dynamics in waterborne (or more generally, environmentally-spread) disease systems, and that it may have unexpected consequences when interacting with management effort to control the disease. It is noteworthy that such varied and complicated dynamics are possible even for the simple models of avoidance behavior that we focused on in this paper.

Many management strategies to control the spread of diseases work by influencing factors to decrease the reproduction number (through vaccinations, quarantines, etc.), ideally bringing it below 1 (Ridenhour et al. 2014). Thus, backward bifurcations have important implications for disease management, as their existence in a system implies that bringing Inline graphic below one is not enough to ensure the disease dies out. Interestingly, backward bifurcations were only possible in the learned avoidance system, and only when management effort to induce avoidance behavior was non-zero. While this is an unexpected consequence, our analysis also demonstrated that backward bifurcations became ‘less likely’ under higher disease-induced mortality. As chytridiomycosis carries a high mortality risk for many species of amphibians (Rosenblum et al. 2010; Tobler and Schmidt 2010), backward bifurcations may be less of a concern for their management. However, we found that backward bifurcations were still possible at disease-induced mortality rates high enough to be relevant for many diseases of fish and wildlife.

Reintroductions of amphibians have failed due to Bd presence (Stockwell et al. 2011), which can persist in the environment and on more tolerant host species (Brannelly et al. 2015; Johnson and Speare 2005; Narayan et al. 2014). (McMahon et al. 2021) suggest that inducing avoidance behavior (e.g., in captive bred individuals before release) could help improve the establishment and persistence of amphibian populations. Our simulations of management effort to induce avoidance behavior showed that it could increase the size of amphibian populations and even reduce Inline graphic below 1, especially when the behavioral response was strong and with little additional survival cost. However, our work considered a relatively simple implementation of such management (constant effort over time) in wild individuals. Future work could consider time-varying management strategies, or even add an optimal control aspect to the model to consider when it is best to apply management effort to induce avoidance behavior. For instance, one might consider the optimization of a captive-breeding program in which behavior may be induced in individuals before release at an additional cost. Of course, in practice, management to induce behavior would only be useful in species which have the capacity for learning behavioral avoidance: while (McMahon et al. 2014, 2021) found two frog species that demonstrated significant learned avoidance, two other tested species did not demonstrate such a capacity. Behavioral studies, such as those performed in (McMahon et al. 2014, 2021), would be needed before implementing such a management strategy for other species.

We made some simplifications to our model to make obtaining analytical results more feasible, but there are many interesting questions that could be answered with more complex models of learned and innate behavioral avoidance. For one, our model assumes a constant environment through time, but in reality, seasonality is not only an important aspect of amphibian population dynamics (e.g. reproduction, migration) (Borzée et al. 2019; Kinney et al. 2011) but also Bd dynamics. The growth of Bd is maximized around 17-25 Inline graphicC (62-77 Inline graphicF), with slower or no growth outside this range (Piotrowski et al. 2004), meaning that prevalence and impacts of Bd may vary greatly over the course of a year (Kinney et al. 2011; Lenker et al. 2014; Longo et al. 2010). We also kept our learned avoidance model to four state variables, focusing on how avoidance might confer a lower chance of infection. However, should infection occur, avoidance could also potentially result in lower infection severity or faster recovery, in which case a model with multiple infectious compartments would be worth examining. Furthermore, we did not consider a load-dependent model, although in reality the impacts of Bd (e.g. mortality) are highly load-dependent (Wilber et al. 2016). A model with sequential infectious stages, or better yet an integral projection model (e.g., Wilber et al. 2016), would be best suited for analyzing the interactions between behavior and load. Other potential generalizations of our model include examining non-constant recruitment functions or additional modes of infection (e.g., direct host-to-host transmission along with environmental transmission).

Because we focused on relatively simple models for avoidance behavior, there is scope for further research examining more complicated adaptive behavioral responses. For instance, realistically, animals may abandon avoidance behaviors quicker if the cost is higher, when disease incidence is low, or when other mortality risks are more pressing (e.g., if avoidance behavior makes it harder to capture prey and they and they are close to starvation). Finally, an interesting question is that of the evolution of avoidance behavior. (McMahon et al. 2021) theorize that the lack of significant innate/learned avoidance in some tested species could be related to species having only a limited evolutionary history with Bd, or already having other resistance/tolerance mechanisms that result in a lower selective pressure for avoidance. Future modeling work could study what factors favor the evolution of avoidance behavior, and how it interacts with other resistance/tolerance mechanisms.

Disease outbreaks can cause increased pressures on animal populations already impacted by climate change, invasive species, habitat loss, and other anthropogenic pressures (Smith et al. 2009; Wake and Vredenburg 2008). Such factors may also increase the emergence and spread of wildlife diseases (Lafferty and Gerber 2002; Smith et al. 2009), potentially leading to worldwide impacts, as has been seen with chytridiomycosis (Scheele et al. 2019). Behavioral avoidance offers an additional route for animals to resist potentially deadly diseases, and has been demonstrated in a variety of taxa. Our work illustrates important dynamics related to innate and learned avoidance in waterborne diseases, and shows how and when management to induce avoidance behavior may help bolster host populations. Inducing behavior as a management tactic has indeed already proven successful in other contexts: for example, conditioned taste aversion has been used to dissuade threatened predators from consuming toxic prey (Ward-Fear et al. 2024) and predator avoidance behavior can be induced in captured/captive-bred prey to help improve survival after release (Edwards et al. 2021). Behavioral avoidance thus offers an additional option alongside a suite of existing disease management strategies in wildlife (Langwig et al. 2015) that could help improve future conservation and reintroduction efforts.

Supplementary Information

Below is the link to the electronic supplementary material.

Acknowledgements

We thank the Cornell BEEID theory group for their helpful comments and feedback on this manuscript.

Author contributions

Both authors conceptualized the project and designed the methodology; Anna J. Poulton performed the analysis, wrote the code, and generated the visualizations; Stephen P. Ellner provided supervision; Anna J. Poulton wrote the original manuscript draft; both authors contributed to review and editing.

Funding

We acknowledge support from NSF Grant DEB-1933497.

Data availability

Novel code, Maxima scripts, and output (Poulton and Ellner 2024) are available on Figshare (https://doi.org/10.6084/m9.figshare.27914121).

Declarations

Conflict of interest

The authors declare there are no conflicts of interest.

Footnotes

The original online version of this article was revised due to update in the funding section.

Publisher's Note

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

References

  1. Asada T, Yoshida H (2003) Coefficient criterion for four-dimensional Hopf bifurcations: a complete mathematical characterization and applications to economic dynamics. Chaos, Solitons Fractals 18(3):525–536 [Google Scholar]
  2. Babin A, Kolly S, Schneider F, Dolivo V, Zini M, Kawecki TJ (2014) Fruit flies learn to avoid odours associated with virulent infection. Biol Let 10(3):20140048 [DOI] [PMC free article] [PubMed] [Google Scholar]
  3. Behringer DC, Karvonen A, Bojko J (2018) Parasite avoidance behaviours in aquatic environments. Philos Trans Royal Soc B Biol Sci 373(1751):20170202 [DOI] [PMC free article] [PubMed] [Google Scholar]
  4. Berger L, Hyatt AD, Speare R, Longcore JE (2005) Life cycle stages of the amphibian chytrid Batrachochytrium dendrobatidis. Dis Aquat Org 68(1):51–63 [DOI] [PubMed] [Google Scholar]
  5. Bhatia N, Szegö G (1967). Dynamical Systems: Stability Theory and Applications. Lecture notes in mathematics. Springer-Verlag
  6. Bhattacharyya S, Bauch CT (2011) “Wait and see’’ vaccinating behaviour during a pandemic: a game theoretic analysis. Vaccine 29(33):5519–5525 [DOI] [PubMed] [Google Scholar]
  7. Boillat M, Challet L, Rossier D, Kan C, Carleton A, Rodriguez I (2015) The vomeronasal system mediates sick conspecific avoidance. Curr Biol 25(2):251–255 [DOI] [PubMed] [Google Scholar]
  8. Borzée A, Choi Y, Kim YE, Jablonski PG, Jang Y (2019). Interspecific Variation in Seasonal Migration and Brumation Behavior in Two Closely Related Species of Treefrogs. Frontiers in Ecology and Evolution 7
  9. Brannelly LA, Hunter DA, Lenger D, Scheele BC, Skerratt LF, Berger L (2015) Dynamics of Chytridiomycosis during the Breeding Season in an Australian Alpine Amphibian. PLoS ONE 10(12):e0143629 [DOI] [PMC free article] [PubMed] [Google Scholar]
  10. Castillo-Chavez C, Feng Z, Huang W (2002). On the computation of R0 and its role in global stability. In C. Castillo-Chávez, S. Blower, P. van den Driessche, D. Kirschner, and A.-A. Yakubu (Eds.), Mathematical approaches for emerging and reemerging infectious diseases: An introduction., Volume IMA 125, pp. 229–250. Springer
  11. Castillo-Chavez C, Song B (2004) Dynamical models of tuberculosis and their applications. Math Biosci Eng 1(2):361–404 [DOI] [PubMed] [Google Scholar]
  12. Dashtbali M, Mirzaie M (2021) A compartmental model that predicts the effect of social distancing and vaccination on controlling COVID-19. Sci Rep 11(1):8191 [DOI] [PMC free article] [PubMed] [Google Scholar]
  13. Dhooge A, Govaerts W, Kuznetsov YA, Meijer HG, Sautois B (2008) New features of the software MatCont for bifurcation analysis of dynamical systems. Math Comput Model Dyn Syst 14(2):147–175 [Google Scholar]
  14. Diekmann O, Heesterbeek JAP, Metz JAJ (1990) On the definition and the computation of the basic reproduction ratio R0 in models for infectious diseases in heterogeneous populations. J Math Biol 28(4):365–382 [DOI] [PubMed] [Google Scholar]
  15. Diekmann O, Heesterbeek JAP, Roberts MG (2010) The construction of next-generation matrices for compartmental epidemic models. J R Soc Interface 7(47):873–885 [DOI] [PMC free article] [PubMed] [Google Scholar]
  16. Edwards MC, Ford C, Hoy JM, FitzGibbon S, Murray PJ (2021) How to train your wildlife: a review of predator avoidance training. Appl Anim Behav Sci 234:105170 [Google Scholar]
  17. Ezenwa V, Altizer SM, Hall R (Eds.) (2022). Animal Behavior and Parasitism. Oxford University Press
  18. Freedman HI, Ruan S, Tang M (1994) Uniform persistence and flows near a closed positively invariant set. J Dyn Diff Equat 6(4):583–600 [Google Scholar]
  19. Guckenheimer J (1986) Multiple bifurcation problems for chemical reactors. Physica D 20(1):1–20 [Google Scholar]
  20. Herczeg D, Horváth G, Bókony V, Herczeg G, Kásler A, Holly D, Mikó Z, Ujhegyi N, Ujszegi J, Papp T, Hettyey A (2024) Juvenile agile frogs spatially avoid ranavirus-infected conspecifics. Sci Rep 14(1):23945 [DOI] [PMC free article] [PubMed] [Google Scholar]
  21. Jin Y, Wang W, Xiao S (2007) An SIRS model with a nonlinear incidence rate. Chaos Solitons & Fractals 34(5):1482–1497 [Google Scholar]
  22. Johnson ML, Speare R (2005) Possible modes of dissemination of the amphibian chytrid Batrachochytrium dendrobatidis in the environment. Dis Aquat Org 65(3):181–186 [DOI] [PubMed] [Google Scholar]
  23. Kinney VC, Heemeyer JL, Pessier AP, Lannoo MJ (2011) Seasonal pattern of batrachochytrium dendrobatidis infection and mortality in Lithobates areolatus: affirmation of Vredenburg’s “10,000 Zoospore Rule’’. PLoS ONE 6(3):e16708 [DOI] [PMC free article] [PubMed] [Google Scholar]
  24. Kolby JE, Ramirez SD, Berger L, Richards-Hrdlicka KL, Jocque M, Skerratt LF (2015) Terrestrial dispersal and potential environmental transmission of the amphibian chytrid fungus (Batrachochytrium dendrobatidis). PLoS ONE 10(4):e0125386 [DOI] [PMC free article] [PubMed] [Google Scholar]
  25. Kuznetsov YA (1998) Elements of Applied Bifurcation Theory, Second Edition, vol 112. Springer [Google Scholar]
  26. Lafferty KD, Gerber LR (2002) Good medicine for conservation biology: the intersection of epidemiology and conservation theory. Conserv Biol 16(3):593–604 [Google Scholar]
  27. Langwig KE, Voyles J, Wilber MQ, Frick WF, Murray KA, Bolker BM, Collins JP, Cheng TL, Fisher MC, Hoyt JR, Lindner DL, McCallum HI, Puschendorf R, Rosenblum EB, Toothman M, Willis CK, Briggs CJ, Kilpatrick AM (2015) Context-dependent conservation responses to emerging wildlife diseases. Front Ecol Environ 13(4):195–202 [Google Scholar]
  28. LeJeune L, Browne C (2023) Effect of cross-immunity in a two-strain cholera model with aquatic component. Math Biosci 365:109086 [DOI] [PubMed] [Google Scholar]
  29. Lenker M, Savage A, Becker C, Rodriguez D, Zamudio K (2014) Batrachochytrium dendrobatidis infection dynamics vary seasonally in upstate New York, USA. Dis Aquat Org 111(1):51–60 [DOI] [PubMed] [Google Scholar]
  30. Longo AV, Burrowes PA, Joglar RL (2010) Seasonality of Batrachochytrium dendrobatidis infection in direct-developing frogs suggests a mechanism for persistence. Dis Aquat Org 92(2–3):253–260 [DOI] [PubMed] [Google Scholar]
  31. Maxima (2023). Maxima, a Computer Algebra System. Version 5.47.0. https://maxima.sourceforge.io/
  32. McCallum H (2016) Models for managing wildlife disease. Parasitology 143(7):805–820 [DOI] [PubMed] [Google Scholar]
  33. McMahon TA, Hill MN, Lentz GC, Scott EF, Tenouri NF, Rohr JR (2021) Amphibian species vary in their learned avoidance response to the deadly fungal pathogen Batrachochytrium dendrobatidis. J Appl Ecol 58(8):1613–1620 [Google Scholar]
  34. McMahon TA, Sears BF, Venesky MD, Bessler SM, Brown JM, Deutsch K, Halstead NT, Lentz G, Tenouri N, Young S, Civitello DJ, Ortega N, Fites JS, Reinert LK, Rollins-Smith LA, Raffel TR, Rohr JR (2014) Amphibians acquire resistance to live and dead fungus overcoming fungal immunosuppression. Nature 511(7508):224–227 [DOI] [PMC free article] [PubMed] [Google Scholar]
  35. Miller MR, White A, Boots M (2005) The evolution of host resistance: tolerance and control as distinct strategies. J Theor Biol 236(2):198–207 [DOI] [PubMed] [Google Scholar]
  36. Narayan EJ, Graham C, McCallum H, Hero J-M (2014) Over-wintering tadpoles of Mixophyes fasciolatus act as reservoir host for Batrachochytrium dendrobatidis. PLoS ONE 9(3):e92499 [DOI] [PMC free article] [PubMed] [Google Scholar]
  37. Ndlovu, M., A. Pérez-Rodríguez, E. Devereux, M. Thomas, A. Colina, and L. Molaba (2018). Water for African elephants (Loxodonta africana): faecal microbial loads affect use of artificial waterholes. Biology letters 14(8) [DOI] [PMC free article] [PubMed]
  38. Ni S, Weng W, Zhang H (2011) Modeling the effects of social impact on epidemic spreading in complex networks. XXPhys A 390(23):4528–4534 [Google Scholar]
  39. Piotrowski JS, Annis SL, Longcore JE (2004) Physiology of Batrachochytrium dendrobatidis, a chytrid pathogen of amphibians. Mycologia 96(1):9–15 [PubMed] [Google Scholar]
  40. Poulton AJ, Ellner SP (2024). Learned behavioral avoidance can alter outbreak dynamics in a model for waterborne infectious diseases. Code, scripts, and results. Figshare. 10.6084/m9.figshare.27914121 [DOI] [PMC free article] [PubMed]
  41. R Core Team (2022) R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing, Vienna, Austria
  42. Reluga TC, Medlock J (2007). Resistance mechanisms matter in SIR models. Mathematical biosciences and engineering: MBE 4(3), 553–563. Place: United States [DOI] [PubMed]
  43. Ridenhour B, Kowalik JM, Shay DK (2014) Unraveling R0: considerations for public health applications. Am J Public Health 104(2):e32–e41 [DOI] [PMC free article] [PubMed] [Google Scholar]
  44. Rosenblum EB, Voyles J, Poorten TJ, Stajich JE (2010) The deadly chytrid fungus: a story of an emerging pathogen. PLoS Pathog 6(1):e1000550 [DOI] [PMC free article] [PubMed] [Google Scholar]
  45. Rosengaus RB, Jordan C, Lefebvre ML, Traniello JFA (1999) pathogen alarm behavior in a termite: a new form of communication in social insects. Naturwissenschaften 86(11):544–548 [DOI] [PubMed] [Google Scholar]
  46. Rowley JJL, Alford RA (2007) Behaviour of Australian rainforest stream frogs may affect the transmission of chytridiomycosis. Dis Aquat Org 77(1):1–9 [DOI] [PubMed] [Google Scholar]
  47. Roy BA, Kirchner JW (2000) Evolutionary dynamics of pathogen resistance and tolerance. Evolution 54(1):51–63 [DOI] [PubMed] [Google Scholar]
  48. Sarabian C, Belais R, MacIntosh AJJ (2018). Feeding decisions under contamination risk in bonobos. Philosophical transactions of the Royal Society of London. Series B, Biological sciences 373(1751) [DOI] [PMC free article] [PubMed]
  49. Scheele BC, Pasmans F, Skerratt LF, Berger L, Martel A, Beukema W, Acevedo AA, Burrowes PA, Carvalho T, Catenazzi A, I. D. l. Riva, M. C. Fisher, S. V. Flechas, C. N. Foster, P. Frías-Álvarez, T. W. J. Garner, B. Gratwicke, J. M. Guayasamin, M. Hirschfeld, J. E. Kolby, T. A. Kosch, E. L. Marca, D. B. Lindenmayer, K. R. Lips, A. V. Longo, R. Maneyro, C. A. McDonald, J. Mendelson, P. Palacios-Rodriguez, G. Parra-Olea, C. L. Richards-Zawacki, M.-O. Rödel, S. M. Rovito, C. Soto-Azat, L. F. Toledo, J. Voyles, C. Weldon, S. M. Whitfield, M. Wilkinson, K. R. Zamudio, and S. Canessa, (2019) Amphibian fungal panzootic causes catastrophic and ongoing loss of biodiversity. Science 363(6434):1459–1463 [DOI] [PubMed]
  50. Smith KF, Acevedo-Whitehouse K, Pedersen AB (2009) The role of infectious diseases in biological conservation. Anim Conserv 12(1):1–12 [Google Scholar]
  51. Soetaert K, Petzoldt T, Setzer RW (2010) Solving Differential Equations in R: Package deSolve. J Stat Softw 33(9):1–25. 10.18637/jss.v033.i0920808728 [Google Scholar]
  52. Stockwell M, Clulow S, Clulow J, Mahony M (2011) The impact of the Amphibian Chytrid Fungus Batrachochytrium dendrobatidis on a Green and Golden Bell Frog Litoria aurea reintroduction program at the Hunter Wetlands Centre Australia in the Hunter Region of NSW. Australian Zool 34(3):379–386 [Google Scholar]
  53. Strogatz S (2015). Nonlinear Dynamics and Chaos: With Applications to Physics, Biology, Chemistry, and Engineering (2nd ed.). CRC Press. 10.1201/9780429492563
  54. The MathWorks Inc. (2024). MATLAB version: 24.1.0.2689473 (R2024a) Update 6. https://www.mathworks.com
  55. Tobler U, Schmidt BR (2010) Within- and among-population variation in chytridiomycosis-induced mortality in the toad alytes obstetricans. PLoS ONE 5(6):e10927 [DOI] [PMC free article] [PubMed] [Google Scholar]
  56. van den Driessche P, Watmough J (2002) Reproduction numbers and sub-threshold endemic equilibria for compartmental models of disease transmission. Math Biosci 180:29–48 [DOI] [PubMed] [Google Scholar]
  57. Verelst F, Willem L, Beutels P (2016) Behavioural change models for infectious disease transmission: a systematic review (2010–2015). J R Soc Interface 13(125):20160820 [DOI] [PMC free article] [PubMed] [Google Scholar]
  58. Wake DB, Vredenburg VT (2008). Are we in the midst of the sixth mass extinction? A view from the world of amphibians. Proceedings of the National Academy of Sciences 105(supplement_1), 11466–11473 [DOI] [PMC free article] [PubMed]
  59. Wang Z, Zhang H, Wang Z (2014) Multiple effects of self-protection on the spreading of epidemics. Chaos Solitons & Fractals 61:1–7 [Google Scholar]
  60. Ward-Fear G, Bruny M, Rangers TB, Forward C, Cooksey I, Shine R (2024) Taste aversion training can educate free-ranging crocodiles against toxic invaders. Proc Biol Sci 291(2028):20232507 [DOI] [PMC free article] [PubMed] [Google Scholar]
  61. Wilber MQ, Langwig KE, Kilpatrick AM, McCallum HI, Briggs CJ (2016) Integral Projection Models for host–parasite systems with an application to amphibian chytrid fungus. Methods Ecol Evol 7(10):1182–1194 [DOI] [PMC free article] [PubMed] [Google Scholar]
  62. Woodhams DC, Alford RA, Briggs CJ, Johnson M, Rollins-Smith LA (2008) Life-history trade-offs influence disease in changing climates: strategies of an amphibian pathogen. Ecology 89(6):1627–1639 [DOI] [PubMed] [Google Scholar]
  63. Yang C, Wang X, Gao D, Wang J (2017) Impact of awareness programs on cholera dynamics: two modeling approaches. Bull Math Biol 79(9):2109–2131 [DOI] [PubMed] [Google Scholar]
  64. Zhang Y, Lu H, Bargmann CI (2005) Pathogenic bacteria induce aversive olfactory learning in Caenorhabditis elegans. Nature 438(7065):179–184 [DOI] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Data Availability Statement

Novel code, Maxima scripts, and output (Poulton and Ellner 2024) are available on Figshare (https://doi.org/10.6084/m9.figshare.27914121).


Articles from Journal of Mathematical Biology are provided here courtesy of Springer

RESOURCES