Skip to main content
QUICK REVIEW

[Paper Review] On the Emergence of Cooperation in the Repeated Prisoner's Dilemma

Maximilian Schaefer|arXiv (Cornell University)|Nov 24, 2022
Evolutionary Game Theory and CooperationSocial Sciences5 citations
TL;DR

This paper uses simulations of $ε$-greedy Q-learners with one-period memory to show that the potential function of stochastic replicator dynamics under the grim trigger strategy predicts cooperation emergence in the repeated prisoner’s dilemma. The key result is a critical kinetic energy ratio, $\mathcal{C} = \frac{\delta}{1-\delta}\mathcal{K}(\alpha)\epsilon$, which separates cooperative from defective parameter regimes, and this frontier closely predicts human cooperation rates with a Pearson correlation >0.8.

ABSTRACT

Using simulations between pairs of $ε$-greedy q-learners with one-period memory, this article demonstrates that the potential function of the stochastic replicator dynamics (Foster and Young, 1990) allows it to predict the emergence of error-proof cooperative strategies from the underlying parameters of the repeated prisoner's dilemma. The observed cooperation rates between q-learners are related to the ratio between the kinetic energy exerted by the polar attractors of the replicator dynamics under the grim trigger strategy. The frontier separating the parameter space conducive to cooperation from the parameter space dominated by defection can be found by setting the kinetic energy ratio equal to a critical value, which is a function of the discount factor, $f(δ) = δ/(1-δ)$, multiplied by a correction term to account for the effect of the algorithms' exploration probability. The gradient at the frontier increases with the distance between the game parameters and the hyperplane that characterizes the incentive compatibility constraint for cooperation under grim trigger. Building on literature from the neurosciences, which suggests that reinforcement learning is useful to understanding human behavior in risky environments, the article further explores the extent to which the frontier derived for q-learners also explains the emergence of cooperation between humans. Using metadata from laboratory experiments that analyze human choices in the infinitely repeated prisoner's dilemma, the cooperation rates between humans are compared to those observed between q-learners under similar conditions. The correlation coefficients between the cooperation rates observed for humans and those observed for q-learners are consistently above $0.8$. The frontier derived from the simulations between q-learners is also found to predict the emergence of cooperation between humans.

Motivation & Objective

  • To identify the parameter conditions under which Q-learners with one-period memory learn to cooperate in the repeated prisoner’s dilemma.
  • To apply concepts from evolutionary game theory—specifically the potential function of stochastic replicator dynamics—to predict cooperation emergence.
  • To test whether the cooperation frontier derived from Q-learner simulations also predicts human cooperation in laboratory experiments.
  • To quantify the relationship between game parameters, learning algorithm hyperparameters, and observed cooperation rates.
  • To assess the robustness of the cooperation frontier across different Q-learner initialization schemes and parameter ranges.

Proposed method

  • Simulate pairs of $ε$-greedy Q-learners with constant learning rates ($\alpha \in [0.01, 0.1]$) and exploration probabilities ($\epsilon \in [0.01, 0.1]$) in the repeated prisoner’s dilemma.
  • Use the potential function of the stochastic replicator dynamics (Foster and Young, 1990) to compute kinetic energies attracting the system toward mutual cooperation and mutual defection.
  • Define a critical kinetic energy ratio $\mathcal{C} = \frac{\delta}{1-\delta}\mathcal{K}(\alpha)\epsilon$, where $\delta$ is the discount factor and $\mathcal{K}(\alpha)$ is a correction factor for exploration effects.
  • Characterize the cooperation frontier as the set of parameter combinations where the kinetic energy ratio equals $\mathcal{C}$, separating cooperative and defective regimes.
  • Compare Q-learner cooperation rates to human cooperation rates from laboratory experiments using Euclidean distance in $(d^{ic}, \mathcal{KLR} - \log(\mathcal{K}(\alpha)\epsilon))$-space.
  • Compute Pearson correlation coefficients between human and Q-learner cooperation rates across treatments, tracking changes with increasing game experience.

Experimental results

Research questions

  • RQ1What parameter combinations in the repeated prisoner’s dilemma lead to stable cooperation between Q-learners with one-period memory?
  • RQ2Can the potential function of the stochastic replicator dynamics under the grim trigger strategy predict the boundary between cooperative and defective outcomes in Q-learner interactions?
  • RQ3To what extent does the cooperation frontier derived from Q-learner simulations predict actual human cooperation rates in laboratory experiments?
  • RQ4How does the gradient of cooperation rates near the frontier vary with the distance between game parameters and the incentive compatibility constraint hyperplane?
  • RQ5How does the correlation between human and Q-learner cooperation rates evolve as players gain experience in repeated games?

Key findings

  • The cooperation frontier between Q-learners is accurately predicted by the kinetic energy ratio $\mathcal{C} = \frac{\delta}{1-\delta}\mathcal{K}(\alpha)\epsilon$, where $\mathcal{K}(\alpha)$ corrects for exploration effects.
  • The gradient of cooperative strategy share at the frontier increases with the distance between game parameters and the incentive compatibility hyperplane, stabilizing when this distance exceeds 50% of its maximum value.
  • The frontier is robust to both optimistic and pessimistic Q-value initialization across the tested parameter range.
  • Human cooperation rates across laboratory experiments show a Pearson correlation >0.8 with Q-learner cooperation rates, indicating strong predictive power of the Q-learner frontier.
  • The correlation remains consistently above 0.8 even after seven games, peaking early and stabilizing, suggesting alignment in learning dynamics between humans and Q-learners.
  • The only treatment with conflicting predictions between $\mathcal{KLR}$ and $sizeGOOD$ measures corroborated the $\mathcal{KLR}$ frontier, supporting its validity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.