Artificial Intelligence for Games and Puzzles1 Games in the real world Many real-world situations and problems.

Slides:



Advertisements
Similar presentations
The Basics of Game Theory
Advertisements

Introduction to Game Theory
9.1 Strictly Determined Games Game theory is a relatively new branch of mathematics designed to help people who are in conflict situations determine the.
GAME THEORY.
Nash’s Theorem Theorem (Nash, 1951): Every finite game (finite number of players, finite number of pure strategies) has at least one mixed-strategy Nash.
Module 4 Game Theory To accompany Quantitative Analysis for Management, Tenth Edition, by Render, Stair, and Hanna Power Point slides created by Jeff Heyl.
M9302 Mathematical Models in Economics Instructor: Georgi Burlakov 3.1.Dynamic Games of Complete but Imperfect Information Lecture
BASICS OF GAME THEORY. Recap Decision Theory vs. Game Theory Rationality Completeness Transitivity What’s in a game? Players Actions Outcomes Preferences.
This Segment: Computational game theory Lecture 1: Game representations, solution concepts and complexity Tuomas Sandholm Computer Science Department Carnegie.
Game Theory S-1.
3. Basic Topics in Game Theory. Strategic Behavior in Business and Econ Outline 3.1 What is a Game ? The elements of a Game The Rules of the.
15 THEORY OF GAMES CHAPTER.
APPENDIX An Alternative View of the Payoff Matrix n Assume total maximum profits of all oligopolists is constant at 200 units. n Alternative policies.
Introduction to Game theory Presented by: George Fortetsanakis.
Two-Player Zero-Sum Games
Operations Research Assistant Professor Dr. Sana’a Wafa Al-Sayegh 2 nd Semester ITGD4207 University of Palestine.
1 Chapter 4: Minimax Equilibrium in Zero Sum Game SCIT1003 Chapter 4: Minimax Equilibrium in Zero Sum Game Prof. Tsang.
An Introduction to... Evolutionary Game Theory
MIT and James Orlin © Game Theory 2-person 0-sum (or constant sum) game theory 2-person game theory (e.g., prisoner’s dilemma)
Study Group Randomized Algorithms 21 st June 03. Topics Covered Game Tree Evaluation –its expected run time is better than the worst- case complexity.
Game theory.
© 2015 McGraw-Hill Education. All rights reserved. Chapter 15 Game Theory.
Game Theory Eduardo Costa. Contents What is game theory? Representation of games Types of games Applications of game theory Interesting Examples.
Game Theory Game theory is an attempt to model the way decisions are made in competitive situations. It has obvious applications in economics. But it.
Short introduction to game theory 1. 2  Decision Theory = Probability theory + Utility Theory (deals with chance) (deals with outcomes)  Fundamental.
Part 3: The Minimax Theorem
Game Theory Part 5: Nash’s Theorem.
5/16/20151 Game Theory Game theory was developed by John Von Neumann and Oscar Morgenstern in Economists! One of the fundamental principles of.
Chapter 14 Game Theory to accompany Operations Research: Applications and Algorithms 4th edition by Wayne L. Winston Copyright (c) 2004 Brooks/Cole, a.
Rational Choice Sociology Lecture 5 Game theory I: the concept and classification of games.
A camper awakens to the growl of a hungry bear and sees his friend putting on a pair of running shoes, “You can’t outrun a bear,” scoffs the camper. His.
Lecture 1 - Introduction 1.  Introduction to Game Theory  Basic Game Theory Examples  Strategic Games  More Game Theory Examples  Equilibrium  Mixed.
An Introduction to Game Theory Part III: Strictly Competitive Games Bernhard Nebel.
UNIT II: The Basic Theory Zero-sum Games Nonzero-sum Games Nash Equilibrium: Properties and Problems Bargaining Games Bargaining and Negotiation Review.
Introduction to Game Theory Yale Braunstein Spring 2007.
Artificial Intelligence for Games and Puzzles1 Games in the real world Many real-world situations and.
Game Theory Objectives:
Game Theory.
UNIT II: The Basic Theory Zero-sum Games Nonzero-sum Games Nash Equilibrium: Properties and Problems Bargaining Games Bargaining and Negotiation Review.
Strategic Game Theory for Managers. Explain What is the Game Theory Explain the Basic Elements of a Game Explain the Importance of Game Theory Explain.
Game Theory.
Game Theory.
Chapter 12 & Module E Decision Theory & Game Theory.
Standard and Extended Form Games A Lesson in Multiagent System Based on Jose Vidal’s book Fundamentals of Multiagent Systems Henry Hexmoor, SIUC.
Game Theory Part 2: Zero Sum Games. Zero Sum Games The following matrix defines a zero-sum game. Notice the sum of the payoffs to each player, at every.
The Design & Analysis of the Algorithms Lecture by me M. Sakalli Download two pdf files..
Chapter 14 Game Theory to accompany Operations Research: Applications and Algorithms 4th edition by Wayne L. Winston Copyright (c) 2004 Brooks/Cole, a.
Chapter 11 Game Theory Math Game Theory What is it? – a way to model conflict and competition – one or more "players" make simultaneous decisions.
3.1.4 Types of Games. Strategic Behavior in Business and Econ Outline 3.1. What is a Game ? The elements of a Game The Rules of the Game:
1 1 Slide © 2006 Thomson South-Western. All Rights Reserved. Slides prepared by JOHN LOUCKS St. Edward’s University.
Part 3 Linear Programming
MBF1413 | Quantitative Methods Prepared by Dr Khairul Anuar
1 What is Game Theory About? r Analysis of situations where conflict of interests is present r Goal is to prescribe how conflicts can be resolved 2 2 r.
Game Theory Optimal Strategies Formulated in Conflict MGMT E-5070.
1. 2 You should know by now… u The security level of a strategy for a player is the minimum payoff regardless of what strategy his opponent uses. u A.
Strategic Game Theory for Managers. Explain What is the Game Theory Explain the Basic Elements of a Game Explain the Importance of Game Theory Explain.
Zero-sum Games The Essentials of a Game Extensive Game Matrix Game Dominant Strategies Prudent Strategies Solving the Zero-sum Game The Minimax Theorem.
Statistics Overview of games 2 player games representations 2 player zero-sum games Render/Stair/Hanna text CD QM for Windows software Modeling.
INDEX Introduction of game theory Introduction of game theory Significance of game theory Significance of game theory Essential features of game theory.
Lec 23 Chapter 28 Game Theory.
By: Donté Howell Game Theory in Sports. What is Game Theory? It is a tool used to analyze strategic behavior and trying to maximize his/her payoff of.
Chapter 5 Adversarial Search. 5.1 Games Why Study Game Playing? Games allow us to experiment with easier versions of real-world situations Hostile agents.
1 Fahiem Bacchus, University of Toronto CSC384: Intro to Artificial Intelligence Game Tree Search I ● Readings ■ Chapter 6.1, 6.2, 6.3, 6.6 ● Announcements:
Game Theory [geym theer-ee] : a mathematical theory that deals with the general features of competitive situations in a formal abstract way.
John Forbes Nash John Forbes Nash, Jr. (born June 13, 1928) is an American mathematician whose works in game theory, differential geometry, and partial.
Chapter 12 Game Theory Presented by Nahakpam PhD Student 1Game Theory.
Tools for Decision Analysis: Analysis of Risky Decisions
Chapter 6 Game Theory (Module 4) 1.
Game Theory.
Presentation transcript:

