Skip to main content
Proceedings of the National Academy of Sciences of the United States of America logoLink to Proceedings of the National Academy of Sciences of the United States of America
. 2020 Apr 3;117(16):8934–8940. doi: 10.1073/pnas.1915537117

A model for the interplay between plastic tradeoffs and evolution in changing environments

Mikhail Tikhonov a,b,1, Shamit Kachru c,d, Daniel S Fisher d,e
PMCID: PMC7183197  PMID: 32245811

Significance

Harnessing performance tradeoffs offers a promising path for predicting or controlling evolution. If traits A and B are subject to a rigid tradeoff, selecting for improved A necessarily results in a decline in B. If this observation applied to even a single pair of antibiotics, the problem of evolution of antibiotic resistance would have been resolved. Unfortunately, many relevant tradeoffs are not, in fact, rigid. We present a minimally structured effective model that can help establish a null model intuition for how tradeoff evolution can be expected to depend on key parameters and serve as a baseline for comparison with experimental data.

Keywords: evolution, changing environment, performance tradeoff

Abstract

Performance tradeoffs are ubiquitous in both ecological and evolutionary modeling, yet they are usually postulated and built into fitness and ecological landscapes. However, tradeoffs depend on genetic background and evolutionary history and can themselves evolve. We present a simple model capable of capturing the key feedback loop: evolutionary history shapes tradeoff strength, which, in turn, shapes evolutionary future. One consequence of this feedback is that genomes with identical fitness can have different evolutionary properties shaped by prior environmental exposure. Another is that, generically, the best adaptations to one environment may evolve in another. Our simple framework bridges the gap between the phenotypic Fisher’s Geometric Model and the genotypic properties, such as modularity and evolvability, and can serve as a rich playground for investigating evolution in multiple or changing environments.


Performance tradeoffs, caricatured by “you can’t be good at everything,” are ubiquitous in both ecology and evolution. Sometimes modeled explicitly (e.g., as a fixed total budget of energy or proteome) and often implicitly (e.g., as fitness costs associated with traits), tradeoffs are a staple of ecological and evolutionary modeling (16).

The rigid tradeoffs assumed in many models implicitly derive from the assumption that long-acting evolutionary pressures drive organisms to approximate Pareto optimality (79) (i.e., to a regime where performance at the relevant tasks cannot all be improved simultaneously). However, even under this assumption (10), the Pareto front should be high-dimensional (11, 12) so that the tradeoff between any subset of traits is not, in fact, rigid. Furthermore, tradeoffs will depend on evolutionary history and themselves evolve (1318). In laboratory experiments, adapting bacteria to one task can both hinder and improve their performance at another depending on the experimental protocol, the studied strain, and the exact nature of the tasks as well as history of prior exposure (1921). Some phenomena seem nonintuitive and surprising; for instance, even very weak levels of an antibiotic can induce resistance to much higher levels (22, 23).

In some cases, the specific mechanisms responsible for tradeoffs and their plasticity are known and can be modeled mechanistically (24, 25). This approach can be very informative about a particular case of interest but leaves aside important broader questions. Which of the observed behaviors depend on the details of a given biological system, and which are more general? Which experimental observations should be considered surprising, and which can be captured already by the simplest models? What other behaviors might be expected? For instance, can less frequent exposure to environment X result in better adaptation to it? Can exposure to X result in better fitness in environment Y than exposure to Y itself? More specifically, would a prior exposure to a milder version of a stress facilitate adaptation to its stronger form?

Elucidating which behaviors are surprising vs. general is a key role of theory and simple models. Here, we propose a minimally structured model capturing some key experimentally observed behaviors: namely, the model exhibits performance tradeoffs, but their strength evolves and depends on evolutionary history. This minimal setting proves sufficient to observe nontrivial ways in which tradeoff strength shaped by evolutionary past can predictably influence evolutionary future; in particular, we identify a mechanism whereby achieving highest fitness in one set of environments proceeds through exposure to a different set. Our basic framework can serve as a rich null model for evolution in multiple or changing environments.

Toolbox Model

A widely used framework shaping much of the theoretical intuition about evolutionary adaptation is Fisher’s Geometric Model (FGM) (26, 27). Separately, another influential branch of thinking about multienvironment evolution, particularly relevant to the subject of tradeoffs, concerns the modularity of biological function and its relation to the notion of “evolvability” (28, 29). So far, the two approaches have remained largely independent: the classic FGM focuses on the phenotype and cannot naturally accommodate a notion of genome architecture being more or less modular or evolvable. The simple framework that we propose bridges this gap. The presentation below is self-contained, but in effect, we build on FGM by separating genotype from phenotype and incorporating a minimal notion of “regulation” (SI Appendix, Fig. S1).

The structure of our model is summarized in Fig. 1A. The environment is represented by a target vector E in an L-dimensional phenotype space. A genome G is a K-element basis in that space (i.e., a set of K basis vectors {gμ}). We posit that an organism can adopt any phenotype realizable as a linear combination of its {gμ} with positive coefficients (loosely “expression levels”). An idealized organism with a very flexible physiology capable of independently adjusting each trait as necessary would be able to adopt any phenotype. However, an organism limited to only KL adjustable “knobs” is phenotypically constrained to a K-dimensional subspace. Target phenotypes outside this subspace can only be approximated, and we define fitness F(G,E) as the (Euclidean) norm of the residual:

F(G,E)=min{aμ0}Eμaμgμ.

Fig. 1.

Fig. 1.

