46
Games We Play Payoffs & Chaos Monkeys Allison Miller @selenakyle

2013.05 Games We Play: Payoffs & Chaos Monkeys

Embed Size (px)

DESCRIPTION

Expansion on application of game theory & behavioral analytics to information security and risk management. New concepts include some ideas from coalitional game theory, i.e. not just individual actors but teams.

Citation preview

Page 1: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Games We Play Payoffs & Chaos MonkeysAllison Miller @selenakyle

Page 2: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Overview

• What is Game Theory

• Scenarios & Games

• Playing the in real world

• Secrets of irrational economic agents

• Applying economic tools to risk control design

Page 3: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Let’s Play Our Game(s)1. Pick a whole number between 1 and a 100. The

winner of this game is the person who gets closest to two-thirds times the average number.

2. You and I are playing Rock Paper Scissors. It’s your turn: what do you pick, and what’s your p(win)?

3. You are a football (soccer) player kicking a penalty kick. You are stronger kicking left but the goalie knows it. Which direction do you kick, R or L?

4. Write down the last 2 digits of your phone #

5. I have an extra iPhone how much would you pay for one? (in Euros)

Page 4: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Game theory• Branch of applied mathematics

• Studies decisions made by players interacting (or competing)- Scenarios have rules and pay-offs

- Costs & benefits dependent on decisions of other players

• Used as a framework in economics, comp sci, biology, & philosophy- Also business, negotiation, and military strategy

Page 5: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Economics applied to security

• Utility theory

• Externalities

• Information Asymmetries

• Signaling

• Marginal cost

Page 6: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Discussing Games

• Mechanics of a payoff matrix

Player 2

A B

Player 1

A A1, A2 A1, B2

B B1, A2 B1, B2

Page 7: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Discussing Games

• Mechanics of decision trees

UP

DOWN

CIRCLE

RED

BLUE

MARIO

LUIGI

KIRBY

GIZMO

10, 3

2, 10

2, 5

-3, 3A

B

B

A

A

A

Page 8: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Discussing strategies & outcomes• Cooperation / Defection

• Dominant strategies

• Equilibrium Players in a game have selected a strategy

Neither side can change it’s strategy independently & improve position

Optimal solution in games with limited outcomes

Page 9: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Typical game theory "games" • Tragedy of the Commons

- Share and share alike (cumulative effect of cheating)

• Volunteer’s Dilemma- For the greater good

• Chicken / Brinkmanship- Push it to the edge

• Prisoner’s Dilemma

Page 10: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Discussing Games

• Prisoner’s Dilemma

Player 2

Keep quiet Confess

Player 1

Keep quiet -1, -1Mutual cooperation

-10, 0Individual defection

Confess 0, -10Individual defection

-3, -3Mutual punishment

Page 11: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Setting up risk problems as games

• Identify players in the game

• Clarify the “rules”

• Show me your moves

• Describe payoffs

• Single move or repeated game

Page 12: 2013.05 Games We Play: Payoffs & Chaos Monkeys

How games are won

• Clarify dominant strategies

• Find equilibrium

• Pursue equilibrium or change the payoffs

Page 13: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Wait, wait, there’s more• But everyone’s out to get me• But we’re all in this together• But it never ends…• But wait, what game are we playing?

Page 14: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Tragedy of the Defender• MaxMin – When other players looking to

minimize your payoff (i.e. cause you harm)- Maximise the “worst case” payoff

- Maxmin value = minimum payoff guaranteed by MaxMin strategy- ARG MAX si MINs-i ui(s1, s2)

• MinMax – Attacker- Trying to minimize –i’s best case payoff

- ZSG (zero sum game)

Page 15: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Team dynamics• Coalitional Game Theory- Basic modeling unit = team

- Coordination may be possible

- What is the distribution of the surplus (payoff)- Shapley value: payoffs proportional to each

agent’s marginal contribution- “The Core”: more stable solution, agents don’t

have incentive to deviate

Page 16: 2013.05 Games We Play: Payoffs & Chaos Monkeys

The Never Ending Story• Repeated games• Learning reduces uncertainty• Tit for tat• Payoffs modeled as a limit, net back to

present value using discount factor (like cash flows)

Page 17: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Moves like Bayesians• Uncertainty

- Army 1 is weak or strong

- Army 2 is always weak

• Payoffs - Island = M- Cost = s if strong,

w if weak, no cost if other doesn’t attack