Artificial Intelligence for Games and Puzzles1 Games in the real world Many real-world situations and problems can be viewed as games of a sort: Players have a choice of actions, Players have conflicting goals, Players may move sequentially or simultaneously, Alliances may prosper, Treachery may occur, Understanding of the goals of others may be useful in predicting their actions and planning actions of one’s own. Parlour games offer environments in which various kinds of simplification can be made in order to focus attention on particular AI issues: perception, representation, reasoning, learning, opponent modelling, and risk assessment. Stock Market War Passing legislation Hustling (“Bangneki” in Go) Cartels Fight for market share Biological evolution Industrial relations Democratic elections Takeover negotiations

Artificial Intelligence for Games and Puzzles2 Some Game Theory Game theory is the formal study of conflict and cooperation, applicable when several “players” may act independently. Much of the terminology in use today was introduced in 1944 in the book Theory of Games and Economic Behaviour, by von Neumann & Morgenstern. It is an important analytic tool for economics, and is also widely applied in politics, war, sociology, psychology, evolutionary biology. It allows one to reason about the strategies that rational players may adopt, whether acting competitively, cooperatively, or in isolation of others, in deciding upon courses of action intended to yield some payoff: even when the payoff is merely the winning of a parlour game.

Artificial Intelligence for Games and Puzzles3 Adversarial Games Of Strategy Players (decision maker) Choices (feasible actions) Payoffs (benefits - or penalties -that might accrue) Combining whatever factors are needed to make players risk neutral Objectives (preferences among payoffs) When a player must make a choice this should be done Not by blind chance But by reasoning about which action is best Though curiously this may involve chance after all: see mixed strategies Using knowledge of what is good for the player Also using knowledge of what is good for other players, esp. adversaries

