22
1 Quantifying Trade- Offs in Networks and Auctions Tim Roughgarden Stanford University

1 Quantifying Trade-Offs in Networks and Auctions Tim Roughgarden Stanford University

  • View
    216

  • Download
    0

Embed Size (px)

Citation preview

Page 1: 1 Quantifying Trade-Offs in Networks and Auctions Tim Roughgarden Stanford University

1

Quantifying Trade-Offs in Networks and Auctions

Tim RoughgardenStanford University

Page 2: 1 Quantifying Trade-Offs in Networks and Auctions Tim Roughgarden Stanford University

2

Algorithms and Game Theory

Recent Trend: design and analysis of algorithms that interact with self-interested agents

Motivation: the Internet• auctions (eBay, sponsored search, etc.)• competition among end users, ISPs, etc.

Traditional approach:• agents classified as obedient or adversarial

– examples: distributed algorithms, cryptography

Page 3: 1 Quantifying Trade-Offs in Networks and Auctions Tim Roughgarden Stanford University

3

Trade-Offs and Pareto Curves

Well known: trade-offs between competing objectives inevitable in algorithm/system design.

Pareto curve: depicts what's feasible and what's not.

Vilfredo Federico Damaso Pareto (1848-1923)

Objective #2(e.g. resource

usage)

Objective #1 (e.g. cost)

feasible region

Page 4: 1 Quantifying Trade-Offs in Networks and Auctions Tim Roughgarden Stanford University

4

Quantifying Trade-Offs

Goal: quantitative analysis of Pareto frontier.

Motivation: qualitative insights.• infer design principles

• identify fundamental trade-offs between competing constraints/objectives

• "litmus test" for algorithm/system design– identify solutions spanning the Pareto frontier

Page 5: 1 Quantifying Trade-Offs in Networks and Auctions Tim Roughgarden Stanford University

5

Game-Theoretic Applications

New Challenge: algorithm/system design under game-theoretic constraints.

Difficulty #1: system (partially) controlled by independent, self-interested entities.– network examples: routing paths, rate of traffic

injection, topology formation

Difficulty #2: data (partially) controlled by independent, self-interested entities.– auctions: participants' values for goods

Page 6: 1 Quantifying Trade-Offs in Networks and Auctions Tim Roughgarden Stanford University

6

Application #1: Routing

The problem: given a network and a traffic matrix (pairwise traffic rates), select "optimal" routing paths for traffic.

Page 7: 1 Quantifying Trade-Offs in Networks and Auctions Tim Roughgarden Stanford University

7

Application #1: Routing

The problem: given a network and a traffic matrix (pairwise traffic rates), select "optimal" routing paths for traffic.

Assumptions: fixed traffic matrix;• traffic = many small flows• goal: minimize average delay• link delay = fixed

propagation delay + congestion-dependent queuing delay

Delay[secs]

Rate x

link capacity

Page 8: 1 Quantifying Trade-Offs in Networks and Auctions Tim Roughgarden Stanford University

8

Measuring Routing Quality

Holy grail: centralized routing = globally compute optimal routes for all traffic.

Distributed routing: scalable, but larger delay.

Assume: at steady-state, only routes of minimum-delay are in use.– delay-minimizing end users ("selfish routing")– delay-minimizing routing policies

Next: distributed routing vs. holy grail.

Page 9: 1 Quantifying Trade-Offs in Networks and Auctions Tim Roughgarden Stanford University

9

A Bad Example

Example: large prop delay + large capacity vs. small prop delay + small capacity– one unit (comprising many flows) of traffic

Delay[secs]

s t

d(x) x100

d(x) 1

Rate x

Page 10: 1 Quantifying Trade-Offs in Networks and Auctions Tim Roughgarden Stanford University

10

A Bad Example

Example: large prop delay + large capacity vs. small prop delay + small capacity– one unit (comprising many flows) of traffic

Delay[secs]

s t

d(x) x100

d(x) 10

1

"selfish"routing

Rate x

Page 11: 1 Quantifying Trade-Offs in Networks and Auctions Tim Roughgarden Stanford University

11

A Bad Example

Example: large prop delay + large capacity vs. small prop delay + small capacity– one unit (comprising many flows) of traffic

Delay[secs]

s t

d(x) x100

d(x) 10

1 1-Є

Є"selfish"routing

"optimal"routing

Rate x

Page 12: 1 Quantifying Trade-Offs in Networks and Auctions Tim Roughgarden Stanford University

12

A Bad Example

