1. Home
  2. Explore
  3. Economics
  4. Game Theory & Cooperation

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Game Theory & Cooperation

🎲 The Prisoner's Dilemma: Cooperation in a Selfish World

The Prisoner's Dilemma is the most famous problem in game theory, illustrating a fundamental conflict between individual rationality and collective well-being. This problem arises in diverse scenarios, from international relations to everyday interactions, and offers insights into the emergence of cooperation.

💣 Origins: The Cold War Context

The game theory concept of the Prisoner's Dilemma emerged from a real-world crisis: the Cold War nuclear arms race.

  • Discovery of Soviet Bomb (1949): An American weather monitoring plane detected radioactive material over Japan, indicating a recent nuclear explosion. Subsequent tests confirmed the Soviet Union had developed a nuclear bomb, ending the U.S. monopoly on nuclear weapons.

  • Heightened Tensions: This discovery intensified fears of war. Some U.S. strategists, like Navy Secretary Matthews and game theory founder John von Neumann, even advocated for a pre-emptive nuclear strike against the Soviets while the U.S. still held an advantage, a concept termed "aggressors for peace."

  • RAND Corporation's Role: In 1950, the RAND Corporation, a U.S. think tank, used game theory to analyze the nuclear dilemma. Two mathematicians at RAND independently developed a game that mirrored the U.S.-Soviet conflict, later known as the Prisoner's Dilemma.

🤝 Understanding the Prisoner's Dilemma

The Prisoner's Dilemma is a non-zero-sum game where two players independently choose between two actions: cooperate or defect. The outcome for each player depends on both players' choices.

💰 Game Mechanics and Payoffs

Consider a scenario with a banker and gold coins:

  • Both Cooperate: Each player receives 3 coins. (Optimal collective outcome)

  • One Cooperates, One Defects: The defector receives 5 coins, the cooperator receives 0 coins. (Temptation for individual gain)

  • Both Defect: Each player receives 1 coin. (Suboptimal collective outcome)

The goal for each player is to maximize their own coin count.

🤔 The Rational Choice: Defection

Let's analyze the rational decision-making process:

  1. If your opponent cooperates:

    You cooperate: Get 3 coins.

  2. You defect: Get 5 coins.

  3. Conclusion: You are better off defecting.

  4. If your opponent defects:

    You cooperate: Get 0 coins.

  5. You defect: Get 1 coin.

  6. Conclusion: You are better off defecting.

  • Dominant Strategy: Regardless of the opponent's choice, defection always yields a better individual payoff. This makes defection the dominant strategy for a rational player in a single-round Prisoner's Dilemma.

  • Suboptimal Equilibrium: If both players are rational, they will both choose to defect, resulting in each receiving 1 coin. This is a Nash Equilibrium but is suboptimal because if they had both cooperated, they would have each received 3 coins.

📉 Real-World Example: The Nuclear Arms Race

The U.S.-Soviet nuclear arms race perfectly illustrates the Prisoner's Dilemma:

  • Individual Rationality: Each nation, acting in its self-interest, continued to develop more nuclear weapons to avoid being vulnerable.

  • Collective Suboptimality: This led to both countries building vast arsenals of tens of thousands of nuclear weapons, costing an estimated $10 trillion. This was a massive expenditure that left both nations in a more dangerous, less secure state than if they had cooperated and agreed not to develop the technology.


🔁 The Repeated Prisoner's Dilemma & Cooperation

While defection is the rational choice in a single-round game, many real-world interactions are repeated Prisoner's Dilemmas. This repetition fundamentally changes the optimal strategy.

🌿 Impalas and Grooming: A Natural Example

  • The Problem: Impalas are prone to ticks and need mutual grooming to reach inaccessible spots. Grooming, however, costs resources (saliva, electrolytes, time, attention) and carries risks (predators).

  • The Dilemma: In a single interaction, it's best to defect (not groom) to save resources. But impalas interact daily.

  • The Shift: If an impala defects, the other impala will remember and likely defect in future interactions. This introduces a future consequence for current actions.

