Game Theory applied to Networking
Bruno Tuffin
INRIA Rennes - Bretagne Atlantique
PEV: Performance EValuation M2RI - Networks and Systems Track Rennes
Bruno Tuffin (INRIA) Game Theory PEV - 2010 1 / 102
Game Theory applied to Networking Bruno Tuffin INRIA Rennes - - - PowerPoint PPT Presentation
Game Theory applied to Networking Bruno Tuffin INRIA Rennes - Bretagne Atlantique PEV: Performance EValuation M2RI - Networks and Systems Track Rennes Bruno Tuffin (INRIA) Game Theory PEV - 2010 1 / 102 Outline Introduction and context
Bruno Tuffin (INRIA) Game Theory PEV - 2010 1 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 2 / 102
1
2
3
4
5
6
Bruno Tuffin (INRIA) Game Theory PEV - 2010 3 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 4 / 102
◮ From the decentralization, there is a general envisaged/advised
◮ But each selfish user can try to modify his behvior at his benefits and
◮ How to analyze this, and how to control and prevent such a thing?
Bruno Tuffin (INRIA) Game Theory PEV - 2010 5 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 6 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 7 / 102
◮ network providers: several providers propose the same type of network
◮ applications/services providers: the same type of application can be
◮ platforms/technologies: you may access the Internet from ADSL, WiFi,
Bruno Tuffin (INRIA) Game Theory PEV - 2010 8 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 9 / 102
◮ extensive games, for which players play sequentially; ◮ repeated games for which they can change their choices over time; ◮ Bayesian games, evolutionnary games... Bruno Tuffin (INRIA) Game Theory PEV - 2010 10 / 102
◮ queueing analysis or ◮ signal processing.
Bruno Tuffin (INRIA) Game Theory PEV - 2010 11 / 102
◮ A finite set of players, N. ◮ A set Ai of actions available to each player i ∈ N. and A =
i∈N Ai.
◮ For each player a utility function, (payoffs) ui : A → R, characterizing
Bruno Tuffin (INRIA) Game Theory PEV - 2010 12 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 13 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 14 / 102
1
2
3
4
Bruno Tuffin (INRIA) Game Theory PEV - 2010 15 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 16 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 16 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 17 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 17 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 18 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 19 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 20 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 21 / 102
−i)[ui].
Bruno Tuffin (INRIA) Game Theory PEV - 2010 22 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 23 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 24 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 25 / 102
◮ For a set of parameters provided by the leader, followers (users)
◮ The leader has to find out the parameters that lead to the equilibrium
Bruno Tuffin (INRIA) Game Theory PEV - 2010 26 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 27 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 28 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 29 / 102
s v w t c(x) = x c(x) = 1 c(x) = 1 c(x) = x
◮ costs are equal: 1 + x1 = 1 + x2. ◮ Give that x1 + x2 = 1, this gives x1 = x2 = 1/2. ◮ Cost on each route: 3/2. Bruno Tuffin (INRIA) Game Theory PEV - 2010 30 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 31 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 32 / 102
◮ nonatomic routing games, where each player controls a negligible
◮ atomic routing games, where each player controls a nonnegligible
Bruno Tuffin (INRIA) Game Theory PEV - 2010 33 / 102
s v w t c(x) = x c(x) = 1 c(x) = 1 c(x) = x s v w t c(x) = x c(x) = 1 c(x) = 0 c(x) = 1 c(x) = x
Bruno Tuffin (INRIA) Game Theory PEV - 2010 34 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 35 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 36 / 102
◮ Pricing ◮ Repeated games ◮ ...
◮ C. Saraydar, N. Mandayam, and D. Goodman, Pricing and power control in a
◮ T. Alpcan, T. Basar, R. Srikant, and E. Altman, CDMA uplink power control
◮ V. Siris, Resource control for elastic traffic in CDMA networks, in Proc. of
Bruno Tuffin (INRIA) Game Theory PEV - 2010 37 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 38 / 102
◮ pricing incentives: money awarded when you share your files, and cost
◮ reputation incentives: the quality of your participation is dependent of
Bruno Tuffin (INRIA) Game Theory PEV - 2010 39 / 102
◮ C. Buragohain, D. Agrawal, S. Suri. A Game Theoretic Framework for
◮ See also http://nes.aueb.gr/p2p.html Bruno Tuffin (INRIA) Game Theory PEV - 2010 40 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 41 / 102
◮ Pricing or reputation can be used.
◮ Shen Zhong, Jiang Chen, Yang Richard Yang. Sprite : A Simple, Cheat- Proof,
◮ Levente Buttyan and Jean-Pierre Hubaux. Stimulating Cooperation in
◮ ... Bruno Tuffin (INRIA) Game Theory PEV - 2010 42 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 43 / 102
◮ Grid Economy project: http://www.gridbus.org/ecogrid/ ◮ J. Altmann and S. Routzounis, Economic Modeling of Grid Services,
http://it.i-u.de/schools/altmann/publications/Economic_Modeling_of_Grid_Services_v09.pdf ◮ Some references at http://www.zurich.ibm.com/grideconomics/refs.html Bruno Tuffin (INRIA) Game Theory PEV - 2010 44 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 45 / 102
◮ increasing number of subscribers ◮ more and more demanding applications.
◮ Efficiency (provider’s revenue or social welfare) ◮ Incentive compatibility (truthful revelation of valuation) ◮ Individual rationality (each user’s best interest is to participate). Bruno Tuffin (INRIA) Game Theory PEV - 2010 46 / 102
◮ providers need to get their money back ◮ if no revenue made, no network improvement possible
◮ the higher the price, the smaller demand, and the better the QoS ◮ an “optimal” situation can be reached
◮ flat-rate pricing unfair, demand uncontrolled ◮ service differentiation impossible to favor QoS-demanding applications
◮ different services (telephony, web, email, TV) available through
◮ appropriate and bundle contracts to be proposed.
◮ adaptation of economic models to be realized for an optimal network
Bruno Tuffin (INRIA) Game Theory PEV - 2010 47 / 102
◮ When no equilibrium, pricing can help to drive to such a point. ◮ By playing on prices, a better situation can be obtained
◮ current political debate ◮ introduced because network providers wanted to differentiate among
◮ could limit the user-benefit-oriented service differentiation. Bruno Tuffin (INRIA) Game Theory PEV - 2010 48 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 49 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 50 / 102
◮ schedulling priority ◮ rejection or dropping priority.
Bruno Tuffin (INRIA) Game Theory PEV - 2010 51 / 102
◮ introduced to deal with congestion ◮ because applications are more or less stringent in terms of QoS.
◮ For eah schedulling policy, what are the prices maximizing the
◮ Which schedulling policy to implement? I.e., which one yields larger
Bruno Tuffin (INRIA) Game Theory PEV - 2010 52 / 102
◮ strict priority: ⋆ class-1 always served before class-2 ◮ generalized processor sharing (GPS): ⋆ a part of the server is dedicated to class-1, the other to class-2, except
⋆ FIFO scheduling within a class ◮ or discriminatory processor sharing (DPS): ⋆ a weight wi (corresponding to its class) associated to a flow i ⋆ a proportion wi/(P j wj) of the server is allocated to flow i.
◮ we restrict ourselves to dedicated classes here. Bruno Tuffin (INRIA) Game Theory PEV - 2010 53 / 102
◮ The number of users Nd and Nv in one class may influence the number
◮ Prices influence that number too.
◮ either Nj > 0 and Uj(D) = 0 ◮ or Nj = 0 and Uj(D) ≤ 0. Bruno Tuffin (INRIA) Game Theory PEV - 2010 54 / 102
λdNd(2γ−1) µ−(1−γ)λvNv−γλdNd
λvNv(2γ−1) µ−(1−γ)λvNv−γλdNd
Bruno Tuffin (INRIA) Game Theory PEV - 2010 55 / 102
v ))
◮ Nv increases up to Uv(Dv) =
µ−Nvλv
◮ If Nv too large and Uv(Dv) < pv, then Nv naturally decreases. ◮ it gives N∗
v = µ−p−αv
v
λv
v )(µ−λvN∗ v −λdNd)
Bruno Tuffin (INRIA) Game Theory PEV - 2010 56 / 102
◮ Nj increases up to Uj(Dj) =
γjµ−Njλj
◮ If Nj too large and Uj(Dj) < pj, then Nv naturally decreases. ◮ it gives
j =
j
Bruno Tuffin (INRIA) Game Theory PEV - 2010 57 / 102
◮ respective utilities Uv = D−αv − p1 and Uv = D−αd − p1. ◮ If p1 > 1, curve Uv = 0 always above Ud = 0; ◮ If p1 < 1 Uv = 0 always under Ud = 0.
Uv = 0 Ud = 0
Ud = 0 Uv = 0
◮ p1, p2 > 1: only voice users ◮ p1, p2 > 1: only data users ◮ p1 > 1, p2 < 1: voice users in class 1, data users in class 2 ◮ p1 < 1, p2 > 1 (strange!): data users in class 1, voice users in class 2. Bruno Tuffin (INRIA) Game Theory PEV - 2010 58 / 102
◮ p1, p2 > 1: only voice users ◮ p1, p2 > 1: only data users ◮ p1 > 1, p2 < 1: voice users only in class 1, data users only in class 2 ◮ p1 < 1, p2 > 1: data users only in class 1, voice users only in class 2. Bruno Tuffin (INRIA) Game Theory PEV - 2010 59 / 102
◮ Revenue defined as
v pv + λdN∗ d pd
◮ simple derivation applied each time in terms of prices; ◮ optimal revenue computed then.
◮ for dedicated classes ◮ and open classes as well. Bruno Tuffin (INRIA) Game Theory PEV - 2010 60 / 102
Uv = 0 Ud = 0
Ud = 0 Uv = 0
Uv = 0 Ud = 0
◮ One curve Ui is always below the other (two cases) ⋆ The numbers of customers increase up to reaching the lowest curve
⋆ but Nj still increases (Uj > 0), it slides on the curve to Ni = 0 on
⋆ the on the axis to the equilibrium point Ni = 0 and Uj = 0. ◮ The curves have an intersection point ⋆ The number of customers increase up to reaching one curve; ⋆ Then thit slides up to the intersection point. Bruno Tuffin (INRIA) Game Theory PEV - 2010 61 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 62 / 102
.
.
Bruno Tuffin (INRIA) Game Theory PEV - 2010 63 / 102
◮ θi is called the valuation or willingness-to-pay function of user i ◮ a outcome (say, the resource allocation vector), a = (a1, . . . , an). ◮ ci total charge to i (can be non-positive).
Bruno Tuffin (INRIA) Game Theory PEV - 2010 64 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 65 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 66 / 102
◮ qi asked quantity ◮ pi associated price.
◮
i ai ≤ Q: do not allocate more than the available capacity
◮ ci ≤ piqi: charge less than the declated total valuation.
Bruno Tuffin (INRIA) Game Theory PEV - 2010 67 / 102
◮ your quantity if still available at your bid and enough remains to serve
◮ or you share proportionally what remains if not to serve to cover all
◮ you pay the loss of valuation your presence creates on other players. Bruno Tuffin (INRIA) Game Theory PEV - 2010 68 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 69 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 70 / 102
1 requires a lot of signalling: at each round, users need to know the
2 takes time to reach an ǫ-Nash equilibrium 3 when users leave or enter: needs a new application of the sequential
Bruno Tuffin (INRIA) Game Theory PEV - 2010 71 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 72 / 102
◮ Users’ preferences: determined by their utility function
◮ θi =player i’s valuation function, assumed non-decreasing and
◮ User i’s goal: maximizing his utility θi(ai) − ci.
◮ the pseudo-marginal valuation function ¯
i
◮ the pseudo-demand function ¯
Bruno Tuffin (INRIA) Game Theory PEV - 2010 73 / 102
.
i
i
i
i
i
i
i
i
i
. .
i
i
i
i
i
i
i
i
i
.
Bruno Tuffin (INRIA) Game Theory PEV - 2010 74 / 102
.
q Prices p Quantities Q ¯ u
¯ d p ! ¯ di p
¯ d2 p ¯ d3 p ¯ d1 p
.
Bruno Tuffin (INRIA) Game Theory PEV - 2010 75 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 76 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 77 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 78 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 78 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 78 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 78 / 102
◮ ad-hoc networks: individual nodes should be rewarded for forwarding
◮ P2P systems: free riding can be avoided through pricing.
◮ The AS can contacts all potential ASes on a path to learn their costs,
◮ More likely: he contacts only its neighbors, which ask the cost to their
◮ Finite capacity at each AS: it becomes similar to a knapsack problem. ◮ Capacity assumed infinite if networks overprovisionned thanks to optic
Bruno Tuffin (INRIA) Game Theory PEV - 2010 79 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 80 / 102
◮ each AS declares its transit cost ck ◮ the least (declared) cost route path(i, j) is computed for each
Bruno Tuffin (INRIA) Game Theory PEV - 2010 81 / 102
◮ Efficiency ◮ Incentive compatibility ◮ Individual rationality
Bruno Tuffin (INRIA) Game Theory PEV - 2010 82 / 102
◮ Efficiency ◮ Incentive compatibility ◮ Individual rationality
Bruno Tuffin (INRIA) Game Theory PEV - 2010 82 / 102
◮ The “almost” property could be amore flexible choice. ◮ Strict requirement: budget balance. Decentralization too if dealing
Bruno Tuffin (INRIA) Game Theory PEV - 2010 83 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 84 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 85 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 85 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 85 / 102
1 Higher level: providers set prices to maximize revenue 2 Lower level: consumers choose their provider Bruno Tuffin (INRIA) Game Theory PEV - 2010 85 / 102
(INRIA) Game Theory PEV - 2010 86 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 87 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 88 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 88 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 89 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 90 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 91 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 91 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 92 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 93 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 93 / 102
i∈I di
i∈I min(di, Ci)
i∈I di
Bruno Tuffin (INRIA) Game Theory PEV - 2010 94 / 102
1 Providers i ∈ I declare their capacity Ci 2 Providers fix their selling price pi 3 Users select their providers
Bruno Tuffin (INRIA) Game Theory PEV - 2010 95 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 96 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 96 / 102
q 1−α
α
Bruno Tuffin (INRIA) Game Theory PEV - 2010 97 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 98 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 99 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 100 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 100 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 100 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 100 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 100 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 100 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 100 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 101 / 102
Bruno Tuffin (INRIA) Game Theory PEV - 2010 102 / 102