Notes on lecture 9 of 24 · Game Theory, Yale

Mixed Strategies in Theory and Tennis

VideoTranscript

In the course: Lesson 6

Importance for the course: high — the “left or right” guessing game sits at the heart of any duel, and the example with the improved shot teaches you to predict what a balance change will do to a game.

The gist in plain words

Sometimes a game has no single right move. If you always hit to one side, your opponent will notice and stand there. So you have to mix your moves in the right proportion, so that nobody can predict you. And if you gain an edge in one thing, your opponent will start to avoid it, and you will have to adjust too.

What happened in the lecture

  • Polak recalled rock, paper, scissors with a 1/3 chance for each option and gave a formal definition of a mixed strategy. An option can have probability 0, and a pure strategy turned out to be a special case of a mix.
  • A calculation on the “Battle of the Sexes”: against an opponent who plays 50/50, player I’s pure moves bring 1 and 1/2, and a mix of 1/5 and 4/5 gives 3/5, a number between them.
  • The heights of three TAs, the Yankees’ batting averages, the grade point average of the front row. An average always lies between the worst and the best. If you want the highest average, keep only the best ones, all equal to each other.
  • The main conclusion of the day: if a mix is optimal, each move in it is optimal too and brings the same payoff.
  • Tennis, an example from the book by Dixit and Skeath. Serena is at the net. Venus hits a passing shot to Serena’s left or right, and Serena moves left or right in advance. Venus’s chance of winning the point (Venus’s shot first, then Serena’s move): “left, left” 50%, “left, right” 80%, “right, left” 90%, “right, right” 20%. The numbers are made up. A student explained why it is not 100%: the ball can go out.
  • Polak called the TV commentators’ advice “always play to your strength” bad advice. There is no pure equilibrium: the best responses go round in a circle.
  • The answer: Venus hits left 70% of the time, Serena moves left 60% of the time. If Serena moves left more often, Venus does better always hitting right, and vice versa.
  • A new coach improved Serena’s volley on the left: the 50 in the “left, left” cell became 30. The direct effect tells Serena to move left more often. The strategic effect says the opposite: Venus now hits there less often. In the audience vote many abstained.
  • The calculation: Serena moves left 50% of the time instead of 60%, Venus hits left 7/12 of the time instead of 7/10. The strategic effect won.

Key concepts

  • Mixed strategy — choosing moves with set probabilities, for example “left 70% of the time”. A pure strategy is one move for certain.
  • Expected payoff — the average result, taking the probabilities into account. For a mix it is the weighted average of the payoffs of its moves.
  • Indifference — in equilibrium all the moves in a mix bring the player the same. From this equation you find the opponent’s mix.
  • Mixed strategy Nash equilibrium — each player’s mix is a best response to the mixes of the others.
  • Comparative statics — you change a rule of the game and compare the old equilibrium with the new one.
  • Direct and strategic effect — the first counts only your change, the second also counts the opponent’s response.

Takeaways for game makers

  • A duel lives as long as there is no single right answer. A penalty kick, strike and block in a fighting game, choosing where to hide in hide-and-seek: if some move is always better, the guessing disappears. The best responses must go round in a circle.
  • Numbers set the proportions. By changing the chances in the cells, the designer controls how often strong players choose each move. You can calculate the proportion in advance.
  • Making a move stronger can make it used less. Improve a technique, and opponents will start to avoid it. Then its owner will also rely on it less often. Before a balance change, count not only the direct effect but also the players’ response.
  • An AI opponent needs to mix and to punish patterns. If a player hits to one side more often than the equilibrium share, the AI’s best response is simple: always cover that side. That way the game itself teaches players not to be predictable.
  • Equal results mean healthy balance. If players mix two moves, the moves pay the same. If one move is clearly better, strong players will soon stop mixing.

A mini-game for a lesson

“Passing shot”. Two players, 10 minutes, a ten-sided die or cards from ace to ten.

  1. Each player has a “left” card and a “right” card; sides are counted from Serena’s position. Venus and Serena each lay down a card in secret and reveal them.
  2. Draw a card. Venus wins the point if the number is no higher than the threshold: “left, left” 5; “left, right” 8; “right, left” 9; “right, right” 2.
  3. Play 10 points, write down the moves, swap roles.
  4. “Serena’s new coach”: the “left, left” threshold becomes 3. Before the second round everyone writes a prediction: should Serena now move left more often or less often?

What to notice: whoever repeated one move lost. By Polak’s calculation, after the improvement Serena does better moving left less often. In the browser a player can face an AI that notices their habits.

Mistakes and misconceptions

  • “Always play to your strength.” The opponent will adjust, and strength on its own decides nothing.
  • “I improved a technique, so it will be used more often.” In Polak’s example it went the other way.
  • “Mixing means playing any old way.” You need exact shares. The opponent will punish any skew with a pure move.
  • “A mix can give more than the best move.” It can’t: an average always lies between the worst and the best.

For advanced readers

  • Expected payoff is linear in the mix p_i. Hence: if p_i*(s_i) > 0, then s_i is a best response to p_−i*.
  • Tennis. Serena’s mix q comes from Venus’s indifference: 50q + 80(1−q) = 90q + 20(1−q), q = 0.6. Venus’s mix p comes from Serena’s indifference: 50p + 10(1−p) = 20p + 80(1−p), p = 0.7. After the change q = 0.5 and p = 7/12.
  • Nash’s theorem (1950): every finite game has an equilibrium, at least in mixed strategies. For two-player constant-sum games like this one, von Neumann’s minimax theorem (1928) was proved earlier.
  • The example is taken from A. Dixit, S. Skeath, “Games of Strategy”. A test on the serves of professionals: M. Walker, J. Wooders, “Minimax Play at Wimbledon” (2001).