Selfish Routing. Tim Roughgarden Cornell University. Includes joint work with Éva Tardos

Similar documents
Selfish Routing and the Price of Anarchy. Tim Roughgarden Cornell University

Introduction to Congestion Games

Randomized Perfect Bipartite Matching

Problem Set If all directed edges in a network have distinct capacities, then there is a unique maximum flow.

The Residual Graph. 12 Augmenting Path Algorithms. Augmenting Path Algorithm. Augmenting Path Algorithm

The Residual Graph. 11 Augmenting Path Algorithms. Augmenting Path Algorithm. Augmenting Path Algorithm

Admin MAX FLOW APPLICATIONS. Flow graph/networks. Flow constraints 4/30/13. CS lunch today Grading. in-flow = out-flow for every vertex (except s, t)

CS4445/9544 Analysis of Algorithms II Solution for Assignment 1

Algorithm Design and Analysis

Main Reference: Sections in CLRS.

Flow networks. Flow Networks. A flow on a network. Flow networks. The maximum-flow problem. Introduction to Algorithms, Lecture 22 December 5, 2001

Price of Stability and Introduction to Mechanism Design

Matching. Slides designed by Kevin Wayne.

1 Motivation and Basic Definitions

Algorithms and Data Structures 2011/12 Week 9 Solutions (Tues 15th - Fri 18th Nov)

Network Flow. Data Structures and Algorithms Andrei Bulatov

Graphs III - Network Flow

CSC 364S Notes University of Toronto, Spring, The networks we will consider are directed graphs, where each edge has associated with it

Reminder: Flow Networks

4/12/12. Applications of the Maxflow Problem 7.5 Bipartite Matching. Bipartite Matching. Bipartite Matching. Bipartite matching: the flow network

Network Flows: Introduction & Maximum Flow

Flow Networks. Ma/CS 6a. Class 14: Flow Exercises

Lecture 2-1 Kinematics in One Dimension Displacement, Velocity and Acceleration Everything in the world is moving. Nothing stays still.

18 Extensions of Maximum Flow

Greedy. I Divide and Conquer. I Dynamic Programming. I Network Flows. Network Flow. I Previous topics: design techniques

EECE 301 Signals & Systems Prof. Mark Fowler

Algorithmic Discrete Mathematics 6. Exercise Sheet

CS 473G Lecture 15: Max-Flow Algorithms and Applications Fall 2005

Soviet Rail Network, 1955

Network Flow Applications

Inventory Analysis and Management. Multi-Period Stochastic Models: Optimality of (s, S) Policy for K-Convex Objective Functions

Optima and Equilibria for Traffic Flow on a Network

Introduction to SLE Lecture Notes

Maximum Flow in Planar Graphs

Macroeconomics 1. Ali Shourideh. Final Exam

Discussion Session 2 Constant Acceleration/Relative Motion Week 03

Network Flows UPCOPENCOURSEWARE number 34414

MAXIMUM FLOW. introduction Ford-Fulkerson algorithm maxflow-mincut theorem

Max Flow, Min Cut COS 521. Kevin Wayne Fall Soviet Rail Network, Cuts. Minimum Cut Problem. Flow network.

4.5 Constant Acceleration

ARTIFICIAL INTELLIGENCE. Markov decision processes

Resolving Braess s Paradox in Random Networks

Vehicle Arrival Models : Headway

! Abstraction for material flowing through the edges. ! G = (V, E) = directed graph, no parallel edges.

6.8 Laplace Transform: General Formulas

13.1 Accelerating Objects

CSE 521: Design & Analysis of Algorithms I

CHAPTER 7: SECOND-ORDER CIRCUITS

Please Complete Course Survey. CMPSCI 311: Introduction to Algorithms. Approximation Algorithms. Coping With NP-Completeness. Greedy Vertex Cover

Maximum Flow and Minimum Cut

Average Case Lower Bounds for Monotone Switching Networks

Buckling of a structure means failure due to excessive displacements (loss of structural stiffness), and/or

16 Max-Flow Algorithms and Applications

Motion In One Dimension. Graphing Constant Speed

3.1.3 INTRODUCTION TO DYNAMIC OPTIMIZATION: DISCRETE TIME PROBLEMS. A. The Hamiltonian and First-Order Conditions in a Finite Time Horizon

Math 116 Practice for Exam 2

KINEMATICS IN ONE DIMENSION

Soviet Rail Network, 1955

To become more mathematically correct, Circuit equations are Algebraic Differential equations. from KVL, KCL from the constitutive relationship

Linear Motion, Speed & Velocity

Today s topics. CSE 421 Algorithms. Problem Reduction Examples. Problem Reduction. Undirected Network Flow. Bipartite Matching. Problem Reductions

