= i P max n yh ( y ) dy u ( Q ) c ( Q ) - - PowerPoint PPT Presentation

i p max n yh y dy u q c q
SMART_READER_LITE
LIVE PREVIEW

= i P max n yh ( y ) dy u ( Q ) c ( Q ) - - PowerPoint PPT Presentation

Contents A public good model for p2p An Asymptotically Optimal Scheme Simple contribution policies with exclusions for P2P File Sharing An application to file sharing heterogeneous file popularity stability Panayotis


slide-1
SLIDE 1

An Asymptotically Optimal Scheme for P2P File Sharing

Panayotis Antoniadis Costas Courcoubetis Richard Weber

Athens University of Economics and Business Centre for Mathematical Sciences, Cambridge, UK Athens University of Economics and Business

Contents

  • A public good model for p2p
  • Simple contribution policies with exclusions
  • An application to file sharing

– heterogeneous file popularity – stability – group formation – adaptation

  • Conclusions

A model for p2p file sharing

  • Resource allocation in p2p file sharing is a public good

problem

– all peers benefit from the contribution of any single peer – downloading a file by one peer does not prevent another peer from downloading the same file (no congestion effects) – but contribution is costly – positive externality creates an incentive to free-ride on efforts of

  • thers

– a peer’s incentive is to offer a few files in the common pool and requests lots of downloads from others

H Q u

i i

  • n

