Algorithmic Problems in Network Economics Subhash Suri UC Santa - - PowerPoint PPT Presentation

algorithmic problems in network economics
SMART_READER_LITE
LIVE PREVIEW

Algorithmic Problems in Network Economics Subhash Suri UC Santa - - PowerPoint PPT Presentation

Algorithmic Problems in Network Economics Subhash Suri UC Santa Barbara SoCal NEGT Symposium, Oct 1-2, 2009 Networked World A classical view of the internet Open, evolutionary architecture Lacks central control and coordination


slide-1
SLIDE 1

Algorithmic Problems in Network Economics

Subhash Suri UC Santa Barbara

SoCal NEGT Symposium, Oct 1-2, 2009

slide-2
SLIDE 2

Networked World

  • A classical view of the internet
  • Open, evolutionary architecture
  • Lacks central control and coordination
  • Dynamically varying infrastructure and users
  • Resource sharing
  • Interesting mix of computational and strategic complexities
slide-3
SLIDE 3

A Load Balancing Game

  • Matching n clients (users) to m servers (access points)
  • A compatibility graph:

– edge (i,j) if client i can be served by j

  • Identical servers with unit resource
  • Latency as cost of matching:

– a server matched to k clients has latency = k

  • Quality of matching in this uncoordinated world?

QuickTime?and a decompressor are needed to see this picture.

clients servers

slide-4
SLIDE 4

Price of Anarchy

  • Selfish Routing [Roughgarden et al., Papadimitriou]
  • (Social) optimum = 0.5 flow on each link

– latency = 3/4

  • Self-interested (Nash) optimum flow = 1 on top link

– latency = 1

  • Price of Anarchy = Ratio of Social to Nash Optimum

– this example 4/3

x

s t

1

Flow = .5 Flow = .5

s t

1

Flow = 0 Flow = 1

x

slide-5
SLIDE 5

Anarchy in Load Balancing

  • What is the worst-case ratio between costs of optimum and

Nash matching?

QuickTime?and a decompressor are needed to see this picture.

Input Opt Nash Arbitrary Cost = 3 Cost = 5 Cost = 5

slide-6
SLIDE 6

Anarchy in Load Balancing

  • With identical servers, OPT is always NASH, but not vice

versa.

  • I.e. best case Nash = Opt
  • Ratio between worst-case Nash and Opt?

QuickTime?and a decompressor are needed to see this picture.

Input Opt Nash Arbitrary Cost = 3 Cost = 5 Cost = 5

slide-7
SLIDE 7

Bounds

  • Theorem 1: For identical servers, price of anarchy is atmost
  • Theorem 2: Price of anarchy is at least 2.001