, the. L and the L. x x. max. i n. It is easy to show that these two norms satisfy the following relation: x x n x = (17.3) max

Physics 240: Worksheet 16 Name

Physics 235 Chapter 2. Chapter 2 Newtonian Mechanics Single Particle

They were originally developed for network problem [Dantzig, Ford, Fulkerson 1956]

Today: Max Flow Proofs

EE 315 Notes. Gürdal Arslan CLASS 1. (Sections ) What is a signal?

Notes on cointegration of real interest rates and real exchange rates. ρ (2)

Flow networks, flow, maximum flow. Some definitions. Edmonton. Saskatoon Winnipeg. Vancouver Regina. Calgary. 12/12 a.

Lecture 5 Buckling Buckling of a structure means failure due to excessive displacements (loss of structural stiffness), and/or

Laplace Transform. Inverse Laplace Transform. e st f(t)dt. (2)

5. Stochastic processes (1)

How to Solve System Dynamic s Problems

2.1: What is physics? Ch02: Motion along a straight line. 2.2: Motion. 2.3: Position, Displacement, Distance

Module 2 F c i k c s la l w a s o s f dif di fusi s o i n

Macroeconomic Theory Ph.D. Qualifying Examination Fall 2005 ANSWER EACH PART IN A SEPARATE BLUE BOOK. PART ONE: ANSWER IN BOOK 1 WEIGHT 1/3

LAPLACE TRANSFORM AND TRANSFER FUNCTION

18.03SC Unit 3 Practice Exam and Solutions

Fractional Ornstein-Uhlenbeck Bridge

2.7. Some common engineering functions. Introduction. Prerequisites. Learning Outcomes

Chapter 7: Inverse-Response Systems

Rectilinear Kinematics

AN ANALYTICAL METHOD OF SOLUTION FOR SYSTEMS OF BOOLEAN EQUATIONS

Final Spring 2007

Sections 2.2 & 2.3 Limit of a Function and Limit Laws

Hamilton- J acobi Equation: Explicit Formulas In this lecture we try to apply the method of characteristics to the Hamilton-Jacobi equation: u t

7.5 Bipartite Matching. Chapter 7. Network Flow. Matching. Bipartite Matching

Algorithm Design and Analysis

IB Physics Kinematics Worksheet

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Civil and Environmental Engineering

Online Learning Applications

Additional Methods for Solving DSGE Models

Introduction to choice over time

Amplify-and-Forward in Wireless Relay Networks

PSAT/NMSQT PRACTICE ANSWER SHEET SECTION 3 EXAMPLES OF INCOMPLETE MARKS COMPLETE MARK B C D B C D B C D B C D B C D 13 A B C D B C D 11 A B C D B C D

20. Applications of the Genetic-Drift Model

CSE 421 Introduction to Algorithms Winter The Network Flow Problem

Matlab and Python programming: how to get started

Stat13 Homework 7. Suggested Solutions

Question 1: Question 2: Topology Exercise Sheet 3

Transcription:

Selfih Rouing Tim Roughgarden Cornell Univeriy Include join work wih Éva Tardo 1

Which roue would you chooe? Example: one uni of raffic (e.g., car) wan o go from o delay = 1 hour (no congeion effec) long + wide hor + narrow delay in hour = fracion of raffic on edge (depend on congeion) Queion: wha will elfih nework uer do? 2

Oucome of Selfihne Defining elfihne: all raffic wan o ge o a fa a poible [given wha oher do] Then: all raffic will ue he hor narrow road. For if no: hi flow i enviou! l(x)=1 Flow =? 1 1 l(x)=x Flow = 1-?? > 0 raffic on op i enviou? = 0 envy-free oucome 3

Can we improve over he elfih oucome? Noe: all raffic incur 1 hr of delay Flow = 0 x 1 Flow = 1 Conider inead: half of raffic ake 1 hour ame a before half of raffic ake 30 minue much improved! elfih rouing need no give he be-poible oucome Flow =.5 Flow =.5 1 x 4

Brae Paradox Beer nework, wore oucome: ½ ½ x 1 ½ ½ 1 x Delay = 1.5 hour x 1 0 1 x Delay = 2 hour All raffic experience addiional delay! [Brae 68] 5

The Agenda We know: elfih rouing lead o undeirable oucome. Our goal: prove wor-cae guaranee on elfih rouing v. be coordinaed oucome everiy of Brae Paradox (damage due o exra edge) 6

Traffic in Congeed The Model: Nework A direced graph G = (V,E) k ource-deinaion pair ( 1, 1 ),, ( k, k ) A rae r i of raffic from i o i For each edge e, a laency fn l e ( ) [coninuou, nondecreaing] Example: (k=1,r=4) l(x)=x+2 Flow = 2 1 1 l(x)=1 Flow = 2 7

