Docsity

Algorithmic Game Theory - Study Materials | CS 573, Study notes of Algorithms and Programming

Toggle sidebar
bg1
CS 573: Algorithmic Game Theory Lecture date: January 23rd, 2008
Instructor: Chandra Chekuri Scribe: Bolin Ding
Contents
1 2-Player Zero-Sum Game 1
1.1 Min-Max Theorem for 2-Player Zero-Sum Game . . . . . . . . . . . . . . . . . . . . 1
1.2 Application: Lower Bounds on Las Vegas Randomized Algorithms . . . . . . . . . . 2
2 Nash’s Theorem 4
2.1 Brouwer’s Fixed Point Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.2 Proof of Nash’s Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1 2-Player Zero-Sum Game
In this section, we will first prove that any 2-player zero-sum finite game has a Nash equilibrium of
mixed strategies (a special case of Nash’s theorem), and a Nash equilibrium can be found through
solving linear programs. We will further show how to prove lower bounds on randomized complexity
of Las Vegas algorithms using this result.
A 2-player game is a zero-sum game if the sum of the payoffs of the 2 players (row player and
column player) is zero for any choices of strategies. We consider finite game here, i.e., the number
of players and the strategy set of each player are both finite. Let A={A}m×nbe the payoff matrix
of row player. From the definition of zero-sum game, we have −Ais the payoff matrix of column
player. Let X={row vector x∈[0,1]m|Pxi= 1}and Y={column vector y∈[0,1]n|Pyi= 1}
be the mixed strategy sets of the row player and the column player, respectively.
1.1 Min-Max Theorem for 2-Player Zero-Sum Game
Theorem 1.1 Any 2-player zero-sum finite game has a Nash equilibrium of mixed strategies, and
a Nash equilibrium can be found in polynomial time.
Proof: We prove this theorem using the notations given at the beginning of this section.
First, we prove the following equality:
max
x∈Xmin
y∈YxAy = min
y∈Ymax
x∈XxAy.
Let eibe a row vector [0, ..., 0,1,0, ..., 0], where the ith entry, the only nonzero entry in ei, is 1. Let
¯ejbe a column vector [0, ..., 0,1,0, ..., 0]T, where the jth entry, the only nonzero entry in ¯ej, is 1.
Fix x∈X, we have
min
y∈Y(xA)y= min
j∈{1,...,n}(xA)¯ej,
because on one hand, {¯e1, ..., ¯en} ⊆ Y, which implies
min
y∈Y(xA)y≤min
j∈{1,...,n}(xA)¯ej,
pf3
pf4
pf5

Partial preview of the text

Download Algorithmic Game Theory - Study Materials | CS 573 and more Study notes Algorithms and Programming in PDF only on Docsity!

CS 573: Algorithmic Game Theory Lecture date: January 23rd, 2008 Instructor: Chandra Chekuri Scribe: Bolin Ding

Contents

1 2-Player Zero-Sum Game 1 1.1 Min-Max Theorem for 2-Player Zero-Sum Game.................... 1 1.2 Application: Lower Bounds on Las Vegas Randomized Algorithms.......... 2

2 Nash’s Theorem 4 2.1 Brouwer’s Fixed Point Theorem.............................. 5 2.2 Proof of Nash’s Theorem.................................. 5

1 2-Player Zero-Sum Game

In this section, we will first prove that any 2-player zero-sum finite game has a Nash equilibrium of mixed strategies (a special case of Nash’s theorem), and a Nash equilibrium can be found through solving linear programs. We will further show how to prove lower bounds on randomized complexity of Las Vegas algorithms using this result. A 2-player game is a zero-sum game if the sum of the payoffs of the 2 players (row player and column player) is zero for any choices of strategies. We consider finite game here, i.e., the number of players and the strategy set of each player are both finite. Let A = {A}m×n be the payoff matrix of row player. From the definition of zero-sum game, we have −A is the payoff matrix of column player. Let X = {row vector x ∈ [0, 1]m|

xi = 1} and Y = {column vector y ∈ [0, 1]n|

yi = 1} be the mixed strategy sets of the row player and the column player, respectively.

1.1 Min-Max Theorem for 2-Player Zero-Sum Game

Theorem 1.1 Any 2-player zero-sum finite game has a Nash equilibrium of mixed strategies, and a Nash equilibrium can be found in polynomial time.

Proof: We prove this theorem using the notations given at the beginning of this section. First, we prove the following equality:

max x∈X min y∈Y xAy = min y∈Y max x∈X xAy.

Let ei be a row vector [0, ..., 0 , 1 , 0 , ..., 0], where the ith^ entry, the only nonzero entry in ei, is 1. Let ¯ej be a column vector [0, ..., 0 , 1 , 0 , ..., 0]T^ , where the jth^ entry, the only nonzero entry in ¯ej , is 1. Fix x ∈ X, we have min y∈Y (xA)y = min j∈{ 1 ,...,n} (xA)¯ej ,

because on one hand, {e¯ 1 , ..., ¯en} ⊆ Y , which implies

min y∈Y (xA)y ≤ min j∈{ 1 ,...,n} (xA)¯ej ,

and on the other hand, for any y ∈ Y ,

j (xA)j^ yj^ ≥^ minj^ (xA)j^ ((xA)j^ is the^ j th (^) entry of vector

(xA), i.e., (xA)j = (xA)¯ej ), which implies

min y∈Y (xA)y ≥ min j∈{ 1 ,...,n}

(xA)¯ej.

Therefore, let λ(x) = minj (xA)¯ej , and then we have

max x∈X min y∈Y xAy = max x∈X min j∈{ 1 ,...,n}

xA¯ej = max x∈X λ(x).

We can use the following linear programming to find λ∗^ = maxx λ(x): (PLP)

λ∗^ = max λ

s.t. xA¯ej =

∑^ m

i=

xiAi,j ≥ λ, for j = 1, ..., n

∑^ m

i=

xi = 1

xi ≥ 0 , for i = 1, ..., m.

Similarly, for fixed y ∈ Y , let γ(y) = maxi ei(Ay), and then we have

min y∈Y

max x∈X

xAy = min y∈Y

max i∈{ 1 ,...,m}

eiAy = min y∈Y

γ(y).

We can use the following linear programming to find γ∗^ = miny γ(y): (DLP)

γ∗^ = min γ

s.t. eiAy =

∑^ n

j=

Ai,j yj ≤ γ, for i = 1, ..., m

∑^ n

j=

yj = 1

yj ≥ 0 , for j = 1, ..., n.

Since (DLP) is the dual LP to (PLP), suppose x∗^ and y∗^ are the optimal solutions to (PLP) and (DLP), respectively, we have

max x∈X

min y∈Y

xAy = λ∗^ = x∗Ay∗^ = γ∗^ = min y∈Y

max x∈X

xAy.

Second, we prove (x∗, y∗) found above is a Nash equilibrium. The payoff of row player w.r.t. (x∗, y∗) is x∗Ay∗. For the sake of contradiction, suppose there exists x′^ ∈ X, s.t. x′Ay∗^ > x∗Ay∗. We can find i′^ ∈ { 1 , ..., n}, s.t. ei′ Ay∗^ = (Ay∗)i′ ≥ x′Ay∗^ > x∗Ay∗^ = γ∗^ ((Ay∗)i is the ith^ entry of vector (Ay∗), and pick (Ay∗)i′^ as the largest entry of (Ay∗)), which implies ei′^ Ay∗^ > γ∗. However, we have ei′ Ay∗^ ≤ γ∗^ in (DLP)’s constraints. So for any x′^ ∈ X, we have x′Ay∗^ ≤ x∗Ay∗. Similarly, we can show that for any y′^ ∈ Y , we have x∗Ay′^ ≥ x∗Ay∗. Therefore, (x∗, y∗) is a Nash equilibrium, and can be found through solving two LPs, which completes our proof. We leave the following claim as an exercise: for any Nash equilibrium (x, y), xAy = x∗Ay∗. 2

The above assumption works for many problem. We clarify it as follows. Suppose the space, i.e., the memory of a computer, is bounded to be L bits. There may be at most 2L^ different inputs of problem Π. Also, because a deterministic algorithm corresponds to a piece of binary code of length at most L, there are at most 2L^ different deterministic algorithms for problem Π. Let |I(n)| = g and |D(n)| = h. Then

R(n) = {column vector y ∈ [0, 1]h|

∑^ h

j=

yj = 1}.

Let A be a g × h payoff matrix, where Ai,j is the running time algorithm j ∈ D(n) on instance i ∈ I(n). Then from Definition 1.2, we have

RC(n) = min y∈R(n) max 1 ≤i≤g eiAy,

where ei be a row vector [0, ..., 0 , 1 , 0 , ..., 0], whose ith^ entry, the only nonzero entry in ei, is 1. Then by Theorem 1.1, we have RC(n) = max x min 1 ≤j≤h

xAe¯j , (1)

where ¯ej be a column vector [0, ..., 0 , 1 , 0 , ..., 0]T^ , whose jth^ entry, the only nonzero entry in ¯ej , is 1. Variable x is carried out over all probability distribution on I(n), i.e., {row vector x ∈ [0, 1]g|

∑g i=1 xi^ = 1}.

