Last time I gave a sketchy overview of evolutionary game theory. Now let’s get serious.
I’ll start by explaining ‘Nash equilibria’ for 2-person games. These are situations where neither player can profit by changing what they’re doing. Then I’ll introduce ‘mixed strategies’, where the players can choose among several strategies with different probabilities. Then I’ll introduce evolutionary game theory, where we think of each strategy as a species, and its probability as the fraction of organisms that belong to that species.
Back in Part 9, I told you about the ‘replicator equation’, which says how these fractions change with time thanks to natural selection. Now we’ll see how this leads to the idea of an ‘evolutionarily stable strategy’. And finally, we’ll see that when evolution takes us toward such a stable strategy, the amount of information the organisms have ‘left to learn’ keeps decreasing!
We can describe a certain kind of two-person game using a payoff matrix, which is an matrix of real numbers. We think of as the payoff that either player gets if they choose strategy and their opponent chooses strategy
Note that in this kind of game, there’s no significant difference between the ‘first player’ and the ‘second player': either player wins an amount if they choose strategy and their opponent chooses strategy So, this kind of game is called symmetric even though the matrix may not be symmetric. Indeed, it’s common for this matrix to be antisymmetric, meaning since in this case what one player wins, the other loses. Games with this extra property are called zero-sum games. But we won’t limit ourselves to those!
We say a strategy is a symmetric Nash equilibrium if
for all This means that if both players use strategy neither gains anything by switching to another strategy.
For example, suppose our matrix is
Then we’ve got the Prisoner’s Dilemma exactly as described last time! Here strategy 1 is cooperate and strategy 2 is defect. If a player cooperates and so does his opponent, he wins
meaning he gets one month in jail. We include a minus sign because ‘winning a month in jail’ is not a good thing. If the player cooperates but his opponent defects, he gets a whole year in jail:
If he defects but his opponent cooperates, he doesn’t go to jail at all:
And if they both defect, they both get three months in jail:
You can see that defecting is a Nash equilibrium, since
So, oddly, if our prisoners know game theory and believe Nash equilibria are best, they’ll both be worse off than if they cooperate and don’t betray each other.
Nash equilibria for mixed strategies
So far we’ve been assuming that with 100% certainty, each player chooses one strategy Since we’ll be considering more general strategies in a minute, let’s call these pure strategies.
Now let’s throw some probability theory into the stew! Let’s allow the players to pick different pure strategies with different probabilities. So, we define a mixed strategy to be a probability distribution on the set of pure strategies. In other words, it’s a list of nonnegative numbers
that sum to one:
Say I choose the mixed strategy while you, my opponent, choose the mixed strategy Say our choices are made independently. Then the probability that I choose the pure strategy while you chose is
so the expected value of my winnings is
or using vector notation
where the dot is the usual dot product on
We can easily adapt the concept of Nash equilibrium to mixed strategies. A mixed strategy is a symmetric Nash equilibrium if for any other mixed strategy
This means that if both you and I are playing the mixed strategy I can’t improve my expected winnings by unilaterally switching to the mixed strategy And neither can you, because the game is symmetric!
If this were a course on game theory, I would now do some examples. But it’s not, so I’ll just send you to page 6 of Sandholm’s paper: he looks at some famous games like ‘hawks and doves’ and ‘rock paper scissors’.
Evolutionarily stable strategies
We’re finally ready to discuss evolutionarily stable strategies. To do this, let’s reinterpret the ‘pure strategies’ as species. Here I don’t necessarily mean species in the classic biological sense: I just mean different kinds of self-replicating entities, or replicators. For example, they could be different alleles of the same gene.
Similarly, we’ll reinterpret the ‘mixed strategy’ as describing a mixed population of replicators, where the fraction of replicators belonging to the th species is These numbers are still probabilities: is the probability that a randomly chosen replicator will belong to the th species.
We’ll reinterpret the payoff matrix as a fitness matrix. In our earlier discussion of the replicator equation, we assumed that the population of the th species grew according to the replicator equation
where the fitness function is any smooth function of the populations of each kind of replicator.
But in evolutionary game theory it’s common to start by looking at a simple special case where
is the fraction of replicators who belong to the th species.
What does this mean? The idea is that we have a well-mixed population of game players—or replicators. Each one has its own pure strategy—or species. Each one randomly roams around and ‘plays games’ with each other replicator it meets. It gets to reproduce at a rate proportional to its expected winnings.
This is unrealistic in all sorts of ways, but it’s mathematically cute, and it’s been studied a lot, so it’s good to know about. Today I’ll explain evolutionarily stable strategies only in this special case. Later I’ll go back to the general case.
Suppose that we select a sample of replicators from the overall population. What is the mean fitness of the replicators in this sample? For this, we need to know the probability that a replicator from this sample belongs to the th species. Say it’s Then the mean fitness of our sample is
This is just a weighted average of the fitnesses in our earlier formula. But using the magic of vectors, we can write this sum as
We already saw this type of expression in the last section! It’s my expected winnings if I play the mixed strategy and you play the mixed strategy
John Maynard Smith defined to be evolutionarily stable strategy if when we add a small population of ‘invaders’ distributed according to any other probability distribution the original population is more fit than the invaders.
In simple terms: a small ‘invading’ population can’t do better than the population as a whole.
Mathematically, this means:
for all mixed strategies and all sufficiently small Here
is the population we get by replacing an -sized portion of our original population by invaders.
Puzzle: Show that is a weakly evolutionarily stable strategy if and only these two conditions hold for all mixed stategies
The first condition says that is a symmetric Nash equilibrium. In other words, the invaders can’t on average be better playing against the original population than members of the original population are. The second says that if the invaders are just as good at playing against the original population, they must be worse at playing against each other! The combination of these conditions means the invaders won’t take over.
Again, I should do some examples… but instead I’ll refer you to page 9 of Sandholm’s paper, and also these course notes:
• Samuel Alizon and Daniel Cownden, Evolutionary games and evolutionarily stable strategies.
• Samuel Alizon and Daniel Cownden, Replicator dynamics.
The decrease of relative information
Now comes the punchline… but with a slight surprise twist at the end. Last time we let
be a population that evolves with time according to the replicator equation, and we let be the corresponding probability distribution. We supposed was some fixed probability distribution. We saw that the relative information
where is the vector of fitness functions. So, this relative information can never increase if
for all .
We can adapt this to the special case we’re looking at now. Remember, right now we’re assuming
Thus, the relative information will never increase if
or in other words,
Now, this looks very similar to the conditions for an evolutionary stable strategy as stated in the Puzzle above. But it’s not the same! That’s the surprise twist.
Remember, the Puzzle says that is an evolutionarily stable state if for all mixed strategies we have
Note that condition (1), the one we want, is neither condition (2) nor condition (3)! This drove me crazy for almost a day.
I kept thinking I’d made a mistake, like mixing up and somewhere. You’ve got to mind your p’s and q’s in this game!
But the solution turned out to be this. After Maynard Smith came up with his definition of ‘evolutionarily stable state’, another guy came up with a different definition:
• Bernhard Thomas, On evolutionarily stable sets, J. Math. Biology 22 (1985), 105–115.
For him, an evolutionarily stable strategy obeys
Condition (1) is stronger than condition (3), so he renamed Maynard Smith’s evolutionarily stable strategies weakly evolutionarily stable strategies. And condition (1) guarantees that the relative information can never increase. So, now we’re happy.
Except for one thing: why should we switch from Maynard Smith’s perfectly sensible concept of evolutionarily stable state to this new stronger one? I don’t really know, except that
• it’s not much stronger
• it lets us prove the theorem we want!
So, it’s a small mystery for me to mull over. If you have any good ideas, let me know.