Rouing of Traffic Traffic and Flow: f P = amoun of raffic roued on i - i pah P flow vecor f raffic rouing of Selfih rouing: wha flow arie a able equilibria among elfih nework uer? 8

Nah Flow Some aumpion: agen mall relaive o nework wan o minimize peronal laency Def: A flow i a Nah equilibrium (or i a Nah flow) if all flow i roued on min-laency pah [given curren edge congeion] Example: Flow = 1 Flow =.5 Flow =.5 1 x Flow = 0 x 1 hi flow i enviou! 9

Some Hiory raffic model, def of Nah flow due o [Wardrop 52] hiorically called a uer equilibrium Nah flow alway exi, are (eenially) unique due o [Beckmann e al. 56] 10

The Co of a Flow Our objecive funcion: l P (f) = um of laencie of edge of P (w.r.. he flow f) C(f) = co or oal laency of flow f: S P f P l P (f) Cenral queion #1: how good (or bad) are Nah flow? 11

The Inefficiency of Nah Flow Fac: Nah flow do no opimize oal laency [Pigou 1920] lack of coordinaion lead o inefficiency x 1 ½ 0 1 ½ Co of Nah flow = 1 1 + 0 1 = 1 Co of opimal (min-co) flow = ½ ½ +½ 1 = ¾ 12

How Bad i Selfih Rouing? Pigou example i imple x 1 ½ 0 1 ½ How inefficien are Nah flow: wih more realiic laency fn? in more realiic nework? Goal: prove ha Nah flow are near-opimal wan a laiez-faire approach o managing nework alo [Kououpia/Papadimiriou 99] 13

The Bad New Bad Example: (r = 1, d large) x d 1 1-? 0 1 Nah flow ha co 1, min co 0 Nah flow can co arbirarily more han he opimal (minco) flow even if laency funcion are polynomial? 14

A Bicrieria Bound Approach #1: ele for weaker ype of guaranee Theorem: [Roughgarden/Tardo 00] nework w/c, nondecreaing laency funcion co of Nah a rae r = co of op a rae 2r Corollary: M/M/1 delay fn (l(x)=1/(u-x), u = capaciy) Nah co w/ capaciie 2u = op co w/ capaciie u 15

Key Difficuly Sp f a Nah flow, f * an op flow a wice he rae. Noe: we can wrie C(f) = S e f e l e (f e ) um over edge inead of pah f e = amoun of flow on edge e Similarly: C(f * ) = S e f * l e (f * ) Problem: wha i he relaion beween l e (f e ) and l e (f * )? e e e 16

Key Trick Idea: lower bound co of f * uing a differen e of laency fn c wih he properie: eay o lower bound co of f * w.r.. laency fn c co of f * w.r.. laency fn c co of f * w.r.. laency fn l The conrucion: graph of l graph of c l e (f e ) 0 l e (f e ) 0 0 f e 0 f e 17

Lower Bounding OPT Aume: only one commodiy (mulicommodiy no harder). Key obervaion: laency of pah P w.r.. laency fn c wih no congeion i l P (f) [laency in Nah] l e (f e ) 0 0 f e Corollary: Sp in Nah, everyone ha laency L, o C(f) = rl. Then co of f * w.r.. laency fn c i 2rL. 18

Upper Bounding he Overeimae Thu: co of f * w.r.. c i 2C(f). Claim: (will finih proof of Thm) [co of f * w.r.. c] - C(f * ) = C(f). Reaon: difference in co on e i l e (f e ) 0 f e * 0 f e ypical value of c e (f e )f* e - * l e (f e )f* * e c e (f* e )f * e - l e (f* e )f * e = l e (f e )f e um over edge o ge Claim 19

Linear Laency Funcion Approach #2: reric cla of allowable laency funcion Def: a linear laency funcion i of he form l e (x)=a e x+b e Theorem: [Roughgarden/Tardo 00] nework w/linear laency fn co of Nah flow = 4/3 co of op flow aka price of anarchy [Papadimiriou 01] 20

Source of Inefficiency Corollary of main Theorem: For linear laency fn, wor Nah/OPT raio i realized in a wo-link nework! x 1 ½ 0 1 ½ Co of Nah = 1 Co of OPT = ¾ one ource of inefficiency: confroned w/wo roue, elfih uer overconge one of hem Corollary ha' all, folk! nework opology play no role 21

No Dependence on Nework Topology Thm: [Roughgarden 02] for any cla of convex laency fn including he conan fn, wor Nah/OPT raio occur in a wo-node, wo-link nework. inefficiency of Nah flow alway ha imple explanaion nework opology play no role Recall: wor raio may be (much) larger han 4/3 (modify Pigou ex) 22