The toolbox model. (A) A genome, G, consists of an undercomplete set of K basis vectors {gμ} in phenotype space, defining a K-dimensional subspace of accessible phenotypes: those that can be represented as linear combinations of {gμ} with positive coefficients (expression levels). The environment is represented by the optimal phenotype E (blue dot). The fitness of G in this environment is defined by the distance from the optimum to the closest accessible phenotype (red dot). (B) For simplicity, we consider {gμ} to be binary vectors of length L and assume E to be of Euclidean norm 1, with positive components.

In what follows, we will take vectors E to be of unit length so that fitness is confined to 1F0. The simplest interpretation of this model is as a caricature of metabolism, where E is the target stoichiometry of a set of L metabolites, and the K knobs [dimensions of internal representation (30)] are the activities of synthesis pathways. Motivated by this example, we take all components of E and {gμ} to be positive, and the name “toolbox model” is intended to highlight intriguing conceptual parallels with ref. 31. However, we stress that our setup is not intended as a realistic model of metabolic regulation or any other specific context. Instead, our goal is to construct a minimally structured model that allows the same genotype to be good (or not) in many different environments at the same time. In the setup of Fig. 1A, for any set of Nenv environments with NenvK, there exists, in principle, a genome G that is perfectly fit (F=0) in all. Conversely, the same environment can be fit by many genomes. For our purposes, we will take NenvKL so that being fit in Nenv environments is possible but difficult.

Mathematically, the key feature distinguishing our model from FGM is that the expression levels aμ are adjusted to be as good as possible in each environment separately. A genome encodes not a single phenotype but a toolbox that allows the phenotype to be environment dependent [phenotypic plasticity (3235)]. In this sense, our model incorporates a minimal (fast, costless) notion of regulation (SI Appendix, Fig. S1). We will see that this has important and nontrivial evolutionary consequences not captured by the classic FGM, such as the evolution of modularity.

Modeling the Evolutionary Process

To study tradeoffs, we must consider more than one environment; we focus here on the simplest case: Nenv=2. Thus, the central object is an environment pair P{EA,EB}. For simplicity, we consider binary genomes, where all L components of the K vectors {gμ} are either 0 or 1 (Fig. 1B) with mutations implemented as bit flips 01 or 10. From each genome, there are thus KL possible mutations. For simplicity, we analyze the strong selection, weak mutation regime where evolution proceeds through a sequence of sweeps (no clonal interference) and only beneficial mutations are relevant (36). This avoids the need to explicitly simulate a population as we only need to track the mutations accumulated by a single adapting lineage.

Given a starting genome G0 and an environment pair P={EA,EB}, our evolutionary protocol proceeds as follows. One of two environments is chosen equiprobably. The fitness in this environment of all single mutants is evaluated (reoptimizing the expression coefficients every time), and all beneficial mutations are identified. Of these, one “lucky” mutation is drawn with probability proportional to its fitness effect (i.e., to its fixation probability). We refer to this as “one mutational step.” After a mutation is accepted, either EA or EB is randomly selected for the next exposure, and the process is repeated. This protocol, adopted for computational simplicity, accepts one mutation per exposure epoch; this approximation does not significantly change our results (SI Appendix, Figs. S2 and S3).

The Toolbox Model Exhibits Tradeoffs

We begin by showing that the toolbox model exhibits performance tradeoffs. To do so, we start with K=3 and L=6, small enough that all 2KL genomes can be fully enumerated. Fig. 2A shows fitness values FA, FB of all genomes in two particular random environments: vectors of length L=6 generated by independently drawing each component from an exponential distribution (to ensure that all components are positive) and normalized to unit length. The Pareto front (Fig. 2A, dashed line) owes its existence to the zero/one binarization of genome components, and therefore, its fine structure is sensitive to modeling choices. In subsequent figures, we will focus on early time evolution before the Pareto front is reached, as judged by the mean fitness continuing to increase—the regime where the insights from a simple model are more likely to be generalizable.

Fig. 2.

Fig. 2.

Quantifying tradeoffs. (A) The global fitness landscape computed for K=3 and L=6 (small enough that all genomes can be fully enumerated) in two randomly chosen environments EA and EB. The density scatter plot (gray shading) shows the logarithm of the number of genomes per fitness bin; the dashed line roughly traces the Pareto front. A random initial genome G0 evolving under pressure from one environment becomes mediocre in the other (light blue evolving in A or light green evolving in B) and runs out of beneficial mutations after L mutation steps. When the same genome evolves in randomly switching environments, the trajectory does not terminate; steps in dark blue and dark green correspond to mutations accepted while exposed to EA and EB, respectively; the first 35 steps are shown (some loci flip multiple times). Additional examples are in SI Appendix, Fig. S4. (B) Examples illustrating our definition of the mutational tradeoff χ. Panels show the relative fitness of all single-step mutants from four example genomes. In red are mutations beneficial in at least one environment. The doubly deleterious mutants (gray) cannot fix and are irrelevant for the adaptive evolutionary process studied herein. The examples show a strong mutational tradeoff (Top), the opposite of a tradeoff (Bottom), no tradeoff (Middle Left), and a mutationally modular genome (Middle Right) where mutations beneficial in one environment have little effect on fitness in the other (additional examples in SI Appendix, Fig. S5).

Fig. 2A shows that a random genome evolving under pressure from one environment becomes mediocre in the other, consistent with the notion of a tradeoff. To define tradeoff strength quantitatively, consider the “mutant cloud” around a given genome (Fig. 2B). The scatter plots show the fitness effects δFA, δFB of all KL=18 single mutations of several sample genomes evaluated in the two environments. Mutations deleterious in both environments are irrelevant for the evolutionary process and can be ignored. The remaining mutations (beneficial in at least one environment) can be used to define mutational tradeoff strength χ:

χibenδFAiδFBiibenδFAi2ibenδFBi2,

where the index i runs over all mutations beneficial in at least one environment. (Other ways of quantifying tradeoffs are discussed in the SI Appendix, Quantifying Tradeoffs.) We stress that χ is defined in reference to a particular environment pair {EA,EB}. This definition ensures that χ ranges from 1 (no tradeoff in identical environments: δFA=δFB) to +1, the strongest possible tradeoff for which δFA=δFB. A case that will become important shortly is that of a “mutationally modular” genome defined by the property that mutations improving performance in one environment do not affect the other (SI Appendix, Two Definitions of Modularity). Conveniently, by our definition of χ, modular genomes have mutational tradeoff of zero (Fig. 2B).

Mutational Tradeoff Itself Evolves

What are our expectations for the behavior of the mutational tradeoff χ? First, any notion of tradeoff strength is expected to depend on the difference between environments, which we will quantify by the Euclidean norm ΔE=EAEB (EA,B are unit vectors with positive coefficients, and therefore, 0ΔE2; in Fig. 2, ΔE=1). Second, one might expect the χ of an evolving genome to increase with time, as highly evolved genomes should become depleted for jointly beneficial mutations.

To test these expectations, we investigate the dynamics of mutational tradeoff strength for random initial genomes evolving in random environment pairs with various ΔE. As described above, the relevant parameter regime of the toolbox model is NenvKL. Since our focus is on environment pairs (Nenv=2), from now on we will use K=4 and L=100. Our starting genomes will be random binary matrices with each entry set to 1 with probability p=0.25 (so that initially, on average, each trait is affected by one regulator: pK=1). For each trial, the components of both environment vectors are independently drawn from an exponential distribution as before (using a Gaussian distribution does not qualitatively change the results); the vectors are then normalized and rotated toward or away from each other to achieve a desired ΔE (SI Appendix, Parameterizing Environment Pairs). The results are presented in Fig. 3A.

Fig. 3.

Fig. 3.

Evolved tradeoffs are not typical. (A) Mutational tradeoff (compare with Fig. 2B) as a function of the number of mutation steps (a proxy for time) for evolution in random environment pairs differing by a given amount quantified by ΔE. Each curve shows mean ±1 SD over 100 independent trials (shaded); for each trial, a new random initial genome was evolved in a new random environment pair (K=4, L=100). Initially, more different tasks are associated with stronger mutational tradeoff, and tradeoff strength generally increases with time, with a notable exception at large ΔE. (B) Tradeoffs after 250 mutational steps vs. environment difference ΔE. For ΔE=0 (two identical environments), the mutational tradeoff is necessarily 1. However, when the environments differ, evolution drives tradeoff strength to strongly atypical values. Shown is mean ± 1 SD over 100 independent trials for each ΔE. (C) The mutant cloud around an example genome evolved for 250 steps in two very different environments (ΔE=0.9) exhibits mutational modularity: the best mutant in one environment has only a weak effect (denoted δFAbest, δFBbest) in the other. (D) Evolutionary trajectories of A replotted against the modularity score M (in the text). Arrows trace the mean over 100 random initial genomes, each evolving in a random environment pair with the specified ΔE; points show the individual genomes (every 25 mutation steps). A perfectly modular genome (M=1) necessarily has χ=0; conversely, χ=±1 entails M=0. As a result, the datapoints fill out a triangular allowed zone. The two squares on the ΔE=0.9 trajectory mark the same timepoints as in A. (E) Change in modularity score M relative to the initial timepoint for the trajectories of A (compare with D). Shown is mean ±1 SD; colors are the same as in A. The plot confirms that evolution at large ΔE is associated with an increase in modularity. (F) Histograms of δFA,Bbest over 100 trajectories evolved at ΔE=0.9 at the two timepoints highlighted in A and D. The later timepoint (red) shows a clear enrichment of modular genomes (the peak at δFA,Bbest0) compared with the earlier timepoint (black).

Plotting these data as a function of ΔE (Fig. 3B) appears to confirm much of our intuition. First, for random genomes (timepoint 0), mutational tradeoff χ is strongest when ΔE is largest: as expected, being good at two tasks is harder when they differ more (SI Appendix, Fig. S6). Second, genomes evolved for 250 mutation steps do indeed exhibit a larger mutational tradeoff. For a sense of scale, recall that our genomes have KL=400 loci, and therefore, 250 steps are sufficient for over half of the bits to flip.

Curiously, however, Fig. 3A also shows that, after 100 mutation steps, genomes evolving at a large ΔE consistently exhibit a counterintuitive decline in χ. This behavior is not a peculiarity of our definition of mutational tradeoff; other measures of tradeoff strength exhibit the same phenomenon (SI Appendix, Fig. S7). Examining the evolved genomes in more detail reveals that this decline in χ is associated with genomes becoming more modular as reflected in the “plus”-like shape of the example mutant cloud shown in Fig. 3C (compare with Fig. 2B). Quantitatively, we can define mutational modularity M (again, in reference to a particular environment pair):

M=1iρi|sin2ϕi|iρi,

where (ρi,ϕi) are the mutation effects transformed to polar coordinates: ρ=δFA2+δFB2, ϕ=arctanδFBδFA, and i runs over all KL mutations, including deleterious ones. At M=1 (perfect modularity), each mutation only affects fitness in one environment (polar angle ϕ=0, ±π2, or π) (SI Appendix, Fig. S8). Using this definition, Fig. 3D shows the same evolutionary trajectories in the “mutational tradeoff vs. mutational modularity” plane. We observe that evolution quickly drives the tradeoff strength to its maximum before slowly increasing modularity, and the modularity increase is more pronounced at larger values of ΔE as summarized in Fig. 3E.* Reassuringly, what holds for the entire cloud also applies to the top mutants (most relevant for evolution). Denote by δFAbest, δFBbest the effect on FA of the best mutation in environment B and vice versa (Fig. 3C). For a mutationally modular genome, one expects both to be close to 0: δFA,Bbest0. Fig. 3F compares earlier- and later-timepoint histograms of δFA,Bbest over 100 independent replicates (random starting points, random environment pairs with ΔE=0.9; the histogram does not distinguish δFAbest and δFBbest because of the symmetry swapping labels A and B). The later timepoint shows a clear enrichment of modular genomes (the peak at δFA,Bbest0).

One explanation for this enrichment might be that high-fitness genomes are generally more modular. However, we will now demonstrate that evolution at a large ΔE specifically promotes tradeoff weakening: even conditioned on having the same high fitness, the χ of evolved genomes remains atypical (37). Specifically, we will show that 1) high-fitness genomes can exhibit a whole range of mutational tradeoff values, 2) prior evolutionary history predictably pushes genomes into different regions of this high-fitness space, and 3) the resulting genomes, although sharing the same fitness, can differ dramatically in their properties (for instance, in their ability to evolve further).

Evolutionary History Shapes Mutational Tradeoff

Fig. 3B demonstrated that mutational tradeoff strength of evolved genomes is not typical of all genomes (the red curve is clearly distinct from the blue curve). Establishing whether evolution specifically promotes mutational tradeoff weakening requires a stronger statement, namely that the χ arising through evolution is not even typical of high-fitness genomes. To show this, the most direct approach would be to compare the evolved χ with the typical values observed when sampling high-fitness genomes in an unbiased way. Unfortunately, we have no procedure for such an unbiased sampling other than a complete enumeration, which is only viable for extremely small K and L (compare with Fig. 2). Instead, we will reach the same conclusion by showing that different ways of evolving high fitness lead to genomes with different mutational tradeoff strength.

Consider the following computational experiment. Generate one random environment pair P*{EA*,EB*}; we used a pair with ΔE=0.9. Define fitness in the environment pair as the average over fitness in EA* and EB*:

F(G,P*)FG,EA*+FG,EB*2.

Throughout the experiment, we will only be concerned with fitness and mutational tradeoff as measured in this pair P*. Under our protocol, the success of any mutation depends only on its fitness effect in the one environment to which the genome is exposed at the time. However, as exposures alternate, the average fitness in the pair will typically also increase.

What other evolutionary protocols could lead to increased fitness in P*={EA*,EB*}? One cannot expect that evolving in some random other pair will increase the mean fitness in P*, but one can consider evolving a genome in similar environments or the average of EA* and EB*. In our model, for any {EA*,EB*}, one can create similar pairs of environments by rotating the vectors toward or away from each other (in log space to preserve positivity of components) (SI Appendix). This yields a one-parameter family of environment pairs P(ΔE) indexed by their difference ΔE (Fig. 4A). For a concrete analogy, if EA and EB represent hot and cold seasons, then P(ΔE) is a family of environment pairs where the intensity of seasonal variation is more mild or more severe (quantified by ΔE). If we preevolve the same 20 random starting genomes in these conditions, with ΔE exaggerated or softened as described, what effect will this have on the fitness and mutational tradeoff strength as measured in the pair of interest, P*?

Fig. 4.

Fig. 4.

Evolutionary history shapes tradeoff structure and vice versa. (A) For a randomly chosen pair of environments EA*, EB*, the difference between them can be softened or exaggerated by rotating the vectors toward or away from each other (in the log space to preserve positivity) (SI Appendix). This family of pairs is denoted P(ΔE), with P* the original pair that we chose to have ΔE=0.9. (B) The same 20 random initial genomes (K=4, L=100) were evolved for 250 mutational steps: either directly in P* (solid black line) or in another environment pair from the P(ΔE) family, with ΔE=0 (the average environment) or ΔE=1.3 (exaggerated differences). The mutational tradeoff measured in the original environment pair P* is plotted against the mean fitness in P* (i.e., genomes are evolved in different environment pairs but are all evaluated in the same pair). Data points show the individual genomes every 25 mutational steps; each line is the average over the 20 trajectories evolved in the same environment pair. We observe that different evolutionary histories consistently drive genomes to different tradeoff strengths, even when compared at the same fitness. (C) Trajectories of B shown on the tradeoff vs. modularity plane; colors are the same as in B. Evolution at a low ΔE yields high-tradeoff, low-modularity genomes, while an exaggerated ΔE leads to modularity increase (SI Appendix, Fig. S9). (D) Mutational tradeoff shapes the near-term evolutionary future. Here, sets of 20 genomes, prepared by preevolving for varying lengths of time at different ΔE as in B, were “transferred” to continue evolution in the pair P*. For each set, an arrow shows the average change of fitness and mutational tradeoff in P* over the next 20 mutation steps. Trajectories from B are shown for reference. The contrast in outcomes is particularly striking for the highest-fitness genomes (colored circles; see also E). (E) Evolvability of genomes with different mutational tradeoff. The 20 genomes of B were each evolved under 15 different values of ΔE until reaching fitness 0.5±0.001 when evaluated in P*. This yielded a set of 300 genomes with the same fitness in P* but different mutational tradeoff χ. Each was then evolved in P* for 20 steps; the mean fitness gain (over the two environments in the pair P*) is plotted against the initial value of mutational tradeoff χ. The genomes with the weakest χ evolve fastest, whereas genomes with the highest χ actually decline in mean fitness (compare with D). (F) The most evolvable genomes are also the least “versatile.” The same 300 genomes as in E are evaluated in random “intermediate” environments Eint between EA* and EB* (in the text). Plotted is mean fitness F(Eint) over 100 intermediate environments ±1 SD.

