CPS 570: Artificial Intelligence Game Theory

Similar documents
CSC304 Lecture 2. Game Theory (Basic Concepts) CSC304 - Nisarg Shah 1

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

Game Theory. Wolfgang Frimmel. Dominance

Multiagent Systems: Intro to Game Theory. CS 486/686: Introduction to Artificial Intelligence

Multiagent Systems: Intro to Game Theory. CS 486/686: Introduction to Artificial Intelligence

Modeling Security Decisions as Games

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

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

Multiagent Systems: Intro to Game Theory. CS 486/686: Introduction to Artificial Intelligence

Game Theory. Vincent Kubala

Game Theory. Vincent Kubala

Lecture #3: Networks. Kyumars Sheykh Esmaili

Chapter 3 Learning in Two-Player Matrix Games

Dominant and Dominated Strategies

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

Finance Solutions to Problem Set #8: Introduction to Game Theory

LECTURE 26: GAME THEORY 1

1. Introduction to Game Theory

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

Econ 302: Microeconomics II - Strategic Behavior. Problem Set #5 June13, 2016

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

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

Microeconomics of Banking: Lecture 4

NORMAL FORM (SIMULTANEOUS MOVE) GAMES

Normal Form Games: A Brief Introduction

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

Homework 5 Answers PS 30 November 2013

ECON 282 Final Practice Problems

Introduction to Game Theory

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

ECO 5341 Strategic Behavior Lecture Notes 3

Advanced Microeconomics (Economics 104) Spring 2011 Strategic games I

Economics 201A - Section 5

EC3224 Autumn Lecture #02 Nash Equilibrium

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

A short introduction to Security Games

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

Solution Concepts 4 Nash equilibrium in mixed strategies

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

CS510 \ Lecture Ariel Stolerman

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

Lecture 6: Basics of Game Theory

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

Summary Overview of Topics in Econ 30200b: Decision theory: strong and weak domination by randomized strategies, domination theorem, expected utility