💻 Axelrod's Computer Tournaments (1980)

Robert Axelrod, a political scientist, conducted computer tournaments to find the best strategy for the repeated Prisoner's Dilemma.

🧪 Tournament Setup:

  • Participants: Leading game theorists submitted computer programs (strategies).

  • Gameplay: Each strategy played against every other strategy, and against a copy of itself, for 200 rounds.

  • Payoffs: Points were used instead of coins, with the same payoff structure (Cooperate/Cooperate = 3, Defect/Cooperate = 5/0, Defect/Defect = 1).

  • Goal: Maximize total points.

  • Robustness: The tournament was repeated five times.

  • Uncertain End: Crucially, players didn't know the exact end round, only an average of 200, preventing backward induction to defection.

🕹️ Example Strategies:

  • Random: Cooperates or defects 50% of the time randomly.

  • Friedman: Cooperates initially, but defects permanently if the opponent defects even once. (Maximally unforgiving)

  • Joss: Starts by cooperating, then copies the opponent's last move, but "sneaks in" a defection 10% of the time. (Nasty)

  • Graaskamp: Similar to Joss, but defects strategically in the 50th round to "probe" the opponent.

  • Name Withheld: The most complex strategy with 77 lines of code.

🏆 The Winner: Tit for Tat

  • The simplest program, Tit for Tat, emerged as the winner.

  • Tit for Tat's Logic:

    Starts by cooperating.

  • Subsequently, it copies exactly what the opponent did in the previous move. (Cooperation for cooperation, defection for defection).

  • Example with Friedman: Both start cooperating and continue to cooperate, achieving perfect scores.

  • Example with Joss: Both start cooperating. When Joss defects (e.g., on the 6th move), Tit for Tat retaliates. This can lead to an "echo effect" of alternating defections, especially if Joss throws in a second unprovoked defection, leading to mutual, continuous defection. Despite this, Tit for Tat's ability to cooperate with enough other strategies secured its win.

🌟 Qualities of Successful Strategies

Axelrod identified four key qualities shared by the best-performing strategies:

  1. Nice:

    Definition: Never the first to defect.

  2. Impact: Tit for Tat is nice (only defects in retaliation). Nasty strategies (like Joss, which defects first) performed poorly. All top eight strategies were nice; even the worst nice strategy outscored the best nasty one.

  3. Forgiving:

    Definition: Can retaliate but doesn't hold a grudge; doesn't let past defections (beyond the last round) influence current decisions.

  4. Impact: Tit for Tat is forgiving. Friedman, being maximally unforgiving (defects permanently after one opponent defection), performed poorly in the long run.

  5. Tit for Two Tats: An even more forgiving strategy (defects only after two consecutive opponent defections) would have won the first tournament if submitted.

  6. Retaliatory (Provocable):

    Definition: Strikes back immediately if the opponent defects; not a pushover.

  7. Impact: Strategies like "Always Cooperate" are easily exploited. Tit for Tat is hard to take advantage of due to its immediate retaliation.

  8. Clear:

    Definition: Easy for other strategies to understand and predict its behavior.

  9. Impact: Opaque or overly complicated strategies (like "Name Withheld") struggled to establish trust, leading opponents to default to defection.

The combination of being nice, forgiving, retaliatory, and clear is remarkably similar to the ethical principle of "an eye for an eye," emphasizing balanced reciprocity over unconditional altruism or relentless aggression.

🔄 The Second Tournament: Adapting to Knowledge

