Infinitely Repeated Prisoner's Dilemma, Reputations, and Whitewashing #
Formalizes the infinitely repeated Prisoner's Dilemma, reputational trigger strategies, and the
cheap-pseudonym whitewashing / Pay-Your-Dues (PYD) model from Sections 27.2–27.3 and
Exercises 27.1–27.5 of Eric Friedman, Paul Resnick, and Rahul Sami, "Manipulation-Resistant
Reputation Systems", Chapter 27 of Algorithmic Game Theory [FRS07], following
[FR01].
Model and source mapping #
- Stage Prisoner's Dilemma (
PDAction,pdPayoff,pdWelfare): matches [FriedmanResnickSami2007, §27.2, p. 680] verbatim:π(C, C) = 1,π(D, D) = 0,π(D, C) = 2, andπ(C, D) = -1, with social welfare2,0, and1on(C, C),(D, D), and asymmetric outcomes(D, C)/(C, D)respectively. - Normalized discounted payoff (
discountedPayoff):(1 - δ) * ∑' t, δ ^ t * u tfor0 ≤ δ < 1[FriedmanResnickSami2007, §27.2, p. 681], satisfyingdiscountedPayoff δ (fun _ => c) = c(Exercise 27.1, p. 696) and the one-step Bellman decompositiondiscountedPayoff_cons. - Subgame-perfect Nash equilibrium (
IsSPNE) and one-shot deviation principle (isSPNE_iff_noOneShotDev): public-history strategiesPDStrategyin the infinitely repeated game, proved equivalent to absence of profitable one-shot deviations at every finite history via contraction ofcontPayoff₁/contPayoff₂at rateδ < 1[FriedmanResnickSami2007, §27.2, p. 681]. - Trigger and Tit-for-Tat characterizations:
(grim, grim)is an SPNE iff1 / 2 ≤ δ(isSPNE_grim_iff, §27.2, p. 681).- Naive opponent-only Grim (
naiveGrim₁,naiveGrim₂) is never an SPNE for0 ≤ δ < 1(not_isSPNE_naiveGrim, Exercise 27.3, p. 696). - Tit-for-Tat (
titForTat₁,titForTat₂) is an SPNE iffδ = 1 / 2(isSPNE_titForTat_iff,not_isSPNE_titForTat_of_ne): under NRTV's stage payoffs(1, 2, 0, -1), temptation threshold(T - R) / (R - S) = 1 / 2coincides with forgiveness indifference at(C, D), so(TFT, TFT)holds at the single knife-edgeδ = 1 / 2and fails for everyδ ∈ [0, 1) \ {1 / 2}(refining the statement of Exercise 27.2, p. 696). - Under uniform random pairing among
N ≥ 1potential opponents (§27.2, p. 681; Exercise 27.5, p. 697), Personalized-Grim deters one-shot defection iff(N : ℝ) / (N + 1) ≤ δ(personalizedGrim_incentive_iff, correcting the1 - 1 / (2N)slip on p. 681), whereas shared Reputational-Grim requires only1 / 2 ≤ δindependently ofN.
- Whitewashing entry fees and Pay-Your-Dues (
§27.3, p. 682; Exercise 27.4, p. 697):- With registration fee
f, Reputational-Grim deters both one-shot and perpetual whitewashing iff1 / δ ≤ f(entryFee_deters_whitewashing_iff,entryFee_deters_perpetual_whitewashing_iff). - With free pseudonyms, Pay-Your-Dues (
pydAction,pydNextStanding) gives agoodVeterana stage-payoff advantage of2over anewcomeragainst veteran partners (pyd_goodVeteran_vs_newcomer_gap), makes truthfulPYDwithout whitewashing at.newcomerand.goodVeteranstandings optimal across all partner standings iff1 / 2 ≤ δ(pyd_incentive_iff, strictly optimal on cooperative prescriptions for1 / 2 < δ), and incurs newcomer–veteran welfare1 < 2(pyd_newcomer_welfare_bounds). - Model scope note: Unlike the full public-history strategy
IsSPNEtheorems above,personalizedGrim_incentive_iff,entryFee_deters_*, andpyd_incentive_iffverify the closed-form discounted stream and one-step Bellman inequalities against the explicit expressionspersonalizedGrimDevPayoff,honestEntryPayoff/oneShotWhitewashPayoff/perpetualWhitewashPayoff, andpydContValuerather than deriving continuation payoffs from an explicitN-player random-matching or pseudonym-reset repeated game.
- With registration fee
Main definitions #
Cslib.GameTheory.Reputation.PDAction,pdPayoff,pdWelfare,PDRound,PDHistory,PDStrategyCslib.GameTheory.Reputation.discountedPayoff,contPayoff₁,contPayoff₂,NoOneShotDev,IsSPNECslib.GameTheory.Reputation.grim,naiveGrim₁,naiveGrim₂,titForTat₁,titForTat₂Cslib.GameTheory.Reputation.personalizedGrimDevPayoff,honestEntryPayoff,oneShotWhitewashPayoff,ReputationStanding,pydAction,pydNextStanding,pydContValue
Main results #
Cslib.GameTheory.Reputation.discountedPayoff_const: Exercise 27.1.Cslib.GameTheory.Reputation.isSPNE_iff_noOneShotDev: one-shot deviation characterization of SPNE.Cslib.GameTheory.Reputation.isSPNE_grim_iff:(grim, grim)SPNE iff1 / 2 ≤ δ.Cslib.GameTheory.Reputation.not_isSPNE_naiveGrim: Exercise 27.3.Cslib.GameTheory.Reputation.isSPNE_titForTat_iff: Exercise 27.2 exact characterization (δ = 1 / 2).Cslib.GameTheory.Reputation.personalizedGrim_incentive_iff: Exercise 27.5 (N / (N + 1) ≤ δ).Cslib.GameTheory.Reputation.entryFee_deters_whitewashing_iff: §27.3 (1 / δ ≤ f).Cslib.GameTheory.Reputation.pyd_incentive_iff,pyd_strict_incentive_of_gt_half: §27.3 and Exercise 27.4 (1 / 2 ≤ δand strict optimality for1 / 2 < δ).
References #
Stage Prisoner's Dilemma #
Stage-game action in the Prisoner's Dilemma [FriedmanResnickSami2007, §27.2, p. 680].
Instances For
Stage payoff to the row player in the Prisoner's Dilemma of [FriedmanResnickSami2007, §27.2,
p. 680]: π(C, C) = 1, π(D, D) = 0, π(D, C) = 2, and π(C, D) = -1.
Sum of both players' stage payoffs [FriedmanResnickSami2007, §27.3, p. 682].
Normalized discounted average payoffs #
Exercise 27.1 ([FriedmanResnickSami2007, p. 696]): if the stage payoff is constant c,
then the normalized discounted average payoff equals c.
Public histories, continuation payoffs, and the one-shot deviation principle #
Outcome of a single round of the repeated Prisoner's Dilemma.
Instances For
Swap the two players' coordinates of a stage outcome.
Finite public history of past stage outcomes, in chronological order.
Pure public-history strategy in the infinitely repeated Prisoner's Dilemma.
Public history after t additional rounds of play from h under (σ₁, σ₂).
Stage outcome t rounds after h under (σ₁, σ₂).
Player 1's normalized discounted continuation payoff from public history h.
Player 2's normalized discounted continuation payoff from public history h.
Strategy pair (σ₁, σ₂) is a subgame-perfect Nash equilibrium (SPNE) at discount factor
δ if neither player can strictly increase their continuation payoff after any finite public
history h [FriedmanResnickSami2007, §27.2, p. 681].
Absence of profitable one-shot deviations for both players at every finite public history h
[FriedmanResnickSami2007, §27.2, p. 681].
One-shot deviation principle for the infinitely repeated Prisoner's Dilemma
([FriedmanResnickSami2007, §27.2, p. 681]): for 0 ≤ δ < 1, (σ₁, σ₂) is an SPNE if and only if
neither player has a profitable one-shot deviation after any finite history.
Grim trigger, Naive Grim, and Tit-for-Tat #
Whether every round in history h was mutual cooperation (C, C).
Grim trigger strategy: cooperate unless any player has defected in a previous round [FriedmanResnickSami2007, §27.2, p. 681].
Naive Grim for player 1: cooperate unless player 2 has defected in a previous round [FriedmanResnickSami2007, Exercise 27.3, p. 696].
Naive Grim for player 2: cooperate unless player 1 has defected in a previous round [FriedmanResnickSami2007, Exercise 27.3, p. 696].
Exercise 27.3 ([FriedmanResnickSami2007, p. 696]): defining Grim as "cooperate unless the
other player has defected" fails subgame perfection for every 0 ≤ δ < 1, because after the
off-path history [⟨D, C⟩] player 1 is required to cooperate once against player 2's permanent
defection (-1 instead of 0).
Tit-for-Tat for player 1: cooperate initially, then copy player 2's last action [FriedmanResnickSami2007, Exercise 27.2, p. 696].
Tit-for-Tat for player 2: cooperate initially, then copy player 1's last action [FriedmanResnickSami2007, Exercise 27.2, p. 696].
Tit-for-Tat SPNE characterization ([FriedmanResnickSami2007, Exercise 27.2, p. 696]):
under NRTV's stage payoffs (1, 2, 0, -1), (titForTat₁, titForTat₂) is an SPNE if and only if
δ = 1 / 2. For δ < 1 / 2, player 1 profitably defects at []; for 1 / 2 < δ < 1, player 2
profitably forgives (plays C) after [⟨D, C⟩] to restore (C, C) instead of alternating.
Personalized-Grim under random matching (§27.2 & Exercise 27.5) #
Expected normalized discounted payoff from defecting once against a current partner under
personalized-Grim in a population of N + 1 players (N potential partners, matched uniformly
with probability 1 / N in each subsequent period): immediate payoff 2, followed by expected
stage payoff (N - 1) / N in every future period [FriedmanResnickSami2007, §27.2, p. 681;
Exercise 27.5, p. 697].
Exercise 27.5 ([FriedmanResnickSami2007, §27.2, p. 681 & p. 697]): in the closed-form
expected stream personalizedGrimDevPayoff δ N for N ≥ 1 potential partners under uniform
1 / N matching, Personalized-Grim deters a one-shot defection
(personalizedGrimDevPayoff δ N ≤ 1) if and only if (N : ℝ) / (N + 1) ≤ δ.
Whitewashing entry fees and Pay-Your-Dues (§27.3 & Exercise 27.4) #
Normalized discounted payoff of paying upfront registration fee f once at t = 0 and
cooperating forever under Reputational-Grim [FriedmanResnickSami2007, §27.3, p. 682].
Normalized discounted payoff of paying f at t = 0, defecting in round 0 for 2 - f,
paying f again at t = 1 to whitewash, and cooperating thereafter
[FriedmanResnickSami2007, §27.3, p. 682].
Normalized discounted payoff of defecting and whitewashing in every period (2 - f per round)
[FriedmanResnickSami2007, §27.3, p. 682].
Entry-fee deterrence of whitewashing ([FriedmanResnickSami2007, §27.3, p. 682];
[FR01]): for 0 < δ < 1, in the closed-form discounted streams above, upfront
registration fee f deters one-shot whitewashing
(oneShotWhitewashPayoff δ f ≤ honestEntryPayoff δ f) if and only if 1 / δ ≤ f.
In the closed-form discounted stream perpetualWhitewashPayoff, perpetual defect-and-whitewash
is deterred by the exact same registration threshold 1 / δ ≤ f
[FriedmanResnickSami2007, §27.3, p. 682].
Reputation standing of a pseudonym in the Pay-Your-Dues (PYD) norm
[FriedmanResnickSami2007, §27.3, p. 682].
- newcomer : ReputationStanding
- goodVeteran : ReputationStanding
- badVeteran : ReputationStanding
Instances For
Pay-Your-Dues (PYD) action rule [FriedmanResnickSami2007, §27.3, p. 682]:
cooperate with goodVeterans, defect against badVeterans, and against a newcomer cooperate
only if one is also a newcomer (veterans defect against newcomers).
Next-period standing under PYD, allowing optional free whitewashing (whitewash = true
resets the pseudonym to .newcomer) [FriedmanResnickSami2007, §27.3, p. 682].
Stage-payoff gap in the hint to Exercise 27.4 ([FriedmanResnickSami2007, p. 697]):
against a goodVeteran partner playing PYD, a goodVeteran earns 1 whereas a newcomer
paying dues earns -1, a gap of 2.
Welfare cost of cheap pseudonyms ([FriedmanResnickSami2007, §27.3, p. 682];
[FR01]): a veteran–newcomer PYD interaction (D, C) achieves welfare 1,
strictly exceeding mutual defection (0) while losing 1 unit relative to full cooperation (2).
Continuation value against a community of goodVeteran partners when playing PYD (with
badVeteran whitewashing to newcomer when 1 / 2 ≤ δ, or max 0 (2 * δ - 1) in general)
[FriedmanResnickSami2007, §27.3, p. 682; Exercise 27.4, p. 697].
Pay-Your-Dues one-step Bellman threshold ([FriedmanResnickSami2007, §27.3, p. 682 &
Exercise 27.4, p. 697]; [FR01]): for 0 ≤ δ < 1, under the closed-form continuation
values pydContValue δ, following pydAction without whitewashing at .newcomer and
.goodVeteran weakly dominates every stage action a : PDAction and whitewashing choice
w : Bool across all partner standings partner : ReputationStanding if and only if
1 / 2 ≤ δ.
Strict optimality of PYD cooperation in Exercise 27.4 ([FriedmanResnickSami2007, p. 697]):
when 1 / 2 < δ < 1, defecting instead of cooperating as a goodVeteran or newcomer is
strictly unprofitable under any subsequent whitewashing choice w : Bool.