What if there are multiple decision makers (e.g. google search ads, network bandwidth allocation, road traffic).
1. Game Theory
A game has players, with a set of actions. Each player incurs a cost, depending on everyone's actions.
A bi-matrix representation can be used to represent a two-player game. Each player has a set of actions, and the cost for each combination of actions is represented in a matrix, where is the -th action of player 1 and is the -th action of player 2:
denotes the actions of all players except player .
2. Nash Equilibria
Assumes every player is perfectly rational & fully informed, a pure Nash equilibrium is a feasible allocation s.t. no player can decrease their cost by unilaterally changing their action, i.e. .
2.1 Best Response Algorithm
Given the other player's strategy , the best response is:
A pure Nash equilibrium occurs when each player's action is a best response to the other players' actions:
Initialize strategies , set .
If is an equilibrium, stop.
Update .
, go to step 2.
If there is no equilibrium, the algorithm cannot converge. If there is a unique equilibrium, the algorithm will converge to it.
2.2 Mixed Nash Equilibria
Instead of playing an action deterministically, use distributions and minimized expected costs. Let be a vector of probabilities over the actions . The expected cost is:
So, the mixed Nash equilibrium is the distribution s.t. no player can decrease their expected cost by deviating to any pure strategy, i.e. .
We don't need to check against all possible distributions, just the pure strategies. This is because after finding all possible , we can create a distribution over them to get the same expected cost.
A mixed nash equilibria exists for any finite game.