# 4.2: Prisoner's Dilemma and Chicken

- Page ID
- 82776

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\id}{\mathrm{id}}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\kernel}{\mathrm{null}\,}\)

\( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\)

\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\)

\( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)

\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)

\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vectorC}[1]{\textbf{#1}} \)

\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

Before getting any further into non-zero-sum games, let's recall some key ideas about zero-sum games.

- If a zero-sum game has an equilibrium point, then repeating the game does not affect how the players will play.
- If a zero-sum game has more that one equilibrium point then the values of the equilibrium points are the same.
- In a zero-sum game, we can find mixed strategy equilibrium points using the graphical method or the expected value method.
- In a zero-sum game, a player never benefits from communicating her strategy to her opponent.

Hopefully, in the last section, you saw that non-zero-sum games can differ on all of the above!

Let's consider the game given by Table \(4.2.1\).

Table \(4.2.1\): A Non-Zero Sum Example | ||
---|---|---|

\(C\) | \(D\) | |

\(A\) | \((0, 0)\) | \((10, 5)\) |

\(B\) | \((5, 10)\) | \((0, 0)\) |

Check that this is NOT a zero-sum game.

Even with non-zero-sum games, it is helpful to start by finding any equilibrium points.

Using the “guess and check” method for finding equilibria, you should be able to determine that Table \(4.2.1\) has two equilibrium points. What are they?

As we saw in Section 4.1, the equilibrium points in non-zero-sum games need not have the same values. Does Player 1 prefer one of the equilibria from Exercise \(4.2.2\) over the other?

Since it is now possible for BOTH players to benefit at the same time, it might be a good idea for players to communicate with each other. For example, if Player 1 says that she will choose A no matter what, then it is in Player 2's best interest to choose D. If communication is allowed in the game, then we say the non-zero-sum game is **cooperative**. If no communication is allowed, we say it is **non-cooperative**.

We saw in Section 4.1, that our methods for analyzing zero-sum games do not work very well on non-zero-sum games. Let's look a little closer at this.

If we apply the graphical method for Player 1 to the above game, we get that Player 1 should play a \(\left(\dfrac{1}{3}, \dfrac{2}{3}\right)\) mixed strategy for an expected payoff of \(\dfrac{10}{3}\). Similarly we can determine that Player 2 should play a \(\left(\dfrac{2}{3}, \dfrac{1}{3}\right)\) mixed strategy for an expected payoff of \(\dfrac{10}{3}\). Recall we developed this strategy as a “super defensive” strategy. But are our players motivated to play as defensively in a non-zero-sum game? Not necessarily! It is no longer true that Player 2 needs to keep Player 1 from gaining!

Now suppose, Player 1 plays the \(\left(\dfrac{1}{3}, \dfrac{2}{3}\right)\) strategy. Then the expected payoff to Player 2 for playing pure strategy C, \(E_2(C)\text{,}\) is \(\dfrac{20}{3}\); and the expected payoff to Player 2 for playing pure strategy D, \(E_2(D)\text{,}\) is \(\dfrac{5}{3}\). Thus Player 2 prefers C over D. But if Player 2 plays only C, then Player 1 should abandon her \(\left(\dfrac{1}{3}, \dfrac{2}{3}\right)\) strategy and just play B! This results in the payoff vector \((5, 10)\). Notice, that now the expected value for Player 1 is \(5\), which is better than \(\dfrac{10}{3}\)! Again, since Player 2 is not trying to keep Player 1 from gaining, there is no reason to apply the maximin strategy to non-zero-sum games. Similarly, we don't want to apply the expected value solution since Player 1 does not care if Player 2's expected values are equal. Each player only cares about his or her own payoff, not the payoff of the other player.

OK, so now, how do we analyze these games?

What are some possible strategies for each player? Might some strategies depend on what a player knows about her opponent?

Can you see that some of the analysis might be better understood with psychology than with mathematics?

In order to better understand non-zero-sum games we look at two classic games.

Two partners in crime are arrested for burglary and sent to separate rooms. They are each offered a deal: if they confess and rat on their partner, they will receive a reduced sentence. So if one confesses and the other doesn't, the confessor only gets \(3\) months in prison, while the partner serves \(10\) years. If both confess, then they each get \(8\) years. However, if neither confess, there isn't enough evidence, and each gets just one year. We can represent the situation with the matrix in Table \(4.2.2\).

Table \(4.2.2\): The Prisoner's Dilemma (years in prison). | |||
---|---|---|---|

Prisoner 2 | |||

Confess | Don't Confess | ||

Prisoner 1 | Confess | ||

Don't Confess |

Since this game, as presented, is probably only played once, we can begin by looking for dominated strategies and equilibrium points.

Does the matrix in Table \(4.2.2\) have any dominated strategies for Player 1? Does it have any dominated strategies for Player 2? Keep in mind that a prisoner prefers smaller numbers since prison time is bad.

If you were to be one of the prisoners, what would you do? Do you think everyone would do that, too? What would our perfectly rational player do? Would your strategy change if you are allowed to communicate? We examine some of these questions in the next few exercises.

Suppose you are Prisoner 1. What should you do? Why? Suppose you are Prisoner 2. What should you do? Why? Does your choice of strategies result in an equilibrium pair?

Looking at the game as an outsider, what strategy pair is the best option for both prisoners.

Now suppose both prisoners are perfectly rational, so that any decision Prisoner 1 makes would also be the decision Prisoner 2 makes. Further, suppose both prisoners know that their opponent is perfectly rational. What should each prisoner do?

Suppose Prisoner 2 is crazy and is likely to confess with \(50/50\) chance. What should Prisoner 1 do? Does it change if he confesses with a \(75\%\) chance? What if he confesses with a \(25\%\) chance.

Suppose the prisoners are able to communicate about their strategy. How might this affect what they choose to do?

Explain why this is a “dilemma” for the prisoners. Is it likely they will chose a strategy which leads to the best outcome for both? You might want to consider whether there are dominated strategies.

You should now have some idea about why we call this game a dilemma, since the players may in fact have difficulty deciding on whether to confess or not. Even two perfectly rational players may not be able to get the best payoff.

We now turn to another classic example. We can ask similar qeustions about Chicken that we ask about Prisoner's Dilemma.

Two drivers drive towards each other. If one driver swerves, he is considered a “chicken.” If a driver doesn't swerve (drives straight), he is considered the winner. Of course if neither swerves, they crash and neither wins. A possible payoff matrix for this game is given in Table \(4.2.3\).

Table \(4.2.3\): The Game of Chicken | |||
---|---|---|---|

Driver 2 | |||

Swerve | Straight | ||

Driver 1 | Swerve | \((0, 0)\) | \((-1, 10)\) |

Straight | \((10, -1)\) | \((-100, -100)\) |

Again, since this game as presented is probably only played once, we can begin by looking for dominated strategies and equilibrium points.

Does the Chicken game in Table \(4.2.3\) have any dominated strategies?

What strategy results in the best outcome for Driver 1? What strategy results in the best outcome for Driver 2? What happens if they both choose that strategy?

Consider the strategy pair with outcome \((-1, 10)\text{.}\) Does Driver 1 have any regrets about his choice? What about Driver 2? Is this an equilibrium point? Are there any other points in which neither driver would regret his or her choice?

If you were to be one of the drivers, what would you do? Do you think everyone would do that, too? What would our perfectly rational player do? Would your strategy change if you are allowed to communicate? We examine some of these questions in the next few exercises.

Can you determine what each driver should do in Chicken? If so, does this result in an equilibrium pair?

Now suppose both drivers in the game of Chicken are perfectly rational, so that any decision Driver 1 makes would also be the decision Driver 2 makes. Further, suppose both drivers know that their opponent is perfectly rational. What should each driver do?

Suppose Driver 2 is a remote control dummy and will swerve or drive straight with a \(50/50\) chance. What should Driver 1 do? Does it change if the remote contro dummy swerves with \(75\%\) chance?

Can it benefit drivers in the game of Chicken to communicate about their strategy? Explain.

Compare Prisoner's Dilemma and Chicken. Are there dominated strategies in both games? Are there equilibrium pairs? Are players likely to reach the optimal payoff for one player, both players, or neither player? Does a player's choice depend on what he knows about his opponent (perfectly rational or perfectly random)?

Both Prisoner's Dilemma and Chicken are models of games where we describe the choice of strategy as “Cooperate” and “Defect”. In Prisoner's Dilemma, we think of “cooperating” as cooperating with the other player, and “defecting” as turning against the other player. So if both players cooperate (with each other, not the police), they will get the higher payoff of only one year in prison. They defect by ratting on each other. In Chicken, players cooperate by swerving and defect by driving straight. Using the examples of Prisoner's Dilemma and Chicken, think about how these games can model other everyday interactions where you could describe your choices as cooperating and defecting. The remainder of the chapter looks more closely at situations where players can cooperate or defect.