(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

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

Distributed Optimization and Games

Dominant and Dominated Strategies

Mixed Strategies; Maxmin

Nash Equilibrium. Felix Munoz-Garcia School of Economic Sciences Washington State University. EconS 503

THEORY: NASH EQUILIBRIUM

Introduction to Game Theory

Minmax and Dominance

CMU-Q Lecture 20:

Grade 7/8 Math Circles. February 14 th /15 th. Game Theory. If they both confess, they will both serve 5 hours of detention.

Japanese. Sail North. Search Search Search Search

Math 464: Linear Optimization and Game

Dominance and Best Response. player 2

Introduction to Game Theory

CSC304 Lecture 3. Game Theory (More examples, PoA, PoS) CSC304 - Nisarg Shah 1

DECISION MAKING GAME THEORY

"Students play games while learning the connection between these games and Game Theory in computer science or Rock-Paper-Scissors and Poker what s

FIRST PART: (Nash) Equilibria

A Brief Introduction to Game Theory

Student Name. Student ID

ESSENTIALS OF GAME THEORY

Computing Nash Equilibrium; Maxmin

RECITATION 8 INTRODUCTION

Chapter 13. Game Theory

Analyzing Games: Mixed Strategies

Design of intelligent surveillance systems: a game theoretic case. Nicola Basilico Department of Computer Science University of Milan

U strictly dominates D for player A, and L strictly dominates R for player B. This leaves (U, L) as a Strict Dominant Strategy Equilibrium.

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

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

Design of intelligent surveillance systems: a game theoretic case. Nicola Basilico Department of Computer Science University of Milan

Lecture 5: Subgame Perfect Equilibrium. November 1, 2006

Advanced Microeconomics: Game Theory

A Brief Introduction to Game Theory

Non-Cooperative Game Theory

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.

Distributed Optimization and Games

ECO 463. SimultaneousGames

Game theory. Logic and Decision Making Unit 2

EconS Game Theory - Part 1

Game theory Computational Models of Cognition

NORMAL FORM GAMES: invariance and refinements DYNAMIC GAMES: extensive form

Nash Equilibrium. An obvious way to play? Player 1. Player 2. Player 2

ECON 2100 Principles of Microeconomics (Summer 2016) Game Theory and Oligopoly

Dominance Solvable Games

Multi-player, non-zero-sum games

Multiple Agents. Why can t we all just get along? (Rodney King)

Game Theory and Randomized Algorithms

Game Theory. Department of Electronics EL-766 Spring Hasan Mahmood

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

Introduction to Game Theory I

Lecture 7: Dominance Concepts

Introduction to Game Theory

Basic Game Theory. Economics Auction Theory. Instructor: Songzi Du. Simon Fraser University. September 7, 2016

Introduction to Game Theory

Exercises for Introduction to Game Theory SOLUTIONS

Transcription:

CPS 570: Artificial Intelligence Game Theory Instructor: Vincent Conitzer

What is game theory? Game theory studies settings where multiple parties (agents) each have different preferences (utility functions), different actions that they can take Each agent s utility (potentially) depends on all agents actions What is optimal for one agent depends on what other agents do Very circular! Game theory studies how agents can rationally form beliefs over what other agents will do, and (hence) how agents should act Useful for acting as well as predicting behavior of others

Penalty kick example probability.7 probability.3 action probability 1 action probability.6 probability.4 Is this a rational outcome? If not, what is?

Rock-paper-scissors Column player aka. player 2 (simultaneously) chooses a column Row player 0, 0-1, 1 1, -1 aka. player 1 1, -1 0, 0-1, 1 chooses a row A row or column is called an action or (pure) strategy -1, 1 1, -1 0, 0 Row player s utility is always listed first, column player s second Zero-sum game: the utilities in each entry sum to 0 (or a constant) Three-player game would be a 3D table with 3 utilities per entry, etc.

A poker-like game nature 1 gets King 1 gets Jack player 2 player 1 raise check raise player 1 check call fold call fold call fold call fold 2 1 1 1-2 1-1 1 player 2 rr rc cr cc cc cf fc ff 0, 0 0, 0 1, -1 1, -1.5, -.5 1.5, -1.5 0, 0 1, -1 -.5,.5 -.5,.5 1, -1 1, -1 0, 0 1, -1 0, 0 1, -1

Chicken Two players drive cars towards each other If one player goes straight, that player wins If both go straight, they both die S D D S D S D S 0, 0-1, 1 1, -1-5, -5 not zero-sum

2/3 of the average game Everyone writes down a number between 0 and 100 Person closest to 2/3 of the average wins Example: A says 50 B says 10 C says 90 Average(50, 10, 90) = 50 2/3 of average = 33.33 A is closest ( 50-33.33 = 16.67), so A wins

Rock-paper-scissors Seinfeld variant MICKEY: All right, rock beats paper! (Mickey smacks Kramer's hand for losing) KRAMER: I thought paper covered rock. MICKEY: Nah, rock flies right through paper. KRAMER: What beats rock? MICKEY: (looks at hand) Nothing beats rock. 0, 0 1, -1 1, -1-1, 1 0, 0-1, 1-1, 1 1, -1 0, 0

Dominance Player i s is strategy s i strictly dominates s i if for any s -i, u i (s i, s -i ) > u i (s i, s -i ) s i weakly dominates s i if for any s -i, u i (s i, s -i ) u i (s i, s -i ); and for some s -i, u i (s i, s -i )>u(s i i, s -i ) -i = the player(s) other than i strict dominance weak dominance 0, 0 1, -1 1, -1-1, 1 0, 0-1, 1-1, 1 1, -1 0, 0

Prisoner s Dilemma Pair of criminals has been caught District attorney has evidence to convict them of a minor crime (1 year in jail); knows that they committed a major crime together (3 years in jail) but cannot prove it Offers them a deal: If both confess to the major crime, they each get a 1 year reduction If only one confesses, that t one gets 3 years reduction confess don t confess confess don t confess -2, -2 0, -3-3, 0-1, -1

Should I buy an SUV? purchasing + gas cost accident cost cost: 5 cost: 5 cost: 5 cost: 3 cost: 8 cost: 2 cost: 5 cost: 5-10, -10-7, -11-11, -7-8, -8

Back to the poker-like game nature 1 gets King 1 gets Jack player 2 player 1 raise check raise player 1 check call fold call fold call fold call fold 2 1 1 1-2 1-1 1 player 2 rr rc cr cc cc cf fc ff 0, 0 0, 0 1, -1 1, -1.5, -.5 1.5, -1.5 0, 0 1, -1 -.5,.5 -.5,.5 1, -1 1, -1 0, 0 1, -1 0, 0 1, -1

Iterated dominance Iterated dominance: remove (strictly/weakly) dominated strategy, repeat Iterated strict dominance on Seinfeld s RPS: 0, 0 1, -1 1, -1-1, 1 0, 0-1, 1-1, 1 1, -1 0, 0 0, 0 1, -1-1, 1 0, 0

Iterated dominance: path (in)dependence Iterated weak dominance is path-dependent: sequence of eliminations may determine which solution we get (if any) (whether or not dominance by mixed strategies allowed) 0, 1 0, 0 1, 0 1, 0 0, 0 0, 1 0, 1 0, 0 1, 0 1, 0 0, 0 0, 1 0, 1 0, 0 1, 0 1, 0 0, 0 0, 1 Iterated strict dominance is path-independent: elimination process will always terminate at the same point (whether or not dominance by mixed strategies allowed)

2/3 of the average game revisited 100 dominated (2/3)*100 (2/3)*(2/3)*100 ( ) dominated after removal of (originally) dominated strategies 0

Mixed strategies Mixed strategy for player i = probability distribution over player i s (pure) strategies E.g. 1/3, 1/3, 1/3 Example of dominance by a mixed strategy: 1/2 1/2 3, 0 0, 0 0, 0 3, 0 1, 0 1, 0

Checking for dominance by mixed strategies Linear program for checking whether strategy s i *is strictly dominated by a mixed strategy: maximize ε such that: for any s -i, Σ si p si u i (s i, s -i ) u i (s i *, s -i ) + ε Σ si p si = 1 Linear program for checking whether strategy s i *is weakly dominated by a mixed strategy: maximize Σ s-i (Σ si p si u i (s i, s -i )) - u i (s i *, s -i ) such that: for any s -i, Σ si p si u i (s i, s -i ) u i (s i *, s -i ) Σ si p si = 1

Nash equilibrium [Nash 1950] A profile (= strategy for each player) so that no player wants to deviate D S D 0, 0-1, 1 S 1, -1-5, -5 This game has another Nash equilibrium in This game has another Nash equilibrium in mixed strategies

Rock-paper-scissors 0, 0-1, 1 1, -1 1, -1 0, 0-1, 1-1, 1 1, -1 0, 0 Any pure-strategy Nash equilibria? But it has a mixed-strategy Nash equilibrium: Both players put probability 1/3 on each action If the other player does this, every action will give you expected utility 0 Might as well randomize

Nash equilibria of chicken D S D S 0, 0-1, 1 1, -1-5, -5 Is there a Nash equilibrium that uses mixed strategies? Say, where player 1 uses a mixed strategy? If a mixed strategy is a best response, then all of the pure strategies that it randomizes over must also be best responses So we need to make player 1 indifferent between D and S Player 1 s 1s utility for playing D = -p c S Player 1 s utility for playing S = p c D - 5p c S = 1-6p c S So we need -p c S = 1-6p c S which means p c S = 1/5 Then, player 2 needs to be indifferent as well Mixed-strategy Nash equilibrium: ((4/5 D, 1/5 S), (4/5 D, 1/5 S)) People may die! Expected utility -1/5 for each player

The presentation game Pay attention (A) Do not pay attention (NA) Put effort into 2, 2 presentation (E) -1 1, 0 Do not put effort into presentation (NE) -7, -8 0, 0 presentation (NE) Pure-strategy Nash equilibria: (E, A), (NE, NA) Mixed-strategy Nash equilibrium: ((4/5 E, 1/5 NE), (1/10 A, 9/10 NA)) Utility -7/10 for presenter, 0 for audience

Back to the poker-like game, again nature 1 gets King 1 gets Jack player 2 player 1 raise check raise player 1 check call fold call fold call fold call fold player 2 1/3 2/3 rr rc cr cc 2/3 cc cf 1/3 fc ff 0, 0 0, 0 1, -1 1, -1.5, -.5 1.5, -1.5 0, 0 1, -1 -.5,.5 -.5,.5 1, -1 1, -1 0, 0 1, -1 0, 0 1, -1 2 1 1 1-2 1-1 1 To make player 1 indifferent between bb and bs, we need: utility for bb = 0*P(cc)+1*(1-P(cc)) =.5*P(cc)+0*(1-P(cc)) = utility for bs That is, P(cc) = 2/3 To make player 2 indifferent between cc and fc, we need: utility for cc = 0*P(bb)+(-.5)*(1-P(bb)) = -1*P(bb)+0*(1-P(bb)) = utility for fc That is, P(bb) = 1/3

Real-world security applications Airport security Milind Tambe s TEAMCORE group (USC) Where should checkpoints, canine units, etc. be deployed? Deployed at LAX and another US airport, being evaluated for deployment at all US airports US Coast Guard Federal Air Marshals Which flights get a FAM? Which patrol routes should be followed? Deployed in Boston Harbor