Top Banner
Game Theory and Linear Algebra Erin Tripp (Syracuse University) August 7, 2015 Mentor: Bruce Suter (AFRL) Collaborators: Lixin Shen (SU), J´ erˆ ome Bolte (Toulouse 1 University Capitole)
24

Game Theory and Linear Algebra - Syracuse University · Game Theory and Linear Algebra Erin Tripp ... applications to a wide variety of elds, ... Solution concepts are formal predictions

May 23, 2018

Download

Documents

duongduong
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Game Theory and Linear Algebra - Syracuse University · Game Theory and Linear Algebra Erin Tripp ... applications to a wide variety of elds, ... Solution concepts are formal predictions

Game Theory and Linear Algebra

Erin Tripp (Syracuse University)

August 7, 2015

Mentor: Bruce Suter (AFRL)Collaborators: Lixin Shen (SU), Jerome Bolte (Toulouse 1 University

Capitole)

Page 2: Game Theory and Linear Algebra - Syracuse University · Game Theory and Linear Algebra Erin Tripp ... applications to a wide variety of elds, ... Solution concepts are formal predictions

Overview

1. Game theory

I Definitions and NotationI Solution ConceptsI Finding Solutions

2. Application to Linear AlgebraI IdeaI Example problemI Solution methods

Page 3: Game Theory and Linear Algebra - Syracuse University · Game Theory and Linear Algebra Erin Tripp ... applications to a wide variety of elds, ... Solution concepts are formal predictions

Game Theory basics

Game theory is the study of strategic decision making and interaction.The goal is to predict behavior and therefore predict outcomes. It hasapplications to a wide variety of fields, such as political science,economics, and computer science, but it is also a well establishedmathematical theory.To specify a game, we need the following (PAPI):

I The number of players

I The actions available to those players

I Their preferences over these actions/outcomes

I The information available to each player

Page 4: Game Theory and Linear Algebra - Syracuse University · Game Theory and Linear Algebra Erin Tripp ... applications to a wide variety of elds, ... Solution concepts are formal predictions

Definitions

Formally, a game in normal form is a tuple G = (N,A, u) where:

I N = 1, 2, ..., n is the set of players

I A =∏i∈N Ai is the set of action profiles, where Ai are the actions

available to player i

I u =∏i∈N ui : A→ R is the utility function, which characterizes

player’s preferences over the actions. Each player acts to maximizetheir utility.

A strategy for player i si is a probability distribution over their actionsAi. Notation:

si(ai) – the probability of ai under si

ui(s) – the expected utility for player i under strategy s

If the support of this distribution is a single action, it is called a purestrategy. Otherwise, it is a mixed strategy. A strategy profile, like anaction profile, specifies a strategy for each player.

Page 5: Game Theory and Linear Algebra - Syracuse University · Game Theory and Linear Algebra Erin Tripp ... applications to a wide variety of elds, ... Solution concepts are formal predictions

ExampleMatching Pennies.In this game, each player puts down a penny. If the coins match, player 1takes both for a total gain of one cent. If the coins do not match, player2 takes both. This is a two player, zero sum game with two actionsavailable to each player, represented in normal form below.

H TH 1, -1 -1, 1T -1, 1 1, -1

Page 6: Game Theory and Linear Algebra - Syracuse University · Game Theory and Linear Algebra Erin Tripp ... applications to a wide variety of elds, ... Solution concepts are formal predictions

Zero sum games

These are games of pure competition in which players’ interests arediametrically opposed. Zero sum games are most meaningful for twoplayers.

A game is zero sum if ∀a ∈ A: u1(a) + u2(a) = 0

More generally, a competitive game is constant sum if ∀a ∈ A:u1(a) + u2(a) = c.

Page 7: Game Theory and Linear Algebra - Syracuse University · Game Theory and Linear Algebra Erin Tripp ... applications to a wide variety of elds, ... Solution concepts are formal predictions

Continuous games