Axelrod conducted a second tournament with the same rules, but participants had access to the results and analysis of the first tournament.

  • Two Camps Emerged:

    Nice & Forgiving Camp: Submitted strategies based on the winning qualities. (e.g., Tit for Two Tats)

  • Nasty & Exploitative Camp: Submitted strategies designed to exploit the anticipated niceness and forgiveness of others. (e.g., Tester, which defects first to probe, then either apologizes with Tit for Tat or defects every other move if the opponent doesn't retaliate).

  • Outcome: Again, Tit for Tat won, and nice strategies performed significantly better. Only one non-nice strategy was in the top 15, while only one non-nasty strategy was in the bottom 15.

⚠️ No Single "Best" Strategy

  • Context Dependence: The optimal strategy depends on the environment. Tit for Two Tats, which would have won the first tournament, only placed 24th in the second.

  • Example: If Tit for Tat is placed in an environment dominated by "Always Defect" strategies, it will perform very poorly.

📈 Ecological Simulation

Axelrod ran a simulation where successful strategies increased their numbers in a population, and unsuccessful ones declined (mimicking natural selection without mutation).

  • Initial Growth of Nasty Strategies: Strategies like Harrington (the only nasty strategy in the top 15 of the second tournament) initially grew by preying on others.

  • Eventual Dominance of Nice Strategies: As the strategies they preyed on went extinct, nasty strategies like Harrington also declined. After 1,000 generations, only nice strategies survived, with Tit for Tat representing 14.5% of the population.

  • Emergence of Cooperation: This demonstrated how cooperation can emerge and spread even in a population of self-interested players, without requiring altruism. A "little island of cooperation" (e.g., a cluster of Tit for Tat players) can build points, translate that into "offspring," and eventually take over a population, even a "nasty" one.


🌍 Real-World Implications of Cooperation

Axelrod's findings have profound implications across various fields:

🧬 Evolutionary Biology

  • The Prisoner's Dilemma helps explain the emergence of cooperation in nature, from impalas grooming each other to fish cleaning sharks.

  • Organisms face similar conflicts, and repeated interactions favor cooperative strategies. Such strategies can be encoded in DNA and spread through a population if they outperform others.

🛡️ International Relations

  • Axelrod's insights are applied to international conflicts.

  • U.S.-Soviet Nuclear Disarmament: From the late 1980s, the U.S. and Soviet Union began reducing nuclear stockpiles. Instead of a single, all-or-nothing agreement (a single Prisoner's Dilemma), they opted for a repeated game: disarming slowly, checking each other's compliance annually, and repeating the process. This mutual, verified cooperation allowed them to break out of the defection cycle.

📡 The Impact of Noise and Generosity

Axelrod's original tournaments didn't account for random error or "noise" in the system.

  • Real-World Noise: Errors happen (e.g., 1983 Soviet false alarm from sunlight mistaken for missile launch).

  • Tit for Tat's Vulnerability: When Tit for Tat plays against itself in a noisy environment:

    A single perceived defection (even if cooperation was intended) can trigger an "echo effect" of alternating retaliations.

  • Another error can lead to permanent mutual defection.

  • In the long run, Tit for Tat performs poorly in noisy environments, getting only about a third of the points it would in a perfect environment.

Solution: Generous Tit for Tat: Adding about 10% more forgiveness to Tit for Tat (retaliating only 9 out of 10 times) helps break out of echo effects while remaining sufficiently retaliatory. This "generous Tit for Tat" performs well in noisy environments.

🏆 Winning Beyond Zero-Sum

  • Common Misconception: Many people equate "winning" with "beating" the other person (like in chess or poker, which are zero-sum games where one's gain is another's loss).

  • Most of Life is Not Zero-Sum: In the Prisoner's Dilemma, rewards come from the "banker" (the world/environment), not directly from the opponent.

  • Cooperation Pays: To "win" in these situations means finding win-win situations and working together to unlock greater rewards for everyone. Even among rivals, cooperation can lead to better overall outcomes.


🧠 The Game of Life: Shaping Our Environment

  • Short-Term vs. Long-Term: In the short term, the environment shapes the player (determining who succeeds). In the long run, the players shape the environment through their choices.

  • Decision-Making: Life involves making choices that impact not only one's own future but also the future of those interacted with.

  • Axelrod's Enduring Takeaways: Be nice, be forgiving, but don't be a pushover. These principles promote cooperation and lead to better outcomes in the complex "game of life."

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent