MURI 2009: Heavy Tails and Long Range Dependence in Networks Barlas - - PowerPoint PPT Presentation

muri 2009 heavy tails and long range dependence in
SMART_READER_LITE
LIVE PREVIEW

MURI 2009: Heavy Tails and Long Range Dependence in Networks Barlas - - PowerPoint PPT Presentation

MURI 2009: Heavy Tails and Long Range Dependence in Networks Barlas O guz Department of Electrical Engineering and Computer Sciences University of California, Berkeley Berkeley, California barlas@berkeley.edu September 9, 2009 Overview


slide-1
SLIDE 1

MURI 2009: Heavy Tails and Long Range Dependence in Networks

Barlas O˘ guz

Department of Electrical Engineering and Computer Sciences University of California, Berkeley Berkeley, California barlas@berkeley.edu

September 9, 2009

slide-2
SLIDE 2

Overview

Movie distribution in hybrid P2P networks, heavy tails in demand (Barlas O˘ guz) Stochastic Approximation with LRD noise (V. Anantharam, V.S. Borkar)

Barlas O˘ guz (UCB) MURI 2009 September 2009 2 / 29

slide-3
SLIDE 3

Catalog Sizing in Hybrid P2P Networks

Single server VoD

Server

Barlas O˘ guz (UCB) MURI 2009 September 2009 3 / 29

slide-4
SLIDE 4

Catalog Sizing in Hybrid P2P Networks

Single server VoD

Server

Reliable, not scalable

Barlas O˘ guz (UCB) MURI 2009 September 2009 3 / 29

slide-5
SLIDE 5

Catalog Sizing in Hybrid P2P Networks

Single server VoD

Server

Reliable, not scalable P2P network

Barlas O˘ guz (UCB) MURI 2009 September 2009 3 / 29

slide-6
SLIDE 6

Catalog Sizing in Hybrid P2P Networks

Single server VoD

Server

Reliable, not scalable P2P network Scalable, not reliable

Barlas O˘ guz (UCB) MURI 2009 September 2009 3 / 29

slide-7
SLIDE 7

Catalog Sizing in Hybrid P2P Networks

Single server VoD

Server

Reliable, not scalable P2P network Scalable, not reliable Push 2 Peer

Server

Barlas O˘ guz (UCB) MURI 2009 September 2009 3 / 29

slide-8
SLIDE 8

Catalog Sizing in Hybrid P2P Networks

Single server VoD

Server

Reliable, not scalable P2P network Scalable, not reliable Push 2 Peer

Server

Scalable and reliable?

Barlas O˘ guz (UCB) MURI 2009 September 2009 3 / 29

slide-9
SLIDE 9

Push to Peer VoD system

Push phase: Server ’pushes’ content onto peers during low-traffic hours. Pull phase: peers download content from eachother without further help from server

Server

Barlas O˘ guz (UCB) MURI 2009 September 2009 4 / 29

slide-10
SLIDE 10

Push to Peer VoD: formulation

M nodes (peers) {i : 1, . . . , M} N movies (catalog size) {j : 1, . . . , N}. Movie j has

length Lj bits rate Rj bits/s duration Tj s

Ci, storage capacity of node i. Bupi, uplink BW of node i. dij: 1( node i demands movie j )

  • i dij = dj, total demand for movie j.

Barlas O˘ guz (UCB) MURI 2009 September 2009 5 / 29

slide-11
SLIDE 11

Push to Peer VoD: Push Phase MOVIES NODES

Barlas O˘ guz (UCB) MURI 2009 September 2009 6 / 29

slide-12
SLIDE 12

Push to Peer VoD: Push Phase MOVIES NODES

Barlas O˘ guz (UCB) MURI 2009 September 2009 6 / 29

slide-13
SLIDE 13

Push to Peer VoD: Push Phase MOVIES NODES

Barlas O˘ guz (UCB) MURI 2009 September 2009 6 / 29

slide-14
SLIDE 14

Push to Peer VoD: Push Phase MOVIES NODES

Barlas O˘ guz (UCB) MURI 2009 September 2009 6 / 29

slide-15
SLIDE 15

Push strategy

More formally, the push strategy should satisfy:

Push Strategy

At least 1 copy of each movie is stored

  • i

cij ≥ Lj We don’t violate storage contstraints at each node

  • j

cij ≤ Ci

Barlas O˘ guz (UCB) MURI 2009 September 2009 7 / 29

slide-16
SLIDE 16

Pull Phase

Barlas O˘ guz (UCB) MURI 2009 September 2009 8 / 29

slide-17
SLIDE 17

Pull Phase

Barlas O˘ guz (UCB) MURI 2009 September 2009 8 / 29

slide-18
SLIDE 18

Pull Phase

Barlas O˘ guz (UCB) MURI 2009 September 2009 8 / 29

slide-19
SLIDE 19

Pull Phase

Barlas O˘ guz (UCB) MURI 2009 September 2009 8 / 29

slide-20
SLIDE 20

Pull Phase

Barlas O˘ guz (UCB) MURI 2009 September 2009 8 / 29

slide-21
SLIDE 21

Pull Phase

Barlas O˘ guz (UCB) MURI 2009 September 2009 8 / 29

slide-22
SLIDE 22

Pull Phase

Barlas O˘ guz (UCB) MURI 2009 September 2009 8 / 29

slide-23
SLIDE 23

Pull Strategy

The pull strategy should satisfy:

Pull Strategy

rj

ik, rate at which node i downloads movie j from node k

  • j,i=k rj

ik ≤ Bupk, ∀i, upload capacities are respected

sj

ik, amount of bits, node i downloads of movie j from node k

rj

ik ≥ dijsj ik, all downloads have a minimum rate condition

sj

ik ≤ cij, k sj ik ≥ Lj

Barlas O˘ guz (UCB) MURI 2009 September 2009 9 / 29

slide-24
SLIDE 24

No Constraints

  • Full striping optimal
  • Can scale catalog size with M

Barlas O˘ guz (UCB) MURI 2009 September 2009 10 / 29

slide-25
SLIDE 25

Push to Peer VoD: Scalability?

Barlas O˘ guz (UCB) MURI 2009 September 2009 11 / 29

slide-26
SLIDE 26

Push to Peer VoD: Scalability?

Barlas O˘ guz (UCB) MURI 2009 September 2009 11 / 29

slide-27
SLIDE 27

Push to Peer VoD: Scalability?

Barlas O˘ guz (UCB) MURI 2009 September 2009 11 / 29

slide-28
SLIDE 28

Push to Peer VoD: Scalability?

The preceding problem assumes a node can connect to all its peers. Not scalable as M becomes large. Put constraint on number of incoming connections.

Connections constraint

  • k=i,j

|rj

ik|0 ≤ y

Barlas O˘ guz (UCB) MURI 2009 September 2009 12 / 29

slide-29
SLIDE 29

Scaling Catalog Size

Mathieu, L. et. al., 2008 [?] consider the problem of scalability of catalog size in a P2P VoD system. Given the number of nodes M, we want to achieve reliability with scaling demand. i.e. O(M) simultaneous downloads, or stability under rate O(M) per movie. How to maximally scale N with M? For arbitrary demand profiles (or adversarial), catalog scales poorly.

Barlas O˘ guz (UCB) MURI 2009 September 2009 13 / 29

slide-30
SLIDE 30

What kind of distribution?

Netflix Prize Database

Pareto principle: top 15% claims 85% of demand. “The Long Tail”, niche titles also have some demand. Should use this information.

Barlas O˘ guz (UCB) MURI 2009 September 2009 14 / 29

slide-31
SLIDE 31

Scaling Catalog with Power Law Demands

Can show better results if we assume power law in demand. Let Nj ∼ Poisson(Mνj) Mean parameter νj come from a power law, e.g. νj ∼ 1

Come up with a good push strategy. Look at probability of sustaining random demand {Nj}.

Probability of sustaining demand

PC =

  • n

1(C can sustain n).pN(N = n)

Barlas O˘ guz (UCB) MURI 2009 September 2009 15 / 29

slide-32
SLIDE 32

Results

Let popularity for movie j decay as jα, where total demand increases as ρM.

Asymptotic probability of sustaining demand

(a) If α < 1, then lim

M→∞ P(all requests are satisfied) = 0

(b) If α > 1 and (yBup−1

ρ

− 4

α)(α − 1) > 1, then

lim

M→∞ P(all requests are satisfied) = 1

Barlas O˘ guz (UCB) MURI 2009 September 2009 16 / 29

slide-33
SLIDE 33

Stochastic Approximation with Long Range Dependent and Heavy Tailed Noise

Venkat Anantharam1 and Vivek S. Borkar2

  • 1. Department of Electrical Engineering and Computer Sciences,

University of California, Berkeley

  • 2. School of Technology and Computer Science, Tata Institute of

Fundamental Research, Homi Bhabha Road, Mumbai, India

slide-34
SLIDE 34

Stochastic Approximation

Given a function h, we seek to find a solution to h(x∗) = 0. However, we

  • nly observe h(xn) in noise. Use the following recursion.

Algorithm

x[n + 1] = an [h(xn) + Mn+1] where originally, M is mean zero, uncorrelated, bounded variance noise.

Barlas O˘ guz (UCB) MURI 2009 September 2009 18 / 29

slide-35
SLIDE 35

Stochastic Approximation

Under suitable stability conditions (e.g. sup |xn| < K), the recursion can be approximated by ODE ˙ x(t) = h(x(t)) Which can be shown to converge if an = ∞ a2

n < ∞

Barlas O˘ guz (UCB) MURI 2009 September 2009 19 / 29

slide-36
SLIDE 36

Applications