1=Weak Army 2

p Right Left

1Right -w, -w M, 0

Left 0, M 0, 0

1=strong Army 2

1-p Right Left

1Right M-s, -w M, 0

Left 0, M 0, 0

Page 18: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Real World• While many competitive or risky

scenarios can be interpreted as games, two things the math hinges on:

• Rationality of Actors

• Payoff values

Page 19: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Let’s Get Real

• 2/3 game• Hands in the air• Iterated removal of dominated

strategies

1 30 44 66 100

Page 20: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Stratagems LiveAdhering scenarios

Deviating scenarios

Page 21: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Rock Paper Scissors• What did you

pick?• What did you

estimate was your p(win)?

• What’s the dominant strategy?

You

Rock Paper Scissors

Me

Rock

0, 0 -1, 1 1, -1

Paper 1, -1 0, 0 -1, 1

Scissors -1, 1 1, -1 0, 0

Page 22: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Chaos monkeys to the rescue

You

Rock Paper Scissors

Me

Rock

0, 0 -1, 1 1, -1

Paper 1, -1 0, 0 -1, 1

Scissors -1, 1 1, -1 0, 0

Page 23: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Le Foot• It pays to be unpredictable• Rational agents employ mixed

strategies to improve their payoffs in games where “pure” strategies don’t maximize value

Page 24: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Le Foot

• You are a football (soccer) player kicking a penalty kick.

• Simple set-up: Kick goes in when G goes to wrong side

Page 25: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Le Foot

• You are a football (soccer) player kicking a penalty kick.

• Simple set-up: Kick goes in when G goes to wrong side They will randomize @ 1/2

Page 26: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Le Foot

• Now let’s add in skill

• You’re better on the left; the goalie knows this

• Which way do you kick? They need to be random, if either side demonstrates a

propensity, their opponent will take advantage

Page 27: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Le Foot

• Now let’s add in skill

• You’re better on the left; the goalie knows this

• Which way do you kick? They need to be random, if either side demonstrates a

propensity, their opponent will take advantage

Page 28: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Le Foot

• Now let’s add in skill

• You’re better on the left; the goalie knows this

• Which way do you kick? Kicker becomes indifferent based on their payoffs for going R vs

L, which depends on goalie behavior

Page 29: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Le Foot

p(0) + (1-p)(1)

p(.75) + (1-p)(0)

(1-p) = .75(p)

p = 4/7q(1) + (1-q)(.25) q(0) + (1-q)(1)

2q - .25q = .75

q = 3/7

Page 30: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Le Foot• How does

theory map to reality?

• Actual win-rates in payoff matrix

• Kicker indifferent @! p(.58)+(1-p)(.95) = p(.93)+(1-p)(.70) ! p=.42

• Goalie indifferent @! q(.42)+(1-q)(.07) = q(.05)+(1-q)(.30) ! q=.38

Page 31: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Le Foot

Goalie Left Goalie Right Kicker Left Kicker Right

Reality .42 .58 .38 .62

Nash .42 .58 .40 .60

• Ignacio Palacios-Heurta (2003) “Professionals Play Minimax”. Review of Economic Studies, Volume 70, pp 395-415.- 1417 penalty kicks from FIFA games

• Jackson, Leyton-Brown & Shoham. Game Theory. (Stanford University and University of British Columbia: Coursera), http://www.coursera.org, Accessed 2013.

• Polak, Ben. Game Theory (Yale University: Open Yale Courses), http://oyc.yale.edu, Accessed 2012. License: Creative Commons BY-NC-SA

Page 32: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Self-interested Agents

• Attacker mindsets: APT/Mercenary, Hacktivist, Vuln Researcher

• Defender mindsets: Risk-based defense, Practice-based defense, Compliance!

• But are we rational?

Page 33: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Example of rational irrationality

• Ultimatum Game- Player A given $1000

Player A needs to split the $ with Player BPlayer A gets to choose the split

- Player B receives offerIf B accepts, both get $If B rejects, both get 0

Page 34: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Still playing? • Economic/mathematical models

depend on rational participants

• Free will doesn’t imply rationality

• Economics studies what should happen, behavioral economics studies what does happen

Page 35: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Take it or leave itOutcomes- Player A’s usually offer ~50%

- Player B’s often reject if offered <30%

- This behavior occurs across cultures, levels of wealth

Emotions matter- Heightened brain activity in

