A ration party of the Royal Irish Rifles resting in a communication trench on the Somme in July 1916
Unit 06 · All masterclasses · 90 min

Repeated Games and Cooperation

How the prospect of meeting again sustains cooperation
Image: Royal Engineers No 1 Printing Company, Imperial War Museums (Q 1), via Wikimedia Commons

Played once, the prisoner's dilemma ends in mutual defection, and played a known number of times it unravels from the last round. Played with no known end, cooperation becomes possible. The unit introduces the discount factor and its two readings, defines grim trigger and tit for tat as rules, derives the critical discount factor of 1/2 by the one-deviation check, and states the folk theorem as a theorem about what is possible. It retells Axelrod's tournaments of 1980, asks what mistakes do to tit for tat, and shows how two firms can keep a price high without ever talking.

Preview: the beginning of the unit

Unit 2 ended with a list of things that would have to change for two players to cooperate in the prisoner’s dilemma, and the first item on that list was repetition. Two petrol stations on the same road, two states deciding every year on their armaments, and two firms watching each other’s prices do not play the dilemma once; they play it again and again, and a defection today can be answered tomorrow. This unit works out what that possibility of an answer changes, which is more than one might expect and less than one might hope. It also tells the story of a tournament of computer programs held in 1980, in which the simplest entry won, and of soldiers on the Western Front in 1914 who kept a truce their commanders had not ordered.

1 The finitely repeated prisoner’s dilemma

The game of this unit is the prisoner’s dilemma of Unit 2 with the program’s payoffs, shown once more in Table 1. The row player chooses a row and the column player a column, and each cell gives the row player’s payoff first. In the letters of Unit 2 the payoffs are \(T = 5\), \(R = 3\), \(P = 1\), and \(S = 0\), with \(T > R > P > S\) and \(2R > T + S\). The first condition makes defecting (\(D\)) dominant for both players when the game is played once, although both prefer mutual cooperation (\(C\)); the second says that the two players earn more by cooperating than by taking turns at exploiting each other, and it matters in Section 3.

Row PlayerCooperate (\(C\))Defect (\(D\))
Cooperate (\(C\))3, 30, 5
Defect (\(D\))5, 01, 1
Table 1. The prisoner’s dilemma with the program’s payoffs, the row player’s payoff written first in every cell. It is the game played in every round of this unit.

A repeated game is built from a game that is normally played once, which is then called the stage game, by letting the same players play it in round \(t = 1\), then in round \(t = 2\), and so on, where each player sees every earlier move of the other player before choosing again. Textbooks call a round a “period” or a “stage”; this program says round. The payoff of the whole repeated game is the sum of the payoffs of the rounds, and in Section 2 this sum will be weighted so that later rounds count less. A strategy of the repeated game is, as in every game with sequential moves (Unit 5), a complete plan: it must say what the player does in round \(t\) after every possible history of the first \(t - 1\) rounds. Even in a game of ten rounds this is an enormous number of plans, because each round can end in one of four ways, so the plan for round 10 alone must cover \(4^{9} = 262{,}144\) possible histories of the first nine rounds. The strategies of this unit are therefore described as rules rather than listed.

Suppose first that the game is played exactly \(N\) times and both players know this. Unit 5 solved games of this kind by backward induction, and the argument runs the same way here. In round \(N\) nothing follows, so round \(N\) is a one-shot prisoner’s dilemma, and both players defect whatever has happened before. In round \(N - 1\) both players know that round \(N\) is lost anyway, so nothing they do in round \(N - 1\) changes the future, and round \(N - 1\) is again a one-shot dilemma, in which both defect. The argument then moves to round \(N - 2\), and so on to the first round. The cooperation that repetition seemed to promise unravels from the end.

The second sentence of the theorem closes a possible escape. One might hope that some equilibrium that is not subgame perfect, built on empty threats of the kind Unit 5 discussed, still produces cooperation on the way. It does not, because the stage game has only one equilibrium, so a threat in the last round has nothing to threaten with. The worked example makes the argument concrete.

The full unit is part of the program

Want to see a complete unit first? Unit 3, Nash Equilibrium, is free to read.