The results are presented in Fig. 4B, showing the mutational tradeoff vs. average fitness, both measured in P*. The black solid line in Fig. 4B corresponds to the simplest scenario, where the 20 initial genomes are evolved directly in P*. The evolutionary time runs left to right, reflected in increasing fitness. If our hypothesis is correct, evolving the same initial genomes at a larger ΔE (red in Fig. 4 B and C) should promote a more modular genome architecture and a weaker tradeoff; this is indeed what we observe (Fig. 4 B and C and SI Appendix, Fig. S9). Conversely, if instead of exaggerating the differences, we soften them to ΔE=0 (i.e., replace the environment pair P* with a single environment, their mean), we obtain the trajectory in blue in Fig. 4 B and C. (Note that the mutational tradeoff evaluated in an environment “pair” with ΔE=0 is always 1, but Fig. 4 B and C shows the mutational tradeoff evaluated in the original pair of interest P*.)

Fig. 4 B and C directly demonstrates that, within our model, manipulating evolutionary history predictably pushes evolving genomes toward stronger or weaker modularity and mutational tradeoff. In particular, if we pick similarly performing genomes from the right-hand side of this plot, we will find that they all attain the same mean performance in different ways, with a wide range of tradeoff values. We can now ask: how does this difference affect their near-term evolutionary future?

Tradeoff Strength Shapes Evolution

To address how the evolutionary history and current tradeoff strength affect future evolution, we used the protocol of Fig. 4B (computationally preevolving the same 20 initial genomes in 15 different environment pairs for a varying length of time) to obtain a collection of genomes evenly populating a region of the fitness vs. mutational tradeoff plane. Each was then evolved for 20 further mutational steps in our pair of interest P*. The result is presented in Fig. 4D, where each arrow describes the change in the mean fitness and tradeoff strength in P* observed over these 20 mutation steps (averaged over the 20 genomes in the set).

First, notice that arrows in Fig. 4D in the vicinity of the black trajectory are tangent to it. This, of course, is exactly what we expect, since the black trajectory (copied from Fig. 4B) traces the evolution in this same pair P*. However, arrows starting elsewhere in Fig. 4D on this plane (preevolved at a different ΔE, then transferred into P*) show different behaviors. It is especially interesting to compare the arrows on the far right side of the plot (colored circles in Fig. 4D). As a reminder, under our protocol, all genome sets were obtained from the same 20 initial genomes and differ only by evolutionary history. Yet, evolving them in the same environment P* for the same amount of time (20 mutation steps) leads to very different outcomes. The low-tradeoff genomes obtained by preevolving at an exaggerated ΔE (red circle in Fig. 4D) exhibit a dramatically faster speed of subsequent evolution in P* compared with similar fitness genomes that never left this environment pair (black circle in Fig. 4D). In contrast, attempting to further evolve the highest-tradeoff genomes (blue circle in Fig. 4D) actually leads to a decrease in mean fitness. For these genomes, mutations beneficial in one environment of the pair are so strongly deleterious in the other that the mean fitness declines. To summarize, genomes with different evolutionary history have predictably different evolutionary future.

This observation is further illustrated in Fig. 4E, where the mean fitness gain over 20 generations is shown for 300 individual genomes, all with the same initial mean fitness 0.5±0.001, plotted against their initial mutational tradeoff strength. The plot directly confirms that weak-tradeoff genomes evolve fast, whereas for the strongest-tradeoff genomes, the fitness gain dips into the negative.

The relation observed in Fig. 4E is consistent with the previously proposed idea that modular architecture is more “evolvable” (28, 38, 39). Intriguingly, however, our framework allows the benefits of modularity to be nuanced. For example, rather than continuing evolution in the pair P*={EA*,EB*}, consider instead generating a large number of intermediate environments E, where each component is independently and uniformly drawn to be between the respective component of EA* and EB*. Fig. 4F shows the average fitness of the exact same 300 genomes in the intermediate environments. The trend is now reversed: the “best” genomes as judged by Fig. 4E perform worst in this test. Intuitively, while a modular architecture (for a given environment pair) facilitates continuing adaptation to that same pair (Fig. 4E), it also suffers from a form of “overfitting”: the nonmodular architectures may be more versatile when evaluated across a range of similar environments (Fig. 4F).

In summary, Fig. 4 demonstrates that evolution shapes mutational tradeoff and conversely, that mutational tradeoff shapes evolution. We will conclude by exhibiting a nontrivial phenomenon arising as a consequence of this feedback loop.

Best Adaptation for One Environment Pair Evolves in Another

Consider the problem in which a pair P* is given, and we would like to evolve a random starting genome G0 toward a high mean fitness in this particular pair of environments. The most natural approach, of course, would be to evolve G0 directly in P*. However, the results of Fig. 4 suggest that evolving instead in a different environment pair, with differences exaggerated or softened, might offer a more efficient path toward P*-fitness increase. Fig. 5A confirms this by replotting the trajectories from Fig. 4A, showing fitness in the environment pair of interest P* (with ΔE=0.9) as a function of time for genomes evolving under three different values of ΔE. Importantly, in this example, genomes evolving directly in P* are typically less fit than those evolved from the same initial genomes and for the same number of mutation steps but in a different environment pair (blue or red in Fig. 5A).

Fig. 5.

Fig. 5.