distributi with iid is ), ( θ θ

peer i: benefit = cost =

i

f

= payment in “kind”

n peers

I mplications

  • Implication: “free market” solution is inefficient

– each peer maximizes own net benefit – actions affect others – hence private optimum differs from social optimum

  • Need regulation: use prices or rules to influence behaviour

– incentives for each peer reflect the effect it has on others – example of a rule: downloads = uploads

  • Problem: optimal design requires information on user types

– under full info: personalized price/rule for each peer – “first-best” policy

  • Existing approaches based on heuristics

– reciprocity based punishments/rewards

slide-2
SLIDE 2

What to do?

  • How can the system/planner/network manager get the

required information to design optimal contribution rules?

– if lucky, can gather personalized data about users – otherwise, users must be given incentives to reveal relevant information to planner

  • Mechanism Design: set prices/rules to encourage users to

act truthfully, maximize social welfare

– Well-developed economic theory; but solutions typically

  • very complex, dependent on fine details
  • require large amounts of info to be passed to centre
  • “second-best” policy
  • Approximations?

Large systems are simpler!

  • Size helps!

– simplifies mechanism, limits per capita efficiency loss

  • Theorem: A very simple mechanism

“contribute f if join, 0 otherwise” is nearly optimal when the network is large

  • Why?

– in a large network it is hard to get people pay more than a minimum

  • Other major benefits:

– Low informational requirements, easy to apply in a large class of examples

Some formulas for SW… ) ( ) ( ) (

1

Q c Q u dy y yh n SW − ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ =

No contributions, system of size Q Fixed contributions covering cost, system of size Q

] [

i

E θ

) ( ) ( ) (

1

Q c Q u dy y yh n SW − ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ =

θ

) ( ) ( )] ( 1 [ ≥ − − Q c Q u H n θ θ

expected number

  • f participants

fee θ

1 ) ( 1 θ H −

h

Theorem ) ( ) ( ) ( max

1 ], 1 , [

Q c Q u dy y yh n P

Q

− ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ =

≥ ∈ θ θ

) ( ) ( )] ( 1 [ ≥ − − Q c Q u H n θ θ

subject to Let maximize

* *,θ

Q

Then, the policy: each participating peer contributes achieves ) (

* *

Q u f θ =

θ

1 ) ( 1 θ H −

) (n

  • P

P P

SB

+ ≤ ≤

SB

P

= efficiency of second-best policy

slide-3
SLIDE 3

Example

] 1 , [ in uniform , ) ( , 6 . ) (

2 / 1 i

Q Q c Q Q u θ = =

Solution:

2 2 * *

006328 . , 0126 . , 4 / 1 n SW n Q = = = θ

  • satisfaction of cost coverage constraint:

reduction of SW by 43%

6 . max

2 1 ], 1 , [

Q Q ydy n

Q

− ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ ∫

≥ ∈ θ θ

6 . ] 1 [ . .

2

≥ − − Q Q n t s θ θ

File sharing

  • Q : expected number of distinct files
  • peer i : utility = , cost = = number of

files provided to the system

  • randomly chosen from N files
  • Solve

) (Q u

i

θ

i

f

i

f

= − ≈

− i N F

f F e N F Q where ), 1 ( ) (

/

F F Q u dy y yh n

F

− ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ ∫

≥ ∈

)) ( ( )) ( max

1 ], 1 , [ θ θ

)) ( ( )] ( 1 [ ≥ − − F F Q u H n θ θ subject to The function F(Q)

) (Q F

Q

N=10,000 Heterogeneous file popularity

  • General case:

– specify contributions

  • Interesting case:
  • Then, provide both types only if
  • Optimum contribution is a scalar

– a peer can provide any combination – measuring rate of uploads is a good proxy

2 1 2 1

) , ( F bF F F c + = ), (

2 1

F aF u + ) , ( ), , (

2 1 2 1

F F c F F u

* 2 * 1 , f

f

* 2 1

f f af = +

. . ,

, 2 1

t s f f

1

F

2

F

: popular content : less popular content

b a =

*

f

slide-4
SLIDE 4

Stability

  • Assume contribution fixed
  • Participation decision: based on prior expectation

regarding total content availability F

  • Will be reached?

*

f

*

F

rounds

k 1 + k

k

X

1 + k

X

content

) , (

* 1

f X b X

k k

=

+

* 2

F F =

1

F

) ( = − y b y

stability if

1

F X ≥

Group formation (1/ 5)

  • Assume peers of different sub-types
  • Type A: (e.g. ISDN users)
  • Type B: (e.g. DSL users)
  • Do they gain more by

– forming 2 distinct groups vs forming a larger group? – being distinguished by the system in the larger group?

] 5 . , [ ~

A i

θ

] 1 , 5 . [ ~

B i

θ

A B A+B

  • Group A:

(e.g. ISDN users)

  • Group B:

(e.g. DSL users)

] 5 . , [ ~

A i

θ ] 1 , 5 . [ ~

B i

θ

Assume that the percentage of each group in the mix is 50% (n=1000) 62500 51768 38452 Total 31250 (-11%) 31249 (+ 848%) Distinguishable 44792 (+ 27%) 6976 (+ 111%) Indistinguishable 35156 3296 Distinct groups Group B Group A Welfare

Group formation (2/ 5) Group formation (3/ 5)

As a function of the percentage of each group in the mix

slide-5
SLIDE 5

Group formation (4/ 5)

200 400 600 800 0.8 1.2 1.4 1.6 1.8 2 2.2 200 400 600 800 1.05 1.1 1.15

Group A Group B N N Adding a “congestion” cost:

, ) ( F m F c

a

=

m = # of participants Group formation (5/ 5)

  • How to provide better incentives for both types to

combine and reveal their types?

– reduce cost of heavy users by limiting upload rates – reduce fees of heavy users

  • Offer sets of tariffs (versioning)

– allow self-selection

  • Model difference in cost for uploading

– higher-cost peers benefit in a larger group when types can be distinguished

Adaptation

  • What if not known?
  • In general incentive to shade declarations
  • Repeated game formulation: in each round, peer i

samples from H , declares – truth-telling equilibrium

) (⋅ H

i

θ

i

θ Conclusions

  • Fixed contribution schemes can be efficient
  • Result to tractable optimization problems
  • Provide useful insight to many interesting questions
  • Information regarding user types may be strategic
  • Open issues:

– more complex cost structures – adaptation – multiple round games – practical application

  • Check also …

– Market Management of P2P Systems (MMAPPS)

  • http://www.mmapps.org

– AUEB Network Economics and Services Group

  • http://nes.aueb.gr/p2p.html