Traditionally, game theory dealt with a finite number of players each witha finite number of actions. However, for many applications, this may betoo restrictive.A game is called continuous if the action space A is compact and theutility function u is continuous. We still assume finitely many players, butwe now have infinitely many pure strategies.

As you may have guessed, we are interested in continuous, zero sum, twoplayer games.

Page 8: Game Theory and Linear Algebra - Syracuse University · Game Theory and Linear Algebra Erin Tripp ... applications to a wide variety of elds, ... Solution concepts are formal predictions

Solution Concepts

Solution concepts are formal predictions of what strategies players willuse in particular circumstances. We are interested in two such concepts:

I Nash equilibrium

I Minimax strategies

In a Nash equilibrium, no player stands to improve their utility bychanging strategies if all other player’s strategies are fixed.

Closely related to Nash equilibria are epsilon equilibria. In anε-equilibrium, players may stand to gain some small utility by deviatingfrom the equilibrium strategy, but this gain is bounded above by ε.

A minimax strategy for a player minimizes their worst case loss. This isparticularly useful for zero sum games.

Page 9: Game Theory and Linear Algebra - Syracuse University · Game Theory and Linear Algebra Erin Tripp ... applications to a wide variety of elds, ... Solution concepts are formal predictions

Some important results

Theorem 1 (Nash 1951)Every game with a finite number of players and action profiles has amixed strategy Nash equilibrium.

Theorem 2 (von Neumann 1928)In any two player, zero sum game with finitely many action profiles, everyNash equilibrium is a minimax strategy. (paraphrased)

Lemma 3Let G be a finite game in normal form. Then s is a mixed strategy NashEquilibrium of G if and only if every pure strategy in the support of si isa best response to s−i for all i ∈ N . 1

1From Osborne and Rubinstein’s A Course in Game Theory

Page 10: Game Theory and Linear Algebra - Syracuse University · Game Theory and Linear Algebra Erin Tripp ... applications to a wide variety of elds, ... Solution concepts are formal predictions

Even more important results 2

Theorem 4 (Glicksberg 1952)Every continuous game has a mixed strategy Nash equilibrium.

Proposition 1Assume that sk → s, εk → ε, and for each k sk is an εk-equilibrium of G.Then s is an ε-equilibrium of G.

Suppose G and G′ are games which differ only by their utility functions uand u′ respectively. Then we say G′ is an α-approximation of G if|ui(a)− u′i(a)| ≤ α ∀i ∈ N and a ∈ A.

Proposition 2For any continuous game G and any α > 0, there exists an “essentiallyfinite” game which is an α-approximation of G.

2Asu Ozdaglar. 6.254 Game Theory with Engineering Applications, Spring 2010.(Massachusetts Institute of Technology: MIT OpenCouseWare)

Page 11: Game Theory and Linear Algebra - Syracuse University · Game Theory and Linear Algebra Erin Tripp ... applications to a wide variety of elds, ... Solution concepts are formal predictions

Finding equilibria in finite games

To find a pure strategy equilibrium in a finite game, iterative methodssuch as removal of strictly dominated strategies reduce it to a smallergame with the same equilibria but which is much easier to sort through.

There is no guarantee that a pure strategy Nash equilibrium exists.

Finding mixed equilibria, even in finite games, is not an easy problem.The standard approach is to guess the support of an equilibrium strategyand set the expected utilities equal.

For two players with only two actions, this is trivial.

Page 12: Game Theory and Linear Algebra - Syracuse University · Game Theory and Linear Algebra Erin Tripp ... applications to a wide variety of elds, ... Solution concepts are formal predictions

Example

H TH 1, -1 -1, 1T -1, 1 1, -1

Suppose player 1 mixes Heads and Tails with probabilities p and 1− prespectively.By Lemma 3, this mixing must make player 2 indifferent between Headsand Tails.

u2((p, 1− p), H) = u2((p, 1− p), T )−1 · p+ 1 · (1− p) = 1 · p− 1 · (1− p)

