PARALLEL NASH EQUILIBRIA IN BIMATRIX GAMES ISAAC ELBAZ CSE633 FALL 2012 INSTRUCTOR: DR. RUSS MILLER

Similar documents
UPenn NETS 412: Algorithmic Game Theory Game Theory Practice. Clyde Silent Confess Silent 1, 1 10, 0 Confess 0, 10 5, 5

CS510 \ Lecture Ariel Stolerman

Distributed Optimization and Games

FIRST PART: (Nash) Equilibria

Mixed Strategies; Maxmin

Introduction to Game Theory

Microeconomics of Banking: Lecture 4

Section Notes 6. Game Theory. Applied Math 121. Week of March 22, understand the difference between pure and mixed strategies.

1\2 L m R M 2, 2 1, 1 0, 0 B 1, 0 0, 0 1, 1

Advanced Microeconomics (Economics 104) Spring 2011 Strategic games I

Reading Robert Gibbons, A Primer in Game Theory, Harvester Wheatsheaf 1992.

Introduction to Game Theory

CMU-Q Lecture 20:

Distributed Optimization and Games

Basic Solution Concepts and Computational Issues

Game theory Computational Models of Cognition

LECTURE 26: GAME THEORY 1

Game Theory and Randomized Algorithms

Computing Nash Equilibrium; Maxmin

Minmax and Dominance

Game Theory Lecturer: Ji Liu Thanks for Jerry Zhu's slides

EC3224 Autumn Lecture #02 Nash Equilibrium

Math 464: Linear Optimization and Game

Lecture 3: Nash Equilibrium

CMU Lecture 22: Game Theory I. Teachers: Gianni A. Di Caro

1. Introduction to Game Theory

Extensive Games with Perfect Information A Mini Tutorial

Game Theory and the Environment. Game Theory and the Environment

ECO 220 Game Theory. Objectives. Agenda. Simultaneous Move Games. Be able to structure a game in normal form Be able to identify a Nash equilibrium

CSCI 699: Topics in Learning and Game Theory Fall 2017 Lecture 3: Intro to Game Theory. Instructor: Shaddin Dughmi

Lecture 10: September 2

Lecture 6: Basics of Game Theory

THEORY: NASH EQUILIBRIUM

Introduction to (Networked) Game Theory. Networked Life NETS 112 Fall 2016 Prof. Michael Kearns

Prisoner 2 Confess Remain Silent Confess (-5, -5) (0, -20) Remain Silent (-20, 0) (-1, -1)

Computational Aspects of Game Theory Bertinoro Spring School Lecture 2: Examples

Introduction to Algorithms / Algorithms I Lecturer: Michael Dinitz Topic: Algorithms and Game Theory Date: 12/4/14

Static or simultaneous games. 1. Normal Form and the elements of the game

Appendix A A Primer in Game Theory

Multi-player, non-zero-sum games

Noncooperative Games COMP4418 Knowledge Representation and Reasoning

Analyzing Games: Mixed Strategies

Computing optimal strategy for finite two-player games. Simon Taylor

Note: A player has, at most, one strictly dominant strategy. When a player has a dominant strategy, that strategy is a compelling choice.

Domination Rationalizability Correlated Equilibrium Computing CE Computational problems in domination. Game Theory Week 3. Kevin Leyton-Brown

Introduction to Game Theory

Game Theory. Vincent Kubala

What is... Game Theory? By Megan Fava

/633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: Algorithmic Game Theory Date: 12/6/18

Games and decisions in management

Lecture #3: Networks. Kyumars Sheykh Esmaili

DECISION MAKING GAME THEORY

17.5 DECISIONS WITH MULTIPLE AGENTS: GAME THEORY

Genetic Algorithms in MATLAB A Selection of Classic Repeated Games from Chicken to the Battle of the Sexes

Session Outline. Application of Game Theory in Economics. Prof. Trupti Mishra, School of Management, IIT Bombay

Introduction to (Networked) Game Theory. Networked Life NETS 112 Fall 2014 Prof. Michael Kearns

Game Theory. Vincent Kubala

Lecture 7: Dominance Concepts