155 . 2 ) 3 / 2 1 ( 

=

slide-8
SLIDE 8

More Bounds

  • For non-identical servers, social optimum no longer Nash Equilibrium.
  • Theorem 3: PoA < 5/2.
  • For Lp norm latency, PoA = O(p/logp)
  • Selfish Load Balancing, S.-Toth-Zhou, Algorithmica ‘07.
  • Price of routing unsplittable flow, Awerbuch, Azar, Epstein, STOC ‘05
slide-9
SLIDE 9

Algorithms

  • Nash matching by local swaps:

– in each round, a user switches to better server. – Provably O(n2) rounds.

  • Instead suppose clients arrive one by one and each

chooses the best available server at that time.

– Greedy Matching – Not necessarily a Nash matching – But can be shown to be O(1) factor optimal.

slide-10
SLIDE 10

Mobility and Load Balancing

slide-11
SLIDE 11

Mobility and Load Balancing

  • Wireless access points (APs) at airport, malls, etc.
  • User can select and use any AP

– Selected AP need not be in range – User moves towards selected AP if necessary

  • Strategic tradeoffs between cost of mobility and

wireless service quality – Users are rational, selfish entities

  • Maximize personal benefit
  • No regard for system cost
slide-12
SLIDE 12

Modeling the Game

  • User arrive sequentially
  • AP bandwidth shared equally among attached users

– AP with fewer attached users preferable

  • Distance of AP from user’s location

– Closer AP preferable (less mobility, better signal)

  • Cost function (user I and AP j),

Cij = γ * xj + β * di,j where xj = number of users at AP j di,j = distance between user i and AP j γ, β are constants (same for all users)

slide-13
SLIDE 13

Simple Distributed Algorithm

  • Greedy algorithm

– Upon arrival, each user picks the AP with currently minimum cost – No future swaps done.

  • Theorem: The greedy always produces a Nash

equilibrium

  • Social optimal always Nash.
slide-14
SLIDE 14

Price of Anarchy

  • β = 0 (Mobility cost zero)

– Only Nash equilibriums are those that distribute users evenly – Pessimistic price of anarchy = 1

  • γ = 0 (Users bandwidth-agnostic)

– Unbounded price of anarchy

  • General case (neither β nor γ zero):

– Open

slide-15
SLIDE 15

Spectrum Auctions

15

Periodic Spectrum Auctions 1 6 2 3 5 4

slide-16
SLIDE 16

Spectrum Auctions

  • Auctions: efficient allocation of scarce resources
  • Auctioneer: dynamic price discovery based on demand
  • Users: request and acquire spectrum when they need it

16

Periodic Spectrum Auctions 1 6 2 3 5 4

slide-17
SLIDE 17

Computational Complexity

  • Externality: interference

– Spatial reuse possible – Nearby users cannot use same channel

  • Combinatorial auctions NP-complete
  • Hard even without expressive bidding due to graph coloring
  • Focus on computational efficiency, without strategic considerations.

17

Interference constraints

slide-18
SLIDE 18

Piecewise Linear Price-Quantity Bids

  • Bids: the desired quantity of spectrum f at a per-unit price p

b/a b f(p)=(b-p)/a

Spectrum Unit Price

Linear bids

Spectrum Unit Price

Piecewise linear bids Approximate arbitrary bidding preferences Compact Compact

slide-19
SLIDE 19

Bidding by Price-Quantity Curves

Piecewise Linear Price Demand bids– compact yet expressive bidding format User Auctioneer Uniform vs. Discriminatory– tradeoffs between efficiency and fairness Bidding Bidding

Pricing Model Pricing Model

Fast auction clearing algorithms for both pricing models

Allocation (clearing) Allocation (clearing)

5 1 6 2 3 4

How do users bid? How to set prices?

how to handle the bids to efficiently maximize revenue?

19

slide-20
SLIDE 20

Pricing Models

20

Uniform Pricing One per‐unit price p* for everyone Uniform Pricing One per‐unit price p* for everyone Discriminatory Pricing Different prices for different bidders Discriminatory Pricing Different prices for different bidders

The Auction Clearing Problem

Allocate price(s) and spectrum to maximize the total revenue R(.) subject to Interference Constraints

 

* , 2

* * *) (

p b i i i

i

a p p b p R Total Revenue Total Revenue

 

i i i i i n

a p p b p p R

2 ,... 1

) (

slide-21
SLIDE 21

Analytical Bounds

Clearing with Uniform Pricing Clearing with Uniform Pricing

OPT

R R  3 1 ) log log ( U n n n O 

Clearing with Discriminatory Pricing Clearing with Discriminatory Pricing

OPT

R n n R   ) ( 1 3 polynomial

Revenue efficiency complexity complexity

When the conflict graph is a tree

OPT

R R 

OPT

R R 

Theoretical bounds

21

slide-22
SLIDE 22

Strategy-proof Spectrum Auctions

slide-23
SLIDE 23

Strategy-proof Spectrum Auctions

  • Input:

– Spectrum as k channels: 1, 2, …, k – A set of n bidders

  • Output:

– A polynomial time strategy-proof mechanism for spectrum allocation – Subject to interference constraints

  • Motivation:

– Dynamic redistribution of FCC’s long term licenses – Fair and open – Economic Efficiency # of channels = 2

a1 a2 a4 a3 a5

Channel1 Channel2

slide-24
SLIDE 24

Graph Coloring

  • Conflict-free channel allocation = graph coloring
  • Computationally, graph coloring intractable and in-approximable.

a1 a2 a3 a5

# of channels = 2

a4

Channel1 Channel2

a1 a2 a3 a5

INTERFERENCE GRAPH

a4

slide-25
SLIDE 25

Vickery Auction

  • If all we care about is truthfulness, a trivial solution:

– Allocate channels to k highest bidders – Price: Bid of (k+1)th highest bidder

  • Inefficient spectrum utilization: a3 and a4 left out

b1=5 b2=4 b3=1 b4=2 # of channels = 2 PRICE CHARGED : 2 a2 a1 a3 a4 5 Bids

slide-26
SLIDE 26

Truthfulness with Maximal Utilization

  • Always allocate a channel unless doing so precludes another user
  • Desiderata:

– Truthfulness – Pareto optimality – Computational efficiency

  • VCG doesn’t satisfy the computational efficiency requirement

6

slide-27
SLIDE 27

First Attempt

  • Sort and Greedily allocate channels

– Allocate lowest available index

  • Each winning bidder pays the bid of highest unallocated neighbor

a1 b1=5 a2 a3 a4 b2=4 b3=1 b4=2

# of channels = 2

v1=5 v2=4 v3=1 v4=2 u4=1 u3=0 u2=3 u1=5 b1=5 b2=4

b3=3

b4=2 v1=5 v2=4 v3=1 v4=2 u4=2 u3=1 u2=4 u1=5 Valuations Bids Utility a1 a2 a3 a4 VIOLATES TRUTHFULNESS !!! 7

a3 lies

slide-28
SLIDE 28

Another Attempt

  • Greedily allocate channels
  • For each Winning bidder ai determine neighbor aj s.t.

– aj loses when ai is present, but – aj wins when ai is absent

  • Charge ai the bid of aj

a1 b1=5 a2 a3 a4 b2=4 b3=1 b4=2 v1=5 v2=4 v3=1 v4=2 u4=1 u3=0 u2=3 u1=5 a1 b1=5 a2 a3 a4 b2=4 b3=2 b4=2 v1=5 v2=4 v3=1 v4=2 u4=2 u3=1 u2=4 u1=5

  • AGAIN, THIS VIOLATES TRUTHFULNESS !!!
slide-29
SLIDE 29

New Auction: Veritas

  • Sort and Greedily allocate channels (lowest available first)
  • Veritas-Pricing:

– A winner i pays the bid of its critical neighbor C(i) – To determine Critical Neighbor for i

  • run greedy algorithm with B - bi
  • Critical Neighbor of i is the first one to be denied a

channel.

8

slide-30
SLIDE 30

Veritas Example

Step 1: Run greedy b1=5 b4=2 Step 2: compute price for a2 9 a1 b1=5 a2 a3 a4 b2=4 b3=1 b4=2

# of channels = 2

a1 a3 b3=1 Channels available for a2 a4 Critical Neighbor for a2

slide-31
SLIDE 31

Proof of Veritas

  • Theorem: Veritas is truthful, achieves pareto optimality, and runs in

O(n3k)

  • Proof sketch

– Criticality: Unique critical value for each winning bidder. – Monotonicity: A bid above the critical value always wins. – Truthfulness: If we charge every bidder its critical value, no incentive to lie.

10

slide-32
SLIDE 32

Bib and Collaborators

  • Joint work with

– Buragohain, Gandhi, Toth, Zheng, Zhou, Zhou

  • Papers

– Selfish Load Balancing, Algorithmica, 2007 – A game-theoretic analysis of wireless access points selection by mobile users, Computer Communication ‘08 – Towards real-time dynamic spectrum auctions, Computer Networks, ‘08 – eBay in the sky: strategy-proof wireless spectrum auctions, Mobicom ‘08 10

slide-33
SLIDE 33

Thank You!