p = 12 , 1− p = 1

2

Page 13: Game Theory and Linear Algebra - Syracuse University · Game Theory and Linear Algebra Erin Tripp ... applications to a wide variety of elds, ... Solution concepts are formal predictions

Finding equilibria in continuous games

Equilibria are fixed points of a set-valued best response function, whichtakes strategies for each player to strategies which are better responses(regarding the others as fixed). Fixed point theorems are generally usedto prove the existence of equilibria for particular classes of games. Aconstructive method along with the appropriate best response functioncould locate an equilibrium.

A more computational approach is to take successively finerdiscretizations of the game in question and find a sequence of convergentpure strategy equilibria which will converge to a mixed strategyequilibrium in the original game.

Page 14: Game Theory and Linear Algebra - Syracuse University · Game Theory and Linear Algebra Erin Tripp ... applications to a wide variety of elds, ... Solution concepts are formal predictions

Application to Linear Algebra

Inspired by CalTech Professor Houman Owhadi’s work on PDE’s:Owhadi characterized the process of solving a PDE as a zero sum gameof incomplete information. He was able to find a fast solver for aparticular class of PDE’s in this way.

Similarly, we want to frame general problems in linear algebra as zerosum games and find optimal methods of solving them.

Page 15: Game Theory and Linear Algebra - Syracuse University · Game Theory and Linear Algebra Erin Tripp ... applications to a wide variety of elds, ... Solution concepts are formal predictions

Bolte’s game

We considered a two player, zero sum game, in which player 1 chooses aproblem, and player 2 chooses an algorithm to solve the problem.

In particular, we looked at problems of the form Ax = 0, where 1 choseA to maximize the error in 2’s solution. Player 2 applied the gradientdescent algorithm, choosing the step sizes as well as the number of steps.

Player 2 wants an optimal strategy to this game, which will guarantee thesmallest error in the solution given that Player 1 wants to do the mostharm.

We assume that ‖ATA‖ ≤ L and that possible step sizes are bounded bysome M ∈ R.(With these restrictions, the strategy space is compact.)

Page 16: Game Theory and Linear Algebra - Syracuse University · Game Theory and Linear Algebra Erin Tripp ... applications to a wide variety of elds, ... Solution concepts are formal predictions

Bolte’s game

If xk is player 2’s solution, their loss is given by:

errxk= ‖Axk − 0‖22 −min(f) = ‖Axk‖22 =< ATAxk, xk > (1)

ATA symmetric, real → ATA = ΩT∆Ω, where Ω orthogonal and ∆diagonal. Substituting this product into (1) and manipulating gives:

errxk=‖x0‖

2|δ(1− λ0δ) · · · (1− λkδ)| (2)

where x0 is the initial guess, δ is the largest eigenvalue of ATA, and λi isthe size of the i-th step.(This function is continuous, so we now have a continous game!)

Page 17: Game Theory and Linear Algebra - Syracuse University · Game Theory and Linear Algebra Erin Tripp ... applications to a wide variety of elds, ... Solution concepts are formal predictions

Bolte’s game

Player 1

I Ax = 0, where A ∈ Rm×n, x ∈ Rn, and ||ATA|| ≤ L ∈ R.

I Find x∗ = arg(minx12 ||Ax||

2).

Player 2

I Fix x0 ∈ Rn. For i = 0, ..., k − 1, let λi ∈ R and setxi+1 = xi − λi 5 f(xi).

I Solution = xk,

errxk(δ, λ) = 1

2 ||Axk||2 = ||x0||2

2 |δ(1− λkδ)...(1− λ0δ)|An equilibrium strategy (δ, λ0, ..., λk) for this game must satisfy thefollowing:

minλ

maxδerrxk

(δ, λ) = maxδ

minλerrxk

(δ, λ) (3)

Page 18: Game Theory and Linear Algebra - Syracuse University · Game Theory and Linear Algebra Erin Tripp ... applications to a wide variety of elds, ... Solution concepts are formal predictions

