Game Theory 101: Best Responses & Nash Equilibrium
In the previous post of this series, we discussed about strategy dominance as a way to analyse games to aid us in playing the right strategy. To recap, it is never rationalizable to play strategies that are strictly dominated by others. We now explore another concept, the best response and how it plays a role in a game's Nash Equilibrium.
Best Responses
Suppose that the strategies that our opponents play are fixed as . Intuitively, we know that given a fixed strategy profile of our opponents, there must exist at least 1 strategy in our set of strategy that performs the best against . This is our best response to .
More formally, player i's strategy is a best response to a particular if:
Where , and is the set of all strategies that are available to player i.
For example, in the game Rock Paper Scissors, if , then our best response would be .
Why are best responses useful?
Best responses can guide us into making the optimal choice based on certain beliefs about what others will play. Of course, our beliefs may or may not be correct in the end, so why can't we make a decision using strict dominance and iterative elimination? The answer is simple: There simply may not be any strict dominance relation between our strategies. Consider the following game:
M | S | |
---|---|---|
M | 3,1 | 0,0 |
S | 0,0 | 1,3 |
What is the dominance relationship between M and S here? The utility of Player 1 for playing M or S would be as follows:
Notice that , but . Therefore M does not strictly (or weakly) dominate S and vice versa. How do we make our decision now?
If we hold the belief that Player 2 is going to play , then our best response would be . If we hold the belief that Player 2 is going to play , our best reponse to that would be . The same holds true for Player 2 in response to what Player 1 plays. We note that the ideal outcome would be either or . They are the Nash Equilibrium of this game.
Nash Equilibrium
Informally, a Nash Equilibrium is a state of the game where every player's chosen strategy is a best response to every other player. In our game of two players, this would mean that both players are playing strategies such that their strategies are best responses to each other. Nash Equilibrium (NE) exhibits the following properties:
- NE always exists (in a finite game)
- No regrets: Each player's choice is what they would have chosen if they knew about what the others would play beforehand. If others' strategies were fixed, no player has any incentive to deviate.
- Self-enforcing: Once a Nash Equilibrium is reached, no player can unilaterally deviate their strategy from the NE state and hope to profit (it is not possbile). If the game state is not in NE, it is possible.
We define the Nash Equilibrium of a game with players as a state/strategy profile of the game, as follows:
Equivalently,
Note that strictly dominated strategies can never be part of a NE, simply due to the fact a SD'ed strategy cannot be a best response. A weakly dominated strategy, however, can be a best response and thus be part of a NE.
A Nash Equilibrium can be considered as a "desirable" state of the game for all players, as it ensures that they are playing the best response possible to the current game state, and hence maximizing their utility.
Mixed Strategies & Mixed Strategy Nash Equilibrium
However, even a "Pure" Strategy Nash Equilibrium may not exist, which is to say an equilibrium where we are playing discrete strategies. For example, let us consider the game of Rock Scissors Papers:
R | P | S | |
---|---|---|---|
R | 0,0 | -1,1 | 1,-1 |
P | 1,-1 | 0,0 | -1,1 |
S | -1,1 | 1,-1 | 0,0 |
Where is the Nash Equilibrium? We need both players to be playing the best reponse to each other's strategies. is a best response to , but is a best response to , and is a best response to . There is no scenario where each player plays the best response to each other's strategy, at least in terms of pure (discrete) strategies.
Note that a tie is not a NE, since if the game state is , the best response of each player would have been to play in response to . This brings us to the concept of mixed strategies.
Mixed Strategies
A mixed strategy can be defined as a probability distribution over a set of pure strategies. That is, every strategy in our set of pure strategy has a certain probability of being played when we use a mixed strategy, and the sum of all probabilities for the strategies should be 1. We can denote a mixed strategy for player i who has n strategies as:
We also denote the probability of playing a single strategy under a given mixed strategy as follows:
Note that pure (discrete) strategies are just a special case of mixed strategies, where for a single and for all .
Mixed Strategy Nash Equilibrium
We define the mixed strategy Nash Equilibrium as follows:
Note that for every such that , is also a best reponse to . This is due to the indifference condition which we will discuss in the next section.
Finding the Mixed Equilibrium
In order to find the mixed equilibrium, we want to play a mixed strategy with a probability distribution such that one or both players in the game are indifferent.
That is, we play a particular probability distribution such that no mattter what strategy the opponent chooses, the opponent's expected payoff of playing the pure strategies are equal.
In our game of Rock Paper Scissors, we want to play a mixed strategy such that playing Rock, Paper or Scissors all have equal payoff for the opponent in order to find the mixed equilibrium.
We can calculate the probability distribution for our mixed strategy with simple algebraic manipulation:
We have now found the mixed strategy for player 1 that will make player 2 indifferent! Unsurprisingly, player 2 is indifferent when player 1 plays all 3 strategies with equal probability . In a game of Rock Paper Scissors where all payoffs for winning/losing with any strategy is equivalent, this makes sense.
One important intuition to take away here is that if a player is indifferent between his pure strategies, i.e. the payoffs are the same, then any mix of those strategies will also have the same payoff. This also means that every possible mix of those pure strategies are also best responses!
Recall that in a Nash Equilibrium, both players must play best responses to each other's strategies. Therefore, player 2 can nowalso play such that any strategy played by player 1 is a best response, which includes .
Therefore, our Mixed Strategy Nash Equilibrium for the game of Rock Scissors Paper is , where and .
Conclusion
In this post we have learnt about another way to analyse games using best responses and Nash Equilibrium. In particular, we discussed the properties of a Nash Equilibrium and delved into both Pure Strategy Nash Equilibria and Mixed Strategy Nash Equilibia.
Mixed Strategies open up a new method of playing the game by using a probability distribution over our pure strategies, and also reveal the existence of the Mixed Strategy Nash Equilibrium, which is very useful for games where the pure Nash Equilibrium does not exist.
Comments