Skip to main content

Nowak Mechanisms

Status

This section describes the five named Moran-process packages under 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

MechanismHow cooperation is sustained
Kin SelectionBenefit is routed with a lineage bias. Same-lineage neighbors receive more weight, operationalising Hamilton's rule rB > C.
Direct ReciprocityEach site carries a memory of recently received help. Expressed cooperation is scaled by that memory, creating a direct reciprocal feedback loop.
Indirect ReciprocityEach site carries a public reputation. The routing kernel is biased toward higher-reputation recipients, sustaining cooperation through a reputation channel.
Network ReciprocityBenefit is routed uniformly over local grid neighbors. Spatial structure alone protects cooperator clusters from exploitation, with no memory or lineage bias.
Group SelectionSites 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.
Display 1: The five Nowak mechanisms and how each sustains cooperation in this implementation.

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 — rb>crb > c, w>(TR)/(TP)w > (T-R)/(T-P), q>c/bq > c/b, b/c>kb/c > k, m/n>c/bm/n > c/b — 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.

MechanismConditionSpread from rareMaintenance (ESS)
Kin selectionrb > cYes — offspring stay near parents by definition, automatically creating kin clusters; 5/5 seeds → simulatedYes
Direct reciprocityw > (T−R)/(T−P)No — rare TFT meets mostly ALLD; no memory of cooperation to reciprocate → simulatedYes → simulated
Indirect reciprocityq > c/bNo — reputation system requires an existing cooperative base to bootstrapYes
Network reciprocityb/c > kPartial — cooperator clusters grow once formed, but a single isolated cooperator still loses to surrounding defectorsYes
Group selectionm/n > c/bPossible — if between-group selection is strong enough to offset within-group defector advantageYes
Display 2: The five Nowak conditions mapped to spread from rare and maintenance. All five conditions are ESS (maintenance) conditions. Kin selection reliably spreads cooperation from rare because offspring proximity to parents is a trivial consequence of reproduction. The other mechanisms require additional biological conditions to achieve the same.
Kin selection — simulation evidence
  • Spread from rare: 5/5 seeds, mean trait 0.872 — offspring inherit lineage and stay local, automatically creating kin clusters; this is kin selection as it operates in biology — utils/proof_of_mechanism.py
  • Maintenance: 5/5 seeds, mean trait 0.984 — kin-biased routing locks cooperation near maximum once common
  • No kin bias ablation: 1/5 seeds, mean trait 0.488 — removing kin bias while keeping local reproduction gives only partial spread; confirms kin-biased routing is the decisive amplifier on top of local reproduction
  • Well-mixed control — kin preference without kin proximity: 0/5 seeds, mean trait 0.006 — biologically incoherent scenario (kin selection requires offspring proximity, which local reproduction provides automatically); confirms that kin preference without kin proximity is meaningless — well_mixed/proof_of_mechanism.py
  • Below Hamilton's rule: 0/5 seeds from 90% — rb > c boundary confirmed
Display 3: Kin selection simulation evidence. The 5/5 spread result is kin selection operating as it does in biology — local reproduction automatically provides the kin proximity the mechanism requires. The well-mixed control tests kin preference without kin proximity, which has no biological counterpart.
Direct reciprocity — fully proven by simulation
Display 4: Direct reciprocity simulation evidence for the spread and maintenance claims in Display 2.
Indirect reciprocity — fully proven by simulation
  • Maintenance = Yes: proven — 5/5 seeds, mean trait 0.873 — binary Nowak model (donor helps only if recipient reputation ≥ threshold, q=0.80 > c/b=0.20) — well_mixed_binary/proof_of_mechanism.py
  • Spread from rare = No: proven — 0/5 seeds, mean trait 0.276 (q=0.80) and 0/5, mean trait 0.201 (q=0.05) — rare cooperators help defectors who have neutral initial reputation, but defectors never reciprocate; cooperators pay cost with no return and are eliminated before the reputation feedback loop can bootstrap — well_mixed_binary/proof_of_mechanism.py
  • Reputation gating ablation: without reputation-gated access to help, maintenance fails (2/5 seeds vs. 5/5 with gating) — defectors receive the same benefit as cooperators without paying the cost; confirms reputation-gated discrimination is the mechanism
  • Why the spatial model confounds this: the spatial grid provides network-reciprocity clustering on top of the reputation channel; the ablation (no reputation routing) still gives 5/5 success on the grid, proving the grid alone sustains cooperation. The well-mixed binary model isolates the reputation channel cleanly — well_mixed_binary/proof_of_mechanism.py
Display 5: Indirect reciprocity simulation evidence for the spread and maintenance claims in Display 2.
Network reciprocity — fully proven by simulation
  • Maintenance = Yes: proven — 5/5 seeds, mean trait 0.928 — 24×24 von Neumann grid (k=4), b/c=5 > k — utils/proof_of_mechanism.py
  • Spread from rare = Partial: proven — 2/5 seeds, mean trait 0.536 — cooperation spreads in replicates where a viable cluster forms by chance; fails in the others; directly demonstrates the stochastic cluster-formation threshold
  • b/c > k boundary: proven — B_plus_scale=0.5 → b/c=2.5 < k=4 — 0/5 seeds, mean trait 0.012 — cooperation collapses completely from 90% when condition is violated
  • k is the decisive parameter: proven — Moore neighbourhood (k=8) with same b/c=5 — 0/5 seeds, mean trait 0.009 — condition violated by increasing neighbourhood size, not by changing payoffs; confirms k as the network degree in Nowak's condition
Display 6: Network reciprocity simulation evidence for the spread and maintenance claims in Display 2.
Group selection — fully proven by simulation
  • Maintenance = Yes: proven — 5/5 seeds, mean trait 0.950 — 24×24 von Neumann grid, group replacement every 25 steps, m/n > c/b condition met — utils/proof_of_mechanism.py
  • Spread from rare = Possible: proven — 2/5 seeds, mean trait 0.548 — cooperation spreads in replicates where a cooperator-rich group is occasionally copied over a defector-rich group; stochastic, directly demonstrating the "Possible" claim
  • Double ablation (Moore + no groups): proven — Moore neighbourhood (k=8 > b/c=5) disables spatial clustering; group_selection_interval=99999 disables between-group copying — 0/5 seeds, mean trait 0.010 — cooperation collapses completely; confirms both mechanisms are needed
  • Group events alone cannot rescue cooperation: proven — Moore neighbourhood (spatial advantage removed) + group selection active (interval=25) — 0/5 seeds, mean trait 0.012 — between-group copying amplifies spatial within-group clusters but cannot replace them; any spread in the standard scenario is due to within-group spatial assortment, not between-group events alone
Display 7: Group selection simulation evidence for the spread and maintenance claims in Display 2.

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