Manuscript Offprint
arXiv:2611.07048Adapting the Process of Adaptation: Darwinian, Lamarckian, and Agent-Directed Evolution in AI
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.
Abstract
Evolution has shaped intelligence for billions of years. Artificial intelligence (AI) now raises a striking possibility: intelligence may begin to direct its own evolution. As AI agents become capable of modifying and evaluating their own behavior, how quickly could they improve, and how can that improvement remain safe? We develop a theoretical framework comparing Darwinian, Lamarckian, and agent-directed evolution following environmental change. Darwinian evolution relies on natural selection, Lamarckian evolution adds inherited learning, and agent-directed evolution allows agents to generate and evaluate behavioral variants and choose how extensively to search. When learning is sufficiently effective, these mechanisms exhibit progressively faster adaptation. Generating more variants accelerates adaptation, while optimal search effort depends on learning ability, problem difficulty, and experimentation costs. However, an agent's ability to direct its improvement does not ensure that improvements are evaluated against the intended objective. When the evaluation target is misspecified, additional search accelerates convergence toward the wrong behavior, even as measured performance improves. In recursive self-improvement, such errors may persist across generations, posing challenges for AI safety. Independent evaluation and oversight must keep pace with autonomous AI development. The central challenge is not simply to accelerate the evolution of intelligence, but to preserve humanity's ability to guide its direction, limit its speed, and intervene when necessary.
JEL Codes: C73, D81, D83, O33.
Keywords: Artificial Intelligence (AI), Darwinian evolution, Lamarckian evolution, agent-directed evolution, recursive self-improvement, adaptive search, AI safety.
*The views expressed in this article are those of the authors alone and do not necessarily reflect the views of any institution or agency with which they are affiliated. AI was used in the preparation of this manuscript (see Appendix A).
†Corresponding author; MIT Sloan School of Management; MIT Laboratory for Financial Engineering; MIT Computer Science and Artificial Intelligence Laboratory; Santa Fe Institute; 100 Main Street, E62-618, Cambridge, MA 02142, alo-admin@mit.edu.
‡MIT Sloan School of Management; MIT Laboratory for Financial Engineering. 1 Main Street, E90, Cambridge, MA 02142, cy_zhao@mit.edu.
Contents
1 Introduction 1 2 Related Literature 3 3 The Framework 5 3.1 Growth of a lineage 5 3.2 Growth of a population 7 3.3 Mechanisms and measures of adaptation 9 4 Darwinian Evolution 10 4.1 The model 10 4.2 Adaptation time and rate 11 5 Lamarckian Evolution 12 5.1 The model 12 5.2 Adaptation time and rate 13 6 Agent-Directed Evolution 14 6.1 The model 15 6.2 Adaptation time and rate 16 6.3 Choosing the number of variants 18 7 Comparing the Three Mechanisms 20 7.1 Comparing adaptation speeds 20 7.2 Numerical illustrations 21 8 Implications for AI Safety 23 8.1 Adaptation toward the wrong target 23 8.2 Evaluation and oversight 25 9 Conclusion 26 Appendix 28 A AI Use Disclosure 28 B Notation 28 C Additional Figures 31 D Lemmas and Proofs 34 D.1 Lemmas 34 D.2 Proofs 38
This search resembles evolution: variants are generated, promising ones are retained, and useful information is passed on to later attempts. FunSearch (Romera-Paredes et al., 2024), AlphaEvolve (Novikov et al., 2025), and the Darwin Gödel Machine (Zhang et al., 2025) follow the same principle: AI systems propose modifications to programs or agents, evaluate them, and build on the successful ones.
These ideas come together in an emerging research direction, recursive self-improvement (RSI), in which an AI system improves itself and uses the improved version to make further improvements. In the Darwin Gödel Machine, AI agents modify their own code, evaluate the resulting variants, and keep the successful changes for later generations (Zhang et al., 2025). More recently, Srikanth et al. (2026) developed AIDE , an AI research agent that recursively modifies its own code and evaluates the results. These studies suggest that AI systems are increasingly able not only to perform complex tasks but also to improve the processes through which they perform them.
These developments point to a more fundamental possibility: AI systems may increasingly take control of their own evolution. Instead of improving within a process designed by humans, a system may decide how it searches for improvements, how extensively it experiments, and how it carries improvements forward to later generations. Because improved systems can produce further improvements, this could greatly accelerate AI development and make its capabilities harder for humans to anticipate and oversee. We call this shift agent-directed evolution. It holds great potential for scientific discovery and technological progress, but it also raises safety concerns as AI systems gain greater control over their own development.
This possibility motivates several questions. How much faster can a system adapt through learning and self-directed search than through natural selection alone? What determines the speed of adaptation, and how should an agent weigh the benefits of more search against its costs? More importantly, does faster adaptation necessarily lead to better outcomes, or can it also accelerate the development of behaviors that humans did not intend?
To address these questions, we build on the evolutionary framework of Brennan and Lo (2011, 2012), in which individuals inherit different behaviors and natural selection favors the behaviors that lead to faster population growth. When the environment changes, previously successful behaviors may no longer be optimal, and the population must adapt. In Section 3, we show that the growth lost to suboptimal behavior equals the Kullback–Leibler (KL) divergence between the environmental and behavioral distributions (Propositions 2 and 3). We call this loss growth regret and use it to compare how quickly Darwinian, Lamarckian, and agent-directed evolution adapt.
The three mechanisms start from the same population. Under Darwinian evolution, inherited behaviors are fixed, and the population adapts as natural selection makes better-adapted individuals more prevalent (Section 4). Under Lamarckian evolution, individuals can also learn from their environment and pass their acquired improvements to later generations (Section 5). Under agent-directed evolution, individuals further generate multiple variants of themselves, evaluate them, and retain the best for further learning (Section 6). More importantly, the agent decides how extensively to search, which we use as a simple model of how an intelligent system can influence its own evolution. We measure speed by the adaptation time, the number of generations needed to reduce growth regret to a given threshold, and the adaptation rate, the long-run exponential rate at which growth regret declines.
Our first set of results characterizes the adaptation speeds of the three mechanisms. Darwinian adaptation relies on natural selection to spread individuals who already have the optimal behavior, so it can take arbitrarily long when they are initially rare (Theorem 1). Lamarckian evolution removes this dependence, because individuals improve their inherited behavior directly through learning (Theorem 2). Agent-directed evolution adapts even faster by searching among alternative improvements (Theorem 3). In Section 7, we show that, when learning is sufficiently effective, agent-directed evolution has the highest long-run adaptation rate, followed by Lamarckian and then Darwinian evolution; the same ranking holds for expected adaptation times (Theorem 4).
Our second set of results, in Section 6, concerns how search accelerates adaptation and how an agent should allocate its search effort. Generating more variants always increases the adaptation rate, by an amount that depends on the difficulty of the problem (Proposition 4). For easier problems, the gain can be substantial: in the most favorable case, it grows approximately as 2 log N, where N is the number of variants. For harder problems, the gain is smaller and approaches a finite ceiling, although more variants still speed up adaptation. When search is costly, the optimal number of variants increases as learning becomes less effective, the problem becomes easier, or search becomes cheaper (Proposition 5). An in-telligent system can thus adjust its search effort according to its learning ability, problem difficulty, and available resources.
Our third set of results concerns AI safety: faster adaptation does not necessarily move a system toward the objectives its developers intend. In Section 8, we extend the agent-directed mechanism so that search and learning are guided by an incorrectly specified evaluation target. The agent then keeps improving rapidly according to its evaluator, but its true growth regret does not vanish, and more variants only accelerate convergence toward the incorrect target (Theorem 5). Natural selection, acting on realized outcomes, can eventually correct the population's behavior, but this correction may be slow. Independent evaluation and oversight therefore become increasingly important.
Our analysis brings together ideas from evolutionary biology, economics, and AI: drawing on the biological mechanisms of selection and inheritance, we use a growth-based framework to study how learning and search affect the speed and cost of adaptation in AI systems. Appendix B summarizes how the main elements of our model correspond to their counterparts in evolutionary biology and modern AI systems.
The remainder of this paper proceeds as follows. Section 2 reviews the related literature, and Section 3 introduces the Brennan–Lo framework. Sections 4 to 6 analyze Darwinian, Lamarckian, and agent-directed evolution, respectively, and Section 7 compares their adaptation speeds. Section 8 examines adaptation toward an incorrectly specified target and its implications for AI safety. Section 9 concludes.
2 Related Literature
We review six areas of research in evolutionary biology, information theory, economics, and AI that bear on the speed and direction of adaptation.
Natural Selection and Growth-Optimal Behavior. We build on the evolutionary model of Brennan and Lo (2011), in which natural selection favors inherited behaviors that lead to higher population growth. Later studies extend this framework to bounded rationality and intelligence (Brennan and Lo, 2012), behavioral diversification (Brennan, Lo, and Zhang, 2018), and learning under limited information and memory (Lo and Zhang, 2021; Lo, Zhang, and Zhao, 2025). In evolutionary biology, bet hedging describes how organisms diversify their offspring's behaviors to cope with environmental uncertainty (Cohen, 1966; Bull, 1987; Seger and Brockmann, 1987). Building on this literature, we study how quickly a population adapts after an environmental change.
Information Theory and Evolutionary Growth. Information and growth have long been linked. In the framework of Kelly (1956), the growth lost by using incorrect probabilities can be expressed in terms of the KL divergence (Cover and Thomas, 2006, Chapter 6), and evolutionary biology studies the fitness value of information about the environment (Kussell and Leibler, 2005; Donaldson-Matasci, Bergstrom, and Lachmann, 2010; Rivoire and Leibler, 2011). We establish an analogous relationship between population growth and KL divergence, which lets us measure the loss from suboptimal behavior and compare how quickly different evolutionary mechanisms eliminate it.
Learning and the Inheritance of Acquired Traits. Previous research distinguishes learning that affects an individual's performance from learning whose improvements are inherited. In the Baldwin effect, individual learning can facilitate evolution even without the inheritance of acquired traits (Hinton and Nowlan, 1987; Ackley and Littman, 1992), whereas Lamarckian evolutionary algorithms pass improvements acquired through learning to offspring (Whitley, Gordon, and Mathias, 1994). Related ideas appear in population-based training (Jaderberg et al., 2017) and in methods that transfer learned knowledge across generations of neural networks (Feng et al., 2025). Our Lamarckian mechanism isolates the inheritance of acquired improvements and examines how this channel changes the speed of adaptation under natural selection.
Adaptive Search and Resource Allocation. Evolutionary computation has long studied how to adjust search parameters, such as mutation rates and the distribution of candidate solutions, to improve performance (Eiben, Hinterding, and Michalewicz, 1999; Hansen and Ostermeier, 2001; Bedau and Packard, 2003; Ollivier et al., 2017); autoconstructive evolution goes further and lets the mechanisms of reproduction and variation evolve within the individuals themselves (Spector, 2001). Economic models examine how agents adjust their learning rules to changing environments or forecasting performance (Evans and Honkapohja, 2001; Marcet and Nicolini, 2003). More recent research on inference-time computation studies how the benefit of generating more candidates depends on problem difficulty and computational resources (Brown et al., 2024; Snell et al., 2024). Our agent-directed mechanism poses a related decision in an evolutionary setting, how many variants to generate, and we characterize how search raises the rate of adaptation and how the optimal number of variants depends on problem difficulty, learning ability, and search costs.
RSI in AI. The possibility that intelligent machines could improve their own capabilities has been discussed since Good (1965); an early formal approach is the Gödel machine of
Schmidhuber (2007). FunSearch and AlphaEvolve use AI to generate, evaluate, and retain improved solutions (Romera-Paredes et al., 2024; Novikov et al., 2025), and the Darwin Gödel Machine (Zhang et al., 2025), AIDE² (Srikanth et al., 2026), and multi-agent RSI (Lee et al., 2026) extend this process to AI agents themselves. These developments have prompted discussion of whether AI evolution will remain directed by humans or become increasingly autonomous (Boudry, 2026; Müller, Steels, and Szathmáry, 2026; Zong et al., 2026). Our analysis offers a theoretical perspective by studying how an agent’s control over its own search effort affects the speed and cost of adaptation.
Evaluation and the Direction of Adaptation. The effectiveness of search depends on how candidate improvements are evaluated. Evolutionary algorithms can exploit evaluation criteria in unintended ways (Lehman et al., 2020), and stronger optimization against learned reward models can widen the gap between measured reward and true quality (Gao, Schulman, and Hilton, 2023). We examine how an incorrectly specified evaluation target affects evolutionary adaptation and show that more search can accelerate adaptation toward the evaluator’s target without correcting the error.
3 The Framework
To compare different mechanisms of adaptation, we need a framework that identifies both the optimal behavior and the cost of deviating from it. We adopt the evolutionary model of Brennan and Lo (2011), in which natural selection favors behaviors that maximize long-run population growth. Section 3.1 studies the growth of a lineage, Section 3.2 extends the analysis to a population with multiple lineages, and Section 3.3 introduces the three evolutionary mechanisms, establishes a common setting for comparing them, and defines the adaptation time and rate.
3.1 Growth of a lineage
Consider a large lineage of asexually reproducing individuals. In generation , all individuals inherit the same behavior , choosing action with probability and action with probability . The three evolutionary mechanisms considered in this study differ in whether and how changes across generations. Individuals in generation reproduce to form generation , and their reproductive success depends on the chosen action and the environmental state , which is shared by all individuals. Let and denote the numbers of offspring produced by an individual choosing and , respectively. Then
where is the number of offspring produced by an individual choosing the successful action: action succeeds in state , and action succeeds in state . Individuals choosing the other action produce no offspring. The probability of state is , and the environmental states are independent across generations.
Let denote the size of the lineage in generation . Because the lineage is large, a fraction of its individuals chooses action , while the remaining fraction chooses action . If , only those choosing reproduce, each producing offspring, so the lineage grows by the factor . Similarly, if , the lineage grows by the factor . Taking the expected logarithm of these growth factors gives
We refer to as the growth rate associated with behavior .
Given the growth rate in Equation (1), we can now identify the inherited behavior that maximizes population growth.
Proposition 1 (Probability matching). For , is strictly concave on , and
The proposition shows that a lineage maximizes its expected log growth in every generation by matching the fraction of individuals choosing each action to the probability that the action succeeds. The intuition is that diversification is essential when all individuals face the same environmental risk. A lineage that always chooses one action will eventually become extinct when the other action succeeds, whereas a lineage that divides its individuals between the two actions can reproduce in either environmental state. This is the probability-matching result of Brennan and Lo (2011).
To compare how different evolutionary mechanisms adapt to a changing environment, we need a measure of how much growth a lineage loses when its behavior deviates from the optimum. The following proposition defines this loss and establishes its connection to information theory.
Proposition 2 (Growth regret is relative entropy). For , the growth regret of behavior is
where denotes the Bernoulli distribution with success probability , and denotes the KL divergence. Equality holds if and only if f = p.
The proposition shows that growth regret can be expressed exactly as the KL divergence between the environmental distribution and the inherited behavioral distribution. This result is closely related to the Kelly criterion (Kelly, 1956), which characterizes the cost of betting according to incorrect probabilities. For a lineage with the behavior in generation t, is the expected log growth that it loses from generation t to generation relative to a lineage with the optimal behavior p. Growth regret thus provides a natural measure of maladaptation, allowing us to compare the three evolutionary mechanisms in terms of how quickly they recover the growth lost after an environmental change.
To understand the magnitude of growth regret and how it varies with behavior , consider its Taylor expansion around the optimal behavior :
The expansion shows that, for small deviations, growth regret increases approximately with the square of the distance from the optimum. Doubling the deviation therefore approximately quadruples the loss in growth.
3.2 Growth of a population
So far, we have considered a single lineage whose individuals share the same behavior within each generation. We now extend the analysis to a population consisting of several lineages, each with its own behavior. For simplicity, we focus on two lineages, although the results extend to more. In generation , let and denote their behaviors, and their population shares, and the size of the entire population. The two lineages therefore contain and individuals, respectively.
To determine the growth of the entire population, we first consider the offspring produced by each lineage. If , only individuals choosing action reproduce. The first lineage therefore grows by the factor , contributing individuals to the next generation. Similarly, the second lineage contributes individuals. Adding the two contributions, the population has individuals in generation , where
is the average behavior of the population. If , only individuals choosing action reproduce. The two lineages then contribute and individuals, respectively, giving a total population of in generation .
We can also use these results to determine how the relative shares of the two lineages evolve through natural selection. The share of the first lineage in generation is its number of offspring divided by the total population size:
Equation (5) describes how natural selection changes the relative shares of the two lineages from one generation to the next.
We now consider the growth of the population as a whole. When , its size increases from to , whereas when , it increases to . Taking the expected logarithm of the population growth ratio gives
where the last equality follows from Equation (1) with in place of . Equation (6) shows that the population's expected log growth depends on the behaviors of the two lineages only through their average . This is because reproductive success depends on the chosen action and the environmental state, rather than on which lineage an individual belongs to.
We can therefore measure the growth regret of the entire population in the same way as for a single lineage, by comparing its expected log growth with the optimal growth rate . Combining Equation (6) with Proposition 2 gives the following result.
Proposition 3 (Growth regret of a population with two behaviors). For and ,
The population's growth regret is therefore determined by its average behavior .
3.3 Mechanisms and measures of adaptation
The preceding analysis shows that a population’s growth regret depends on its average behavior, which can change through two channels: natural selection changes the relative shares of lineages, while learning or search can change their inherited behaviors. We consider three evolutionary mechanisms that differ in which of these channels are available. Under Darwinian evolution, inherited behaviors remain fixed, and adaptation occurs through natural selection alone. Lamarckian evolution additionally allows individuals to learn and pass their acquired improvements to their descendants. Agent-directed evolution further allows individuals to search among variants of their behavior. Natural selection operates under all three mechanisms.
To compare these mechanisms, we consider a common environmental change. Suppose that at time 0, the probability of state changes permanently from to . By Proposition 1, the growth-optimal behavior changes from to . We study how quickly each mechanism allows the population to adapt to the new environment.
We assume that all three mechanisms start from the same population. At time 0, a fraction of individuals already follows the new optimal behavior , while the remaining fraction follows the previously optimal behavior . We refer to their descendants as the adapted lineage and the maladapted lineage, respectively. These names describe their initial behaviors, since the maladapted lineage may become better adapted over time. The adapted lineage retains behavior throughout, while the behavior of the maladapted lineage evolves according to the mechanism under consideration.
We denote the three mechanisms by D, L, and A, respectively. For each mechanism , let denote the population share of the adapted lineage and the behavior of the maladapted lineage in generation . By Equation (4), the population’s average behavior is
Under all three mechanisms, natural selection changes the population share according to Equation (5), with and . The mechanisms differ in how the behavior evolves across generations. By Proposition 3, the population’s growth regret in generation is , which we use to measure maladaptation throughout. Since all three mechanisms share the initial conditions and , they also have the same initial growth regret. We can therefore compare how quickly the three mechanisms reduce growth regret from a common starting point.
There are two natural ways to measure the speed of adaptation. We can ask how many generations are needed to reduce regret by a specified fraction, or how rapidly regret de-clines over the long run. These lead to two complementary measures, adaptation time and adaptation rate, which we define for all three evolutionary mechanisms.
Definition 1 (Adaptation time). For and , the adaptation time of Mechanism M is
with the convention that .
Definition 2 (Adaptation rate). The adaptation rate of Mechanism M is
whenever the limit exists with probability one.
The adaptation time is the first generation in which growth regret falls to at most a fraction of its initial value. It depends on the mechanism M, the threshold , and the initial share of the adapted lineage. The adaptation rate measures the long-run exponential decay of growth regret, with a larger rate indicating faster convergence.
4 Darwinian Evolution
We begin with Darwinian evolution, in which the two lineages retain their respective behaviors and across generations. Since their behaviors remain fixed, the population can adapt only through changes in their relative shares under natural selection. This mechanism provides a benchmark for the other two. Section 4.1 introduces the Darwinian mechanism, and Section 4.2 analyzes its adaptation time and rate.
4.1 The model
The defining feature of Darwinian evolution is that adaptation occurs through natural selection rather than changes in inherited behavior. The two lineages retain their respective behaviors and , while differences in reproductive success change their relative population shares. Following Equation (5), Mechanism D describes this process from one generation to the next.
By Proposition 3, the whole population grows in each generation as a single type- lineage would, and its growth regret in generation is . Although the behaviors of
Mechanism D: Darwinian evolution
Start. Generation 0 has and , and each generation is formed from generation in the steps below; throughout, .
Inheritance. .
Selection. Once the state is realized,
the two lineages remain fixed, natural selection changes their relative shares and hence the population's average behavior.
4.2 Adaptation time and rate
The following theorem characterizes the adaptation time and rate of Mechanism D, as defined in Definitions 1 and 2.
Theorem 1 (Darwinian adaptation rate and time). Under Mechanism D:
(i) for every , with probability one;
(ii)
Here,
Part (i) of Theorem 1 shows that the long-run adaptation rate under Darwinian evolution is . The quantity is the adapted lineage's advantage in expected log growth per generation. The larger the growth advantage of the adapted lineage, the faster it spreads through the population and the faster growth regret declines. The factor of two arises because growth regret is approximately quadratic near the optimum (Equation (3)). Importantly, the adaptation rate does not depend on the initial share of the adapted lineage: regardless of how rare it is initially, the population eventually adapts at the same long-run rate.
Part (ii) of Theorem 1 explains how the expected adaptation time depends on the threshold and the initial share . First, for any fixed , the expected adaptation time grows like as approaches zero. Second, for any fixed threshold , the expected adaptation time grows like as approaches zero. The intuition is that when the adapted lineage is initially rare, it must first grow to a sufficiently large share before it can substantially improve the population's average behavior. We call this additional delay the seed penalty. It can become arbitrarily large even though the long-run adaptation rate remains unchanged. At , adaptation is impossible: without any individuals carrying the adapted behavior, natural selection has no way to introduce it.¹
Darwinian adaptation operates entirely through natural selection among fixed inherited behaviors. We next consider Lamarckian evolution, in which learning can also change the behavior passed on to future generations.
5 Lamarckian Evolution
We now consider Lamarckian evolution, which adds the inheritance of acquired improvements to the Darwinian framework: natural selection still determines the relative shares of the two lineages, but the maladapted lineage can also learn from the new environment and pass its improved behavior to its descendants. Section 5.1 introduces the Lamarckian mechanism and examines how learning interacts with selection, and Section 5.2 analyzes its adaptation time and rate.
5.1 The model
Under Lamarckian evolution, individuals can acquire better behavior during their lifetimes and pass it on to their descendants, so the initially maladapted lineage can improve its inherited behavior over successive generations instead of relying entirely on natural selection to increase the share of the already adapted lineage.
How much can learning improve inherited behavior in each generation? If individuals could fully adopt the new optimal behavior and transmit it to their descendants, they could reach the optimum in a single generation. However, individuals may be able to change their behavior only partly within a lifetime, and acquired improvements may not be fully transmitted. We capture these limitations by assuming that, in each generation, learning and transmission move the maladapted lineage's behavior a fixed fraction of the way toward
¹Mutation could introduce new behaviors and thereby make adaptation possible, but we do not consider mutation in this paper.
the new optimum:
with .
The parameter measures the effectiveness of inherited learning: it combines how much individuals can change their behavior within a generation with how faithfully these changes are passed on. A larger closes more of the remaining gap in each generation, and in the limiting case , the lineage would reach the new optimum in a single generation.
Equation (9) specifies the direction and speed of learning rather than how individuals learn. Behavior moves toward the optimum of the new environment, much as training moves an AI system toward the behavior that its objective rewards. This adjustment rule is closely related to partial-adjustment and adaptive-expectations models in economics (Cagan, 1956; Nerlove, 1958).
Combining learning with the selection rule in Equation (5) gives Mechanism L.
Mechanism L: Lamarckian evolution
Start. Generation 0 has and , and each generation is formed from generation in the steps below; throughout, .
Learning. .
Selection. Once the state is realized,
Mechanism L shows the two channels of adaptation directly: . Natural selection changes the population share of the maladapted lineage, while learning eliminates a fraction of its remaining behavioral gap in each generation. The population can thus approach the new optimum even without the adapted lineage taking over.
5.2 Adaptation time and rate
The following theorem characterizes the adaptation time and rate of Mechanism L, as defined in Definitions 1 and 2.
Theorem 2 (Lamarckian adaptation rate and time). Under Mechanism L:
(i) for every , along every history;
(ii)
Part (i) of Theorem 2 shows that the long-run adaptation rate under Lamarckian evolution is : the larger the learning parameter , the faster the maladapted lineage moves toward the new optimum. Unlike under Darwinian evolution, the rate is determined by the speed of learning rather than by the growth advantage of the adapted lineage. Under Darwinian evolution, the two lineages retain their original behaviors, so the adapted lineage keeps a constant growth advantage. Under Lamarckian evolution, learning gradually eliminates this advantage by improving the maladapted lineage, and natural selection weakens as the two lineages become more similar. Although selection continues to operate, long-run adaptation is therefore driven by learning rather than by changes in population shares.
Part (ii) of Theorem 2 characterizes the expected adaptation time. For any fixed , it grows like as approaches zero. More importantly, it remains uniformly bounded across all initial shares . This is a fundamental difference from Darwinian evolution, where an initially rare adapted lineage can lead to an arbitrarily large seed penalty (Theorem 1). Under Lamarckian evolution, the maladapted lineage can improve its own behavior rather than wait to be replaced, so even when , with no individual initially possessing the optimal behavior, learning can still bring the population toward the new optimum.
Under Mechanism L, however, the learning process is fixed: determines the fraction of the remaining gap eliminated in each generation, and the system does not decide how to search for improvements. We next consider agent-directed evolution, in which the system can generate and evaluate multiple variants of itself and choose how many to explore, so that the process of adaptation itself becomes a decision.
6 Agent-Directed Evolution
We now turn to agent-directed evolution, which adds the ability to search for improvements to the Lamarckian framework: in addition to learning, the maladapted lineage can generate multiple variants of its behavior, evaluate them, and retain the best one for further learning. More importantly, the agent can decide how many variants to explore, which lets it influence the process by which it adapts. Section 6.1 introduces the agent-directed mechanism,
Section 6.2 analyzes its adaptation time and rate and the gain from search, and Section 6.3 examines how many variants the agent chooses when it maximizes the speed of adaptation and when it minimizes its cost.
6.1 The model
In Mechanism L, the maladapted lineage improves its inherited behavior through a fixed learning rule. An intelligent agent may also be able to experiment with different ways of improving its behavior before passing it on: it can generate several candidate modifications of its current behavior, evaluate them, and retain the best one for further learning. We call these candidates variants and let denote the number of variants the agent chooses to generate in each generation.
How much improvement can these variants achieve? The outcome of any attempt is uncertain, with some variants producing substantial improvements and others very little, and the difficulty of the problem may limit how much progress even the best attempt can make. We capture both features by letting each variant move toward the new optimum by a random fraction of the remaining behavioral gap: in generation , the agent generates variants with behaviors
where the random variables are independent, uniformly distributed on , and independent of the environment.
The parameter represents the difficulty of the problem: it is the maximum fraction of the remaining gap that a single variant can eliminate. A smaller corresponds to a harder problem, in which even a successful attempt makes only limited progress, and when , a single variant can move arbitrarily close to the optimum. The agent can choose how many variants to generate, but it controls neither their random outcomes nor . As with the Lamarckian learning rule, Equation (10) is a reduced-form assumption: the agent need not know , but its attempts are assumed to move in the correct direction, with uncertain magnitudes.
We assume that an external evaluator compares the variants and identifies the one whose behavior is closest to ; the agent itself need not know and only receives the evaluator's assessment. The selected variant then undergoes the same learning as in Mechanism L, moving a fraction of the remaining gap toward the optimum, and natural selection operates between the two lineages as before. Combining these steps gives Mechanism A.
Since every variant moves toward the new optimum, the evaluator selects the variant
Mechanism A: agent-directed evolution
Start. Generation 0 has and , and each generation is formed from generation in the steps below; throughout, .
Search. The agent creates variants with behaviors for , where the draws are independent and uniform on .
Evaluation. The evaluator reports , and variant is kept.
Learning. .
Selection. Once the state is realized,
with the largest random draw, . Search eliminates a fraction of the remaining behavioral gap, and learning then eliminates a fraction of what remains. Combining these two steps gives
If the agent generates no variants (), we set , and Equation (11) reduces to the Lamarckian learning rule in Equation (9): Mechanism L is the special case of Mechanism A without search.
6.2 Adaptation time and rate
The following theorem gives the adaptation rate and time of Mechanism A, as defined in Definitions 1 and 2.
Theorem 3 (Agent-directed adaptation rate and time). Under Mechanism A:
(i) for every , with probability one,
where
(ii)
Part (i) of Theorem 3 shows that the long-run adaptation rate under agent-directed evolution is : unlike the Lamarckian rate, which depends only on the learning parameter , it benefits from both learning and search. The term measures the expected improvement from the best of N variants. As in Lamarckian evolution, natural selection continues to operate, but its influence gradually diminishes as the two lineages become better adapted, so the long-run rate is determined by learning and search.
Part (ii) of Theorem 3 characterizes the expected adaptation time. For any fixed , it grows like as approaches zero, and it remains uniformly bounded across all initial shares . Like Lamarckian evolution, agent-directed evolution therefore has no seed penalty, but search provides an additional source of improvement that lets the agent adapt faster than through learning alone.
The following proposition characterizes how the gain from search depends on the number of variants N and the difficulty parameter .
Proposition 4 (What search adds). For the function in Equation (12):
(i) is strictly increasing in for every , and strictly increasing in for every ;
(ii) , and ;
(iii) for , for every , and .
Part (i) of Proposition 4 shows that the gain from search increases with both the number of variants N and the difficulty parameter : more variants raise the chance of finding one that makes substantial progress toward the optimum, and a larger allows each variant to achieve greater improvements.
Part (ii) of Proposition 4 considers the case , where a single variant can move arbitrarily close to the optimum. Then grows approximately like , so the additional adaptation rate from search grows approximately as : each additional variant contributes less than the previous one, but the total gain increases without bound.
Part (iii) of Proposition 4 considers the case , where each variant can eliminate at most a fraction of the remaining behavioral gap. As the number of variants increases, the best variant approaches this maximum and the adaptation rate approaches , so, unlike when , the gain from search has a finite upper bound that depends on the difficulty of the problem. Figure B.1 in Appendix C illustrates Proposition 4.
6.3 Choosing the number of variants
So far, we have treated the number of variants as given. An agent that can choose how many variants to generate must decide how much search to undertake, and this decision depends on what it seeks to achieve. We consider two objectives: maximizing the speed of adaptation and minimizing its cost.
Speed-maximizing agent. Consider first an agent whose primary objective is to adapt as quickly as possible, without accounting for the cost of generating variants. It chooses to maximize its adaptation rate , which increases with for every by Proposition 4(i). Regardless of the difficulty of the problem, more variants therefore always lead to faster adaptation: the gain from search increases at a diminishing rate and may approach a finite upper bound when , but every additional variant still contributes. In the absence of resource constraints, a speed-maximizing agent has no finite optimal and would generate as many variants as its resources permit.
OpenAI’s use of roughly 10,000 agents to tackle the Navier–Stokes problem, as discussed in the Introduction, illustrates this approach (OpenAI, 2026). The scale of this effort suggests a willingness to commit substantial computational resources to exploring more possibilities in parallel, prioritizing rapid progress over minimizing the cost of search. When speed is the primary objective, generating more variants can therefore be worthwhile even at considerable expense. We next consider how the agent’s choice changes when minimizing the total cost of adaptation becomes the objective.
Cost-minimizing agent. A different objective arises for AI agents deployed to perform large numbers of tasks, such as automated bug fixing or code optimization, which may seek to reach a given performance target at the lowest possible computational cost. More variants reduce the number of generations needed to reach the target but increase the cost of each generation. To capture this tradeoff, suppose that learning costs one unit per generation and each variant an additional , so that a generation with variants costs .
The total cost of adaptation is the cost per generation times the number of generations needed to adapt. By Theorem 3(ii), for sufficiently stringent adaptation targets, the expected number of generations is approximately proportional to . We therefore define the long-run cost of adaptation, approximately proportional to the expected total cost, as
Assuming that the agent knows its learning parameter , the difficulty parameter , and the cost , it chooses the number of variants to minimize this long-run cost:
The following proposition characterizes the optimal number of variants and how it depends on these parameters.
Proposition 5 (The optimal number of variants). For the long-run cost in Equation (14) and the choice of in Equation (15):
(i) first decreases and then increases in ;
(ii) is nondecreasing in and nonincreasing in and in .
Part (i) of Proposition 5 shows how the agent balances the benefits and costs of additional variants. Each new variant increases the adaptation rate by less as the number of variants grows, while its cost remains constant. When search is worthwhile, increasing therefore first reduces the long-run cost, but eventually the additional cost outweighs the benefit of faster adaptation, so the agent chooses the number of variants that minimizes rather than generating as many as possible.
Part (ii) of Proposition 5 shows how this choice depends on the agent's learning ability, the difficulty of the problem, and the cost of search. A larger lets the agent adapt more quickly through learning alone, reducing the need for search, and a higher makes variants less attractive, whereas a larger allows each variant to achieve greater improvements and makes search more valuable. The agent therefore chooses more variants when it learns more slowly, when search is less expensive, and when the problem is easier. Figure B.2 in Appendix C illustrates Proposition 5.
We conclude this section by clarifying the distinction between maximizing adaptation speed and minimizing adaptation cost. The speed-maximizing agent maximizes the adaptation rate per generation. When variants can be generated and evaluated in parallel, as in OpenAI's example, additional variants need not lengthen a generation, so maximizing the rate per generation also maximizes the rate per unit of time. If variants are instead evaluated sequentially and the duration of each generation is proportional to , the adaptation rate per unit of time becomes , and maximizing speed yields the same optimal choice as minimizing cost. The optimal search strategy thus depends not only on the agent's objective but also on whether additional variants can be evaluated in parallel.
7 Comparing the Three Mechanisms
Having examined the three evolutionary mechanisms separately, we now compare their adaptation speeds. Section 7.1 compares their adaptation rates and times, and Section 7.2 illustrates the comparison numerically.
7.1 Comparing adaptation speeds
The following theorem compares the adaptation speeds of the three evolutionary mechanisms.
Theorem 4 (Ranking of adaptation speeds). Under Mechanisms , , and , with , and satisfying
(i) for every , with probability one,
(ii) for every , there exists such that
Part (i) of Theorem 4 shows that Lamarckian evolution adapts faster than Darwinian evolution when Equation (16) holds. As learning brings the two lineages closer in behavior, their growth rates converge and the influence of natural selection gradually diminishes, so long-run adaptation is driven by learning, which under this condition is faster than natural selection alone.
The second inequality in part (i) shows that agent-directed evolution adapts faster than Lamarckian evolution, because search adds to the Lamarckian adaptation rate (Theorem 3).
Part (ii) of Theorem 4 compares the expected times the three mechanisms need to reach the same adaptation target: under Equation (16), for any initial share and a sufficiently stringent target, agent-directed evolution requires the fewest generations on average, followed by Lamarckian and then Darwinian evolution.
7.2 Numerical illustrations
We now illustrate the differences in adaptation speed among the three mechanisms numerically. Consider an environment in which the probability of state changes permanently from to . We set the initial share of the adapted lineage to and the learning parameter to . Under agent-directed evolution, the agent generates one variant per generation (), with the difficulty parameter . These parameters give , , , and . Since , the condition in Equation (16) holds, and the three mechanisms satisfy the adaptation rate ranking in Theorem 4.
We conduct 200,000 Monte Carlo simulations, in which environmental states and the random improvements generated by the agent are drawn according to the model. Figure 1 compares the adaptation of the three mechanisms and examines how their adaptation times depend on the initial share of the adapted lineage; Figure B.3 in Appendix C shows how they depend on the learning parameter and the number of variants.
Figure 1a shows how growth regret declines under the three mechanisms. Under Darwinian evolution, regret remains close to its initial level for many generations because the adapted lineage is initially only a small fraction of the population. Under Lamarckian evolution, the maladapted lineage can improve its inherited behavior through learning, so the population adapts without waiting for natural selection to increase the share of the adapted lineage. Agent-directed evolution is faster still, as search improves the inherited behavior before learning takes place. Even with only one variant per generation, the additional improvement from search produces a substantial increase in adaptation speed.
Figure 1b examines the role of the initial share . As the adapted lineage becomes rarer, Darwinian evolution requires increasingly many generations to reach the adaptation target, whereas the expected adaptation times under Lamarckian and agent-directed evolution remain relatively stable, even for very small .
To compare the three mechanisms more directly, Table 1 reports their expected adaptation times for different regret thresholds. Under the baseline parameters, reducing growth regret to one percent of its initial value requires approximately 145 generations under Darwinian evolution, 22 under Lamarckian evolution, and 6.2 under agent-directed evolution with a single variant. When the threshold is reduced to 0.1 percent, the corresponding times are 160, 33, and 9.0 generations. These results illustrate the ranking in Theorem 4:

(a) Growth regret after the shift.

(b) Effect of the initial share .
Figure 1: Adaptation speed after an environmental shift. Unless otherwise stated, , , , , and, for agent-directed evolution, and . Panel (a) plots the geometric mean of each population's growth regret relative to its initial value, computed by averaging the logarithm of the regret ratio across the 200,000 simulated paths and then exponentiating. This preserves the long-run adaptation rates derived in Theorems 1 to 3. The dotted horizontal line marks one percent of initial regret. Panel (b) shows the expected number of generations needed to reach this threshold as varies. Shaded bands represent the 5th to 95th percentiles of adaptation times, and dotted vertical lines mark the baseline parameter values. All results are based on 200,000 simulated histories.
adaptation times differ substantially even when the agent generates only a few variants.
Table 1: Expected adaptation times. Expected number of generations required to reduce growth regret to a given fraction of its initial value, based on 200,000 simulated histories. The parameters are , , , , and .
| Remaining regret | Darwinian | Lamarckian | Agent-directed | |||
|---|---|---|---|---|---|---|
| N = 1 | N = 2 | N = 5 | N = 10 | |||
| 10% | 125 | 11 | 3.4 | 2.7 | 2.2 | 2.0 |
| 5% | 130 | 15 | 4.3 | 3.4 | 2.9 | 2.7 |
| 1% | 145 | 22 | 6.2 | 4.9 | 4.1 | 3.9 |
| 0.1% | 160 | 33 | 9.0 | 7.1 | 5.9 | 5.2 |
8 Implications for AI Safety
We have shown that learning and search can substantially accelerate adaptation and that an agent can influence its own adaptation speed. This raises an important question for AI safety: does faster adaptation necessarily bring behavior closer to what the system's developers and users intend? The answer depends on how improvements are evaluated. In practice, AI systems are assessed using tests, benchmarks, reward models, and other criteria specified by humans, which may not fully capture the intended objectives, particularly when certain safety concerns are difficult to anticipate or measure. We now examine what happens when an agent adapts toward an incorrectly specified target and discuss the implications for evaluating and overseeing increasingly adaptive AI systems.
8.1 Adaptation toward the wrong target
So far, we have assumed that search and learning move the agent's behavior toward the true optimum . If the evaluation criterion does not accurately reflect the true objective, however, the improvements the agent identifies may not be genuine improvements in the environment, and the agent may become increasingly successful according to its evaluator without necessarily achieving the behavior its developers intended.
To study this possibility, suppose that the agent's improvement is guided by a target with ; the difference between and represents a systematic error in the evaluation criterion. The evaluator selects the variant closest to rather than , and search and learning also move the agent's behavior toward . Natural selection, however, continues to operate through realized reproductive success in the true environment, where remains optimal, so it continues to favor the adapted lineage with behavior . Mechanism describes this process.
When , Mechanism reduces to Mechanism A. When the two targets differ, progress according to the evaluator may no longer correspond to genuine adaptation. The following theorem characterizes the agent's adaptation toward the evaluator's target, its true growth regret, and the growth regret of the population as a whole.
Theorem 5 (Adaptation toward a misspecified target). Under Mechanism , with , , and :
(i) with probability one,
Mechanism : agent-directed evolution with a misspecified target
Start. Generation 0 has and , and each generation is formed from generation in the steps below; throughout, .
Search. The agent creates variants with behaviors for , where the draws are independent and uniform on .
Evaluation. The evaluator reports , and variant is kept.
Learning. .
Selection. Once the state is realized,
(ii)
(iii) with probability one,
Part (i) of Theorem 5 shows that the agent continues to adapt rapidly according to its evaluator, even when the evaluation target is incorrect: measured relative to , its growth regret declines at exactly the same rate as under Mechanism A with a correct evaluator, and generating more variants still increases this rate. From the evaluator's perspective, the agent appears to be making consistent progress toward the desired behavior, but this does not establish that the rewarded behavior is actually optimal.
Part (ii) evaluates the agent's behavior against the true environmental optimum. Because search and learning are directed toward , the agent eventually converges to rather than , so its true growth regret does not vanish but approaches the strictly positive value . Generating more variants does not eliminate this error; it merely accelerates convergence toward the incorrect target. The agent can thus become increasingly effective at satisfying its evaluation criterion while its behavior remains different from what is truly optimal.
Part (iii) shows that the population as a whole can nevertheless recover through natural selection, which, unlike search and learning, is determined by realized reproductive success rather than the evaluator's assessment. Since the adapted lineage retains the truly optimal behavior , it eventually outgrows the lineage converging toward , and the population's true growth regret vanishes, but at the rate set by the remaining growth advantage of the adapted lineage. When is close to , this advantage is small and the correction can be extremely slow. The population recovers not because the agent recognizes its evaluator's mistake, but because natural selection provides an independent source of feedback about actual performance.
Together, these results distinguish the speed of adaptation from its direction. Greater search capability allows an agent to pursue its evaluation criterion more effectively but does not ensure that the criterion accurately represents the intended objective; when it does not, the same mechanism that accelerates genuine adaptation also accelerates convergence toward an undesirable target. This concern is particularly relevant when AI systems are evaluated using criteria that may overlook important aspects of their behavior.
8.2 Evaluation and oversight
Evolutionary search may discover unexpected ways to satisfy an evaluation criterion without achieving its intended purpose. In the Darwin Gödel Machine, for example, a descendant agent achieved a perfect evaluation score by removing the logging markers used to detect hallucinated tool use, rather than addressing the underlying problem (Zhang et al., 2025). This example illustrates the broader concern captured by Theorem 5: when the evaluation criterion does not accurately reflect the intended objective, more effective search can accelerate improvements in measured performance without producing the desired behavior. Giving AI systems greater control over their own adaptation may therefore lead them more quickly to the behaviors that deficient evaluation criteria reward, without correcting those deficiencies.
This example underscores the importance of independent evaluation and human oversight. Once AI systems can generate, evaluate, and select their own improvements, monitoring performance under existing benchmarks alone may not be sufficient: it becomes essential to examine the behaviors those benchmarks encourage, to assess actual outcomes independently, and to understand how agents modify their strategies and allocate resources to search. Our results suggest that the central challenge for AI safety is not simply to control the speed of AI evolution, but to ensure that increasingly autonomous adaptation continues to serve the objectives intended by humans.
9 Conclusion
We have developed a theoretical framework for understanding how different evolutionary mechanisms affect the speed of adaptation. Building on the Brennan–Lo model, we compare Darwinian, Lamarckian, and agent-directed evolution using growth regret as a common measure. Adaptation through natural selection can be extremely slow when the initially adapted lineage is rare. Lamarckian evolution overcomes this limitation by allowing acquired improvements to be inherited, and agent-directed evolution adds a further channel through the generation and selection of variants; when learning is sufficiently effective, the three mechanisms adapt progressively faster.
Agent-directed evolution also lets the system influence the speed of its own improvement. By choosing how extensively to search, an agent can adjust its adaptation process to its learning ability, the difficulty of the problem, and the resources available. Generating more variants always accelerates adaptation, but the benefit depends on how much improvement each attempt can achieve; when search is costly, the agent must balance this benefit against the expense of experimentation and may rationally search less on harder problems. The process of improvement is then no longer determined solely by natural selection or an inherited learning rule: it becomes, at least in part, a decision made by the system undergoing evolution.
These findings have substantial implications for AI safety. The mechanisms responsible for faster adaptation do not necessarily lead to more desirable outcomes: when the evaluation criterion is flawed, an agent can become increasingly effective at pursuing an incorrect objective, and additional search only accelerates this process. This raises a serious concern for RSI: the very capabilities that make AI systems more powerful may also lead them more quickly to the behaviors favored by mistaken objectives and evaluation criteria, without correcting those mistakes. As improvements accumulate across generations, such mistakes could become increasingly consequential, even while measured performance improves. The ability to improve rapidly must therefore not be confused with the ability to improve safely.
These findings call for stronger safeguards in the development of self-improving AI. Evaluation criteria must be subject to independent scrutiny rather than rely exclusively on the systems' own assessments, and improvements generated by AI should be tested against broader measures of safety and real-world consequences before they are retained or deployed at scale. Most importantly, human oversight must involve more than observing the outcomes of autonomous improvement: it must preserve the ability to reject unsafe modifications, redirect development, and intervene when a system's behavior or objectives begin to diverge from human intentions.
Equally important, the speed of AI development must remain compatible with our ability to evaluate and control its consequences, and the possibility of rapid autonomous improvement should not lead us to assume that faster development is always preferable. If AI systems can generate and implement improvements more quickly than their safety can be assessed, continued acceleration may expose society to risks that are poorly understood and difficult to reverse. Limiting the scale of autonomous search, restricting the deployment of unverified improvements, or temporarily slowing or suspending self-improvement may then be necessary.
Agent-directed evolution can substantially accelerate adaptation even though, in our model, learning effectiveness, variant reach, search effort, and the evaluation criterion are fixed across generations. In more general forms of RSI, improved capabilities may also enhance the process of future improvement, creating feedback that accelerates adaptation further and could make AI evolution increasingly difficult to monitor and control, particularly when evaluation is flawed. Understanding the implications of such feedback for AI safety is an important direction for future research.
Ultimately, agent-directed evolution may mark a fundamental turning point in the relationship between intelligence and evolution. Intelligence, long shaped by evolutionary processes, may increasingly acquire the ability to direct and accelerate those processes itself. As AI becomes more capable of determining how its successors are developed, humanity must strengthen its capacity to determine which developments should be permitted, under what conditions, and with what safeguards. The challenge is not simply to build intelligence that can improve itself, but to ensure that humanity retains the authority and the means to guide, restrain, and, when necessary, halt that improvement. The evolution of AI must remain a process that serves humanity, rather than one that humanity can no longer control.
Appendix
A AI Use Disclosure
The idea and framework for studying the alignment problem using an evolutionary framework that selects the weights of multiple objectives originated solely with the author. AI was used in the preparation of the manuscript in the following ways:
-
ChatGPT (6.1 Sol Ultra) and Claude (Fable 5.1 Max) were used to check and extend the formal model, construct examples, provide derivations of several mathematical results, conduct literature searches, and prepare drafts that were reviewed and edited by the author.
-
ChatGPT and Claude were used iteratively to check each other's results, and the penultimate draft was reviewed by refine.ink to identify any remaining errors.
-
ChatGPT and Claude were used iteratively to address issues raised by refine.ink. One final pass of refine.ink was used to ensure that all issues were addressed.
The final draft was reviewed and edited by the author, who assumes full responsibility for the accuracy and integrity of the scientific content contained in this publication.
B Notation
Table A.1 collects the principal symbols. A superscript D, L, or A marks a quantity under Mechanism D, L, or A, M a generic mechanism, and  a quantity under Mechanism Â, with a misspecified target. Table A.2 relates the main elements of the model to their counterparts in evolutionary biology and AI systems.
Table A.1: Principal notation.
| Symbol | Meaning | Introduced |
|---|---|---|
| Behavior of a lineage in generation : the probability with which each of its individuals chooses action | Section 3 | |
| State of the environment when generation is formed from generation , equal to with probability and with probability after the shift | Section 3 | |
| Offspring of an individual choosing action and of one choosing action : for the action that succeeds and 0 for the other | Section 3 | |
| Offspring produced by the successful action | Section 3 | |
| Probability that action succeeds; also the optimal behavior | Section 3 | |
| Size of the population in generation | Sections 3.1 and 3.2 | |
| Growth rate of the behavior : the expected log growth of a lineage with this behavior from one generation to the next | Equation (1) | |
| Growth regret, equal to relative entropy | Equation (2) |
| Symbol | Meaning | Introduced |
|---|---|---|
| Behaviors of two lineages in generation ; the share of the first; the average behavior | Equation (4) | |
| Growth rate of a population with two behaviors in generation : its expected log growth from generation to | Equation (6) | |
| Values of before and after the permanent shift | Section 3 | |
| Initial population share of the adapted lineage | Section 3 | |
| Population share of the adapted lineage in generation | Section 3 | |
| Behavior of the maladapted lineage in generation ; | Section 3 | |
| Average behavior of the population under Mechanism M and under the three mechanisms | Section 3 | |
| Growth advantage of the adapted type over the maladapted type per generation; equals | Equation (8) | |
| Threshold: the fraction of the initial regret that the adaptation time targets | Definition 1 | |
| Adaptation time under Mechanism M and under the three mechanisms | Definition 1 | |
| Adaptation rate under Mechanism M and under the three mechanisms | Definition 2 | |
| Fraction of the remaining gap closed each generation by learning | Equation (9) | |
| Number of variants per generation | Section 6.1 | |
| Behavior of the th variant in generation ; the variant that the evaluator reports | Equation (10); Section 6.1 | |
| Reach of a variant: the largest fraction of the remaining gap that one variant can close | Equation (10) | |
| Draw of variant in generation , uniform on ; the largest draw in generation , zero when | Equation (10); Section 6.1 | |
| Mean gain per generation in the logarithm of the agent's mismatch from variants | Equations (12) and (C.8) | |
| Cost of a variant, relative to the cost of a generation | Equation (14) | |
| Long-run cost of variants | Equation (14) | |
| Optimal number of variants | Equation (15) | |
| Misspecified target of search, evaluation, and learning | Section 8.1 | |
| Behavior, share, and average behavior under Mechanism , with a misspecified target | Section 8.1 |
Table A.2: Correspondences between the evolutionary model, biology, and AI systems.
| This paper | Evolutionary biology | AI systems |
|---|---|---|
| Inherited behavior | Heritable characteristics | Inherited model or agent configurations |
| Generation | Reproductive cycle | Model or agent improvement cycle |
| Variant | Offspring | Modified models or agents |
| Growth rate; growth regret | Reproductive fitness; fitness shortfall | Performance; gap from optimal performance |
| Darwinian evolution | Natural selection | Selection among existing model or agent variants |
| Lamarckian evolution | Inheritance of acquired characteristics | Learned improvements inherited by subsequent models or agents |
| Reach of a variant | Magnitude of variation | Maximum improvement attainable in a single attempt |
| Number of variants | Number of offspring | Number of candidate variants generated |
| Agent-directed evolution | Reproductive investment (analogy) | Agent-controlled allocation of search effort |
| Evaluation and retention | Differential reproductive success | Evaluation-guided selection among candidate models or agents |
C Additional Figures
This appendix illustrates Propositions 4 and 5 and shows how the adaptation times in Section 7.2 depend on the learning parameter and the number of variants.
Figure B.1 illustrates Proposition 4. Figure B.1a shows how the gain from search increases with both the difficulty parameter and the number of variants , with the dashed curve indicating its limit as the number of variants grows. Figure B.1b provides a broader view of how the gain varies across different combinations of these two parameters.

(a) versus for different values of .

(b) across and .
Figure B.1: The gain from search. Panel (a) shows how varies with the difficulty parameter for , with darker curves representing larger . The dashed curve indicates the limiting gain as approaches infinity. Panel (b) shows the gain across different combinations of and , with contour lines indicating equal gains.
Figure B.2 illustrates Proposition 5. Panel (a) shows how the long-run cost changes with the number of variants, while panels (b)–(d) show how the optimal number of variants depends on the difficulty parameter , the learning parameter , and the cost per variant .
As shown in Figure B.2a, generating additional variants can substantially reduce the long-run cost of adaptation, but the benefit eventually diminishes relative to the additional expense. For sufficiently small , such as , the agent finds it optimal not to search at all. The remaining panels illustrate how the optimal choice varies with the model parameters. For example, when , the agent chooses nine variants at , five at , and three at . When the learning parameter increases to , these choices fall to seven, two, and one, respectively. The agent therefore adjusts its search effort according to both the difficulty of the problem and its own learning ability, with higher search costs further reducing the optimal number of variants.
Figure B.3a shows how the effectiveness of learning influences adaptation time. Since Darwinian evolution does not involve learning, its adaptation time is unaffected by . Under Lamarckian evolution, the expected time to reach one percent of initial regret falls from 223 generations when to 22 when , and further to only two when . Agent-directed evolution also benefits from faster learning, but its adaptation time is less

(a) versus for different values of .

(b) versus for different values of .

(c) across and .

(d) across and .
Figure B.2: The optimal number of variants. Unless otherwise stated, and . Panel (a) plots the long-run cost relative to learning alone for different values of , with darker curves representing larger and dots marking the optimal choices. Panel (b) shows how varies with for different values of . Panels (c) and (d) show across different combinations of and , and of and , respectively. Darker shading indicates a larger optimal number of variants, and the solid boundaries separate the regions with and without search.
sensitive to because search provides an additional channel of improvement. Even when learning is relatively slow, the agent can still adapt quickly by generating and selecting variants.

(a) Effect of the learning parameter .

(b) Effect of the number of variants .
Figure B.3: Adaptation time, learning, and search. The parameters are as in Figure 1. Panels (a) and (b) show the expected number of generations needed to reach one percent of initial regret as and vary, respectively. Shaded bands represent the 5th to 95th percentiles of adaptation times, and dotted vertical lines mark the baseline parameter values. All results are based on 200,000 simulated histories.
Figure B.3b further examines the contribution of search. When , agent-directed evolution reduces to Lamarckian evolution. Introducing a single variant substantially reduces the expected adaptation time, and generating additional variants continues to accelerate adaptation. However, the improvement becomes progressively smaller as increases. For example, reaching one percent of initial regret requires 6.2 generations with one variant, 4.1 with five variants, and approximately 3.7 with twenty variants. These diminishing returns reflect the limitation imposed by : when each variant can eliminate at most half of the remaining behavioral gap, generating more variants increases the chance of finding a better improvement but cannot eliminate this limit.
D Lemmas and Proofs
This appendix provides the lemmas and proofs for the formal results of the paper. Section D.1 states and proves the lemmas, and Section D.2 proves the propositions and theorems in the order in which they appear in the main text.
D.1 Lemmas
Lemma C.1 (Properties of growth regret). For :
(a) , so that is strictly decreasing on and strictly increasing on ;
(b)
(c) as , which is Equation (3).
Proof of Lemma C.1. (a) By Equation (2), , and for ,
The fundamental theorem of calculus gives the integral. The derivative is negative for and positive for , which gives the monotonicity.
(b) Write and substitute in part (a):
For every between and , , because , and between and . Since , Equation (C.1) gives the two bounds.
(c) The function is continuously differentiable on , so as , uniformly in . Equation (C.1) then gives , and .
Lemma C.2 (First passage of a random walk). Let be independent and identically distributed random variables with finite mean and for a constant . For , let . Then
Proof of Lemma C.2. Write . For each , is a bounded stopping time, so optional stopping of the martingale gives
Since , . Before the partial sums are below , and the last increment, , is at most , so . Hence for every , and monotone convergence gives ; in particular, with probability one. Applying Equation (C.2) to in place of and letting shows that . Since , dominated convergence in Equation (C.2) gives . By the definition of and the bound on the last increment, , which gives the result.
The next lemma describes selection between the two lineages when the behavior of the maladapted lineage may change from one generation to the next. For a share of the adapted lineage, write
for the logarithm of the ratio of the two lineages' sizes.
Lemma C.3 (Selection between two lineages). Let be behaviors of the maladapted lineage, which may depend on the agent's draws but not on the states , and let evolve according to Equation (5) with , , , and . Suppose that and every lie in for some .
(a) If , then for every and every history.
(b) If for some , then with probability one.
Proof of Lemma C.3. Let . If , Equation (5) gives and ; if , it gives and . Hence every lies in , and
For , the mean value theorem gives and .
(a) By Equation (C.3), in either state. Summing over generations gives the bound.
(b) Let if and if : the change in Equation (C.3) if the maladapted lineage had the constant behavior . In either state, , so
for every and every history. The variables depend only on the states, so they are independent and identically distributed, with mean by Equation (2). The strong law of large numbers gives the result.
The next lemma bounds the growth regret of a population whose maladapted lineage moves toward the new optimum at least as fast as under learning alone.
Lemma C.4 (Regret when the maladapted lineage approaches the optimum). Let , and let be behaviors of the maladapted lineage, which may depend on the agent's draws but not on the states, such that every lies between and and . Let evolve according to Equation (5) with , , , and , and let . Let
Then, for every t and every history,
Proof of Lemma C.4. Note that and, since , . We first show that
If , Equation (5) gives for every , and the ratio is one. If , every and lie in , and , so Lemma C.3(a) gives . Since , the ratio lies between and , which gives Equation (C.6).
By the definitions of and ,
Every lies between and , and so does every between and , so for every such . By Lemma C.1(b),
for every , including . Dividing the bound for generation by the bound for generation 0, and using Equation (C.6), gives Equation (C.5).
The next lemma describes one generation of search and learning toward a target with . The target is under Mechanism A and under Mechanism . Let , and for let
(C.7)
where , , , and the draws are independent and uniform on ; for , let . As in the main text, , with
for . Define
the cumulative decline of the logarithm of the distance to the target over the first t generations.
Lemma C.5 (Search and learning toward a target). For every sequence of draws and every :
(a)
(b) , and lies between and .
Moreover, , and with probability one.
Proof of Lemma C.5. (a) For the claim is the definition of . For , Equation (C.7) gives , where . Suppose that . Then is strictly decreasing in , so every index that the evaluator may report has , and . The learning step multiplies this difference by . Since and both factors are positive, induction on shows that in every generation, which gives part (a).
(b) Iterating part (a), . Each factor lies in , and the logarithm of the product is , which gives part (b).
Since , . Each has the standard exponential distribution, with mean one, so . The terms of are independent and identically distributed, because the draws are independent across generations, and they have the finite mean . The strong law of large numbers gives the limit.
Lemma C.6 (Integral form of the gain from search). For and ,
Proof of Lemma C.6. For , both sides are zero. For , where equals one if the condition in braces holds and zero otherwise. The integrand is nonnegative, so Tonelli's theorem allows the expectation and the integral to be exchanged, and because the draws are independent and uniform on .
Lemma C.7 (Ratios of power series). Let and for , suppose that and converge for , and suppose that is nondecreasing in and not constant. Then is strictly increasing on .
Proof of Lemma C.7. Power series can be differentiated term by term inside their interval of convergence, so the derivative of has the sign of
where the second equality averages the sum with the sum obtained by exchanging and . Every term of the last sum is nonnegative, because has the sign of or is zero, and at least one term is positive, because is not constant. Hence the derivative is positive on .
D.2 Proofs
D.2.1 Proofs for Section 3
Proof of Proposition 1. By Equation (1), , so
Hence is strictly concave on , and its derivative vanishes only at , which is therefore the unique maximizer.
Proof of Proposition 2. Substituting and a general into Equation (1), the terms cancel:
The right side is by the definition of the KL divergence. By Proposition 1, , with equality if and only if f = p.
Proof of Proposition 3. In generation , the two lineages have and individuals. If , only individuals choosing action reproduce, each with offspring, so by Equation (4); if , . The behaviors and shares of generation do not depend on , which equals with probability , so
where the last equality is Equation (1). Since is a weighted average of , it lies in , and Proposition 2 gives .
D.2.2 Proofs for Section 4
Proof of Theorem 1. Let , write , and let for . Mechanism D is the setting of Lemma C.3 with for every , so Equation (C.3) gives if and if . The changes are independent and identically distributed, with mean by Equation (8), and none exceeds
Since ,
(i) By the strong law of large numbers, with probability one, so and . Since ,
By Equation (C.9), , and Lemma C.1(c) gives
Therefore
that is, with probability one.
(ii) Fix , and let
be the regret of a Darwinian population in which the adapted lineage has the share . The distance of from is , so by Lemma C.1(a), is continuous and strictly decreasing, from to . In particular, , and . Let be the unique share with
and let be the unique share with . Since is strictly decreasing, if and only if , that is, if and only if , where
is the distance that the logarithm of the ratio of the two lineages' sizes must travel. Hence is the first passage time of Lemma C.2 with and , and
We now bound , which is the sum of two terms:
For the first term, , so ; together with , this gives
For the second term, let . Every between and lies between and , where because is concave. By Lemma C.1(b), for every ,
Applying the upper bound at and the lower bound at , and then the lower bound at and the upper bound at , the equation gives
For the first limit in Equation (7), fix . By Equation (C.11), the first term of lies in , because . By Equation (C.12), the second term differs from by at most . Hence as , and dividing Equation (C.10) by gives .
For the second limit, fix . Adding Equations (C.11) and (C.12) and using Equation (C.10),
Neither bound depends on . Dividing by , which tends to infinity as , gives .
D.2.3 Proofs for Section 5
Proof of Theorem 2. Let . Iterating Equation (9) gives , so lies between and and does not depend on the states. The selection step of Mechanism L is Equation (5) with and . Lemma C.4 therefore applies with , and, with from Equation (C.4),
for every t and every history. The constant K depends on neither nor the history.
(i) By Equation (C.13), along every history, differs from by at most , which does not depend on . Dividing by and letting gives .
(ii) Since , Equation (C.13) shows that whenever , and that it is at most whenever . Hence, along every history,
Dividing by and letting shows that along every history; since the bounds in Equation (C.14) do not depend on the history, the same holds for , which gives the first statement. For the second, the upper bound in Equation (C.14) does not depend on , so .
D.2.4 Proofs for Section 6
Proof of Theorem 3. Let . The search, evaluation, and learning steps of Mechanism A are Equation (C.7) with , and Lemma C.5(a) is Equation (11). By Lemma C.5(b), for every sequence of draws, lies between and , , and . The draws do not depend on the states, and the selection step of Mechanism A is Equation (5) with and . Lemma C.4 therefore applies with :
for every t, every history, and every sequence of draws, with K from Equation (C.4).
(i) By Lemma C.5, with probability one, and by Equation (C.15), differs from by at most . Hence with probability one. The variable is nonnegative, so , and because when .
(ii) Each term of is at least , so rises strictly with and . For , let , so that for and for . By Equation (C.15), the population's regret is at most once , and it exceeds while . Since rises with ,
for every history and every sequence of draws. The last bound does not depend on , which gives the second statement in Equation (13). For the first, as , and for , so gives with probability one. Since and tend to one as , Equation (C.16) gives with probability one. For , the same equation bounds this ratio by , so the bounded convergence theorem gives .
Proof of Proposition 4. We use the integral form of in Equation (C.8) of Lemma C.6.
(i) For , the integrand rises strictly with , because falls. For , it rises strictly with , because does and .
(ii) For , the integrand is , whose integral over is . Since is decreasing, for and for , so
Dividing by and letting gives .
(iii) For , the integrand is below for , and , so . As , the integrand rises to , and the monotone convergence theorem gives .
Proof of Proposition 5. By Equation (C.8), for ,
which is positive and strictly decreasing in N.
(i) By Equation (14), cross-multiplying shows that is below, equal to, or above according as
is positive, zero, or negative. The function is strictly decreasing:
It is also negative for large . Since , Equation (C.17) gives . For , the first term of is therefore at most , while the second, by Proposition 4(ii), grows without bound. For , , so the first term is at most , which tends to zero, while the second is at least . Hence there is an integer such that for , , and for : the long-run cost first decreases and then increases in . Its minimizers are , and also when .
(ii) For ,
The first factor rises strictly with , because its derivative in has the sign of , and does not depend on or . The second factor does not depend on . It rises strictly with , and so with , because by Proposition 4(i). It falls strictly with . For , this follows from Proposition 4(i), because . For
, expanding in Equation (C.8) and integrating term by term gives, for ,
For , the ratio equals one for and for , which exceeds one and rises with . Lemma C.7, with and , shows that rises strictly with on ; since and are continuous on by Equation (C.8), it rises strictly on .
Consider a change in one parameter that lowers for every pair : a rise in , or a fall in or in . Let minimize before the change and after it, and suppose that . Before the change, . After the change, , which contradicts the optimality of . Hence every minimizer after the change is at least as large as every minimizer before it, so is nondecreasing in and nonincreasing in and in .
D.2.5 Proofs for Section 7
Proof of Theorem 4. (i) Let . By Theorem 1(i), with probability one. By Theorem 2(i), , and Equation (16) is equivalent to , so . By Theorem 3(i), with probability one, and for and by Proposition 4(i), so .
(ii) Let . By part (ii) of Theorems 1 to 3, the ratios , , and tend to , , and as . By part (i), . Let be half of the smaller of the gaps and . There is such that, for every , each ratio lies within of its limit, and multiplying by gives Equation (17).
D.2.6 Proofs for Section 8
Proof of Theorem 5. Let . The search, evaluation, and learning steps of Mechanism are Equation (C.7) with . By Lemma C.5, for every sequence of draws, lies between and , so in , and
and with probability one.
(i) Every between and lies in , where . By Lemma C.1(b), lies between and . By Equation (C.18), therefore differs from by at most , so with probability one.
(ii) By Equation (C.18), for every sequence of draws. The function is continuous on , so , which is positive by Proposition 2 because .
(iii) The selection step of Mechanism is Equation (5) with , , and . The behaviors do not depend on the states, and every lie in , and by Equation (C.18). By Lemma C.3(b), applied for every sequence of draws, satisfies with probability one. As in the proof of Theorem 1(i), and . Since
and , it follows that and . By Lemma C.1(c), converges to , so with probability one.
References
Ackley, D., and M. Littman, 1992, Interactions between learning and evolution, in C. G. Langton, C. Taylor, J. D. Farmer, and S. Rasmussen, eds., Artificial Life II, 487–509 (Addison-Wesley).
Bedau, M. A., and N. H. Packard, 2003, Evolution of evolvability via adaptation of mutation rates, BioSystems 69, 143–162.
Boudry, M., 2026, Domesticated, not feral: Why evolvable AI is not yet a Darwinian threat, Proceedings of the National Academy of Sciences 123, e2617785123.
Brennan, T. J., and A. W. Lo, 2011, The origin of behavior, Quarterly Journal of Finance 1, 55–108.
Brennan, T. J., and A. W. Lo, 2012, An evolutionary model of bounded rationality and intelligence, PLoS ONE 7, e50310.
Brennan, T. J., A. W. Lo, and R. Zhang, 2018, Variety is the spice of life: Irrational behavior as adaptation to stochastic environments, Quarterly Journal of Finance 8, 1850009.
Brown, B., J. Juravsky, R. Ehrlich, R. Clark, Q. V. Le, C. Ré, and A. Mirhoseini, 2024, Large language monkeys: Scaling inference compute with repeated sampling, arXiv:2407.21787.
Bull, J. J., 1987, Evolution of phenotypic variance, Evolution 41, 303–315.
Cagan, P., 1956, The monetary dynamics of hyperinflation, in M. Friedman, ed., Studies in the Quantity Theory of Money, 25–117 (University of Chicago Press, Chicago).
Cohen, D., 1966, Optimizing reproduction in a randomly varying environment, Journal of Theoretical Biology 12, 119–129.
Cover, T. M., and J. A. Thomas, 2006, Elements of Information Theory, second edition (Wiley, Hoboken, NJ).
de Moura, L., and S. Ullrich, 2021, The Lean 4 theorem prover and programming language, in Automated Deduction – CADE 28, volume 12699 of Lecture Notes in Computer Science, 625–635 (Springer).
Donaldson-Matasci, M. C., C. T. Bergstrom, and M. Lachmann, 2010, The fitness value of information, Oikos 119, 219–230.
Eiben, A. E., R. Hinterding, and Z. Michalewicz, 1999, Parameter control in evolutionary algorithms, IEEE Transactions on Evolutionary Computation 3, 124–141.
Evans, G. W., and S. Honkapohja, 2001, Learning and Expectations in Macroeconomics (Princeton University Press, Princeton, NJ).
Feng, F., J. Wang, X. Yang, and X. Geng, 2025, Learngene: Inheritable “genes” in intelligent agents, Artificial Intelligence 348, 104421.
Gao, L., J. Schulman, and J. Hilton, 2023, Scaling laws for reward model overoptimization, in Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, 10835–10866.
Good, I. J., 1965, Speculations concerning the first ultraintelligent machine, in Advances in Computers, volume 6, 31–88 (Academic Press).
Hansen, N., and A. Ostermeier, 2001, Completely derandomized self-adaptation in evolution strategies, Evolutionary Computation 9, 159–195.
Hinton, G. E., and S. J. Nowlan, 1987, How learning can guide evolution, Complex Systems 1, 495–502.
Jaderberg, M., V. Dalibard, S. Osindero, W. M. Czarnecki, J. Donahue, A. Razavi, O. Vinyals, T. Green, I. Dunning, K. Simonyan, C. Fernando, and K. Kavukcuoglu, 2017, Population based training of neural networks, arXiv:1711.09846.
Kelly, J. L., 1956, A new interpretation of information rate, Bell System Technical Journal 35, 917–926.
Kussell, E., and S. Leibler, 2005, Phenotypic diversity, population growth, and information in fluctuating environments, Science 309, 2075–2078.
Lee, H., J. Xu, J. Seely, D. Lee, S. Sojoudi, M. Zaharia, and Y. Tang, 2026, Recursive self-improvement through multi-agent self-supervision, arXiv:2610.12176.
Lehman, J., J. Clune, D. Misevic, et al., 2020, The surprising creativity of digital evolution: A collection of anecdotes from the evolutionary computation and artificial life research communities, Artificial Life 26, 274–306.
Lo, A. W., and R. Zhang, 2021, The evolutionary origin of Bayesian heuristics and finite memory, iScience 24, 102853.
Lo, A. W., R. Zhang, and C. Zhao, 2025, The evolution of discrimination under finite memory constraints, Scientific Reports 15, 31774.
Marcet, A., and J. P. Nicolini, 2003, Recurrent hyperinflations and learning, American Economic Review 93, 1476–1498.
Müller, V., L. Steels, and E. Szathmáry, 2026, Evolvable AI: Threats of a new major transition in evolution, Proceedings of the National Academy of Sciences 123, e2527700123.
Nerlove, M., 1958, Adaptive expectations and cobweb phenomena, Quarterly Journal of Economics 72, 227–240.
Novikov, A., N. Vũ, M. Eisenberger, E. Dupont, P.-S. Huang, A. Z. Wagner, S. Shirobokov, B. Kozlovskii, F. J. R. Ruiz, A. Mehrabian, M. P. Kumar, A. See, S. Chaudhuri, G. Holland, A. Davies, S. Nowozin, P. Kohli, and M. Balog, 2025, AlphaEvolve: A coding agent for scientific and algorithmic discovery, arXiv:2506.13131.
Ollivier, Y., L. Arnold, A. Auger, and N. Hansen, 2017, Information-geometric optimization algorithms: A unifying picture via invariance principles, Journal of Machine Learning Research 18, 1–65.
OpenAI, 2026, On the Navier–Stokes Millennium Prize Problem, https://openai.com/index/navier-stokes-solution/, published 8 September 2026; accessed 1 October 2026.
Rivoire, O., and S. Leibler, 2011, The value of information for populations in varying environments, Journal of Statistical Physics 142, 1124–1166.
Romera-Paredes, B., M. Barekatain, A. Novikov, M. Balog, M. P. Kumar, E. Dupont, F. J. R. Ruiz, J. S. Ellenberg, P. Wang, O. Fawzi, P. Kohli, and A. Fawzi, 2024, Mathematical discoveries from program search with large language models, Nature 625, 468–475.
Schmidhuber, J., 2007, Gödel machines: Fully self-referential optimal universal self-improvers, in B. Goertzel, and C. Pennachin, eds., Artificial General Intelligence, 199–226 (Springer, Berlin).
Seger, J., and H. J. Brockmann, 1987, What is bet-hedging?, Oxford Surveys in Evolutionary Biology 4, 182–211.
Snell, C., J. Lee, K. Xu, and A. Kumar, 2024, Scaling LLM test-time compute optimally can be more effective than scaling model parameters, arXiv:2408.03314.
Spector, L., 2001, Autoconstructive evolution: Push, PushGP, and Pushpop, in Proceedings of the Genetic and Evolutionary Computation Conference (GECCO-2001), 137–146 (Morgan Kaufmann, San Francisco).
Srikanth, D., B. Zhao, D. Xu, Y. Wu, and Z. Jiang, 2026, Recursive self-improvement of AI research agents, arXiv:2609.26457.
Whitley, D., V. S. Gordon, and K. Mathias, 1994, Lamarckian evolution, the Baldwin effect and function optimization, in Parallel Problem Solving from Nature — PPSN III, volume 866 of Lecture Notes in Computer Science, 5–15 (Springer).
Zhang, J., S. Hu, C. Lu, R. Lange, and J. Clune, 2025, Darwin Gödel Machine: Open-ended evolution of self-improving agents, arXiv:2505.22954.
Zong, Q., J. Liu, J. Shen, Z. Tang, L. Wu, Y. Liu, R. Wang, Z. Wang, W. Wang, C. Qian, X. Chen, and Y. Song, 2026, Co-evolution in agentic systems: Toward self-directed evolution beyond human design, arXiv:2608.10299.