Solution methods

We considered two methods of solving this game. Both involve makingthe game finite.

I A single, finite game, for which we compute a mixed strategyequilibrium as before.

I A sequence of finite games, for which we compute pure strategyequilibria.

Furthermore, we separated the game into cases:

I Fixed: λi = λ ∈ R ∀iI Alternating: λi = λ0 or λ1 ∀iI General: Possibly all λi distinct.

Page 19: Game Theory and Linear Algebra - Syracuse University · Game Theory and Linear Algebra Erin Tripp ... applications to a wide variety of elds, ... Solution concepts are formal predictions

Single finite game

Very simplistic method:

I Let −L,L and −M,M be the pure strategies.

I Compute mixed strategy equilibrium as for Matching Pennies

I Mixed strategy equilibrium is a convex combination of purestrategies (i.e. a point in the intervals [-L, L], [-M, M])

Results:

I Fixed: choose step size = 0

I Alternating: choose same step size in opposite directions

I General: not enough information!

This approach is quick and simple, but does not produce exact solutionsand can not be generalized.

Page 20: Game Theory and Linear Algebra - Syracuse University · Game Theory and Linear Algebra Erin Tripp ... applications to a wide variety of elds, ... Solution concepts are formal predictions

Sequence of finite games

Process:

1. Divide strategy intervals with step size n

2. Find minmax strategies for this level

3. Repeat with smaller step size

4. Find convergent sequence of equilibrium as n→ 0

-M M-L err(-L, -M) err(-L, M)L err(L, -M) err(L, M)

↓-M 0 M

-L err(-L, -M) err(-L, 0) err(-L, M)0 err(0, -M) err(0, 0) err(0, M)L err(L, -M) err(L, 0) err(L, M)

Page 21: Game Theory and Linear Algebra - Syracuse University · Game Theory and Linear Algebra Erin Tripp ... applications to a wide variety of elds, ... Solution concepts are formal predictions

Progress

Currently using Python to process this for various values of k.Notes:

I Error values explode away from zero, so we use fairly small intervals

I This method produces several equilibria strategies at each stage

For example,(Fixed) if L = 4,M = 4, k = 2, an approximated equilibrium strategy is(0.082, 4.0).This gives an error of 0.037.

Page 22: Game Theory and Linear Algebra - Syracuse University · Game Theory and Linear Algebra Erin Tripp ... applications to a wide variety of elds, ... Solution concepts are formal predictions

Future plans

We hope to develop a smarter program which does not exhaustivelysearch through every possible strategy and to find solutions for thealternating and general cases.

We will also explore how the search for optimal strategies changes whensome additional structure is imposed on the matrix A (e.g. banded,heirarchical, etc.) and if the game itself can produce an algorithm orimprove existing algorithms.

Page 23: Game Theory and Linear Algebra - Syracuse University · Game Theory and Linear Algebra Erin Tripp ... applications to a wide variety of elds, ... Solution concepts are formal predictions

Thank you!

Page 24: Game Theory and Linear Algebra - Syracuse University · Game Theory and Linear Algebra Erin Tripp ... applications to a wide variety of elds, ... Solution concepts are formal predictions

References

1. Kevin Leyton-Brown and Yoav Shoham. Multiagent systems:Algorithmic, game-theoretic, and logical foundations. CambridgeUniversity Press, 2008.

2. Martin Osborne and Ariel Rubinstein. A Course in Game Theory.MIT Press, Cambridge, Massachusetts, 1994.

3. Asu Ozdaglar. 6.254 Game Theory with Engineering Applications,Spring 2010. (Massachusetts Institute of Technology: MITOpenCouseWare), http://ocw.mit.edu (Accessed 26 Jul, 2015).License: Creative Commons BY-NC-SA

4. Pablo A. Parrilo. Polynomial games and sum of squaresoptimization, Proceedings of the 45th IEEE Conference on Decision& Control, San Diego, California, 2006.