Abstract
Despite the propensity for complex and nonequilibrium dynamics in nature, ecoevolutionary analytical theory typically assumes that populations are at equilibria. In particular, pathogens often show antigenic escape from host immune defences, leading to repeated epidemics, fluctuating selection and diversification, but we do not understand how this impacts the evolution of virulence. We model the impact of antigenic drift and escape on the evolution of virulence in a generalized pathogen and apply a recently introduced oligomorphic methodology that captures the dynamics of the mean and variance of traits, to show analytically that these nonequilibrium dynamics select for the longterm persistence of more acute pathogens with higher virulence. Our analysis predicts both the timings and outcomes of antigenic shifts leading to repeated epidemics and predicts the increase in variation in both antigenicity and virulence before antigenic escape. There is considerable variation in the degree of antigenic escape that occurs across pathogens and our results may help to explain the difference in virulence between related pathogens including, potentially, human influenzas. Furthermore, it follows that these pathogens will have a lower R_{0}, with clear implications for epidemic behaviour, endemic behaviour and control. More generally, our results show the importance of examining the evolutionary consequences of nonequilibrium dynamics.
Main
Infectious diseases remain a major problem for human health and agriculture^{1,2,3,4} and are increasingly recognized as important in ecosystems and conservation^{5}. This has led to the development of extensive theoretical literature on the epidemiology, ecology and evolution of host–pathogen interactions^{6,7,8,9}. Understanding the drivers of the evolution of virulence, typically defined in the evolutionary literature as the increased death rate of individuals due to infection, is a key motivator of this theoretical work^{7,9,10,11,12,13}. Generally, models assume that a higher transmission rate trades off against the intrinsic cost of reducing the infectious period due to higher death rates (virulence), and classically predict the evolution of virulence that maximizes the parasite epidemiological R_{0}^{7,9,10,11,12,13}. In fact, this result only holds in models where ecological feedbacks take a constrained form, such that even relatively simple processes such as densitydependent mortality, multiple infections and spatial structure may lead to diversification or different optima^{9,11,12,14}. Moreover, this classic evolutionary theory examines the longterm equilibrium evolutionary outcome in the context of stable endemic diseases; however, in nature, infectious diseases often exhibit complex dynamics, with potentially important impacts on pathogen fitness^{15,16,17,18}.
Antibodymediated immunity is a critical factor driving the dynamics of important infectious diseases such as seasonal influenza, leading to selection for novel variants that can escape immunity to the current predominant variant^{19,20,21}. Such antigenic escape typically causes the optimal variant of the parasite to change through time as it moves through antigenic space. Moreover, partial cross immunity between the different parasite variants may lead to recurrent epidemics, fluctuations in parasite variants and potentially, variant coexistence^{22,23,24,25}. Previous theory has shown that the evolution of immune escape can lead to dramatic disease outbreaks^{23,24,25}, but the implications of these epidemiological dynamics for the evolution of disease virulence are unknown. This question is challenging, in part because much of the theoretical framework used to study virulence evolution typically considers diseases that are at an endemic equilibrium^{7,9,10,11,12,13}. As such, we currently lack a broad theoretical understanding of the evolution of virulence in the presence of antigenic escape, despite its importance as an epidemic process and the probable implications of its inherently dynamical epidemic nature.
Here we examine the impact of antigenic escape on the evolution of infectious disease in the context of the wellstudied transmission–virulence tradeoff^{9,26}. We first analytically examine the case without cross immunity and then apply a recently introduced ‘oligomorphic’ analysis that combines quantitative genetic and game theoretical approaches^{27} to examine the impact of antigenic jumps and epidemic outbreaks due to cross immunity. Specifically, oligomorphic analysis explicitly models not only changes in the mean trait but also changes in the variance of the trait. This variance is critical to the evolutionary outcome under nonequilibrium dynamics and the approach allows us to model the evolutionary dynamics of populations with multiple peaks in the character distribution. This analysis can be applied across a range of ecological and evolutionary timescales and allows us to examine evolutionary outcomes under nonequilibrium conditions. Our key result is that antigenic escape selects for higher transmission and virulence due to the repeated epidemics caused by immune escape, leading to the longterm persistence of acute pathogens. Indeed, antigenic escape has the potential to select for infectious diseases with substantially higher virulence than that predicted by the maximization of R_{0} in classic disease models.
Results
To tractably model antigenic escape with multiple variants and cross immunity, we follow the simplifying approaches of Gog and Grenfell^{25}. Effectively, the role of cross immunity is to generate protection against becoming infectious with variants not yet encountered. In particular, we assume that cross immunity reduces the transmissibility of, rather than the susceptibility to, future variants. Furthermore, we assume that there is polarizing immunity, such that cross immunity results in a proportion of individuals being completely immune. These assumptions allow tractability and have been shown not to impact the predictions of the model^{25}. Specifically, we consider a population of pathogens structured by a onedimensional antigenic trait x, so that I(t,x) is the density of hosts infected with antigenicity variant x at time t. Following Gog and Grenfell^{25}, we assume that an individual is either perfectly susceptible or perfectly immune to a variant. A variant of pathogen can infect any host, but will be infectious only when the host is susceptible to that variant. When a variant y of pathogen infects a host that is susceptible to a variant x, the host may become (perfectly) immune to the variant x with probability σ(x−y). This is the partial cross immunity function between variants x and y, which takes a value between 0 and 1 and is a decreasing function of antigenic distance x−y between variants x and y. The density of hosts susceptible to antigenicity variant x at time t is noted as S(t,x).
Assuming that all pathogen variants have the same transmission rate β and virulence α, we can describe the dynamics with the following structured ‘susceptibleinfectedrecovered’ model:
where γ is the recovery rate and \(D = \mu \sigma _\mathrm{m}^2/2\) is the diffusion constant due to random mutation in the continuous antigenic space, which is defined by one half of the mutation variance \(\mu \sigma _\mathrm{m}^2\), where μ is the mutation rate and \(\sigma _\mathrm{m}^2\) is the variance in the difference between parental and mutant traits^{28,29}. The dynamics for the density of recovered hosts is omitted from equation (1) as it does not affect the dynamics of the densities of susceptible and infected hosts.
Invasion of a single pathogen
In our first scenario, we start with a population where all hosts are susceptible to any variant (S(0,x) = 1) and a small number of hosts infected by pathogen variant with antigenicity trait x = 0 is initially introduced. The system then exhibits travelling wave dynamics in antigenicity space^{30}. At the front of the travelling wave, I(t,x) is sufficiently small and S(t,x) is sufficiently close to 1. Equation (1a) can then be linearized as
where \(r = \beta  (\gamma + \alpha )\) is the rate of increase of an antigenicity variant before it spreads in the population and causes the buildup of herd immunity. The system (equation 1) asymptotically approaches travelling waves of both pathogen antigenicity distributions I(t,x), which have an isolated peak around the current antigenicity and host susceptibility profile S(t,x), which smoothly steps down towards a low level after the pathogen antigenicity distribution passes through, with a common constant wave speed^{31} (Fig. 1a)
As the width of the partial crossimmunity function \(\sigma (x  y)\) increases, the travelling wave with static shapes described above is destabilized (Extended Data Fig. 1), and the system shows intermittent outbreaks that occur periodically both in time and in antigenicity space^{25,31} (Fig. 1b). However, the wave speed is unchanged from equation (3), as the linearized system (equation 2) towards the frontal end remains the same irrespective of the stability of the wave profile that lags behind (Extended Data Fig. 1).
Evolution of antigenic escape with cross immunity
To predict how cross immunity affects the evolution of antigenic escape, we use an oligomorphic dynamics analysis^{27}. In this analysis, we consider a population composed of different antigenicity ‘morphs’ that can be seen as quasispecies. Specifically, we use the term ‘morph’ to describe the phenotypic trait mean and the continuous variance around this mean. The analysis in the methods allows us to track the dynamics of morph frequencies, p_{i}, and mean trait values, \(\bar x_i\), as:
where s(x) is the susceptibility profile of the population, which depends on the crossimmunity function σ, \(\bar s_i\) is the mean susceptibility perceived by viral morph i, and \(\bar s\) the mean susceptibility averaged over the different viral morphs. Note that, in general, s(x), \(\bar s_i\) and \(\bar s\) will be functions of time, as the susceptibility profile is moulded by the epidemiological dynamics of S(t,x) and I(t,x).
Equation (4a) reveals that, as intuitively expected, morph i will increase in frequency if the susceptibility of the host population to this variant is higher on average. Equation (4b) shows that the increase in the mean antigenicity trait of morph i depends on: (1) the variance of the morph distribution, V_{i}; (2) the transmission rate; and (3) the slope of the susceptibility profile close to the morph mean \(\bar x_i\). Together with an equation for the dynamics of variance under mutation and selection (see Methods), equations (4a) and (4b) allow us to quantitatively predict the change in antigenicity after a primary outbreak, as shown in Fig. 2.
For instance, after a primary outbreak caused by a variant with antigenicity \(\bar x_0 = 0\) at t = 0, the susceptibility profile is approximately constant and given by \(s\left( x \right) = \left( {1  \psi _0} \right)^{\sigma \left( x \right)}\), where ψ_{0} is the final size of the epidemic of the primary outbreak at antigenicity x = 0 (see Methods). Thus, for a decreasing crossimmunity function, σ(x), the slope of the susceptibility profile is positive, which selects for increased values of the mean antigenicity trait \(\bar x_1\) of a second emerging morph (see Methods). As the process repeats itself, this leads to successive jumps in antigenic space. In addition, a more peaked crossimmunity function, σ, yields larger slopes to the susceptibility profile and thus selects for higher values of the antigenicity trait.
Longterm joint evolution of antigenicity, transmission and virulence
We now extend our analysis to account for mutations affecting pathogen lifehistory traits such as transmission and virulence. To simplify, we use the classical assumption of a transmission–virulence tradeoff^{7,9,10,11,12,13} and consider that a pathogen morph, i, has frequency, p_{i}, mean antigenicity trait, \({{{\bar{\boldsymbol x}}}}_{{{\boldsymbol{i}}}}\), and mean virulence \(\bar \alpha _i\). In the methods, we show that the morph’s mean traits change as
where G_{i} is the genetic (co)variance matrix, and the vector on the righthand side is the selection gradient. Note that, while the selection gradient on antigenicity depends on the slope of the antigenicity profile at the morph mean, the selection gradient on virulence depends on the slope of the transmission–virulence tradeoff at the morph mean, weighted by the susceptibility profile at the morph mean.
Assuming we can neglect the buildup of correlations between antigenicity and virulence due to mutation and selection, the genetic (co)variance matrix is diagonal with elements \(V_i^x\) and \(V_i^\alpha\). Then, as shown previously, antigenicity increases if the slope of the susceptibility profile is locally positive, while mean virulence increases as long as \(\beta \prime (\bar \alpha _i) > 1/s\left( {\bar x_i} \right)\). For a fixed antigenicity trait, x = x^{*}, the susceptibility profile converges towards \(s\left( {x^ \ast } \right) = (\gamma + \alpha )/\beta\) and the evolutionary endpoint satisfies
which corresponds to the classical result of R_{0} maximization for the unstructured susceptible infected (SI) model^{14,26}. However, when antigenicity can evolve, selection will also lead to the buildup of a positive covariance C between antigenicity and virulence, resulting in a synergistic effect (Methods). As the antigenicity trait increases, the evolutionary trajectory of virulence converges to the solution of
which corresponds to maximizing the rate of increase of pathogen \(r\left( \alpha \right) = \beta \left( \alpha \right)  \left( {\gamma + \alpha } \right)\) in a fully susceptible population. This is equivalent to maximizing the wave speed \(v\left( \alpha \right) = 2\sqrt {r\left( \alpha \right)D}\), as shown in Methods. Figure 3a shows that, in the absence of cross immunity, the evolutionarily stable (ES) virulence is well predicted by r maximization. With cross immunity (Fig. 3b), virulence evolution is characterized by jumps that reflect the sudden shifts in antigenicity due to cross immunity.
As such antigenic escape selects for higher transmission and virulence and more acute infectious diseases. This has parallels with the results that show that there is a transient increase in virulence at the start of an epidemic with r rather than R_{0} being maximized^{15,16,18,32}, but here we predict the longterm persistence of highly transmissible and virulent disease variants due to antigenic escape.
Although we have so far assumed a neverending antigenic escape process, it is easy to extend our analysis to consider that antigenic escape is constrained by pleiotropic effects. Then, once the antigenicity trait has stabilized, the ES virulence would satisfy
where \(\rho = C/V_\alpha\) measures the correlation between antigenicity and virulence. Thus, the slope to the transmission–virulence tradeoff at the evolutionarily stable strategy (ESS) now takes an intermediate value between \(\beta /(\gamma + \alpha )\) and 1, as shown in Fig. 4.
Shortterm joint evolution of antigenicity and virulence
Although our analysis allows us to understand the longterm evolution of pathogen traits, it can also be used to accurately predict the shortterm dynamics of antigenicity and virulence. We now consider that a primary outbreak has moulded a susceptibility profile s(x) that we assume constant. Although this assumption will cause deviations from the true susceptibility profile, it allows us to decouple our evolutionary oligomorphic dynamics from the epidemiological dynamics. Figure 5 shows that the approximation accurately predicts the jump in antigenic space and joint increase in virulence during the secondary outbreak. The accuracy of the prediction depends on the time at which we seed the oligomorphic dynamical system, as detailed in the methods, but remains high for a broad range of values of this initial time. Hence, our analysis can be used to successfully predict the trait dynamics after the emergence of a new antigenic variant. Simulations show that this result is not dependent on the assumption of a onedimensional antigenic space (Supplementary Information).
Discussion
We have shown how antigenic escape selects for more acute infectious diseases with higher transmission rates that cause increased mortality (virulence) in infected hosts. This result is important given the number of major infectious diseases, such as seasonal influenza, that have epidemiology driven by antigenic escape. Until recently, the evolution of virulence literature has mostly focused on equilibrium solutions that, in simple models, lead to the classic idea that pathogens evolve to maximize their basic reproductive number R_{0}^{7,9,10,11,12,13}. Our results show that the process of antigenic escape leading to the continual replacement of variants^{22,23,24,25}, creates a dynamical invasion process that in itself selects for more acute, fast transmitting, highly virulent variants that do not maximize R_{0}. This has parallels with the finding that more acute variants are selected transiently at the start of epidemics^{23,24,25}, but critically, in our case the result is not a shortterm transient outcome. Rather, the ecoevolutionary process leads to the longterm persistence of more acute variants. As such, antigenic escape may be an important driver of high virulence in infectious disease.
In the simpler case where there is no cross immunity, there is a travelling wave of new variants invading due to antigenic escape. In this case, we can use established methods to gain analytical results that not only predict the speed of change of the variants, but also the evolutionarily stable virulence. With our model’s assumptions, without antigenic escape, we would get the classic result of the maximization of the reproductive number R_{0}^{7,9,10,11,12,13}, but once there is antigenic escape, we show analytically that the intrinsic growth rate of the infectious disease r is maximized. Maximizing the intrinsic growth rate leads to selection for higher transmission and, in turn, higher virulence. Effectively, this is the equivalent ‘live fast, die young’ strategy of an infectious disease. The outcome is due to the dynamical replacement of variants, with new variants invading the population continually, leading to a continual selection for the variants that invade better^{23,24,25}. As such, we predict that any degree of antigenic escape will, in general, select for more acute fastertransmitting variants with higher virulence in the presence of a transmission–virulence tradeoff. Although such a tradeoff is a classical assumption in evolutionary epidemiology, it would be interesting to examine the impact of antigenic escape under different assumptions.
Partial cross immunity leads to a series of jumps in antigenic space that are characteristic of the epidemiology of a number of diseases and, in particular, of the wellknown dynamics of influenza A in humans^{22,23,24,25}. Here a cloud of variants remains in antigenic space until there is a jump that, on average, overcomes the cross immunity and leads to the invasion of a new set of variants that are distant enough to escape the immunity of the resident variants^{22,23,24,25}. To examine the evolutionary outcome in this scenario, we applied a novel oligomorphic analysis^{27} and again we find that antigenic escape selects for higher virulence towards the maximization of the intrinsic growth rate r. Both our analysis and simulations show that in the long term, virulence increases until it reaches a new optimum, potentially of an order of magnitude higher than would be expected by the classic prediction of maximizing R_{0}. Therefore, antigenic escape, whether it is through a continuous wave of antigenic drift or through large jumps, selects for higher virulence. We therefore expect this result to apply across the wide range of ‘jumpiness’ that we see across different viruses between these two extremes of continuous drift and punctuated jumps. We show that virulence increases after each antigenic jump, falling slightly at the next jump before increasing again until it reaches this new equilibrium. It is also important to note that the diversity within the morph increases in both antigenicity and virulence as we move towards the next epidemic, reaching a maximum just at the point when the jump occurs. This increase in diversity could, in principle, be used as a predictor of the next jump in antigenic space.
Clearly, the virulence of any particular infectious disease depends on multiple factors, including both host and parasite traits, and critically, the relationship between transmission and virulence. This makes comparisons of virulence across different infectious diseases problematic since the specific tradeoff relationship between transmission and virulence is often unknown. However, our model shows that antigenic escape will, all things being equal, be a driver of higher virulence favouring more acute variants. It is also important to note that since antigenic escape is a very general mechanism that selects for higher virulence, it follows that we may see high virulence in parasites even when the costs in terms of reduced infectious period are substantial. Among the influenzas, although there is paucity of data, influenza C does not show obvious antigenic escape and is typically much less virulent than the other influenzas^{33}. Furthermore, influenza A/H3 tends to show much more antigenic escape than influenza B and influenza A/H1, and again in line with our predictions, influenza A/H3N2 is typically the more virulent type^{34,35}. It is important to note that these differences can be ascribed to multiple factors, including circumvention of vaccination, and that cross immunity may itself directly impact disease severity. Furthermore, the higher virulence of influenza A is often posited to be due to a more recent zoonotic emergence^{36}. Moreover, direct comparisons of the rates of antigenic escape between influenza A/H1 and influenza B are difficult, and clearly, there are also highly virulent pathogens that do not show antigenic escape, such as measles. Therefore, a formal comparative analysis is confounded by multiple factors. Nevertheless, our model suggests that differences in the rates of antigenic escape of the different influenzas may impact their virulence and the evidence from influenza is at least consistent with the predictions of the model.
An important implication of our work is that antigenic escape selects for variants with a higher virulence than the value that maximizes R_{0} and therefore leads to the evolution of infectious diseases with lower R_{0}. From this point of view, it may be naively concluded that diseases with antigenic escape may be easier to eliminate and control with vaccination. Of course, in practice the opposite is often true since producing an effective vaccine is much more problematic when there is antigenic escape^{37,38}. On the other hand, with lower R_{0}, epidemics will tend to be less explosive than they otherwise would be, having a lower peak but lasting longer, with evolution here effectively ‘flattening the curve’. Infectious diseases that show punctuated antigenic escape are characterized by repeated epidemics, but our work suggests that due to the selection for a lower R_{0}, the ecoevolutionary feedback would have substantially impacted the pattern of these epidemics. More generally our results highlight how ecological/epidemiological dynamics can impact evolutionary outcomes that, in turn, feedback into the epidemiology characteristics of the disease.
We have used oligomorphic dynamics^{27} to make predictions on the waiting times and outcomes of the antigenic jumps in our model with cross immunity. This approach tracks changes in both mean trait values and trait variances in models with explicit ecological dynamics. As such, it combines aspects of ecoevolutionary theory^{39,40} and quantitative genetics approaches^{41,42} to provide a more complete understanding of the evolution of quantitative traits. Our approach can take into account a wide range of different ecological and evolutionary timescales and therefore allows us to address fundamental questions on ecoevolutionary feedbacks and on the separation between ecological and evolutionary timescales. This is important since it allows us to test the implications of the different assumptions of classical evolutionary theory and to better understand the role of ecoevolutionary feedbacks on evolutionary outcomes. Furthermore, the approach can be applied widely to model transient dynamics, and to predict the waiting times and extent of diversification that occurs in a range of contexts^{27,43}. Moreover, antigenic evolution is known to also lead to diversification and variant coexistence^{44,45,46,47}, and it would be interesting to extend our analysis to these other evolutionary outcomes.
Our results emphasize that epidemiological dynamics may have important implications for the evolution of infectious disease. To facilitate its broader application, the oligomorphic methodology should be extended to structured populations and combined with stochastic evolutionary theory to fully address the evolutionary dynamics of emerging disease. Human coronaviruses can evolve antigenically to escape antibody immunity^{48}, and it would be useful to apply our approaches to a more specific model of the Severe acute respiratory syndrome coronavirus 2 (SARSCov2) epidemic. In particular, our ability to predict the waiting time until the emergence of the next antigenic cluster has the potential to be important in such applied contexts.
In principle, epidemics of new variants that adapt to a novel host would display equivalent dynamics to those described here for antigenic escape. It also follows that interventions that impact epidemiological dynamics may also have impacts on the evolution of pathogen traits, such as virulence or transmission. Our results suggest that immune escape driven by transmission blocking imperfect vaccination might also select for higher virulence in the longer term^{49,50}, although these effects are probably overwhelmed by selection on transmission in an emerging pandemic such as SARSCoV2^{51,52}. Furthermore, dynamical feedbacks are important in a range of contexts beyond infectious disease, and our approach may help us examine the importance of interactions between frequencydependent ‘stabilizing’ and equalizing evolutionary drivers^{53}. The oligomorphic analytical approaches we use here are therefore likely to be useful in understanding a wide range of dynamical evolutionary outcomes.
Methods
Oligomorphic dynamics (OMD) of antigenic escape
We considered a model of the antigenic escape of a pathogen from host herd immunity on a onedimensional antigenicity space (x). We tracked the changes in the density \(S(t,x)\) of hosts that are susceptible to antigenicity variant x of pathogen at time t, and the density \(I(t,x)\) of hosts that are currently infected and infectious with antigenicity variant x of pathogen at time t:
where β, α and γ are the transmission rate, virulence (additional mortality due to infection) and recovery rate of pathogens, which are independent of antigenicity. The function σ(x−y) denotes the degree of cross immunity: a host infected by pathogen variant y acquires perfect cross immunity with probability σ(x−y), but fails to acquire any cross immunity with probability 1−σ(x−y) (this is called polarized cross immunity by Gog and Grenfell^{25}). The degree σ(x−y) of cross immunity is assumed to be a decreasing function of the distance x−y between variants x and y. When a new variant with antigenicity x = 0 is introduced at time t = 0, the initial host population is assumed to be susceptible to any antigenicity variant of pathogen: S(0,x) = 1. In equation (6), \(D = \mu \sigma _\mathrm{m}^2/2\) is one half of the mutation variance for the change in antigenicity, representing random mutation in the continuous antigenic space.
Susceptibility profile moulded by the primary outbreak
We first analysed the dynamics of the primary outbreak of a pathogen and derived the resulting susceptibility profile, which can be viewed as the fitness landscape subsequently experienced by the pathogen. For simplicity, we assumed that mutation can be ignored during the first epidemic initiated with antigenicity strain x = 0. The density \({{{S}}}_0\left( {{{t}}} \right) = {{{S}}}({{{t}}},0)\) of hosts that are susceptible to the currently prevailing antigenicity variant x = 0, as well as the density \({{{I}}}_0\left( {{{t}}} \right) = {{{I}}}({{{t}}},0)\) of hosts that are currently infected by the focal variant change with time as
with \(S_0\left( 0 \right) = 1\), \(I_0\left( 0 \right) \approx 0\) and \(R_0\left( 0 \right) = 0\). The final size of the primary outbreak,
is determined as the unique positive root of
where \(\rho _0 = \beta /\left( {\gamma + \alpha } \right) > 1\) is the basic reproductive number^{6}. Associated with this epidemiological change, the susceptibility profile \(S_x\left( t \right) = S(t,x)\) against antigenicity x (\(x \ne 0\)) other than the currently circulating variant (x = 0) changes by cross immunity as
Integrating both sides of equation (11) from t = 0 to \(t = \infty\), we see that the susceptibility profile \(s\left( x \right) = S_x(\infty )\) after the primary outbreak at x = 0 is
where the last equality follows from equation (10). The susceptibility can be effectively reduced by cross immunity when the primary variant has a large impact (that is, when the fraction of hosts remaining uninfected, 1−ψ_{0}, is small) and when the degree of cross immunity is strong (that is, when σ(x) is close to 1). With a variant antigenically very close to the primary variant (x ≈ 0), the cross immunity is very strong (\(\sigma \left( x \right) \approx 1\)) so that the susceptibility against variant x is nearly maximally reduced: \(s(x) \approx 1  \psi _0\). With a variant antigenically distant from the primary variant, σ(x) becomes substantially smaller than 1, making the host more susceptible to the variant. For example, if the cross immunity is halved (\(\sigma \left( x \right) = 0.5\)) from its maximum value 1, then the susceptibility to that variant is as large as \(\left( {1  \psi _0} \right)^{0.5}\). If a variant is antigenically very distant from the primary variant, then \(\sigma \left( x \right) \approx 0\), and the host is nearly fully susceptible to the variant (\(s\left( x \right) \approx 1\)).
Threshold antigenic distance for escaping immunity raised by primary outbreak
Of particular interest is the threshold antigenicity distance x_{c} that allows for antigenic escape, that is, any antigenicity variant more distant than this threshold from the primary variant (x > x_{c}) can increase when introduced after the primary outbreak. Such a threshold is determined from
or
where we used equation (12). With a specific choice of crossimmunity profile,
the threshold antigenicity beyond which the virus can increase in the susceptibility profile s(x) after the primary outbreak is obtained, by substituting equation (14) into equation (13)
and taking the logarithm of both sides twice:
OMD
Integrating both sides of equation (6) over the whole space, we obtained the dynamics for the total density of infected hosts, \({{{\bar{ I}}}}\left( {{{t}}} \right) = {\int}_{  \infty }^\infty {{{{I}}}\left( {{{{t}}},{{{x}}}} \right){{{dx}}}}\):
where
is the relative frequency of antigenicity variant x in the pathogen population circulating at time t, and
is the mean susceptibility experienced by currently circulating pathogens. The dynamics for the relative frequency \(\phi \left( {t,x} \right)\) of pathogen antigenicity is
As in Sasaki and Dieckmann^{27}, we decomposed the frequency distribution to the sum of several morph distributions (oligomorphic decomposition) as
where p_{i}(t) is the frequency of morph i and \(\phi _i(t,x)\) is the withinmorph distribution of antigenicity. By definition, and \({\int}_{  \infty }^\infty {\phi _i} (t,x)dx = 1\). Let
be the mean antigenicity of a morph and
where O is order be the withinmorph variance of each morph, which is assumed to be small, of the order of \({\it{\epsilon }}^2\). We denoted the mean susceptibility of host population for viral morph \(i\) by \(\bar S_i = {\int}_{  \infty }^\infty {S\left( {t,x} \right)\phi _i(t,x)dx}\). As shown in Sasaki and Dieckmann^{27}, the dynamics for viral morph frequency is expressed as
while the dynamics for the withinmorph distribution of antigenicity is
From this, the dynamics for the mean antigenicity of a morph,
and the dynamics for the withinmorph variance of a morph
are derived, where \(\xi _i = x  \bar x_i\) and \(E\left[ {\xi _i^4} \right] = {\int}_{  \infty }^\infty {\left( {x  \bar x_i} \right)^4\phi _i\left( {t,x} \right)dx}\) are the fourth central moments of antigenicity around the morph mean. Assuming that the withinmorph distribution is normal (Gaussian closure), \(E\left[ {\xi _i^4} \right] = 3V_i^2\), and hence equation (25) becomes
Second outbreak predicted by OMD
Equations (22), (24) and (26) are general, but they rely on a full knowledge of the dynamics of the susceptibility profile S(t,x). To make further progress, we used an additional approximation by substituting equation (13), the susceptibility profile, over viral antigenicity space after the primary outbreak at x = 0 and before the onset of the second outbreak at a distant position. We kept track of two morphs at positions x_{0}(t) and x_{1}(t), where the first morph is that caused by the primary outbreak at x = 0, and the second morph is that emerged in the range x > x_{c} beyond the threshold antigenicity x_{c} defined in equation (13) (and equation (15) for a specific form of σ(x)) as the source of the next outbreak.
As \(s\left( x \right) = \left( {1  \psi _0} \right)^{\sigma (x)} = \exp [\sigma \left( x \right)\log (1  \psi _0)]\), we have
and
Therefore, the frequency, mean antigenicity and variance of antigenicity of an emerging morph (i = 1) change respectively as
The predicted change in the mean antigenicity was plotted by integrating equation (27). As initial condition, we chose the time when a seed of second peak in the range x > x_{c} first appeared, and then computed the mean trait as
In the case of Fig. 2, where β = 2, γ + α = 0.6, D = 0.001 and ω = 2, the final size of epidemic for the primary outbreak, defined as equation (7), was ψ = 0.959, and the critical antigenic distance for the increase of pathogen variant obtained from equation (26) was x_{c} = 2.795. The initial conditions for the oligomorphic dynamics (equation 27) for the second morph were then \(p_1\left( {t_0} \right) = 1.6 \times 10^{  8}\), \(\bar x_1\left( {t_0} \right) = 3.239\), \(V_1\left( {t_0} \right) = 0.2675\) at t_{0} = 41. In Fig. 2, the predicted trajectory for the mean antigenicity (equation 28) is plotted as a red curve, together with the mean antigenicity change observed in simulation (blue curve).
Accuracy of predicting the antigenicity with OMD and the timing of the second outbreak
Here we describe how we defined the initial conditions for oligomorphic dynamics, that is, the frequency, the mean antigenicity and the variance in antigenicity of the morph that caused the primary outbreak and the morph that may cause the second outbreak. We then show how the accuracy in prediction of the second outbreak depends on the timing of the prediction.
We divided the antigenicity space into two at x = x_{c}, above which the pathogen can increase under the given susceptibility profile after the primary outbreak, but below which the pathogen cannot increase. We then took the relative frequencies of pathogens above x_{c} and below x_{c}, and the conditional mean and variance in these separated regions to set the initial frequencies, means and variances of the morphs at time t_{0} when we started integrating the oligomorphic dynamics to predict the second outbreak:
We then compared the trajectory for mean antigenicity change observed in simulation (blue curve in Fig. 2) and the predicted trajectory (red curve in Fig. 2) for mean antigenicity (equation 28) by integrating oligomorphic dynamics (equation 27) with the initial condition (equation 29) at time t = t_{0}. Extended Data Fig. 2 shows how the accuracy of prediction, measured by the Kullback–Leibler divergence between these two trajectories, depends on the timing t_{0} chosen for the prediction. The second outbreak occurs around t = 54.6, where mean antigenicity jumps from around 0 to around 5. The prediction with OMD is accurate if it is made for t_{0} > 40. Figure 2 is drawn for t_{0} = 41 where the second peak is about to emerge (see Extended Data Fig. 2). Even for the latest prediction for t_{0} = 51 in Extended Data Fig. 2, the morph frequency of the emerging second morph was only 0.3% off, so the prediction is still worthwhile to make.
Extended Data Fig. 2 shows that the prediction power is roughly constant (albeit with a wiggle) for \(5 < t_0 < 30\) (the predicted timings are 10–15% longer than actual timing for \(5 < t_0 < 30\)), and steadily improved for t_{0} > 30. When the prediction was made very early (t_{0} < 5), the deviations were larger.
OMD for the joint evolution of antigenicity and virulence
Let s(x) be the susceptibility of the host population against antigenicity x. A specific susceptibility profile is given by equation (12), with crossimmunity function σ(x) and the final size ψ_{0} of epidemic of the primary outbreak. Note that, as above, the susceptibility profile is, in general, a function of time. The density \(I(x,\alpha )\) of hosts infected by a pathogen of antigenicity x and virulence α changes with time, when rare, as
The change in the frequency \(\phi \left( {x,\alpha } \right) = I\left( {x,\alpha } \right)/{\int\!\!\!\!\!\int} I \left( {x,\alpha } \right)dxd\alpha\) of a pathogen with antigenicity x and virulence α follows
where
is the fitness of a pathogen with antigenicity x and virulence α and \(\bar w = {\int\!\!\!\!\!\int} w \left( {x,\alpha } \right)dxd\alpha\) is the mean fitness.
We decomposed the joint frequency distribution ϕ(x, α) of the viral quasispecies as (oligomorphic decomposition):
where ϕ_{i}(x, α) is the joint frequency distribution of antigenicity x and virulence α in morph i (\({\int\!\!\!\!\!\int} {\phi _idxd\alpha = 1}\)) and p_{i} is the relative frequency of morph i (\(\mathop {\sum}\nolimits_i {p_i = 1}\)). The frequency of morph i then changes as
where \(\bar w_i = {\int\!\!\!\!\!\int} w \left( {x,\alpha } \right)\phi _i\left( {x,\alpha } \right)dxd\alpha\) is the mean fitness of morph i.
Assuming that the traits are distributed narrowly around the morph means \(\bar x_i = {\int\!\!\!\!\!\int} x \phi _i\left( {x,\alpha } \right)dxd\alpha\) and \(\bar \alpha _i = {\int\!\!\!\!\!\int} \alpha \phi _i(x,\alpha )dxd\alpha\), so that \(\xi _i = x  \bar x_i = O({\it{\epsilon }})\) and \(\zeta _i = \alpha  \bar \alpha _i = O({\it{\epsilon }})\) where \({\it{\epsilon }}\) is a small constant, we expanded the fitness w(x, α) around the means \(\bar x_i\) and \(\bar \alpha _i\) of morph i,
Substituting this and
into equation (34), we obtained
where \(w_i = w\left( {\bar x_i,\bar \alpha _i} \right)\), \(\left( {\frac{{\partial w}}{{\partial x}}} \right)_i = \frac{{\partial w}}{{\partial x}}\left( {\bar x_i,\bar \alpha _i} \right)\), \(\left( {\frac{{\partial w}}{{\partial \alpha }}} \right)_i = \frac{{\partial w}}{{\partial \alpha }}\left( {\bar x_i,\bar \alpha _i} \right)\), \(\left( {\frac{{\partial ^2w}}{{\partial x^2}}} \right)_i = \frac{{\partial ^2w}}{{\partial x^2}}\left( {\bar x_i,\bar \alpha _i} \right)\), \(\left( {\frac{{\partial ^2w}}{{\partial x\partial \alpha }}} \right)_i = \frac{{\partial ^2w}}{{\partial x\partial \alpha }}\left( {\bar x_i,\bar \alpha _i} \right)\) and \(\left( {\frac{{\partial ^2w}}{{\partial \alpha ^2}}} \right)_i = \frac{{\partial ^2w}}{{\partial \alpha ^2}}\left( {\bar x_i,\bar \alpha _i} \right)\) are fitness and its first and second derivatives evaluated at the mean traits of morph i, and
are withinmorph variances and covariance of the traits of morph i. Here \(E_i\left[ {f\left( {x,\alpha } \right)} \right] = {\int\!\!\!\!\!\int} f \left( {x,\alpha } \right)\phi _i\left( {x,\alpha } \right)dxd\alpha\) denotes taking expectation of a function f with respect to the joint trait distribution \(\phi _i(x,\alpha )\) of morph i.
Substituting equation (36) into the change in the mean antigenicity of morph i
we obtained
Similarly, the change in the mean virulence of morph i was expressed as
Equations (38) and (39) from the mean trait change was summarized in a matrix form as
where
is the variancecovariance matrix of the morph i.
Substituting equation (36) into the righthand side of the change in variance of antigenicity of morph i,
and those in the change in the other variance and covariance, we obtained
If we assume that antigenicity and virulence within a morph follow a 2D Gaussian distribution for given means, variances and covariance, we should have \(E_i(\xi _i^4) = 3\left( {V_i^x} \right)^2,E_i(\xi _i^3\zeta _i) = 3V_i^xC_i\), \(E_i(\xi _i^2\zeta _i^2) = V_i^xV_i^\alpha + 2C_i^2\), \(E_i(\xi _i\zeta _i^3) = 3V_i^\alpha C_i\) and \(E_i(\zeta _i^4) = 3\left( {V_i^\alpha } \right)^2\), and hence
Equations (43) and (44) were rewritten in a matrix form as
where
is the Hessian of the fitness function of morph i.
In our equation (30) of the joint evolution of antigenicity and virulence of a pathogen after its primary outbreak, the fitness function is given by \(w(x,\alpha ) = \beta (\alpha )s(x)  \alpha ,\) and hence \(w_i = \beta \left( {\bar \alpha _i} \right)s\left( {\bar x_i} \right)  \bar \alpha _i\), \(\left( {\frac{{\partial w}}{{\partial x}}} \right)_i = \beta \left( {\bar \alpha _i} \right)s\prime \left( {\bar x_i} \right)\), \(\left( {\frac{{\partial w}}{{\partial \alpha }}} \right)_i = \beta \prime \left( {\bar \alpha _i} \right)s\left( {\bar x_i} \right)  1\), \(\left( {\frac{{\partial ^2w}}{{\partial x^2}}} \right)_i = \beta \left( {\bar \alpha _i} \right)s\prime\prime \left( {\bar x_i} \right)\), \(\left( {\frac{{\partial ^2w}}{{\partial x\partial \alpha }}} \right)_i = \beta \prime \left( {\bar \alpha _i} \right)s\prime \left( {\bar x_i} \right)\), \(\left( {\frac{{\partial ^2w}}{{\partial x\partial \alpha }}} \right)_i = \beta \prime \left( {\bar \alpha _i} \right)s\prime \left( {\bar x_i} \right)\) and \(\left( {\frac{{\partial ^2w}}{{\partial \alpha ^2}}} \right)_i = \beta \prime\prime \left( {\bar \alpha _i} \right)s\left( {\bar x_i} \right)\), where a prime on β(α) and s(x) denotes differentiation by α and x, respectively. Substituting these into the dynamics for morph frequencies (equation 35), for morph means (equations 38 and 39), and for withinmorph variance and covariance (equations 43–45), we obtained
Equations (48)–(53) describe the oligomorphic dynamics of the joint evolution of antigenicity and virulence of a pathogen for a given host susceptibility profile s(x) over pathogen antigenicity.
Of particular interest is whether antigenicity or virulence evolve faster when they jointly evolve than when they evolve alone. After the primary outbreak at a given antigenicity, for example x = 0, the susceptibility s(x) of the host population increases due to cross immunity as the distance x > 0 from the antigenicity at the primary outbreak increases. Hence, \(s\prime \left( {\bar x_i} \right) > 0.\) Combining this with the positive tradeoff between transmission rate and virulence, we see that \(\left( {\partial ^2w/\partial x\partial \alpha } \right)_i = \beta \prime (\bar \alpha _i)s\prime (\bar x_i) > 0\), and then from equation (52), we see that the withinmorph covariance between antigenicity and virulence becomes positive starting from a zero initial value:
If all second moments are initially sufficiently small for an emerging morph, a quick look at the linearization of equations (51)–(53) around \((V_i^x,C_i,V_i^\alpha ) = (0,0,0)\) indicates that both \(V_i^x\) and \(V_i^\alpha\) become positive due to the random generation of variance by mutation, D_{x} > 0 and D_{α} > 0, while the covariance stays close to zero. Then, equation (54) guarantees that the first move of the covariance is from zero to positive, which then guarantees that C_{i} > 0 for all t. Therefore, the second term in equation (38) is positive until the mean virulence reaches its optimum (\(\beta \prime (\alpha )s(x) = 1\)). This means that joint evolution with virulence accelerates the evolution of antigenicity. The same is true for virulence evolution: the first term in equation (39) (which denotes the associated change in virulence due to the selection in antigenicity through genetic covariance between them) is positive, indicating that joint evolution with antigenicity accelerates virulence evolution.
Numerical example
Figure 5 shows the oligomorphic dynamics prediction of the emergence of the next variant in antigenicity–virulence coevolution. To make progress numerically, we assumed s(x) to be constant in the following analysis because we are interested in the process between the end of the primary outbreak and the emergence of the next antigenicity–virulence morph. The partial differential equations for the density of host S(t,x) susceptible to the antigenicity variant x at time t, and the density of hosts infected by the pathogen variant with antigenicity x and virulence α are
with the boundary conditions \(\left( {\partial S/\partial x} \right)\left( {t,0} \right) = \left( {\partial S/\partial x} \right)\left( {t,x_{{{{\mathrm{max}}}}}} \right) = 0\), \(\left( {\partial I/\partial x} \right)\left( {t,0,\alpha } \right) = \left( {\partial I/\partial x} \right)\left( {t,x_{{{{\mathrm{max}}}}},0} \right) = 0\), \(\left( {\partial I/\partial x} \right)\left( {t,x,\alpha _{{{{\mathrm{min}}}}}} \right) = \left( {\partial I/\partial x} \right)\left( {t,x,\alpha _{{{{\mathrm{max}}}}}} \right) = 0\), and the initial conditions \(S\left( {0,x} \right) = 1\) and \(I\left( {0,x,\alpha } \right) = {\it{\epsilon }}\delta \left( x \right)\delta \left( \alpha \right)\), where \(\delta ( \cdot )\) is the delta function and \({\it{\epsilon }} = 0.01\). The trait space is restricted in a rectangular region: \(0 < x < x_{{{{\mathrm{max}}}}} = 300\) and \(\alpha _{{{{\mathrm{min}}}}} = 0.025 < \alpha < 10 = \alpha _{{{{\mathrm{max}}}}}\). Oligomorphic dynamics prediction for the joint evolution of antigenicity and virulence was applied for the next outbreak after the outbreak with the mean antigenicity around x = 108 at time t = 102. The susceptibility of the host to antigenicity variant x at t_{0} = 104.8 after the previous outbreak peaked around time t = 102 came to an end is
This susceptibility profile remained unchanged until the next outbreak started, and hence the fitness of a pathogen variant with antigenicity x and virulence α is given by
We bundled the pathogen variants into two morphs at time t_{0} at the threshold antigenicity x_{c}, above which the net growth rate of the pathogen variant under the given susceptibility profile s(x) and the mean antigenicity become positive:
The initial frequency and the moments of the two morphs, the variant 0 with \(x < x_c\) and the variant 1 with \(x > x_c\) were then calculated respectively from the joint distribution \(I(t_0,x,\alpha )\) in the restricted region \(\left\{ {\left( {x,\alpha } \right);0 < x < x_c,\alpha _{{{{\mathrm{min}}}}} < \alpha < \alpha _{{{{\mathrm{max}}}}}} \right\}\) and that in the restricted region \(\left\{ {\left( {x,\alpha } \right);x_c < x < x_{{{{\mathrm{max}}}}},\alpha _{{{{\mathrm{min}}}}} < \alpha < \alpha _{{{{\mathrm{max}}}}}} \right\}\). The frequency p_{1} of morph 1 (the frequency of morph 0 is given by \(p_0 = 1  p_1\)), the mean antigenicity \(\bar x_i\) and mean virulence \(\bar \alpha _i\) of morph i, and the variances and covariance, \(V_i^x\), and \(V_i^\alpha\) C_{i} of morph i (i = 0,1) follow equations (48)–(53), where the dynamics for the morph frequency (equation 48) is simplified in this twomorph situation as
with \(p_0\left( t \right) = 1  p_1(t)\). This is iterated from \(t = t_0 = 104.8\) to \(t_e = 107\). The frequency p_{1} of the new morph, the population mean antigenicity \(\bar x = p_0\bar x_0 + p_1\bar x_1\), virulence \(\bar \alpha = p_0\bar \alpha _0 + p_1\bar \alpha _1\), variance in antigenicity \(V_x = p_0V_0^x + p_1V_1^x\), covariance between antigenicity and virulence \(C = p_0C_0 + p_1C_1\), and variance in virulence \(V_\alpha = p_0V_0^\alpha + p_1V_1^\alpha\) are overlayed by red thick curves on the trajectories of moments observed in the full dynamics (equation 55).
In Fig. 5a, the dashed vertical line represents the threshold antigenicity x_{c}, above which \(R_0 = \beta s(x)/(\gamma + \bar \alpha ) > 1\) at \(t = t_s = 104.8\), where oligomorphic dynamics prediction was attempted. Two morphs were then defined according to whether or not the antigenicity exceeded a threshold x = x_{c}: the resident morph (morph 1) is represented as the dense cloud to the left of x = x_{c} and the second morph (morph 2) consisting of all the genotypes to the right of x = x_{c} with their R_{0} greater than one. The withinmorph means and variances were then calculated in each region. The relative total densities of infected hosts in the left and right regions defined the initial frequency of two morphs in OMD. A 2D Gaussian distribution was assumed for withinmorph trait distributions to have the closed moment equations as previously explained. Using these as the initial means, variances, covariances of the two morphs at t = t_{s}, the oligomorphic dynamics for 11 variables (relative frequency of morph 1, mean antigenicity, mean virulence, variances in antigenicity and virulence and their covariance in morphs 0 and 1) was integrated up to t = t_{e}. The results are shown as red curves in Fig. 5c–h, which are compared with the simulation results (blue curves).
Fig. 5c–e respectively show the change in total infected density, mean antigenicity and mean virulence. Red curves show the predictions by oligomorphic dynamics from the initial moments of each morph at t = t_{s} to the susceptibility distribution \(s(x) = S(t_s,x)\), which are compared with the simulation results (blue curves). The OMDpredicted mean antigenicity, for example, is defined as
where p_{1}(t) is the frequency of morph 1, \(\bar x_0\) and \(\bar x_1\) are the mean antigenicities of morphs 0 and 1.
The red curves in Fig. 5f–h show the OMDpredicted changes in the variance in antigenicity, variance in virulence and covariance between antigenicity and virulence, which are compared with the simulation results (blue curves). The OMDpredicted covariance, for example, is defined as
where \(C_0(t)\) and \(C_1(t)\) are the antigenicity–virulence covariances in morphs 0 and 1, and \(\bar \alpha _0(t)\) and \(\bar \alpha _1(t)\) are the mean virulence of morphs 0 and 1.
Selection for maximum growth rate
We next show that a pathogen that has the strategy of maximizing growth rate in a fully susceptible population is evolutionarily stable in the presence of antigenic escape.
At stationarity, the travelling wave profiles of \(\hat I(z)\) and \(\hat S(z)\) along the moving coordinate, \(z = x  vt\), that drifts constantly to the right with the speed v are defined as
with \(\hat I\left( {  \infty } \right) = \hat I\left( \infty \right) = 0\), \(\hat S\left( \infty \right) = 1\).
Let j(t,x) be the density of a mutant pathogen variant, with virulence α′ and transmission rate β′, that is introduced in the host population where the resident variant is already established (equation 50). For the initial transient phase in which the density of mutants is sufficiently small, we have an equation for the change in \(J\left( {t,z} \right) = j(t,x)\):
with the initial condition \(J\left( {0,z} \right) = {\it{\epsilon }}\delta (z)\), where \({\it{\epsilon }}\) is a small constant and \(\delta ( \cdot )\) is Dirac’s function.
Consider a system
with \(w\left( {0,z} \right) = J\left( {0,z} \right) = {\it{\epsilon }}\delta (z)\). Noting that \(\hat S\left( z \right) < 1\), we have \(J\left( {t,z} \right) \le w(t,z)\) for any \(t > 0\) and \(z \in {\Bbb R}\) from the comparison theorem. The solution to equation (52) is
where \(r\prime = \beta \prime  \left( {\gamma + \alpha \prime } \right)\). This follows by noting that \(w\left( {t,x} \right)e^{  r\prime t}\) follows a simple diffusion equation \(\partial w/\partial t = D\partial ^2w/\partial x^2\). By rearranging the exponents of equation (53),
where
Here \(v\prime = 2\sqrt {r\prime D}\) is the asymptotic wave speed if the mutant variant monopolizes the host population. Therefore, if \(v\prime < v\), then \(a < 0\), and hence \(w(t,z)\) for a fixed z converges to zero as t goes to infinity; this, in turn, implies that \(J(t,z)\) converges to zero because \(J\left( {t,z} \right) \le w\left( {t,z} \right)\) for all t and z. Therefore, we conclude that any mutant that has a slower wave speed than the resident can never invade the population, implying that a variant that has the maximum wave speed \(v = 2\sqrt {rD}\) is locally evolutionarily stable.
Reporting Summary
Further information on research design is available in the Nature Research Reporting Summary linked to this article.
Code availability
All code is available at https://github.com/MikeBoots/AntigenicEscape.
References
Fauci, A. S. & Morens, D. M. Zika virus in the Americas—yet another arbovirus threat. N. Engl. J. Med. 374, 601–604 (2016).
Coronavirus Disease 2019 (COVID19): Situation Report, 72 (WHO, 2020).
Remuzzi, A. & Remuzzi, G. COVID19 and Italy: what next? The Lancet 395, 1225–1228 (2020).
Keeling, M. J. et al. Dynamics of the 2001 UK foot and mouth epidemic: stochastic dispersal in a heterogeneous landscape. Science 294, 813–817 (2001).
Hudson, P., Dobson, A., & Newborn, D. Prevention of population cycles by parasite removal. Science 282, 2256–2258 (1998).
Anderson, R. M. & May, R. M. Infectious Diseases of Humans (Oxford Univ. Press, 1991).
May, R. M. & Anderson, R. M. Parasite–host coevolution. Parasitology 100, S89–S101 (1990).
Bremermann, H. J. & Pickering, J. A gametheoretical model of parasite virulence. J. Theor. Biol. 100, 411–426 (1983).
Alizon, S., Hurford, A., Mideo, N. & van Baalen, M. Virulence evolution and the tradeoff hypothesis: history, current state of affairs and the future. J. Evol. Biol. 22, 245–259 (2009).
Bremermann, H. J. & Thieme, H. R. A competitiveexclusion principle for pathogen virulence. J. Math. Biol. 27, 179–190 (1989).
Alizon, S., de Roode, J. C. & Michalakis, Y. Multiple infections and the evolution of virulence. Ecol. Lett. 16, 556–567 (2013).
Lion, S. & Boots, M. Are parasites ‘prudent’in space? Ecol. Lett. 13, 1245–1255 (2010).
van Baalen, M. Coevolution of recovery ability and virulence. Proc. R. Soc. Lond. B 265, 317–325 (1998).
Lion, S. & Metz, J. A. Beyond R0 maximisation: on pathogen evolution and environmental dimensions. Trends Ecol. Evol. 33, 458–473 (2018).
Day, T. & Gandon, S. Applying populationgenetic models in theoretical evolutionary epidemiology. Ecol. Lett. 10, 876–888 (2007).
Day, T. & Proulx, S. R. A general theory for the evolutionary dynamics of virulence. Am. Nat. 163, E40–E63 (2004).
Frank, S. A. Ecological and genetic models of host–pathogen coevolution. Heredity 67, 73–83 (1991).
Lenski, R. E. & May, R. M. The evolution of virulence in parasites and pathogens – reconciliation between 2 competing hypotheses. J. Theor. Biol. 169, 253–265 (1994).
Archetti, I. & Horsfall, F. L. Jr Persistent antigenic variation of influenza A viruses after incomplete neutralization in ovo with heterologous immune serum. J. Exp. Med. 92, 441–462 (1950).
Smith, D. J. et al. Mapping the antigenic and genetic evolution of influenza virus. Science 305, 371–376 (2004).
Hensley, S. E. et al. Hemagglutinin receptor binding avidity drives influenza A virus antigenic drift. Science 326, 734–736 (2009).
Gupta, S. et al. The maintenance of strain structure in populations of recombining infectious agents. Nat. Med. 2, 437–442 (1996).
Haraguchi, Y. & Sasaki, A. Evolutionary pattern of intrahost pathogen antigenic drift: effect of crossreactivity in immune response. Philos. Trans. R. Soc. Lond. B 352, 11–20 (1997).
Sasaki, A. & Haraguchi, Y. Antigenic drift of viruses within a host: a finite site model with demographic stochasticity. J. Mol. Evol. 51, 245–255 (2000).
Gog, J. R. & Grenfell, B. T. Dynamics and selection of manystrain pathogens. Proc. Natl Acad. Sci. USA 99, 17209–17214 (2002).
Anderson, R. M. & May, R. M. Coevolution of hosts and parasites. Parasitology 85, 411–426 (1982).
Sasaki, A. & Dieckmann, U. Oligomorphic dynamics for analyzing the quantitative genetics of adaptive speciation. J. Math. Biol. 63, 601–635 (2011).
Kimura, M. A stochastic model concerning the maintenance of genetic variability in quantitative characters. Proc. Natl Acad. Sci. 54, 731–736 (1965).
LANDE, R. Maintenance of genetic variability by mutation in a polygenic character with linked loci. Genet. Res. 26, 221–235 (1975).
Sasaki, A. Evolution of antigen drift/switching: continuously evading pathogens. J. Theor. Biol. 168, 291–308 (1994).
Haraguchi, Y. & Sasaki, A. Evolutionary pattern of intrahost pathogen antigenic drift: effect of crossreactivity in immune response. Philos. Trans. R. Soc. Lond. B 352, 11–20 (1997).
Bull, J. J. & Ebert, D. Invasion thresholds and the evolution of nonequilibrium virulence. Evol. Appl. 1, 172–182 (2008).
Matsuzaki, Y. et al. Neutralizing epitopes and residues mediating the potential antigenic drift of the hemagglutininesterase protein of influenza C virus. Viruses 10, 417 (2018).
Zambon, M. C. Epidemiology and pathogenesis of influenza. J. Antimicrob. Chemother. 44, 3–9 (1999).
Yamashita, M., Krystal, M., Fitch, W. M. & Palese, P. Influenza B virus evolution: cocirculating lineages and comparison of evolutionary pattern with those of influenza A and C viruses. Virology 163, 112–122 (1988).
Medina, R. A. & GarcíaSastre, A. Influenza A viruses: new research developments. Nat. Rev. Microbiol. 9, 590–603 (2011).
Fedson, D. S. Pandemic influenza and the global vaccine supply. Clin. Infect. Dis. 36, 1552–1561 (2003).
Subramanian, R., Graham, A. L., Grenfell, B. T. & Arinaminpathy, N. Universal or specific? A modelingbased comparison of broadspectrum influenza vaccines against conventional, strainmatched vaccines. PLoS Comput. Biol. 12, e1005204 (2016).
Christiansen, F. B. On conditions for evolutionary stability for a continuously varying character. Am. Nat. 138, 37–50 (1991).
Geritz, S. A. H., van der Meijden, E. & Metz, J. A. J. Evolutionary dynamics of seed size and seedling competitive ability. Theor. Popul. Biol. 55, 324–343 (1999).
LANDE, R. Quantitative genetic analysis of multivariate evolution, applied to brain:body size allometry. Evolution 33, 402–416 (1979).
LANDE, R. Models of speciation by sexual selection on polygenic traits. Proc. Natl Acad. Sci. USA 78, 3721–3725 (1981).
Boots, M., White, A., Best, A. & Bowers, R. How specificity and epidemiology drive the coevolution of static trait diversity in hosts and parasites. Evolution 68, 1594–1606 (2014).
Koelle, K., Cobey, S., Grenfell, B. & Pascual, M. Epochal evolution shapes the phylodynamics of interpandemic influenza A (H3N2) in humans. Science 314, 1898–1903 (2006).
Bedford, T. et al. Global circulation patterns of seasonal influenza viruses vary with antigenic drift. Nature 523, 217–220 (2015).
Bedford, T., Rambaut, A. & Pascual, M. Canalization of the evolutionary trajectory of the human influenza virus. BMC Biol. 10, 38 (2012).
Zinder, D., Bedford, T., Gupta, S. & Pascual, M. The roles of competition and mutation in shaping antigenic and genetic diversity in influenza. PLoS Pathog. 9, e1003104 (2013).
Eguia, R. et al. A human coronavirus evolves antigenically to escape antibody immunity. PLoS Pathog. 17, e1009453 (2020).
Gandon, S., Mackinnon, M. J., Nee, S. & Read, A. F. Imperfect vaccines and the evolution of pathogen virulence. Nature 414, 751–756 (2001).
Read, A. F. et al. Imperfect vaccination can enhance the transmission of highly virulent pathogens. PLoS Biol. 13, e1002198 (2015).
Day, T., Gandon, S., Lion, S. & Otto, S. P. On the evolutionary epidemiology of SARSCoV2. Curr. Biol. 30, R849–R857 (2020).
Visher, E. et al. The three Ts of pathogen evolution during zoonotic emergence. Preprint at https://ecoevorxiv.org/tueyb/ (2021).
Chesson, P. Mechanisms of maintenance of species diversity. Annu. Rev. Ecol. Syst. 31, 343–366 (2000).
Acknowledgements
This study was supported by grants from the NIH R01 GM12206103 and the NSF DEB 2011109 to M.B.; ANR JCJC grant ANR16CE35001201 to S.L.; and the ESB Cooperation Program, The Graduate University for Advanced Studies, SOKENDAI to A.S.
Author information
Authors and Affiliations
Contributions
M.B., A.S. and S.L. contributed to the conception of the project, the writing of the original draft, editing and revision of the paper. A.S. and S.L. carried out the analysis of the model.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Peer review information Nature Ecology & Evolution thanks the anonymous reviewers for their contribution to the peer review of this work.
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Extended data
Extended Data Fig. 1 Continuous antigenic drift (a) and periodical antigenic shifts (b) of the model.
The surface in upper panel denotes the infected density I(t, x) varying in time t and antigenicty x, and the surface in lower panel denotes the density of hosts S(t, x) that are susceptible to antigenicity variant x of pathogen at time t. The width of cross immunity is ω = 0.2 in (a) and ω = 0.6 in (b), where we assume a Gaussian form for cross immunity function: \(\sigma \left( d \right) = \exp (  d^2/2\omega ^2)\). A continuous antigenic drift solution (travelling wave of a fixed shaped profile with a constant wave speed) loses stability around ω = 0.4 and the departure from the travelling wave increases as ω increases (c). The wave speeds stay nearly constant and agree with (3) (\(v = {\sqrt {2\left( {\beta  \alpha  \gamma } \right)D} = 0.0748}\)) when ω is varied (d). Other parameters are β = 2, α = 0.1, γ = 0.5 and D = 0.001.
Extended Data Fig. 2 The accuracy of prediction of the second outbreak as a function of the prediction timing.
Using the KullbackLeibler divergence (left panel) (a) The KL divergence plotted here is \(I_{KL}\left( {P,Q} \right) = \frac{1}{{t_1  t_0}}{\int}_{t_0}^{t_1} Q \left( t \right)\log Q(t)/P(t)\), where Q(t) is the trajectory for mean antigenicity observed in simulation, and P(t) is the corresponding trajectory obtained with OMD with using the data at t = t_{0} being used to set the initial condition. The right end of the comparison in time horizon is set to t_{1} = 80 when the second outbreak is over. (b) The logarithmic density of antigenicity variants, I(t, x), at t = 41. A tiny seed for the second morph around x = 6 is visible.
Supplementary information
Supplementary Information
Supplementary modelling and one figure for multidimensional antigenic space.
Rights and permissions
About this article
Cite this article
Sasaki, A., Lion, S. & Boots, M. Antigenic escape selects for the evolution of higher pathogen transmission and virulence. Nat Ecol Evol 6, 51–62 (2022). https://doi.org/10.1038/s4155902101603z
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1038/s4155902101603z
This article is cited by

SARSCoV2 variant biology: immune escape, transmission and fitness
Nature Reviews Microbiology (2023)

Do pathogens always evolve to be less virulent? The virulence–transmission tradeoff in light of the COVID19 pandemic
Biologia Futura (2023)

Virological characteristics of the SARSCoV2 XBB variant derived from recombination of two Omicron subvariants
Nature Communications (2023)

Adapting to vaccination
Nature Ecology & Evolution (2022)

From HIV to COVID19, Molecular mechanisms of pathogens’ tradeoff and persistence in the community, potential targets for new drug development
Bulletin of the National Research Centre (2022)