Example: large prop delay + large capacity vs. small prop delay + small capacity– one unit (comprising many flows) of traffic

Hope: distributed routing improves in overprovisioned network.

Delay[secs]

s t

d(x) x100

d(x) 10

1 1-Є

Є"selfish"routing

"optimal"routing

Rate x

Page 13: 1 Quantifying Trade-Offs in Networks and Auctions Tim Roughgarden Stanford University

13

Routing: The Pareto Frontier

Trade-off: performance of distributed routing vs. degree of overprovisioning.

• "performance" = ratio between average delay of distributed, optimal routing– "Price of Anarchy"

• "overprovisioning" = fraction of capacity unused at steady-state

Goal: quantify Pareto curve to extract general design principles.

Price of Anarchy

Capacity

feasible region

Page 14: 1 Quantifying Trade-Offs in Networks and Auctions Tim Roughgarden Stanford University

14

Benefit of Overprovisioning

Suppose: network is overprovisioned by β > 0 (β fraction of each edge unused).

Then: Delay of selfish routing at most ½(1+1/√β) times that of optimal.

• arbitrary network size/topology, traffic matrix

Moral: Even modest (10%) over-provisioning sufficient for near-optimal routing.

Page 15: 1 Quantifying Trade-Offs in Networks and Auctions Tim Roughgarden Stanford University

15

Main Theorem (Informal)

Thm: [Roughgarden 02] 2-node, 2-link networks always exhibit worst-possible performance.

• quantitatively: can compute worst-case performance for given amount of overprovisioning

• qualitatively: performance of distributed routing doesn't degrade with complexity of network, traffic

s txd

1

worstcase

complex network

+ traffic matrix

Page 16: 1 Quantifying Trade-Offs in Networks and Auctions Tim Roughgarden Stanford University

16

Application #2: Search Auctions

Page 17: 1 Quantifying Trade-Offs in Networks and Auctions Tim Roughgarden Stanford University

17

The Model

• n advertisers, k slots

• advertisers have willingness to pay per click

• slot j has "click-through rate" j

– top slots are better: j j+1 for all j

• advertisers are ranked by bid– possibly with a "reserve price"– for simplicity, ignore issue of "ad relevance"

• payments inspired by "second-price auction"

Page 18: 1 Quantifying Trade-Offs in Networks and Auctions Tim Roughgarden Stanford University

18

What Is the Objective?

Objective #1: revenue• [Myerson 81]: Suppose willingness to pay

("valuations") drawn i.i.d. from some distribution.• Choosing suitable reserve price (+ second-price-

esque payments) maximizes expected revenue.

Objective #2: "economic efficiency"• [Vickrey 61/Clarke 71/Groves 73]: suitable second-

price-esque payments (no reserve price) works.• no assumptions on valuations

Page 19: 1 Quantifying Trade-Offs in Networks and Auctions Tim Roughgarden Stanford University

19

Search Auctions: The Pareto Frontier

Trade-off: economic efficiency vs. revenue.

Goal: quantify revenue loss in efficient auction.

Motivation:• efficient auction closer to

those used in practice

• does not require assumption and knowledge of distribution

• good in non-monopoly settings

EconomicEfficiency

Revenue

feasible region

Page 20: 1 Quantifying Trade-Offs in Networks and Auctions Tim Roughgarden Stanford University

20

Competition Obviates Cleverness

Theorem #1 [Roughgarden/Sundararajan 07]: Expected revenue of the economically efficient auction with n+k bidders exceeds optimal expected revenue with n bidders.– for any fixed distribution (some technical conditions)

Point: a little extra competition outweighs benefit of the optimal reserve price.

Page 21: 1 Quantifying Trade-Offs in Networks and Auctions Tim Roughgarden Stanford University

21

Competition Obviates Cleverness

Theorem #2 [Roughgarden/Sundararajan 07]: Expected revenue of economically efficient auction is at least (1-k/n) times optimal expected revenue.

– n advertisers in both auctions

– for any fixed distribution (some technical conditions)

Point: under modest competition, efficient auction has near-optimal revenue.

Page 22: 1 Quantifying Trade-Offs in Networks and Auctions Tim Roughgarden Stanford University

22

What's Next?

Networks: use Pareto frontier to inform algorithm/protocol design– different curves for different protocols– want "best" Pareto curve– see [Chen/Roughgarden/Valiant 07]

Sponsored Search: need dynamic models– competition between search engines, etc.– short-term vs. long-term revenue trade-offs– role of budget constraints– vindictive bidding