foundations of computational agents
The third edition of Artificial Intelligence: foundations of computational agents, Cambridge University Press, 2023 is now available (including full text).
To compute a Nash equilibrium for a game in normal form, there are three steps:
Eliminate dominated strategies.
Determine support set, the set of actions which have non-zero probabilities.
Determine the probability for the actions in the support set.
It turns out that the second of these is the most difficult.
A strategy for a agent dominates strategy for if, for every action of the other agents, the utility of for agent is higher than the utility of for agent . This is formalized below. Any pure strategy dominated by another strategy can be eliminated from consideration. The dominating strategy could be a randomized strategy. Removing dominated strategies can be done repeatedly.
Consider the following payoff matrix, where the first agent chooses the row and the second agent chooses the column. In each cell is a pair of payoffs: the payoff for Agent 1 and the payoff for Agent 2. Agent 1 has actions . Agent 2 has actions .
Agent 2 | ||||
---|---|---|---|---|
Agent 1 | ||||
(Before looking at the solution try to work out what each agent should do.)
Action can be removed because it is dominated by action : Agent 1 will never do if action is available to it. Notice how the payoff for Agent 1 is greater doing than doing , no matter what the other agent does.
Once action is eliminated, action can be eliminated because it is dominated for Agent 2 by the randomized strategy .
Once and have been eliminated, is dominated by , and so Agent 1 will do action . Given that Agent 1 will do , Agent 2 will do . Thus, the payoff in this game will be 3 for Agent 1 and 5 for Agent 2.
Strategy strictly dominates strategy for Agent if, for all action profiles of the other agents,
in which case is strictly dominated by . If is a pure strategy that is strictly dominated by some strategy , then can never be in the support set of any Nash equilibrium. This holds even if is a stochastic strategy. Repeated elimination of strictly dominated strategies gives the same result, regardless of the order in which the strictly dominated strategies are removed.
There are also weaker notions of domination, where the greater than symbol in the preceding formula is replaced by greater than or equal. If the weaker notion of domination is used, there is always a Nash equilibrium with support of the non-dominated strategies. However, some Nash equilibria may be lost. Moreover, which equilibria are lost can depend on the order in which the dominated strategies are removed.
An agent will only randomize between actions if the actions all have the same utility to the agent, given the strategies of the other agents. This idea leads to a set of constraints that can be solved to compute a Nash equilibrium. If these constraints can be solved with numbers in the range , and the mixed strategies computed for each agent are not dominated by another strategy for the agent, then this strategy profile is a Nash equilibrium.
Recall that a support set is a set of pure strategies that each have non-zero probability in a Nash equilibrium.
Once dominated strategies have been eliminated, an agent can search over support sets to determine whether the support sets form a Nash equilibrium. Note that, if there are actions available to an agent, there are non-empty subsets, and we have to search over combinations of support sets for the various agents. This is not feasible unless there are only a few non-dominated actions or there are Nash equilibria with small support sets. To find simple (in terms of the number of actions in the support set) equilibria, an agent can search from smaller support sets to larger sets.
Suppose agent is randomizing between actions in a Nash equilibrium. Let be the probability that agent does action . Let be the strategies for the other agents, which is a function of their probabilities. The fact that this is a Nash equilibrium gives the following constraints: , , and, for all
We also require that the utility of doing is not less than the utility of doing an action outside of the support set. Thus, for all ,
In Example 11.9, suppose the goalkeeper jumps right with probability and the kicker kicks right with probability .
If the goalkeeper jumps right, the probability of a goal is
If the goalkeeper jumps left, the probability of a goal is
The only time the goalkeeper would randomize is if these are equal; that is, if
Solving for gives .
Similarly, for the kicker to randomize, the probability of a goal must be the same whether the kicker kicks left or right:
Solving for gives .
Thus, the only Nash equilibrium has and .