Best adaptation for one environment evolves in another. (A) The same 20 random initial genomes (K=4, L=100) are evolved at different ΔE and evaluated at ΔE=0.9 (in P*). Shown is mean fitness ±1 SD over the 20 trajectories. Remarkably, the genomes evolving directly in the environment pair of interest (black) are typically less fit than those evolved from the same initial genomes and for the same number of mutation steps but in one of the other environment pairs with softened (blue) or exaggerated (red) differences. (B) Same as A replotted vs. ΔE. The same initial genome is evolved in different environment pairs; contour lines spaced by 10 mutation steps show the mean fitness evaluated in the environment pair of interest (P* with ΔE=0.9). Plot is averaged over 20 random instances of the initial genome. The three arrows correspond to the three trajectories shown in A. We see that, generically, the genomes with the highest fitness in P* were evolved in other environment pairs: after 100 mutation steps, the genomes performing best at ΔE=0.9 are those evolved at ΔE=0, while at 250 mutation steps, the best were evolved at ΔE=1.1. See text for explanation.

A more detailed visualization of this phenomenon is presented in Fig. 5B. In the hot and cold season analogy, think of the ΔE axis in Fig. 5B as a transect through a continent, running from a region with no seasonal variation (ΔE=0) through regions where it is increasingly more severe; we are focusing on a particular temperate region P* with moderate seasonal variation (ΔE*=0.9). Imagine populating this continent with an initially clonal population (the initial genome G0). Initially neglecting migration, we let these genomes independently evolve in their respective environments. However, every 10 mutation steps, we consider potential immigrants to the temperate region of interest: namely, we evaluate the performance of all of the lineages in the pair P* and plot it on the y axis.

By construction, initially all genomes are the same, and their performance in P* is also the same. However, 100 mutation steps later (purple in Fig. 5B), the highest fitness in P* is exhibited by genomes that evolved at ΔE=0. These genomes were evolved under selection pressure from a single averaged environment and cannot, of course, develop any hot- or cold-specific adaptations, but at the early stages, evolution proceeds very efficiently as there are no conflicting pressures from the two environments.

As evolution proceeds further, the behavior inverts. After 250 mutation steps (orange in Fig. 5B), the highest fitness in P* is exhibited by genomes that evolved at ΔE1.1. Initially, the increase in mean fitness under such harsh seasonal variations was very slow, with beneficial mutations in one environment undoing the gain made in the other. However, eventually, the lineages evolving under this large ΔE develop a weakened mutational tradeoff (compare with Fig. 4): this enables them to gain fitness more efficiently, overtaking the lineages evolving in P*. In this model, modularity is thus good for evolvability, but it takes time and the right conditions to itself evolve.

It is worth noting that this effect can persist even in the long run (shown in yellow in in Fig. 5B for 1,000 steps; additional discussion is in SI Appendix, Fig. S10). One implication of this in our spatial/seasonal metaphor is that, in the presence of migration, the phenomenon described will lead to a qualitative change in the expected genealogy structure of the long-term surviving lineages. In particular, the environment pairs with large variations turn into sources of evolutionary innovation, promoting the development of EA- and EB-specific adaptations capable of invading other environments and outcompeting the resident lineages. Importantly, in our model, this is true even though we have explicitly excluded the effects of diversity that would in general be created in each environment.

Discussion

Understanding evolution in multiple or changing environments requires developing an understanding of which phenomena observed in the laboratory (or the wild) depend on specific details, which are more general, which experimental outcomes are truly surprising, and which can be found in a very simple model. We presented a toy model able to capture the key feedback loop of evolutionary tradeoff plasticity, whereby organisms evolving in different environments are constrained by performance tradeoffs, but such tradeoffs themselves depend on the evolutionary history. By defining fitness through a regulatory or physiological optimization problem, our approach is reminiscent of asking evolutionary questions from within the framework of flux balance analysis (4046). However, our “toolbox” model abstracts away any specifically metabolic (or other) detail, retaining only the flexibility of regulation (i.e., the fact that genome-encoded tools can be used in an environment-dependent manner). Remarkably, this simple model already exhibits qualitatively rich phenomena, including effects that change sign during the course of evolution.

One of the effects that we studied by example shows how the best adaptation for one environment may be expected to first emerge in another. Examples of this phenomenon are known experimentally: for instance, the fastest way to evolve resistance to a high dose of antibiotic is through a series of exposures to increasing doses rather than direct pressure from the environment of interest (19, 23). Our results suggest that, for evolution considered across multiple environments, this scenario may well be generic. If true, this is likely to impose a strong constraint on the predictive power of single-environment evolutionary models: successful lineages coming from elsewhere are beyond their scope, yet successful invaders can have a profound impact, including on genealogical structures, a key observable used for inferences from data. This highlights the need for simple illustrative models able to incorporate explicit dependence on environment to help develop null model phenomenological expectations, against which experimental results can be compared (21).

The phenomena reported here did not require fine tuning of model parameters; they arise because the space of high-fitness genomes is naturally large and diverse so that different evolutionary histories generically bias evolved genomes toward different corners of the high-fitness space. In our model, this property is ensured by choosing the number of tools that can be independently regulated to be larger than the number of environments probed (K>Nenv), but the observation that there are many ways to be fit should surely not be model specific. Establishing the generality of our observations, extending them to multiple environments (rather than just pairs), and relating the predictions of our framework to experiments all constitute productive directions for future work. Furthermore, our simple model assumed that organisms sense their environment perfectly and regulate their physiology optimally. Relaxing these assumptions offers natural directions in which our model could be extended.

Materials and Methods