Artificial Intelligence for Games and Puzzles4 Static vs. Dynamic games In dynamic games the order of moves (performance of choices by players) is important:eg shopkeeper sets a price, customer then decides whether to buy. In static games, choices are unordered (perhaps simultaneous): like Roshambo, Diplomacy. Games may be drawn in extensive form: Consider (dynamic version) Roshambo: Player 1 Player 2 paper rock scissors prs prs prs (0, 0) (+1, -1) (-1, +1) (-1, +1) (0, 0) (+1, -1) (+1, -1) (-1, +1) (0, 0)

Artificial Intelligence for Games and Puzzles5 Games of perfect information, games of imperfect information If Player 2 knows Player 1’s move when making his own choice, the game is one of perfect information (Roshambo is then a PIG to play for player 1!). When the game is static, moves are simultaneous, player 2 has imperfect information. In extensive form, ovals denote information sets - nodes in the game tree which cannot be distinguished by the player making a choice. Player 1 Player 2 paper rock scissors prs prs prs (0, 0) (+1, -1) (-1, +1) (-1, +1) (0, 0) (+1, -1) (+1, -1) (-1, +1) (0, 0)

Artificial Intelligence for Games and Puzzles6 Strategies, and Strategic Form A strategy is a function which determines which choice a player makes at every choice point. (Even those which do not arise on a particular occasion.) Games may be described also in an alternative, so-called strategic form: Player2: Paper Player2: Rock Player2: Scissors Player1: Paper(0,0)(+1,-1)(-1,+1) Player1: Rock(-1,+1)(0,0)(+1,-1) Player1: Scissors(+1,-1)(-1,+1)(0,0) A game is zero-sum iff at each terminal of the extensive form, the sum of the players’ payoffs is zero.

Artificial Intelligence for Games and Puzzles7 Two-Person Zero Sum Games & Normal Form “Normal Form” is a compact notation for the payoffs of two players in a zero sum game: Roshambo = The cells of the matrix show the payoffs for player1; the payoff for player2 is trivially deduced. 0+1Paper 0+1Rock +10Scissors PaperRockScissors

Artificial Intelligence for Games and Puzzles8 Preferences over payoffs Suppose now one does not just win or lose, but instead hurts the loser using the winner’s chosen item (and gets enjoyment proportional to the hurt inflicted) Ow-ha-ha = How should the players behave? One thing player1 could do is ask for each move I could make, what is for me the worst thing player2 could do? 0+1-5Paper 0+4Rock +5-40Scissors PaperRockScissors

Artificial Intelligence for Games and Puzzles9 Max Min For each row i, player1 looks for the minimum payoff: min i G i,j He then looks for the move(s) i* which make this as good as possible: G i*,j = arg max i min j G i,j In this case, i* = {2}(rock) Similarly, player2 looks for the minimum payoff in each column j, and picks the j* that maximises the minimum payoff for player2: equivalently, minimises the maximum payoff for player1 (zero sum means p1’s gain = p2’s loss) G i,j* = arg min j j max i G i,j In this case, j* = {2}(rock again)

