The Moran Process
The Moran process explains how inherited variants spread or disappear in a finite population. It isolates the interaction between natural selection and genetic drift: even a variant with a reproductive advantage can disappear by chance.
Birth and Death
Consider a well-mixed population of individuals, each of type A or B. At each step, one individual is selected to reproduce with probability proportional to its fitness. Its offspring replaces an individual chosen uniformly from the original population, including the parent. Thus the population size remains fixed.
When the offspring replaces an individual of the same type, composition remains unchanged. Without mutation, the process continues until one type occupies the whole population.
Selection and Drift
Let be the number of A individuals and the constant reproductive fitness of A relative to B (fitness 1). The probability that A gains one individual is the probability of selecting an A parent multiplied by the probability of replacing a B individual:
Likewise, the probability of losing one A individual is
The probability of no change is one minus these two probabilities. When , changes in either direction are equally probable. When , increases are more probable than decreases. Nevertheless, both directions remain possible in any mixed population.
At equal fitness, the expected proportion of A is constant, yet individual populations eventually become homogeneous. This is genetic drift: random changes in inherited type frequencies. A change in frequency does not, by itself, demonstrate selection.
Fixation Probability
Fixation is the eventual occupation of the entire population by a single type. For the constant-fitness Moran process, the probability that A fixes starting from copies is
For one new A individual in a population of ten, the neutral fixation probability is therefore 10%. A reproductive advantage raises this probability, but does not eliminate the risk of loss.
Even with a 50% fitness advantage, the new type is lost in approximately two thirds of realizations. This is why experiments with a rare invading strategy require independent replicates rather than conclusions based on a single population trajectory.
From the Classical Process to Cooperation Models
The classical model assigns constant fitness to each type. In cooperation models, fitness can instead depend on who interacts with whom, which benefits are received, and which costs are paid. A cooperative strategy may consequently have different reproductive prospects at different population frequencies.
The Interaction Kernel in this model library extends the Moran-style approach by computing fitness from routed benefits, harms and costs. Its implementation samples local parents using fitness-dependent softmax probabilities and supports trait mutation; it is not the single-event, well-mixed classical process derived above. The analytical fixation formula therefore serves as a reference, not an exact prediction for that implementation.
What the Replacement Rule Did in These Models
Many of the site's kin-selection tests use a Moran-style update: each vacancy on a full grid is refilled by the offspring of a parent drawn by fitness from nearby candidates. A stepwise series of tests on that model (The Ladder in Detail; the registered comparisons used 20 runs per arm, and some follow-ups and diagnostics were exploratory) showed how much of the outcome depends on the replacement rule itself. All of the following hold only at the settings tested:
- Who may replace whom. When the parent for a vacancy was drawn from the vacancy's neighbours, helping spread in 20/20 runs; when it was drawn from five random sites anywhere on the grid, in 1/20. Here the helper kept enough of its own benefit to cover its cost (weak altruism), so by the site's definition this is step 1 of the stepwise table, a warm-up, not kin selection. With overlapping generations and a real net cost to the helper, the same contrast was 20/20 against 0/20 at a benefit-to-cost ratio of 12. The global control changes several things at once (offspring land away from their parents and the competitors are no longer local), so this shows dependence on local replacement as a package, not on relatedness alone. That costly result is step 2 of the table; no ecology was added to it.
- Whether selection acts through births or deaths. With fitness deciding births, helping spread. With each site's death risk normalized against its neighbours', selection through deaths failed (0/20), also when selection was split equally between births and deaths. With death risk normalized against the whole grid, the equal split succeeded under local replacement (20/20 against 0/20 for global replacement), so the result is sensitive to the normalization scope; the mechanism was not isolated. With selection entirely through deaths, local replacement failed again (0/20), while the global-replacement arm spread in 14/20; that arm was not a neutral control, and the reason for its success was not established. The full move to selection through survival was not achieved. All of these arms were weak altruism (the helper's own share covered its cost), so they are step-1 variants, not kin-selection tests.
- The fixed population size. In the viable replacement-lottery runs, through the steps that added energy stores, birth costs and limited food (where care for one's own young spread: steps 3 and 4 of the table), occupancy was at least 0.996; changing the parents' condition, income or endowment did not materially create vacancies. A Moran-style rule fixes occupancy, ruling out empty-space dynamics, vacancy-driven density variation and population growth. When births instead went into free neighbouring sites, substantial empty space appeared in one of the two attempts (with the parent's energy split with the newborn); in the other (with a free endowment for the newborn), vacancies stayed rare, and care for one's own young (kin selection through parental care; the R8 attempt at step 5 of the table, not achieved) settled lower with local births than with grid-wide dispersal (about 0.35 against 0.99). Step 5 was later met in a ported empty-site island model instead (three times, 2026-11-25/26; see the stepwise table).
- No movement. In all of these models an individual stays on its site for life; only its offspring are placed elsewhere, at birth. A planned step with movement into empty sites was skipped because the grid was almost full. Movement in search of food is part of the site's goal for kin selection in a full ecological setting, and no kin-selection experiment has it yet (stepwise table).
The analytical results above remain the reference for drift and fixation; these tests show which assumptions of the process a cooperation result may silently depend on.
Relevance to Predator–Prey–Grass
The Moran process provides a baseline for studying the evolution of inherited behavioral strategies in Predator–Prey–Grass. Consider two heritable strategy lineages, cooperative and opportunistic, with identical physical traits. A neutral model predicts how frequently one lineage should disappear through random reproduction alone.
A proposed test would introduce one strategy at a controlled initial frequency, run independent populations, and measure its persistence, frequency and reproductive success. Compare these outcomes with a neutral baseline matched for initial frequency and population size. For a changing ecological population, a baseline that also accounts for demographic fluctuations is more informative than using the fixed- formula uncritically.
Unlike the classical Moran model, PPG allows fluctuating population sizes, spatially structured interactions, ecological feedback and learning. Cooperative hunting may create frequency-dependent selection because the benefits of cooperation depend on the availability of partners. These differences are precisely the mechanisms the PPG experiments seek to investigate. The section above shows what can change when such ecological features replace a fixed-size Moran update.
References
- Moran, P. A. P. (1958). Random processes in genetics. Mathematical Proceedings of the Cambridge Philosophical Society, 54(1), 60–71.
- Sella, G., & Hirsh, A. E. (2005). The application of statistical physics to evolutionary biology. Proceedings of the National Academy of Sciences, 102(27), 9541–9546. Full text.