Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For...

58
Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria

Transcript of Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For...

Page 1: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Algorithmic Game Theoryand Internet Computing

Vijay V. Vazirani

Polynomial Time Algorithms

For Market Equilibria

Page 2: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Markets

Page 3: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Stock Markets

Page 4: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.
Page 5: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Internet

Page 6: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Revolution in definition of markets

Page 7: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Revolution in definition of markets

New markets defined byGoogle AmazonYahoo!Ebay

Page 8: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Revolution in definition of markets

Massive computational power available

Page 9: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Revolution in definition of markets

Massive computational power available

Important to find good models and

algorithms for these markets

Page 10: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Adwords Market

Created by search engine companiesGoogleYahoo!MSN

Multi-billion dollar market

Totally revolutionized advertising, especially

by small companies.

Page 11: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.
Page 12: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.
Page 13: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

How will this market evolve??

Page 14: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

The study of market equilibria has occupied

center stage within Mathematical Economics

for over a century.

Page 15: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

The study of market equilibria has occupied

center stage within Mathematical Economics

for over a century.

This talk: Historical perspective

& key notions from this theory.

Page 16: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

2). Algorithmic Game Theory

Combinatorial algorithms for

traditional market models

Page 17: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

3). New Market Models

Resource Allocation Model of Kelly, 1997

Page 18: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

3). New Market Models

Resource Allocation Model of Kelly, 1997

For mathematically modeling

TCP congestion control

Highly successful theory

Page 19: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

A Capitalistic Economy

Depends crucially on

pricing mechanisms to ensure:

Stability Efficiency Fairness

Page 20: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Adam Smith

The Wealth of Nations

2 volumes, 1776.

Page 21: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Adam Smith

The Wealth of Nations

2 volumes, 1776.

‘invisible hand’ of the market

Page 22: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Supply-demand curves

Page 23: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Leon Walras, 1874

Pioneered general

equilibrium theory

Page 24: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Irving Fisher, 1891

First fundamental

market model

Page 25: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Fisher’s Model, 1891

milkcheese

winebread

¢¢

$$$$$$$$$$$$$$$$$$

$$

$$$$$$$$

People want to maximize happiness – assume

linear utilities.Find prices s.t. market clears

Page 26: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Fisher’s Model n buyers, with specified money, m(i) for buyer i k goods (unit amount of each good) Linear utilities: is utility derived by i

on obtaining one unit of j Total utility of i,

i ij ijj

U u xiju

]1,0[

x

xuuij

ijj iji

Page 27: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Fisher’s Model n buyers, with specified money, m(i) k goods (each unit amount, w.l.o.g.) Linear utilities: is utility derived by i

on obtaining one unit of j Total utility of i,

Find prices s.t. market clears, i.e.,

all goods sold, all money spent.

i ij ijj

U u xiju

xuu ijj iji

Page 28: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.
Page 29: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Arrow-Debreu Model, 1954Exchange Economy

Second fundamental market model

Celebrated theorem in Mathematical Economics

Page 30: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Kenneth Arrow

Nobel Prize, 1972

Page 31: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Gerard Debreu

Nobel Prize, 1983

Page 32: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Arrow-Debreu Model

n agents, k goods

Page 33: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Arrow-Debreu Model

n agents, k goods

Each agent has: initial endowment of goods,

& a utility function

Page 34: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Arrow-Debreu Model

n agents, k goods

Each agent has: initial endowment of goods,

& a utility function Find market clearing prices, i.e., prices s.t. if

Each agent sells all her goodsBuys optimal bundle using this moneyNo surplus or deficiency of any good

Page 35: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Utility function of agent i

Continuous, monotonic and strictly concave

For any given prices and money m,

there is a unique utility maximizing bundle

for agent i.

: kiu R R

Page 36: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Agents: Buyers/sellers

Arrow-Debreu Model

Page 37: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Initial endowment of goods Agents

Goods

Page 38: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Agents

Prices

Goods

= $25 = $15 = $10

Page 39: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Incomes

Goods

Agents

=$25 =$15 =$10

$50

$40

$60

$40

Prices

Page 40: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Goods

Agents1 2: ( , , )i nU x x x R

Maximize utility

$50

$40

$60

$40

=$25 =$15 =$10Prices

Page 41: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Find prices s.t. market clears

Goods

Agents

$50

$40

$60

$40

=$25 =$15 =$10Prices

1: ( , )i nU x x R

Maximize utility

Page 42: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Observe: If p is market clearing

prices, then so is any scaling of p

Assume w.l.o.g. that sum of

prices of k goods is 1.

k-1 dimensional

unit simplex

:k

Page 43: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Arrow-Debreu Theorem

For continuous, monotonic, strictly concave

utility functions, market clearing prices

exist.

Page 44: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Proof

Uses Kakutani’s Fixed Point Theorem.Deep theorem in topology

Page 45: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Proof

Uses Kakutani’s Fixed Point Theorem.Deep theorem in topology

Will illustrate main idea via Brouwer’s Fixed

Point Theorem (buggy proof!!)

Page 46: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Brouwer’s Fixed Point Theorem

Let be a non-empty, compact, convex set

Continuous function

Then

:f S S

nS R

: ( )x S f x x

Page 47: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Brouwer’s Fixed Point Theorem

Page 48: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Idea of proof

Will define continuous function

If p is not market clearing, f(p) tries to

‘correct’ this.

Therefore fixed points of f must be

equilibrium prices.

: k kf

Page 49: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Use Brouwer’s Theorem

Page 50: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

When is p an equilibrium price?

s(j): total supply of good j.

B(i): unique optimal bundle which agent i wants to buy after selling her initial

endowment at prices p.

d(j): total demand of good j.

Page 51: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

When is p an equilibrium price?

s(j): total supply of good j.

B(i): unique optimal bundle which agent i wants to buy after selling her initial

endowment at prices p.

d(j): total demand of good j.

For each good j: s(j) = d(j).

Page 52: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

What if p is not an equilibrium price?

s(j) < d(j) => p(j)

s(j) > d(j) => p(j)

Also ensure kp

Page 53: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Let

S(j) < d(j) =>

S(j) > d(j) =>

N is s.t.

( )'( )

p jp j

N

'( ) 1j

p j

( ) [ ( ) ( )]'( )

p j d j s jp j

N

( ) 'f p p

Page 54: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

is a cts. fn.

=> is a cts. fn. of p

=> is a cts. fn. of p

=> f is a cts. fn. of p

: ( )i B i

: ( )j d j

: ii u

Page 55: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

is a cts. fn.

=> is a cts. fn. of p

=> is a cts. fn. of p

=> f is a cts. fn. of p

By Brouwer’s Theorem, equilibrium prices exist.

: ( )i B i

: ( )j d j

: ii u

Page 56: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

is a cts. fn.

=> is a cts. fn. of p

=> is a cts. fn. of p

=> f is a cts. fn. of p

By Brouwer’s Theorem, equilibrium prices exist. q.e.d.!

: ( )i B i

: ( )j d j

: ii u

Page 57: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Kakutani’s Fixed Point Theorem

convex, compact set

non-empty, convex,

upper hemi-continuous correspondence

s.t.

: 2Sf S

x S ( )x f x

nS R

Page 58: Algorithmic Game Theory and Internet Computing Vijay V. Vazirani Polynomial Time Algorithms For Market Equilibria.

Fisher reduces to Arrow-Debreu

Fisher: n buyers, k goods

AD: n+1 agents

first n have money, utility for goods last agent has all goods, utility for money only.