Compuing he Price of Anarchy Applicaion: wor-cae example imple wor-cae raio i eay o calculae Example: polynomial wih degree = d, nonnegaive coeff price of anarchy T(d/log d) x d 1 Alo: M/M/1, M/G/1 queue delay fn, ec. 23

A Convex Program for he Opimal Flow Key Lemma: [BMW 56] he op flow i ju a Nah flow w.r.. a differen e of laency fn. Idea: he opimal flow i minimizer for a convex program: Min C(f) = S e f e l e (f e ).. f i a flow Queion: Wha doe hi buy u? 24

Opima of Convex Program Recall: A oluion i opimal for a convex program if and only if: a mall change in a locally feaible direcion canno decreae he co feaible direcion 25

Characerizing he Opimal Flow Direcion of change: moving a mall amoun of flow from one pah o anoher 1 x ½ 1 ½ 0 x a flow f i opimal if and only if i co canno be improved by moving a mall amoun of flow from one pah o anoher 26

Characerizing he Opimal Flow Co f e l e (f e ) marginal co of increaing flow on edge e i l e (f e ) + f e l e (f e ) laency of new flow Added laency for flow already uing edge Key Lemma: a flow f i opimal if and only if all flow ravel along pah wih minimum marginal co (w.r.. f). 27

Opimal Flow a a Socially Aware Nah Flow A flow f i opimal if and only if all flow ravel along pah wih minimum marginal co Marginal co: l e (f e ) + f e l e (f e ) A flow f i a Nah equilibrium if and only if all flow ravel along minimum laency pah Laency: l e (f e ) 28

Summary of Nah v. OPT Goal: prove ha lo in nework performance due o elfih rouing i no oo large. Problem: a Nah flow can co arbirarily more han an opimal flow. Soluion: prove a bicrieria bound inead reric cla of allowable edge laency funcion 29

Reul on Nah v. OPT Thm 1: co of Nah = co of OPT a wice he raffic rae. Key o analyi: lower-bound OPT uing modified laency funcion (eay o obain lower bound, bu alo cloe o original laency fn) Thm 2: wor-cae example for elfih rouing are imple. Wor-cae Nah/OPT raio mall unle laency fn highly nonlinear Key o analyi: OPT i ju a Nah flow w.r.. differen laency fn 30

Recall: Brae Paradox ½ ½ x 1 ½ ½ 1 x Co of Nah flow = 1.5 rae = 1 x 1 0 1 x Co of Nah flow = 2 Nah flow uffer due o exra edge 31

Generalizing Brae Paradox Queion: i Brae Paradox more evere in bigger nework? focu on ingle-commodiy nework Fac: w/linear fn, wor cae i x 1 1 x v. Reaon: wih linear laency fn, x 1 0 1 x co = 3/2 co = 2 co of Nah flow = 4/3 co of any oher flow 32

General Laency Fn A more evere verion: f(x) 1 1 f(x) where f(x) i: v. f(x) 1 0 1 f(x) co = 1 co = 2 1 0 0 ½ 1 exra edge caue facor 2 increae in delay 33

A Bigger Brae Paradox rae = 2 1 f g 1 g f 1 v. 1 f g 0 1 0 g f 1 common laency = 1 common laency = 3 where: 1 2 0 0 2/3 1 0 0 2/3 1 f(x) g(x) 34

An Infinie Family common laency = 1 common laency = 4 Thm: [Roughgarden 01] adding edge o an n-verex graph can increae common delay in he Nah flow by an n/2 facor. 35

A Maching Upper Bound Thm: [Roughgarden 01] adding edge o an n-verex graph increae common delay by a mo an n/2 facor. Noe: canno appeal o a reul relaing he oal laency of Nah and OPT flow no uch bound exi wih general laency fn even a a fn of he nework ize 36

Summary of Brae Paradox Brae Paradox: adding edge o a nework can make he Nah flow wore. Generalizaion: can add edge o an n-node graph o make Nah wore by an n/2 facor. Wor-cae guaranee: no wore example are poible. 37

Open Queion 1 Open: by adding only k edge, can you make he Nah flow wore by a facor of more han k+1? common laency = 1 common laency = 4 38

Brae Paradox and Embedded Subgraph Def: A graph i vulnerable if laency fn can be aigned o he edge o ha Brae Paradox occur. Fac: [Murchland 70] A graph i vulnerable if and only if i ha a ubgraph ha i a ubdiviion of: 39

Open Queion 2 Def: A graph i c-vulnerable if laency fn can be aigned o he edge o ha Nah i wore by a facor > c becaue of harmful exra edge. Prove or diprove: A graph i c-vulnerable if and only if i ha a ubgraph ha i a ubdiviion of: ize depend on c only 40