Evolved Cooperation
Cooperation Across Generations
Evolved cooperation refers to cooperative behavior that becomes more common through natural selection across generations, rather than through adaptation during a single lifetime.
Working definition. Evolved cooperation concerns the spread and maintenance of cooperative traits through differential survival and reproduction across generations, rather than through within-lifetime learning alone.
In this framework, populations:
- contain heritable variation in behavior,
- differ in survival and reproductive success,
- pass on traits associated with higher fitness.
This process corresponds to evolutionary dynamics in biology and to selection over inherited behavioral tendencies in population-level models.
From Adaptive Policies to Inherited Strategies
Classical evolutionary models treat cooperation as a trait or strategy that can spread when it improves reproductive success under specific ecological and social conditions.
Evolved cooperation differs fundamentally from learned cooperation:
| Learned cooperation | Evolved cooperation |
|---|---|
| Policy changes within lifetime | Strategy frequencies change across generations |
| Learning acts across interactions | Selection acts across generations |
| Reward shapes behavior | Fitness shapes trait prevalence |
| Adaptation is individual-level | Adaptation is population-level |
Thus, cooperation can persist even when individuals are not explicitly "trying" to cooperate, provided cooperative traits are favored by selection.
Evolutionary Dynamics as a Model of Selection
Evolutionary models describe how cooperative and defective strategies change in frequency over time under selection pressure.
Key ingredients include:
- heritability of behavioral tendencies,
- differential reproductive success,
- ecological constraints on survival,
- interaction structure (who meets whom).
Because fitness depends on interactions with other individuals, the evolutionary problem is inherently social.
This creates:
- frequency-dependent selection,
- coexistence of strategies,
- evolutionary cycling,
- context-dependent stable equilibria.
Evolved Cooperation in Social Dilemmas
Evolutionary game theory shows that:
- Cooperation can spread when it yields higher inclusive or long-term fitness
- It can be undermined by defectors exploiting cooperators
- Stability often depends on structure, repeated interaction, or assortment
- Population composition changes the payoffs of each strategy
Key mechanisms include:
Kin Selection
Cooperation evolves when helping relatives increases inclusive fitness. This site uses the broad definition, with the helper's own offspring counted as relatives, and tracks progress towards it in a full ecological setting in a stepwise table.
Direct and Indirect Reciprocity
Cooperation can be favored when repeated interactions or reputation make future benefits likely. In a fixed population, from a cooperative start and over 2,000 generations on the rebased q = 0.8 setting, the indirect-reciprocity ladder met its public-record maintenance endpoints with partial observation, execution and assessment error, unconditional cooperators and mutation (rung 4b). Its private-view test did not meet the registered bar (45/100 against 80 required; shuffled control 0/100), so the line stops at rung 4b. A stepwise account is on Indirect Reciprocity: Definition and Progress.
Spatial and Network Structure
Limited mixing can protect cooperative clusters from exploitation.
What the Closed Ladders Establish
Two stepwise lines now give a clearer boundary than either result alone. Costly kin-directed help can spread in fixed-population and empty-site island models, but the project has not yet shown it in a full ecology with energy, limited food, starvation and food-seeking movement. Reputation-guided helping met its maintenance endpoints in the tested public-record setting, but did not reliably meet them in the tested private-view setting. Neither line establishes a general explanation of human cooperation.
The next model should therefore be a new ecological test, rather than another rung: it should include movement and resource-limited births, state in advance which feedback route is being tested, and retain a control that removes that route without changing the rest of the ecology.
These mechanisms explain how cooperation can evolve without requiring centralized control.
Sequential and Ecological Contexts
In natural systems, cooperation is often embedded in sequences of actions and changing environments rather than one-shot interactions.
This introduces:
- delayed fitness consequences,
- ecological feedback,
- population-level outcomes emerging from local interactions.
Such settings are better captured by ecological and evolutionary simulations than by static matrix games alone.
Evolved Cooperation in Model Systems
Different model systems expose different mechanisms by which cooperative tendencies may be favored by selection across generations.
Examples on this site include:
- local altruism in a spatial patch lattice (Spatial Altruism; in a pre-registered test against the site's kin-selection definition, costly help did not spread from rare),
- an inherited investment in coordinated hunting (Cooperative Hunting),
- inherited same-versus-other response rules in local games (Spatial Prisoner's Dilemma),
- a cooperation trait whose benefit is routed partly back to cooperators (Retained Benefit),
- helping guided by an inherited cue of shared descent (the ethnocentrism model on the Kin Selection: the Moran Model page).
In this view, cooperation is not only a behavioral pattern but also a target of selection on underlying traits.
Instability and Evolutionary Social Dilemmas
Selected cooperation is also often fragile.
Populations can face:
- invasion by defectors,
- shifting ecological conditions,
- tradeoffs between short-term and long-term fitness,
- dependence on population density and assortment.
This leads to:
- cycles between cooperation and defection,
- polymorphic populations,
- collapses of cooperative regimes after environmental change.
Studying these instabilities is central to understanding when selection can sustain cooperation.
Relation to Learned Cooperation
Selected cooperation operates on a slower timescale than learning within lifetimes.
This creates several possibilities:
- Evolution can shape the capacity to learn cooperative behavior.
- Learning can alter ecological conditions and therefore selection pressures.
- Plasticity can mediate the interaction between immediate adaptation and long-term evolution.
Ecological systems like PredPreyGrass provide one way to study both timescales together, while simpler spatial models isolate the selection logic more cleanly.
Research Questions
The study of selected cooperation in the current model systems focuses on:
- Under what ecological conditions does cooperation spread through selection?
- How stable are cooperative traits against invasion by defectors?
- When do cooperative and defective strategies coexist evolutionarily?
- How does population structure affect evolutionary outcomes?
- How does plasticity influence the evolution of cooperation?
Summary
Evolved cooperation is:
- a population-level adaptive process,
- driven by differential reproduction and survival,
- capable of stabilizing coordination under the right ecological and social conditions,
- often fragile when exploitative strategies can invade.
Understanding its dynamics is essential for explaining the nature component of cooperation and how it interacts with lifetime learning.
Across these model systems, evolved cooperation forms the nature component of a two-timescale theory of cooperation.
What the Models Show So Far
As of November 2026. Each result holds only for the model and settings it was run with; the linked pages give the controls and caveats.
- Origin is harder than maintenance. In the Nowak Mechanisms models, several mechanisms maintain cooperation once it is common, but fewer spread it from rare. Kin selection was the most biologically robust initiator tested, because its precondition, offspring staying near their parents, comes with local reproduction itself.
- That spread was mostly weak altruism. In the kin-selection model a helper keeps part of its own benefit, so helping has no net direct cost; help with a real net cost to the helper failed there. By the site's definition that spread is step 1 of the stepwise table, a warm-up, not kin selection. In a later variant with overlapping generations, costly help to neighbours did spread when offspring settled locally, at benefit-to-cost ratios of 12 and 24; at 12 it failed under global-competitor replacement (step 2; no ecology was added to it). This is consistent with kin selection through viscosity, but was not separated from network reciprocity (Kin Selection).
- Ethnocentrism tracked descent. In a Python port of the Ethnocentrism model, the share of ethnocentric agents (who help only their own colour) fell from 75.5% to 12.9% when colour no longer passed from parent to offspring (how often help was given hardly changed, 77% vs 76% of meetings), and a Hamilton's-rule prediction made in advance got the direction of change in helper share right in all 8 conditions far from the threshold and in 6 of 8 close to it, with none reversed (Kin cues).
- Kin selection held with part of the ecology, not yet all of it. By the site's broad definition (costly help to relatives by descent, offspring included), a stepwise rebuild from the Moran model found what the site counts as kin selection through parental care: costly care for one's own young spread from rare at every step through energy, starvation and limited food (steps 3 and 4), also without local settlement, on an almost-full grid. It did not reach its endpoint once births went into free space on its lattice (step 5), and the rebuild did not carry costly help to non-offspring relatives into its ecological steps. Later attempts at the free-space step did not get there either: a smaller restart of step 5 (births into free space, no energy) reached its endpoint in 4 of 20 runs; in a pre-registered test of the Mitteldorf and Wilson (2000) model, costly help starting rare spread in 0 of 50 runs, against 50 of 50 for help that pays for itself (at the site's harsher demo setting, outside the range the paper tested, all-selfish populations died out on their own, so it was tested at the closest setting where they persist; the tested benefit was below the stalemate value the paper's own table implies for that cost, so the result does not contradict the paper); and a replication of Taylor-Davies et al. (2024), where parents evolve to feed their young in a gridworld with movement, stopped before any test because too few of the tested populations survived (4 of 24 and 3 of 24 in the two viability pilots). A replication of Kanwal and Gardner (2022) matched the paper's published result, and a pre-registered test from no helping then met the site's criteria (10 of 10 runs at each of two settings, 0 of 10 with juveniles shuffled across patches); with a fixed number of breeders and a shuffle control that also changes dispersal evolution, it is consistent with kin selection among non-offspring relatives, and it does not test the free-space step. The first result at the free-space step (the first in the table's second block, where population size is not fixed) to meet its registered criteria came from porting a published model instead: in empty-site islands after Alizon and Taylor (2008), costly help to patch-mates spread from a low-helping start in 20 of 20 runs (above a neutral reference in 19 of 20 seed pairs) and stayed low when the gift was shared among everyone in the population instead (0 of 20); own offspring were not excluded there, so two follow-ups (2026-11-26) separated the sub-cases, each against a control that pools the gift to breeders in other patches of the same size: help that excluded the helper's own offspring, at a benefit-to-cost ratio of 28, reached the endpoint in 20 of 20 runs (control 0 of 20), and help only to the helper's own offspring that settled at home, at 14, also in 20 of 20 (control 0 of 20), although about four-fifths of that gift amount found no recipient. The second is help to offspring after they settle, not care of dependent young (the model has no juvenile stage), and offspring are near-clones of their parent. The controls also stop a patch from benefiting from its own gifts, and the model has no energy, limited food, starvation or movement, so these results are consistent with kin selection at step 5, not the full goal. The goal is to establish it in a full ecological setting, with births that need free space and agents that move in search of food; steps 1 to 4 are achieved and step 5 has met its registered criteria three times, in that island model (help to patch-mates with own offspring not excluded; help among non-offspring relatives with own offspring excluded; and help to own offspring after they settle, not care of dependent young; all consistent with kin selection), both goal rows (care for own offspring and help to other relatives) are open, and no kin-selection experiment so far has agents that move in search of food. The kin line paused there on 2026-11-26, as agreed before its last two rungs; energy, limited food and starvation, then movement, would be the next ingredients. An earlier model with sexual reproduction and households could not separate helping from population survival (stepwise table).
- No cooperation without feedback. Across the ecological case studies below, cooperation persists only where enough of the benefit it creates returns to cooperators or to copies of the cooperative rule; without that, selfish behaviour usually wins. The most direct test is a pre-registered sweep of the Retained Benefit model: at its demo ratio, cooperation fell without retention and rose to about 0.8 with full retention, and, in an exploratory look, where the rise started lined up descriptively with whether a helper's own share covers its cost. By the site's kin-selection definition this does not count as kin selection (it sits with step 1 of the stepwise table).
Read together, and qualitatively: cooperation spread most often where local reproduction or interaction structure created assortment (relatives as neighbours, partners or mates), and usually declined where the tests broke that link.
In Plain Terms
In these models, cooperation spread most reliably when helping paid the helper back. Where the helper's own share of the good it does covered what helping cost it, cooperation usually spread; where the helper got back less than it paid, cooperation often faded, even when relatives nearby benefited. That is a pattern across the models, not proof that the helper's own return was the deciding cause: in several of them the design cannot fully separate it from the benefit to relatives or from local structure.
That distinction matters, because "cooperation" covers two quite different things:
- Helping that pays for itself. The helper ends up better off for helping, as with a shared hunt where the helper gets part of the kill. Biologists call this weak altruism. This is what spread in the Moran kin-selection model, and where the rise started in the Retained Benefit sweep lined up with it. Neither counts as kin selection by the site's definition (step 1 of the stepwise table).
- Genuine sacrifice. The helper ends up worse off and only others gain. This is the hard puzzle. Explicitly costly help to neighbours spread only under a narrow set of tested conditions: relatives living close together and a benefit 12 to 28 times the cost. Costly care for one's own young spread at every completed step of a stepwise move towards a more realistic ecology, up to energy, starvation and limited food, and, as help to own offspring after they settle (not care of dependent young), also with births into free space in a ported island model, at a benefit-to-cost ratio of 14 (20 of 20 runs, against 0 of 20 in a control that pools the gift to other patches); in the same model, help to patch-mates other than own offspring spread at 28 (20 of 20, control 0 of 20); that counts as kin selection through parental care under the site's broad definition, but it is the easier case, because the recipient is the helper's own offspring. And in the ethnocentrism model, ethnocentrics (who help only their own colour) were much more common when colour tracked shared descent (75.5% of the population, against 12.9% with random colour), although how often help was given hardly changed; shuffling positions, which removed the excess relatedness among neighbours, went with helping falling from 76% to 11% of meetings. These comparisons do not rule out every other difference.
So, on this evidence, cooperation is easiest to establish where it reinforces itself: the helper, its offspring or close kin get the benefit back, and interaction stays local, among neighbours who are often relatives. Self-sacrificing help to others spread only under narrow conditions, with costly care for one's own offspring as the exception.
For humans, these results are compatible with a hypothesis, not evidence for it: that some cooperation began in arrangements where helping benefited the helper, close kin or offspring. They do not establish how human cooperation began. Large-scale, costly cooperation in humans may also depend on mechanisms these models do not include, such as reputation, norms, institutions and culture; which of them could move cooperation from "it pays me" to "I give even when it costs me" is a natural next question.
These are abstract models. Read this as a tentative pointer, not a settled law.
Current Case Studies
The table below lists three ecological evolved-cooperation case studies; the spatial altruism lattice, the fourth website-facing model, is described under Foundational Theory:
| Case study | Selection logic |
|---|---|
| Cooperative Hunting | A spatial ecological model in which predator cooperation evolves through hunting success, energetic cost, and inherited trait variation. |
| Spatial Prisoner's Dilemma | A local-game ecology in which inherited same-vs-other Prisoner's Dilemma response rules spread through energy accumulation, local movement, and local reproduction. |
| Retained Benefit | An abstract lattice model in which a continuous cooperation trait spreads only when enough of the value created by cooperation is routed back toward cooperators or copies of the cooperative rule. |
Moran Models
Alongside the ecological models, the sibling EvolvedCooperation
repository has a family of fixed-population models built on the Moran process:
- Interaction Kernel, a general engine that separates trait-dependent production, positive and negative effect routing, fitness, local selection and inheritance;
- the Nowak Mechanisms pages, which run kin selection, direct and indirect reciprocity, network reciprocity and group selection on that engine under matched assumptions.
References
- Hamilton, W. D. (1964). The genetical evolution of social behaviour. I. Journal of Theoretical Biology, 7(1), 1-16. https://doi.org/10.1016/0022-5193(64)90038-4
- Trivers, R. L. (1971). The evolution of reciprocal altruism. The Quarterly Review of Biology, 46(1), 35-57. https://doi.org/10.1086/406755
- Axelrod, R., & Hamilton, W. D. (1981). The evolution of cooperation. Science, 211(4489), 1390-1396. https://doi.org/10.1126/science.7466396
- Ohtsuki, H., Hauert, C., Lieberman, E., & Nowak, M. A. (2006). A simple rule for the evolution of cooperation on graphs and social networks. Nature, 441, 502-505. https://doi.org/10.1038/nature04605
- Nowak, M. A. (2006). Five rules for the evolution of cooperation. Science, 314(5805), 1560-1563. https://doi.org/10.1126/science.1133755
- West, S. A., Griffin, A. S., & Gardner, A. (2007). Evolutionary explanations for cooperation. Current Biology, 17(16), R661-R672. https://doi.org/10.1016/j.cub.2007.06.004