Bilateral antierior insula (disgust) w/low offersDorsolateral prefrontal cortext (cognitive decision making) w/high offers

- Fairness, Fear, Punishing the mean

Page 36: 2013.05 Games We Play: Payoffs & Chaos Monkeys

One last game• How much are you willing to pay?

• Purely rational economic agents make choices based on utility, preferences

• Not arbitrary external factors

• However…

Page 37: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Decision Illusions• Choice architecture/defaults

• Framing

• Anchoring

• Loss aversion

Page 38: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Pesky Payoffs• Opportunity cost

• Relativity

• Mental accounting

• Pain of paying

Page 39: 2013.05 Games We Play: Payoffs & Chaos Monkeys

For the win• Making choices that maximize payoffs

- Select strategies in a chaotic world- Utility not so straightforward

Page 40: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Wait, what?• Game theory

- Awesome framework for understanding competitive (risky) decisions

• Behavioral economics- People are prone to bias (irrational)

• Q: How do I use these tools to control risk?- Fuse frameworks with actual decisions

- Risk Management is dead- Long live risk management

Page 41: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Managing Risk• Game Theory is a framework for studying decisions

- What should happen - Payoffs depend on other players’ choices, moves are risky

(uncertain)

- Players play based on their risk appetite & preferences

• Defenders design control systems that make decisions- What does happen - Risks manifest in observable behavior

- Controls are moves/counter-moves depending on context and expectations of an actor’s identity or intent- Effective controls change payoffs (add friction or remove benefit)

• Risk management = decision management

Page 42: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Applying Decisions

• Risk management is decision management

ACTOR ATTEMPTS ACTION

SuSUBMIT

WHAT IS THE REQUEST

HOW TO HONOR THE REQUEST

SHOULD WE HONOR?

RESULTACTIONOCCURS

Page 43: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Decisions, Decisions

Authorize Block

Good false positive

Bad false negative

RESPONSE

POPULATION

• Incorrect decisions have a cost • Correct decisions are free (usually)

Good Action Gets Blocked

Bad Action Gets Through

Downstream Impacts

Page 44: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Therefore: Winning strategies depend on understanding behavior • Attackers and defenders • Both self-interested• Both prone to decision bias

• Leverage conceptual models, incorporate actual experiences & data• Dynamics can’t always be mapped cleanly, lookout for cognitive

illusions• Costs/payoffs have both concrete and hidden elements

• Game strategy = decision strategy, risk controls:- Change friction (cost), or

- Change expected value of pay-off

Page 45: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Prediction is very difficult, especially about the future

Niels Bohr

Allison Miller @selenakyle

Page 46: 2013.05 Games We Play: Payoffs & Chaos Monkeys

Some referencesAriely, Dan. Predictably Irrational: The Hidden Forces That Shape Our Decisions. New York, NY: HarperCollins, 2008.

Axelrod, Robert M. The Evolution of Cooperation. New York: Basic, 1984.

Dixit, Avinash and Nalebuff, Barry. The Art of Strategy: A Game Theorist’s Guide to Success in Business and in Life.

Fisher, Len. Rock, Paper, Scissors: Game Theory in Everyday Life. New York: Basic, 2008.

Gibbons, Robert. Game Theory for Applied Economists. Princeton, NJ: Princeton UP, 1992.

Gintis, Herbert. Game Theory Evolving: A Problem-centered Introduction to Modeling Strategic Behavior. Princeton, NJ: Princeton UP, 2000.

Ignacio Palacios-Heurta (2003) “Professionals Play Minimax”. Review of Economic Studies, Volume 70, pp 395-415.

Jackson, Leyton-Brown & Shoham. Game Theory. (Stanford University and University of British Columbia: Coursera), http://www.coursera.org, Accessed 2013.

Kahneman, Daniel. Thinking, Fast and Slow. New York: Farrar, Straus and Giroux, 2011.

Leyton-Brown, Kevin, and Yoav Shoham. Essentials of Game Theory: A Concise, Multidisciplinary Introduction. [San Rafael, Calif.]: Morgan & Claypool, 2008.

Meadows, Donella. Thinking in Systems: A Primer.

Polak, Ben. Game Theory (Yale University: Open Yale Courses), http://oyc.yale.edu, Accessed 2012. License: Creative Commons BY-NC-SA

Thomas, L. C. Games, Theory, and Applications. Chichester: E. Horwood, 1984.

Wikipedia’s sections on Game Theory, Economics, & Probability.