Many DSP applications, including adaptive filtering Network control Adaptive routing Service time control in queuing networks In network applications, we wish to run control algorithms based on the values of the flows. However, these might not be directly observed, might be available as noisy estimates. It has been observed empirically that queues and flows in large computer networks exhibit heavy tailed distributions or long range dependence.

Barlas O˘ guz (UCB) MURI 2009 September 2009 20 / 29

slide-37
SLIDE 37

Alpha stable Levy motion

Take Xi i.i.d. symmetric, P(|X1| > x) = x−αL(x) then Snt (nL(n))

1 α

→d SαS (symmetric α-stable Levy motion)

Barlas O˘ guz (UCB) MURI 2009 September 2009 21 / 29

slide-38
SLIDE 38

Alpha-stable Levy Motion properties

stationary, α-stable, i.i.d. increments. Distribution of Snt

√n → ∞ (long range dependence)

Var(St) = ∞ Self-similarity: Snt =d n

1 α St

Samorodnitsky, Taqqu. “Stable Non-Gaussian Random Processes: Stochastic models with infinite variance”

Barlas O˘ guz (UCB) MURI 2009 September 2009 22 / 29

slide-39
SLIDE 39

Fractional Brownian Motion

Fractional Brownian Motion is the unique Gaussian H-sssi process. Cov(BH(t1), BH(t2)) = 1

2

  • |t1|2H + |t2|2H − |t1 − t2|2H

Var(BH(1)) H-sssi

fBM limit

Let Cov(X1, Xn) = n−αL(n) regularly varying. And {Xi} zero-mean Gaussian. Then, Snt

nH →d BH(t), where H = (1 − α 2 ).

Barlas O˘ guz (UCB) MURI 2009 September 2009 23 / 29

slide-40
SLIDE 40

Fractional Brownian Motion

fractional Brownian motion − parameter: 0.9 Barlas O˘ guz (UCB) MURI 2009 September 2009 24 / 29

slide-41
SLIDE 41

Stochastic Approximation with LRD and Heavy Tailed Noise

xn+1 = xn + a(n)[h(xn) + Mn+1 + R(n)Bn+1 + D(n)Sn+1 + ξn+1], where h : Rd → Rd is Lipschitz, Bn+1 := ˜ B(n + 1) − ˜ B(n), where ˜ B(t), t ≥ 0, is a fractional Brownian motion with Hurst parameter ν ∈ (0, 1), Sn+1 := ˜ S(n + 1) − ˜ S(n), where ˜ S(t), t ≥ 0, is a symmetric α-stable process with 1 < α < 2, ξn is an ’error’ process satisfying supn ||ξn|| ≤ K0 < ∞ a.s. and ξn → 0 a.s.,

Barlas O˘ guz (UCB) MURI 2009 September 2009 25 / 29

slide-42
SLIDE 42

R(n), D(n) are bounded sequences of d by d random matrices adapted to Fn, for Fn := σ(xi, Bi, Mi, Si, ξi, i ≤ n). Mn is a martingale difference sequence w.r.t. Fn satisfying E[||Mn+1||2|Fn] ≤ K1(1 + ||xn||2) a(n) are positive non-increasing stepsizes which are Θ(n−κ) for some κ ∈ (1, 1]. In particular, they satisfy:

  • n

a(n) = ∞,

  • n

a(n)2 < ∞ which are standard conditions for stochastic approximation. We need the additional restriction: κ > ν

Barlas O˘ guz (UCB) MURI 2009 September 2009 26 / 29

slide-43
SLIDE 43

Main Result

Consider the related o.d.e.: ˙ x(t) = h(x(t)) Assume this o.d.e. has unique asymptotically stable equilibrium x , with continuously differentiable Liapunov function. V : Rd → R+ satisfying lim||x||→∞ V (x) = ∞ and ∇V , h(x) < 0 for x = x. In turn, existence of such a V implies global asymptotic stability of x. Then,

Theorem 1

Suppose (∗)K2 := sup

n

E[xn] < ∞ for some ξ ∈ [1, α) . Then for 1 < ξ′ < ξ, E[||xn − x||ξ′] → 0 e.g. h = −∇F for some F to be minimized.

Barlas O˘ guz (UCB) MURI 2009 September 2009 27 / 29

slide-44
SLIDE 44

Sufficient Condition

Let hc(x) := h(cx)

c

for c > 0. We assume h∞(x) := lim

c→∞ hc(x)

  • exists. Consider the o.d.e.

˙ xc(t) = hc(xc(t)) (**) for 0 < c ≤ ∞. The following condition is sufficient for (∗): For c = ∞, (**) has the origin as the globally exponentially stable equilibrium.

Barlas O˘ guz (UCB) MURI 2009 September 2009 28 / 29

slide-45
SLIDE 45

a.s. convergence

Theorem 2

If either D(n) ≡ 0, or κ > 1

α and

sup

n

||xn|| < ∞ then xn → x∗ a.s.

Barlas O˘ guz (UCB) MURI 2009 September 2009 29 / 29