All simulations were performed in MATLAB (Mathworks, Inc.). The associated code and scripts reproducing all of the figures in the paper are available at Mendeley Data, https://doi.org/10.17632/ykypdppy9n.2 (47).

Supplementary Material

Supplementary File

Acknowledgments

We thank A. Agarwala, D. Finlay, S. Leibler, R. Monasson, J. Moran, and A. Murugan. This work was supported in part by NSF Grants PHY-1607606, PHY-1545840, and PHY-1720397 and a Simons Investigator Award (to S.K.).

Footnotes

The authors declare no competing interest.

This article is a PNAS Direct Submission.

Data deposition: The associated code and scripts reproducing all of the figures in the paper are available at Mendeley Data, https://doi.org/10.17632/ykypdppy9n.2.

*Note, however, that both χ and M are explicitly properties of both the genome and the environment pair, and one should be cautious not to overinterpret a direct comparison of these metrics across different values of ΔE. For instance, the trajectories shown in Fig. 3F all start from similar (random) genomes, but the initial χ and M are different because each trajectory is being evaluated in a different environment pair. The effect of evolution at large ΔE on promoting modularity in our model is a hypothesis suggested by Fig. 3F but verified in Fig. 4, where all genomes are evaluated in the same environment, and direct comparisons of their fitness, mutational tradeoff, and/or mutational modularity become meaningful.

This article contains supporting information online at https://www.pnas.org/lookup/suppl/doi:10.1073/pnas.1915537117/-/DCSupplemental.