Game Theory. Lecture Notes By Y. Narahari. Department of Computer Science and Automation Indian Institute of Science Bangalore, India August 2012

Chapter 3 Learning in Two-Player Matrix Games

Game Theory. Wolfgang Frimmel. Subgame Perfect Nash Equilibrium

Finite games: finite number of players, finite number of possible actions, finite number of moves. Canusegametreetodepicttheextensiveform.

First Prev Next Last Go Back Full Screen Close Quit. Game Theory. Giorgio Fagiolo

Introduction. Begin with basic ingredients of a game. optimisation equilibrium. Frank Cowell: Game Theory Basics. July

ESSENTIALS OF GAME THEORY

Game Theory: Basics MICROECONOMICS. Principles and Analysis Frank Cowell

Evolutionary Game Theory and Linguistics

GAME THEORY: STRATEGY AND EQUILIBRIUM

ECON 282 Final Practice Problems

Dominant and Dominated Strategies

Topics in Applied Mathematics

NORMAL FORM (SIMULTANEOUS MOVE) GAMES

Adversarial Search and Game Theory. CS 510 Lecture 5 October 26, 2017

Arpita Biswas. Speaker. PhD Student (Google Fellow) Game Theory Lab, Dept. of CSA, Indian Institute of Science, Bangalore