Artificial Intelligence for Games and Puzzles10 Stable and Unstable Solutions In this game, and in any zero-sum game, trying as hard as possible to be sure to hurt the other is equivalent to trying to profit as much as one can. Each player may rationally do this by selecting the move with the least potential for loss. But if one player knows that the other is doing this, they have a better choice: player 2 for example will do better with move 1 (paper). But if player 1 knows that, he will prefer move 3 (scissors). And so on … This is an unstable solution: a solution is stable if no player wants to move away unilaterally from the solution. At such a stable solution, a game is in equilibrium.

Artificial Intelligence for Games and Puzzles11 Gain Floor, Loss Ceiling, Saddle Point, Value of Game The Gain Floor of a two-player zero-sum game A, written  (A), is the worst outcome for player 1 if he picks his best strategy i*:  (A) =min j A i*,j The Loss Ceiling (likewise) is the best outcome for player 1 (hence worst for player 2) if player2 picks his best strategy j*:  (A) = max i A i,j* When Gain Floor equals Loss Ceiling, the game is said to have a saddle point. In this case, both players will do no better by unilaterally picking a different strategy than i*, j*. This pair of strategies is a stable solution to the game. A kind of cooperation emerges, even though the game is adversarial. The Value of game A is the payoff of its stable solution,  (A) =  (A) = Value(A)

Artificial Intelligence for Games and Puzzles12 Games without saddle points Zero-Sum games do not always have saddle points: eg Ow-ha-ha: Here i* = 2, so  (Ow-ha-ha) = -1, while j* = 2,  (Ow-ha-ha) = +1 The pair of strategies {i=2, j=2} is not stable. A player who can find out what the other will do can get a better result from a different strategy Paper 0+4Rock +5-40Scissors PaperRockScissors

Artificial Intelligence for Games and Puzzles13 Mixed strategies In a game with a saddle point, each player has a best strategy (or a set of them). The strategies remain best even if the other players knows what they are. In a game without a saddle point, and hence without a stable solution, each pure strategy one player might adopt, if known to an opponent, can be refuted A mixed strategy involves a random choice among pure strategies Each pure strategy is picked with its own particular probability Mixed strategies may be found which, even if known, cannot be refuted

Artificial Intelligence for Games and Puzzles14 Selecting the mixed strategy A player P will pick among the possible pure strategies S1…Sn using probabilities X1…Xn, such that  Xi = 1 P should pick these probabilities to give the highest expected payoff. For the very simple game G = For player 1: If p2 picks column 1 If p2 picks column 2 If X 1 = 0 & X 2 = 1 If X 1 =1 & X 2 =0 X 1 =1/7, X 2 =6/7

Artificial Intelligence for Games and Puzzles15 Selecting the mixed strategy - 2 With pure strategies mixed in the right proportion, player 2 gains no systematic advantage from choosing either pure strategy even when he knows the mixed strategy of player 1. Player 2 can pick a mixed strategy of probabilities Y1, Y2 according to the same principles: If p1 picks row 1 If p1 picks row 2 If Y 1 = 0 & Y 2 = 1 If Y 1 =1 & Y 2 =0 Y 1 =4/7, Y 2 =3/7

Artificial Intelligence for Games and Puzzles16 Stability with mixed strategies For each player, there is an optimal mixed strategy. One player’s choice of strategy does not depend either on knowing the other player’s strategy Keeping the strategy secret The expected payoff for one player does not depend on the other’s choice of strategy. The Value of the game is fixed. There is a kind of stability. These observations generalise to the case of multiple pure strategies per player. Von Neumann’s Minimax Theorem shows that a pair of mixed strategies can always be found for which the players have the same expected value for the game (which is not to say they can both expect to gain!)

Artificial Intelligence for Games and Puzzles17 Some game-theory-reading [3] [39]