COMP 3200 - Intro to Artificial Intelligence - Lecture 08 - Intro to Game Theory
Overview
David Churchill introduces matrix-game game theory as a way to analyze strategic decisions by assigning numerical payoffs, then identifies dominated strategies, best responses, and Nash equilibria. Numerical examples include the Prisoner’s Dilemma, a 2/3-average guessing game, and a group investment game; the framework also prepares COMP 3200 students for minimax in Assignment 3.
Key takeaways
- A strictly dominated strategy is always worse than another strategy for every possible action by the other players, so it can be eliminated without predicting what they will do.
- Weak domination permits ties: in Split or Steal, stealing weakly dominates splitting because it wins more when the opponent splits and ties when the opponent steals.
- Payoff matrices only produce useful recommendations when their numbers reflect the players' actual utility; a dollar-for-dollar payoff assumption can misrepresent how people value money, relationships, or risk.
- A best response is defined relative to a specific opponent strategy, and analyzing an opponent's incentives can help predict their action when their own strategy is dominated.
- A Nash equilibrium is a full strategy profile where no single player can improve by changing their choice alone; games may have no, one, or multiple equilibria.
- Iterated deletion in the 2/3-average guessing game can reduce the rationalizable choice toward 1, but the prediction depends on how many levels of reasoning players expect others to perform.
Chapters
- Students independently chose a number from 1 to 100; the winner was closest to 2/3 of the class average.
- With 28 responses, the average was 35.8 and the target was about 23.8, making 24 the winning choice.
- Churchill returns to the game later to show how assumptions about other players affect rational choices.
- Churchill defines game theory as mathematical models for decision-making when outcomes depend on strategic actions.
- The field is used in economics, social science, computer science, and everyday decisions.
- Game theory can analyze choices once goals and payoffs are specified, but it cannot determine what a person should value.
- Two players secretly and simultaneously choose alpha or beta, without discussing their choices beforehand.
- The row player's outcomes are B-minus for alpha/alpha, A for alpha/beta, C for beta/alpha, and B-plus for beta/beta.
- A matrix makes each combination of choices easier to compare, with each cell showing outcomes for both players.
- A payoff assigns a numerical utility to an outcome, with larger values representing outcomes a player prefers.
- In the greedy grades example, alpha yields 0 against alpha and 3 against beta, while beta yields -1 and 1.
- The numerical mapping is subjective: a caring player may penalize an outcome where a friend receives a C.
- Alpha strictly dominates beta in the greedy grades matrix because alpha gives a higher payoff regardless of the opponent's choice.
- A strategy is strictly dominated when another strategy always performs better for every possible combination of other players' choices.
- The practical rule is not to play a strictly dominated strategy, although a dominating strategy is not necessarily the best of every available option.
- Two separated prisoners choose whether to tell on the other or remain silent: mutual silence means one year in jail each, and mutual telling means two years each.
- If only one prisoner tells, the teller goes free while the silent prisoner receives five years.
- Using jail years as negative payoffs, telling strictly dominates silence for each prisoner, regardless of the other's choice.
- In the Split or Steal game, both contestants splitting divides the prize, both stealing yields nothing, and a lone stealer takes the entire prize.
- Stealing weakly dominates splitting: it pays more if the other contestant splits and ties splitting if the other contestant steals.
- The show creates tension by letting contestants talk, even though their promises are not binding.
- A one-to-one conversion from money or grades to utility may misrepresent how a player values an outcome.
- For example, a player who needs $50,000 to pay a debt may value that amount nearly as much as $100,000.
- A caring player may assign negative utility to a friend's poor grade, producing a payoff matrix different from a greedy player's.
- In the caring-player grades matrix, alpha is better against an opponent choosing alpha, while beta is better against beta, so neither strategy dominates.
- In a mixed game with a greedy player and a caring player, alpha dominates beta for the greedy player.
- The caring player can infer that a rational greedy opponent will choose alpha, then choose alpha as the best response to that specific action.
- A player's strategy set, written Sᵢ, contains every available choice; a strategy profile records one choice for every player.
- The notation S₋ᵢ represents the choices of all players except player i, while uᵢ gives player i's payoff for a strategy profile.
- In a two-row, three-column example, player two's right strategy is strictly dominated by center, even though center is not always better than left.
- A defender chooses the easy or hard gate, while an attacker chooses a route with two armies; the hard route costs the attacker one army before the gates.
- The defender has no dominated strategy because the best defense depends on which route the attacker chooses.
- For the attacker, easy weakly dominates hard: it ties hard in one case and performs better in another, suggesting the defender should best-respond by guarding the easy route.
- If everyone chose 100, 2/3 of the average would be about 67, so choices from 68 through 100 are dominated by 67.
- Assuming players avoid those dominated choices, the range contracts to 1 through 67; if all chose 67, values from 45 through 67 would be dominated by 45.
- Repeated deletion can reason down to 1 under common knowledge of rationality, but real players may stop iterating earlier because they expect others to do so.
- A Nash equilibrium is a strategy profile in which every player's choice is a best response to the choices of all other players.
- It is a complete set of choices for everyone, not a single player's strategy or necessarily the highest-payoff outcome.
- At equilibrium, no individual player can improve their payoff by changing strategy alone while everyone else's choices remain fixed.
- For each column, identify player one's highest payoff; for each row, identify player two's highest payoff.
- A three-by-three example has a Nash equilibrium at player one choosing D and player two choosing R, where both are best-responding.
- A second example has two equilibria, at M/C and D/R, showing that a game can have multiple equilibria with very different payoff values.
- Strictly dominated strategies cannot appear in a Nash equilibrium, but weakly dominated strategies can.
- In the group investment game, investing $100 returns $200 if more than 80% participate and loses $100 if participation falls below that threshold; not investing yields zero.
- Everyone investing is a Nash equilibrium because a lone defector gives up the investment gain, while nobody investing is also an equilibrium because a lone investor loses money.
- The same coordination pattern appears in examples such as party attendance and shared public services.
- Churchill flags exam skills including finding dominated strategies, computing best responses, defining Nash equilibrium, and finding every equilibrium in a payoff matrix.
Transcript excerpt
0:00 All right, lecture number eight. Today I'm going to be talking about uh an introduction to game theory. And um while game theory isn't strictly AI related um and it isn't in the textbook presented in this way, it does actually feed really nicely into um the miniax algorithm which we'll talking we'll be talking about uh for assignment 3. So this is the context for that. And also I've found over the years that this is one of the lectures that people remember the most because it uh sort of teaches you some life lessons I guess. Um and we'll we'll see how that happens. So we're talking about an introduction to game theory, just a very very basic introduction to matrix games and then at the end we'll talk about a Nash equilibrium. And what you'll find
0:48 throughout this lecture is that I'm going to be giving a ton of numerical examples. will actually be working through examples on the board. And if that ever happens in a lecture, it means that there's a 100% chance that one of these examples will be on the exam, but with different numbers. Okay? So, be very sure when you're studying that you understand this lecture because I'm just telling you there will be a question on something in this lecture on the final exam. So, choosing numbers. Who here filled out the survey that I asked? Hopefully, most people. It was just one question. Cool. That's great. So, everyone in the class secretly chose a number between 1 and 100. And then I calculated the average of uh all the numbers that were chosen. And I said
1:35 that the winner is going to be the person closest to 2/3 of that average number chosen. And now this won't tie directly into what we're learning like
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
In this course
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Dave Churchill.