Spring 2014 Quiz: 10 points Answer Key 2/19/14 Time Limit: 53 Minutes (FAS students: Teaching Assistant. Total Point Value: 10 points.

CPS 570: Artificial Intelligence Game Theory

ECO 5341 Strategic Behavior Lecture Notes 3

Network-building. Introduction. Page 1 of 6

Economics 201A - Section 5

Games. Episode 6 Part III: Dynamics. Baochun Li Professor Department of Electrical and Computer Engineering University of Toronto

INTRODUCTION TO GAME THEORY

final examination on May 31 Topics from the latter part of the course (covered in homework assignments 4-7) include:

EconS Game Theory - Part 1

Normal Form Games: A Brief Introduction

ECON 312: Games and Strategy 1. Industrial Organization Games and Strategy

Games in Networks and connections to algorithms. Éva Tardos Cornell University

Lecture 23. Offense vs. Defense & Dynamic Games

RECITATION 8 INTRODUCTION

A Brief Introduction to Game Theory

Self-interested agents What is Game Theory? Example Matrix Games. Game Theory Intro. Lecture 3. Game Theory Intro Lecture 3, Slide 1

1. Simultaneous games All players move at same time. Represent with a game table. We ll stick to 2 players, generally A and B or Row and Col.

Game Theory Refresher. Muriel Niederle. February 3, A set of players (here for simplicity only 2 players, all generalized to N players).

The first player, Fred, turns on the calculator, presses a digit key and then presses the

Computational Methods for Non-Cooperative Game Theory

16.410/413 Principles of Autonomy and Decision Making

The book goes through a lot of this stuff in a more technical sense. I ll try to be plain and clear about it.

(a) Left Right (b) Left Right. Up Up 5-4. Row Down 0-5 Row Down 1 2. (c) B1 B2 (d) B1 B2 A1 4, 2-5, 6 A1 3, 2 0, 1

Game Theory: The Basics. Theory of Games and Economics Behavior John Von Neumann and Oskar Morgenstern (1943)

1 Deterministic Solutions

Resource Allocation and Decision Analysis (ECON 8010) Spring 2014 Foundations of Game Theory

Transcription:

PARALLEL NASH EQUILIBRIA IN BIMATRIX GAMES ISAAC ELBAZ CSE633 FALL 2012 INSTRUCTOR: DR. RUSS MILLER

WHAT IS GAME THEORY? Branch of mathematics that deals with the analysis of situations involving parties with conflicting interests. There are mainly two branches of Game Theory: Cooperative and Non Cooperative. Non cooperative game theory deals with how rational individuals interact with e/o in an effort to achieve their own goals (in other words, with no regard for social welfare). The single most important idea of non cooperative games is the solution concept (i.e., a prediction of how the game will be played).

PRISONER S DILEMMA An NYPD officer arrested two suspects, A and B. The problem is, the officer does not have enough evidence to convict either suspect for the crimes committed. Instead, the officer locks both suspects in separate rooms, and offer the following identical deal to each: If you confess your crime, and your partner doesn t, you go free, and your partner stays in jail for ten years. If you don t confess, and your partner does, you go to jail for ten years, and your partner walks free. If you both confess, you both receive a reduced sentence.

PRISONER S DILEMMA We can model the previous game by using the following payoff matrix (also called a normal form representation). http://www.answers.com/topic/prisoner-s-dilemma

THE (KNOWN) OUTCOME. Players are always better off choosing to confess to improve their own payoff. The only stable solution to this game is when both players choose to confess. This is not by chance! Many games (including this one) are designed so that the outcome could be predicted. See Mechanism Design.

SAME GAME IN DISGUISE Algorithmic Game Theory, Noam Nisan, Tim Roughgarden, Eva Tardos, and Vijay V. Vazirani, editors, Cambridge University Press, Cambridge, 2007.

SOME DEFINITIONS

NASH EQUILIBRIUM DEFINED. A solution vector s is a Nash Equilibrium if no player can unilaterally change its strategy in order to improve his payoff. Nash Equilibrium is not always (socially) optimal. Price of Anarchy. If both stayed quiet, the payoff would be substantially better no matter how much effort is put in coordinating such play, both side would be tempted to deviate, and would end up confessing.

POLLUTION GAME, AKA, N-PLAYER PRISONER S DILEMMA. Assume there are N countries in the world. Each country is faced with the decision of passing legislation for pollution control. If a country decides to pass such legislation, there is a cost of 5 associated with it; but each country that pollutes adds 1 to the cost of all countries. Notice that polluting is much cheaper than controlling pollution (when thinking selfishly). If k countries choose to ignore pollution control, the cost of each of these countries is k on the other hand, each of the other n-k countries have a cost of k+5.

MULTIPLE NASH EQUILIBRIA? Battle of Sexes. This is a classic coordination game (that is, players choose between two options, wanting to choose the same). Can you identify the Nash Equilibrium? More than one? http://catalog.flatworldknowledge.com/bookhub/13?e=mcafee-ch16_s02

DO WE ALWAYS HAVE A NASH EQUILIBRIUM? The answer to this question is yes and no. So far, all the Nash Equilibria we ve seen were pure strategy; that is, each player deterministically plays his chosen strategy. If we limit ourselves to pure strategy Nash Equilibria, then it is not the case that every game has an equilibrium. http://www.web-books.com/elibrary/nc/b0/b59/096mb59.html

MIXED STRATEGIES TO THE RESCUE. Analyzing the previous game quickly reveals that playing a deterministic strategy is not a good idea for any player. Randomly pick a strategy. That way we can perhaps fool the other player. This leads to the notion of Mixed Strategy. Allow each player to pick a probability distribution over his set of possible strategies.

MIXED STRATEGIES DEFINED http://euler.fd.cvut.cz/predmety/game_theory/games_bim.pdf

A NOBEL THEOREM IN GAME THEORY. Any game with a finite set of players and finite set of strategies has a Nash Equilibrium of mixed strategies This theorem was proved by John F. Nash in 1949. http://web.mit.edu/linguistics/events/iap07/nash-eqm.pdf

MIXED STRATEGY EQUILIBRIUM. http://portal.ku.edu.tr/~lkockesen/teaching/uggame/lectnotes/uglect4.pdf This reveals a very interesting property which can guide the process of finding a mixed strategy Nash Equilibrium. A mixed strategy profile is an equilibrium iff for each player i, each action on the support of its mixed strategy is a best response to every other mixed strategy in the strategy profile.

COMPUTING THE NASH EQUILIBRIA. There are a total of Binomial[m+n,n] 1 possible pairs of supports (where n <= m) Each will produce (n + m) + 2 equations. The systems of equations can be solved in O((n+m)^3) using Gaussian Elimination. INTEL MKL / CLAPACK / BLAS By using Sterling s Approximation the total running time can be simplified to O(4^n * n^3) Not pretty.

SEQUENTIAL ALGORITHM. for i in (1... n) supports = GenerateAllSupportsOfSize(n); for each (x, y) in supports x' = MixedStrategy(x,v); y' = MixedStrategy(y,u); end for if IsNashEquilibrium(x',y') output (x',y'); end if end for each

PARALLEL ALGORITHM. comm_size = GetMPICommSize(COMM_WORLD); rank = GetMPIRank(COMM_WORLD); max = min{ actions(playera), actions(playerb) }; for i in [1... max] supports = GenerateSupportsOfSize(n,rank) for each (x, y) in supports x' = MixedStrategy(x,v); y' = MixedStrategy(y,u); end for end for each if IsNashEquilibrium(x',y') end if output (x',y');

PARALLEL ALGORITHM (II) The function MixedStrategy(a) generates a mixed strategy for a player given a support a. This can be achieved by solving the following systems of equations http://www.cs.wayne.edu/~dgrosu/pub/ispdc08.pdf

WORKED OUT EXAMPLE. Back to the game of matching pennies. Already established no point in considering pure strategy. Consider the support (x1,x2) and (y1,y2) We generate the following equations: -x1 + x2 = v; x1 x2 = v; x1 + x2 = 1; Leads to (x1,x2) = (1/2,1/2); y1 y2 = u; y1 y2 = u; y1 + y2 = 1; Leads to (y1,y2) = (1/2,1/2) Now, we must decide whether (((1/2),(1/2)),((1/2),(1/2))) is a mixed strategy equilibrium. We do this by calculating the expected payoff for playing each pure strategy in the support. Indeed, the expected payoff for playing this mixed strategy, is 0. As expected, we don t win, or lose.

http://gamut.stanford.edu/ TEST PLAN. 1. Test games were generated by GAMUT, using the following commands: 1. java jar gamut.jar -int_payoffs -output TwoPlayerOutput - players 2 actions N -g MinimumEffortGame - random_params 2. Chose the following number of actions: 10, 12, 14, 16 2. Progressively tested the games on the following number of cores: 1. 1, 2, 4, 8, 16, 32, 64

PUTTING IT TO THE TEST I 1000000 100000 10000 1000 100 10 1 0.1 Average Execution Time vs Cores 378826.033 179632.05 93412.403 48400.203 20092.195 25567.992 10262.115 13471.018 7678.48 5201.275 2704.7715 1389.53 965.156 711.49 500.081 389.3984 250.239 124.172 55.122 62.311 27.991 31.81 14.056 18.844 2.565 7.127 3.725 3.44 1.4563 2.079 1 2 4 0.749 8 0.414 16 32 64 0.269 0.27 0.32 10 12 14 16 18

Speedup PUTTING IT TO THE TEST II 60 Average Speedup vs Cores 50 40 10 30 20 12 14 16 18 10 0 1 2 4 8 16 32 64 Cores

Efficiency PUTTING IT TO THE TEST III 1.2 Average Efficiency vs Cores 1 0.8 10 0.6 0.4 12 14 16 18 0.2 0 1 2 4 8 16 32 64 Cores

TRY IT YOURSELF. git clone git@github.com:script3r/nash.git && make && mpirun -np N./nash [sample-game]

THE THEORY THREAD. Von Neumann Nash Robert Aumann

THE COMPUTATIONAL THREAD. Tim Rougharden Eva Tardos Noam Nisan Vazirani

INTERESTED IN THE TOPIC? http://www.cambridge.org/journals/nisan/downloads/nisan_n on-printable.pdf Free book on the subject.

REFERENCES Nash, John (1950) "Equilibrium points in n-person games" Proceedings of the National Academy of Sciences 36(1):48-49. "16.3. Mixed Strategies." 16.3. Mixed Strategies. N.p., n.d. Web. 11 Oct. 2012. <http://www.webbooks.com/elibrary/nc/b0/b59/096mb59.html>. Nisan, Noam. Algorithmic game theory. Cambridge: Cambridge University Press, 2007. Print. Jonathan Widger and Daniel Grosu. (2008). Computing Equilibria in Bimatrix Games by Parallel Support Enumeration.