Image: Dietmar Rabich, CC BY-SA 4.0The simple strategy that won a tournament and explains cooperation
In 1979 Robert Axelrod, a political scientist at the University of Michigan, wrote to game theorists he knew and asked each to send him a computer program. The program would play the Prisoner's Dilemma two hundred times in a row against every other entry, and against a copy of itself, and the entry with the highest total score would win. Fourteen programs arrived, from economists, psychologists, mathematicians, and political scientists, some of them running to dozens of lines of code. The winner was the shortest program submitted. It had been sent in by Anatol Rapoport (1911 to 2007), a mathematical psychologist at the University of Toronto, and it did two things. It cooperated on the first move, and from then on it did whatever the other player had done on the move before.
The game and the payoffs
The Prisoner's Dilemma is a game for two players who each choose, without consulting the other, between cooperating and defecting. Axelrod used the payoffs that the field has used ever since. If both cooperate, each receives 3 points, the reward. If both defect, each receives 1 point, the punishment. If one defects while the other cooperates, the defector receives 5 points, the temptation, and the cooperator receives 0, the sucker's payoff. Whatever the other player does, a player scores more by defecting, so in a single game both defect and both get 1 point, which is worse for both than the 3 points each could have had. Unit 3 of the masterclass uses the game to show why two states that would both gain from a treaty can still fail to sign one.
The tournament changed the game in one way. The players met again and again, and each could remember what the other had done. Axelrod published the results in the Journal of Conflict Resolution in 1980, and then did the thing that made the result famous: he circulated the results, explained exactly why tit for tat had won, and invited entries for a second round. Sixty-two programs came in from six countries, several of them designed specifically to beat tit for tat. Rapoport submitted the same four lines again, and it won again.
Why a rule that never wins a single game won the tournament
Tit for tat cannot score more than its opponent in any one pairing. It never defects first, so the best it can do against any program is to tie, and against a program that defects on the last move it loses by a few points. It won because the tournament rewarded total score across all pairings, and tit for tat did well against almost everyone. Against the other cooperative programs it settled into mutual cooperation and collected 3 points a move. Against the programs that tried to exploit it, it took one hit and then returned the defection, so the exploiter gained 5 points once and then shared 1 point a move with it for the rest of the game.
Axelrod set out four properties of the successful entries in his 1984 book The Evolution of Cooperation. They were nice, which he defined as never being the first to defect; the eight top-scoring programs in the first tournament were all nice, and the programs below them were all not. They were provocable, meaning they punished a defection at once. They were forgiving, in that they returned to cooperation as soon as the other side did. And they were clear, so that an opponent could work out quickly what they were dealing with. The clever programs that tried to model their opponents and defect at the moment of maximum gain did badly, because the opponents could not read them and treated them as defectors.
The shadow of the future, with the number
The result depends on the players expecting to meet again. Axelrod wrote the probability that another round follows as w, and called it the shadow of the future. In the second tournament the length of each game was set at random so that nobody could plan a last-move defection, with w equal to 0.99654 and a median game length of 151 moves.
He also worked out how large w has to be for tit for tat to hold against a player who tries to exploit it. Consider a player facing tit for tat who defects on every move. On the first move the defector gains 5 points, and on every later move 1 point, so the defector's expected total is 5 plus 1 times w divided by (1 minus w). Cooperating throughout gives 3 points a move, which is 3 divided by (1 minus w). Cooperation pays better when w is at least two thirds. A second rule, defecting on alternate moves, is defeated when w is at least one half. So with Axelrod's payoffs, tit for tat is collectively stable whenever each player believes there is at least a two in three chance that the game continues after this move. If the chance of another meeting falls below that, defection pays, which is why cooperation breaks down when a relationship is known to be ending.
Check the two conditions with the numbers. With a two in three chance of another round, the all-out defector expects 5 plus 2, which is 7 points, and the cooperator expects 3 divided by one third, which is 9. The cooperator is ahead. With a one in two chance, the defector expects 6 and the cooperator 6, and the balance tips.
Trenches, treaties, and inspectors
The chapter of the book that readers remember best was written from the trenches of the First World War. The sociologist Tony Ashworth had documented, from letters and regimental histories, a practice the soldiers called live and let live. Along quiet sectors of the Western Front, German and British battalions facing each other for months learned to fire at predictable times and at predictable places, to shell the same empty field each afternoon, and to answer a raid with a raid of exactly the same weight. The high commands on both sides fought the practice by ordering raids and rotating battalions, which cut the shadow of the future. Axelrod read the episode as tit for tat played by men who had never heard of the Prisoner's Dilemma.
For states, the point is about the design of agreements. A treaty between two states that will deal with each other for decades needs no world government to enforce it, as long as each side can see what the other is doing and can answer a violation with one of its own. That is why arms control agreements spend most of their text on verification: the on-site inspections of the 1987 Intermediate-Range Nuclear Forces Treaty, and the data exchanges and eighteen inspections a year of the 2010 New START treaty, existed to make defection visible quickly, so that the other side's response could follow at once. Trade law uses the same logic. When the World Trade Organization finds that a member has broken the rules and the member does not comply, the remedy it authorizes is retaliation by the injured party, measured to match the harm. The institution does not punish; it licenses the tit for tat and keeps it proportionate.
The strategy has limits, and Axelrod discussed them. Two tit for tat players who make one mistake fall into an echo of alternating defections that neither started. Later work by Martin Nowak and Karl Sigmund found that a more forgiving rule, which they called generous tit for tat, does better when moves are sometimes misread, and that in some settings a rule called win stay, lose shift does better still. Rapoport's four lines were never the final answer to cooperation. They were the first proof that a simple, decent, and firm rule could outscore every clever one, and the first number, two thirds, for how much the future has to matter. The Stanford Encyclopedia of Philosophy's entry on the Prisoner's Dilemma traces what came after. Unit 3 of the masterclass, on liberalism, institutions, and interdependence, plays the game with the reader before it turns to the institutions that lengthen the shadow of the future.


