Nowak Mechanisms
Status
moran_models/nowak_mechanisms/ in the sibling EvolvedCooperation repository.This section contains one package for each of the five mechanisms for the evolution of cooperation identified in Nowak (2006). Each package is a thin wrapper over the shared interaction_kernel Moran engine.
Shared Engine
All five mechanisms run on the same Moran update loop. What differs across them is the routing step — specifically the kernel that distributes cooperative benefit to neighbors, and any additional per-site state that modulates it.
The Five Mechanisms
| Mechanism | How cooperation is sustained |
|---|---|
| Kin Selection | Benefit is routed with a lineage bias. Same-lineage neighbors receive more weight, operationalising Hamilton's rule rB > C. |
| Direct Reciprocity | Each site carries a memory of recently received help. Expressed cooperation is scaled by that memory, creating a direct reciprocal feedback loop. |
| Indirect Reciprocity | Each site carries a public reputation. The routing kernel is biased toward higher-reputation recipients, sustaining cooperation through a reputation channel. |
| Network Reciprocity | Benefit is routed uniformly over local grid neighbors. Spatial structure alone protects cooperator clusters from exploitation, with no memory or lineage bias. |
| Group Selection | Sites are partitioned into groups. Individual Moran replacement runs each step. Periodically the highest-fitness group is copied into the lowest-fitness group, adding a second level of selection. |
Spread vs. maintenance
The five mechanisms are often described as answers to the question "how does cooperation evolve?" But that question contains three distinct sub-questions — initiation (can a cooperative act occur at all?), spread (can cooperation increase in frequency when rare?), and maintenance (can cooperation resist invasion once common?) — and the five Nowak conditions address only the last.
The Nowak conditions are maintenance conditions. Each of the five rules — , , , , — describes when a population already dominated by cooperators resists invasion by defectors. This is an evolutionary stability (ESS) condition. It is not a condition for spread from rare, and it is not a condition for the first cooperative act to occur.
| Mechanism | Condition | Spread from rare | Maintenance (ESS) |
|---|---|---|---|
| Kin selection | rb > c | Yes — offspring stay near parents by definition, automatically creating kin clusters; 5/5 seeds → simulated | Yes |
| Direct reciprocity | w > (T−R)/(T−P) | No — rare TFT meets mostly ALLD; no memory of cooperation to reciprocate → simulated | Yes → simulated |
| Indirect reciprocity | q > c/b | No — reputation system requires an existing cooperative base to bootstrap | Yes |
| Network reciprocity | b/c > k | Partial — cooperator clusters grow once formed, but a single isolated cooperator still loses to surrounding defectors | Yes |
| Group selection | m/n > c/b | Possible — if between-group selection is strong enough to offset within-group defector advantage | Yes |
The direct implication: demonstrating that a mechanism maintains cooperation is not the same as demonstrating that it produces cooperation. The simulation results in this section test both, and the distinction shows up clearly in every mechanism.
The origin of cooperation
The five Nowak conditions are maintenance conditions. Of the five, only kin selection reliably spreads cooperation from rare — but understanding why requires distinguishing what each mechanism needs from the biological environment in order to operate.
Kin selection and local reproduction are inseparable. Kin selection works because offspring inherit the parent's cooperative trait and stay nearby, automatically clustering same-lineage cooperators together. This spatial clustering is not an extra assumption — it is a trivial consequence of reproduction itself. You cannot have kin selection without offspring proximity, and offspring proximity comes for free from biology. The local grid structure in the spatial model is not a confound; it is what kin reproduction looks like.
This is confirmed by the well-mixed control (Display 3): kin preference without kin proximity — offspring scattered globally — produces no benefit at all (0/5, indistinguishable from a no-kin-bias control). Not because kin selection is weak, but because the scenario is biologically incoherent. Kin selection is local reproduction with relatedness-biased routing. Separating the two removes the mechanism entirely.
The other mechanisms are not as automatic. Direct reciprocity also spreads cooperation reliably from rare when given spatial structure (100% success with a spatial scaffold). But spatial structure is not trivially given for direct reciprocity — it additionally requires partner stability, memory of past interactions, and repeated encounters with the same individuals. These are real biological requirements that are not automatically satisfied by reproduction alone. Direct reciprocity needs a stable community structure to have something to reciprocate.
Network reciprocity alone — without kin bias or reciprocity memory — gives only partial, stochastic spread (2/5). It is the structural foundation but not sufficient on its own.
Group selection adds nothing for spread from rare (2/5 — identical to the network reciprocity baseline). Its role is confined to maintenance.
What makes kin selection the most robust initiator is therefore not that it is the only mechanism capable of spreading cooperation from rare, but that the structural condition it requires — offspring near parents — is automatically provided by reproduction in any biological system. Direct reciprocity and network reciprocity depend on additional conditions that must be independently met.
The Nowak 2010 controversy. In arguing that multilevel selection subsumes kin selection, Nowak, Tarnita, and Wilson (2010) pointed at the mathematical equivalence between kin selection and spatial/group structure. The simulation results here are consistent with that entanglement — kin selection operates through the same local structure that defines network reciprocity. The 137-researcher rebuttal (Abbot et al., 2011) defends the kin selection framework. The debate is not settled, but the practical implication is clear: kin selection and local population structure are two descriptions of the same biological reality, not two competing mechanisms.
Beyond These Five
Nowak's taxonomy is a useful compact framework but not an exhaustive list. Important cooperation mechanisms outside the five include:
- Partner choice — agents preferentially interact with cooperative partners and abandon poor ones.
- Partner control — agents alter partner incentives through sanctions, punishment, or exclusion.
- Byproduct mutualism — an action benefits others because it directly benefits the actor at the same time.
- Policing — third parties suppress selfish behavior or stabilize collective rules.
- Pseudoreciprocity — an actor benefits another because a more productive partner later improves the actor's own payoff.
- Greenbeard effects — a recognizable trait marks cooperators and directs help toward others carrying the same marker.
- Niche construction — cooperative behavior changes the environment, which then feeds back on selection.
- Institutional enforcement — norms, monitoring, and punishment stabilize cooperation at social scales.
- General assortment — cooperators interact with cooperators more often than random mixing predicts, regardless of the specific cause.
The shared condition across all of them mirrors the repo-level feedback framing: cooperation spreads when enough of the value it creates returns to cooperators or copies of the cooperative rule to outweigh the private cost.
References
- Nowak, M. A. (2006). Five rules for the evolution of cooperation. Science, 314(5805), 1560–1563. https://doi.org/10.1126/science.1133755
- Nowak, M. A., Tarnita, C. E., & Wilson, E. O. (2010). The evolution of eusociality. Nature, 466(7310), 1057–1062. https://doi.org/10.1038/nature09205
- Abbot, P., et al. [137 signatories] (2011). Inclusive fitness theory and eusociality. Nature, 471(7339), E1–E4. https://doi.org/10.1038/nature09831
- 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