Conclusion: In Equation (1), minj xA¯ej means, for some distribution x on I(n), the expected running time of the best deterministic algorithm. Therefore, to prove a lower bound ω(n) on the randomized complexity of problem Π, we only need to find a probability distribution x 0 on I(n), s.t. ω(n) ≤ minj x 0 A¯ej. Then we have

ω(n) ≤ min 1 ≤j≤h x 0 Ae¯j ≤ max x min 1 ≤j≤h xA¯ej = RC(n). (2)

Example 1.5 In the sorting problem, we have known that for algorithms that use only comparisons, sorting n numbers takes Ω(n log n) time for any deterministic algorithm. One can extend the proof to the case where the n numbers are uniformly picked from all the n! inputs. Then we have

min 1 ≤j≤h x 0 A¯ej ∈ Ω(n log n),

where x 0 is the uniform distribution on all the n! inputs. Therefore, from (2), the randomized complexity of sorting problem is Ω(n log n).

2 Nash’s Theorem

Theorem 2.1 (Nash’s Theorem) Any game with a finite set of players and finite set of strategies has a Nash equilibrium of mixed strategies.

In this section, we will first introduce Brouwer’s Fixpoint Theorem, and then prove Nash’s Theorem using it.

2.1 Brouwer’s Fixed Point Theorem

Theorem 2.2 (Brouwer’s Fixed Point Theorem) Let f : [0, 1]d^7 → [0, 1]d^ be a continuous function. Then there exists a point x ∈ [0, 1]d^ s.t. f (x) = x. More generally, this theorem holds for f ; X 7 → X, where X is a compact and convex set in Rd.

Recall a set X ⊆ Rd^ is compact iff it is closed and bounded. A set X ⊆ Rd^ is bounded iff there exists r ∈ R s.t. X ⊆ B(r), where B(r) is a ball of radius r. A set X ⊆ Rd^ is closed iff any convergent sequence x 1 , x 2 , ..., where xi ∈ X has limit x ∈ X. Following are some examples of functions which do not have any fixed point (f (x) = x) because some conditions in Theorem 2.2 are violated.

  • Function f : [0, 1] 7 → [0, 1] is not continuous —

f (x) =

1 , x ∈ [0, 1 /2] 0 , x ∈ (1/ 2 , 1].

  • Set X is not closed — f : (0, 1) 7 → (0, 1)

f (x) = x + (1 − x)/ 2.

  • Set X is not simply connected — X = {(x, y)|x^2 + y^2 = 1}

f ((cos θ, sin θ)) = ((cos(θ + ∆), sin(θ + ∆)), for fixed ∆ ∈ (0, 2 π).

Brouwer’s Fixed Point Theorem in 1-dimensional case can be easily proved as follows. Consider any continuous function f : [0, 1] 7 → [0, 1], if f (0) = 0 or f (1) = 1, then we have done. Otherwise, let g(x) = x − f (x), we must have g(0) = a < 0 and g(1) = b > 0. Since g(x) is continuous and g(0) = a < 0 < b = g(1), by Intermediate Value Theorem, for any value y ∈ [a, b], there exists x ∈ [0, 1] s.t. g(x) = y. Specifically, for y = 0, there exists x 0 ∈ [0, 1] s.t. f (x 0 ) = x 0.

2.2 Proof of Nash’s Theorem

In the following part, we prove Nash’s Theorem using Brouwer’s Fixed Point Theorem. Define a game as (N, < Si >, < ui >), where N = { 1 , ..., n} is the set of n players, Si is the set of possible strategies of player i, and ui : S = S 1 × ... × Sn 7 → R is the payoff function of player i. Note this is finite game (|Si| is bounded), and thus B = maxs∈S maxi ui(s) is finite. In derived game (N, < ∆(Si) >, < ui >), let ∆(Si) be the set of all possible mixed strategies which player i can pick, ∆(Si) = {pi ∈ [0, 1]|Si||

a∈Si

pi(a) = 1},

where pi(a) is the probability player i chooses strategy a ∈ Si. Let P = ∆(S 1 ) × ... × ∆(S 1 ) be the set of all possible ways in which players can pick mixed strategies. Obviously, P is convex (and thus, simply connected) and compact. The idea to prove Nash’s Theorem is to define a continuous function f : P 7 → P s.t. f (p) = p iff p is a Nash equilibrium. From Brouwer’s Fixed Point Theorem, there must exist p ∈ P s.t. f (p) = p, which completes the proof. In the following part, we will focus on the construction of such a function f.