References

  • 1.Roff D. A., Fairbairn D. J., The evolution of trade-offs: Where are we? J. Evol. Biol. 20, 433–447 (2007). [DOI] [PubMed] [Google Scholar]
  • 2.Callahan H. S., Maughan H., Steiner U. K., Phenotypic plasticity, costs of phenotypes, and costs of plasticity: Toward an integrative view. Ann. N. Y. Acad. Sci. 1133, 44–66 (2008). [DOI] [PubMed] [Google Scholar]
  • 3.Klumpp S., Hwa T., Growth-rate-dependent partitioning of rna polymerases in bacteria. Proc. Natl. Acad. Sci. U.S.A. 105, 20245–20250 (2008). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Kremer C. T., Klausmeier C. A., Coexistence in a variable environment: Eco-evolutionary perspectives. J. Theor. Biol. 339, 14–25 (2013). [DOI] [PubMed] [Google Scholar]
  • 5.Meyer J. R., Gudelj I., Beardmore R., Biophysical mechanisms that maintain biodiversity through trade-offs. Nat. Commun. 6, 6278 (2015). [DOI] [PubMed] [Google Scholar]
  • 6.Posfai A., Taillefumier T., Wingreen N. S., Metabolic trade-offs promote diversity in a model ecosystem. Phys. Rev. Lett. 118, 028103 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Mooney K. A., Halitschke R., Kessler A., Agrawal A. A., Evolutionary trade-offs in plants mediate the strength of trophic cascades. Science 327, 1642–1644 (2010). [DOI] [PubMed] [Google Scholar]
  • 8.Shoval O., et al. , Evolutionary trade-offs, pareto optimality, and the geometry of phenotype space. Science 336, 1157–1160 (2012). [DOI] [PubMed] [Google Scholar]
  • 9.Fraebel D. T., et al. , Environment determines evolutionary trajectory in a constrained phenotypic space. eLife 6, e24669 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Parker G. A., Maynard Smith J., Optimality theory in evolutionary biology. Nature 348, 27–33 (1990). [Google Scholar]
  • 11.Bennett A. F., Lenski R. E., An experimental test of evolutionary trade-offs during temperature adaptation. Proc. Natl. Acad. Sci. U.S.A., 104 (suppl. 1), 8649–8654 (2007). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Li Y., Petrov D. A., Sherlock G., Single nucleotide mapping of trait space reveals Pareto fronts that constrain adaptation. Nat. Ecol. Evol. 3, 1539–1551 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Novak M., Pfeiffer T., Lenski R. E., Sauer U., Bonhoeffer S., Experimental tests for an evolutionary trade-off between growth rate and yield in E. coli. Am. Nat. 168, 242–251 (2006). [DOI] [PubMed] [Google Scholar]
  • 14.Buckling A., Brockhurst M. A., Travisano M., Rainey P. B., Experimental adaptation to high and low quality environments under different scales of temporal variation. J. Evol. Biol. 20, 296–300 (2007). [DOI] [PubMed] [Google Scholar]
  • 15.Jasmin J. N., Zeyl C., Evolution of pleiotropic costs in experimental populations. J. Evol. Biol. 26, 1363–1369 (2013). [DOI] [PubMed] [Google Scholar]
  • 16.Rodriguez-Verdugo A., Carrillo-Cisneros D., Gonzalez-Gonzalez A., Gaut B. S., Bennett A. F., Different tradeoffs result from alternate genetic adaptations to a common environment. Proc. Natl. Acad. Sci. U.S.A. 111, 12121–12126 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Satterwhite R. S., Cooper T. F., Constraints on adaptation of escherichia coli to mixed-resource environments increase over time. Evolution 69, 2067–2078 (2015). [DOI] [PubMed] [Google Scholar]
  • 18.Baym M., Stone L. K., Kishony R., Multidrug evolutionary strategies to reverse antibiotic resistance. Science 351, aad3292 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.McGee L. W., et al. , Synergistic pleiotropy overrides the costs of complexity in viral adaptation. Genetics 202, 285–295 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Bono L. M., Smith L. B., Pfennig D. W., Burch C. L., The emergence of performance trade-offs during local adaptation: Insights from experimental evolution. Mol. Ecol. 26, 1720–1733 (2017). [DOI] [PubMed] [Google Scholar]
  • 21.Yen P., Papin J. A., History of antibiotic adaptation influences microbial evolutionary dynamics during subsequent treatment. PLoS Biol. 15, e2001586 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Khan S., Beattie T. K., Knapp C. W., The use of minimum selectable concentrations (mscs) for determining the selection of antimicrobial resistant bacteria. Ecotoxicology 26, 283–292 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Wistrand-Yuen E., et al. , Evolution of high-level resistance during low-level antibiotic exposure. Nat. Commun. 9, 1599 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Louie R. H. Y., Kaczorowski K. J., Barton J. P., Chakraborty A. K., McKay M. R., Fitness landscape of the human immunodeficiency virus envelope protein that is targeted by antibodies. Proc. Natl. Acad. Sci. U.S.A. 115, E564–E573 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Berezovsky I. N., Shakhnovich E. I., Physics and evolution of thermophilic adaptation. Proc. Natl. Acad. Sci. U.S.A. 102, 12742–12747 (2005). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Fisher R. A., The Genetical Theory of Natural Selection (Clarendon Press, Oxford, UK, 1930). [Google Scholar]
  • 27.Tenaillon O., The utility of Fisher’s geometric model in evolutionary genetics. Annu. Rev. Ecol. Evol. Syst. 45, 179–201 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28.Wagner G. P., Pavlicev M., Cheverud J. M., The road to modularity. Nat. Rev. Genet. 8, 921–931 (2007). [DOI] [PubMed] [Google Scholar]
  • 29.Bono L. M., Draghi J. A., Turner P. E., Evolvability costs of niche expansion. Trends Genet. 36, 14–23 (2019). [DOI] [PubMed] [Google Scholar]
  • 30.Xue B. K., Sartori P., Leibler S., Environment-to-phenotype mapping and adaptation strategies in varying environments. Proc. Natl. Acad. Sci. U. S. A. 116, 13847–13855 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.Maslov S., Krishna S., Pang T. Y., Sneppen K., Toolbox model of evolution of prokaryotic metabolic networks and their regulation. Proc. Natl. Acad. Sci. U.S.A. 106, 9743–9748 (2009). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Scheiner S. M., Genetics and evolution of phenotypic plasticity. Annu. Rev. Ecol. Systemat. 24, 35–68 (1993). [Google Scholar]
  • 33.Pigliucci M., Phenotypic Plasticity: Beyond Nature and Nurture (Johns Hopkins University Press, Baltimore, MD, 2001). [Google Scholar]
  • 34.DeWitt T. J., Scheiner S. M., Phenotypic Plasticity: Functional and Conceptual Approaches (Oxford University Press, Oxford, UK, 2004). [Google Scholar]
  • 35.Fox R. J., Donelson J. M., Schunter C., Ravasi T., Gaitán-Espitia J. D., Beyond buying time: The role of plasticity in phenotypic adaptation to rapid environmental change. Philos. Trans. R Soc. Lond. B Biol. Sci. 374, 20180174 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.Gillespie J. H., A simple stochastic gene substitution model. Theor. Popul. Biol. 23, 202–215 (1983). [DOI] [PubMed] [Google Scholar]
  • 37.Agarwala A., Fisher D. S., Adaptive walks on high-dimensional fitness landscapes and seascapes with distance-dependent statistics. Theor. Popul. Biol. 130, 13–49 (2019). [DOI] [PubMed] [Google Scholar]
  • 38.Kashtan N., Noor E., Alon U., Varying environments can speed up evolution. Proc. Natl. Acad. Sci. U.S.A. 104, 13711–13716 (2007). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Lorenz D. M., Jeng A., Deem M. W., The emergence of modularity in biological systems. Phys. Life Rev. 8, 129–160 (2011). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 40.Orth J. D., Thiele I., Palsson B. O., What is flux balance analysis?. Nat. Biotechnol. 28, 245–248 (2010). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41.Schuetz R., Zamboni N., Zampieri M., Heinemann M., Sauer U., Multidimensional optimality of microbial metabolism. Science 336, 601–604 (2012). [DOI] [PubMed] [Google Scholar]
  • 42.Harcombe W. R., Delaney N. F., Leiby N., Klitgord N., Marx C. J., The ability of flux balance analysis to predict evolution of central metabolism scales with the initial distance to the optimum. PLoS Comput. Biol. 9, e1003091 (2013). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43.Grosskopf T., et al. , Metabolic modelling in a dynamic evolutionary framework predicts adaptive diversification of bacteria in a long-term evolution experiment. BMC Evol. Biol. 16, 163 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44.Zhao Q., Stettner A. I., Reznik E., Paschalidis I. C., Segre D., Mapping the landscape of metabolic goals of a cell. Genome Biol. 17, 109 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45.Bajic D., Vila J. C. C., Blount Z. D., Sanchez A., On the deformability of an empirical fitness landscape by microbial evolution. Proc. Natl. Acad. Sci. U.S.A. 115, 11286–11291 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 46.Thommes M., Wang T., Zhao Q., Paschalidis I. C., Segre D., Designing metabolic division of labor in microbial communities. mSystems 4, e00263-18 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 47.Tikhonov M., A model for the interplay between tradeoff plasticity and evolution in changing environment. Mendeley Data. 10.17632/ykypdppy9n.2. Deposited 20 March 2020. [DOI] [Google Scholar]

Associated Data

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

Supplementary Materials

Supplementary File

Articles from Proceedings of the National Academy of Sciences of the United States of America are provided here courtesy of National Academy of Sciences

RESOURCES