65
An Efficient Randomized Protocol for Contention Resolution Network Adiabatic Theorem Shreevatsa Rajagopalan Devavrat Shah Jinwoo Shin Laboratory for Information and Decision Systems Massachusetts Institute of Technology

An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

An Efficient Randomized Protocol for Contention Resolution

Network Adiabatic Theorem

Shreevatsa Rajagopalan Devavrat Shah Jinwoo Shin

Laboratory for Information and Decision SystemsMassachusetts Institute of Technology

Page 2: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Wireless Network

Jinwoo Shin (MIT) An Efficient Randomized Protocol 2 / 32

Page 3: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Wireless Network

Interfere!

Constraints◦ Two simultaneously transmitting nodes interfere with each other.◦ Each node has only “local” information.

Jinwoo Shin (MIT) An Efficient Randomized Protocol 2 / 32

Page 4: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Wireless Network

OK!

Constraints◦ Two simultaneously transmitting nodes interfere with each other.◦ Each node has only “local” information.

Jinwoo Shin (MIT) An Efficient Randomized Protocol 2 / 32

Page 5: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Wireless Network

Network Interference Graph

Constraints◦ Two simultaneously transmitting nodes interfere with each other.◦ Each node has only “local” information.

Jinwoo Shin (MIT) An Efficient Randomized Protocol 2 / 32

Page 6: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Wireless Network

Network Interference Graph

Question◦ Which nodes should transmit simultaneously using local information.◦ So that performance is not compromised.

Jinwoo Shin (MIT) An Efficient Randomized Protocol 2 / 32

Page 7: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Wireless Network: Scheduling Algorithm

Constraint:

◦ Interfering nodes cannot transmit simultaneously.

Information structure:◦ Slotted-time version

- Attempt to transmit at the beginning of each time-step.- Determine its success/failure at the end of each time-step.

◦ Asynchronous-time version

- Attempt to transmit at any time.- Determine its success/failure instantly (Perfect Carrier Sensing).

Jinwoo Shin (MIT) An Efficient Randomized Protocol 3 / 32

Page 8: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Wireless Network: Scheduling Algorithm

Our algorithm would be “Asynchronous-time version”

◦ With PCS (Perfect Carrier Sensing).

◦ However, possible to apply our algorithm

- To “Slotted-time version” without PCS- Due to [Ni and Srikant 09].

Jinwoo Shin (MIT) An Efficient Randomized Protocol 4 / 32

Page 9: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Previous Works

Single shared medium:◦ Usually slotted-time

1. Queue-free model2. Queueing model

Network setup:◦ Usually message-passing/PCS(asynchronous-time)

3. Max-Weight inspired algorithms4. Random access algorithms

Jinwoo Shin (MIT) An Efficient Randomized Protocol 5 / 32

Page 10: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Single Shared Medium: Queue-free Model

Each message can attempt to use the medium in each time-step.

Random back-off (Aloha) protocols:

◦ Started from Aloha-system [Abramson and Kuo 73].◦ No sub-exponential back-off protocol achieves the arrival rate λ > 0

[Kelly et al.87].◦ Binary exponential back-off protocol cannot achieve λ > 0 [Aldous 87].◦ No back-off protocol achieves λ > .42 [Goldberg et al.00].

Full sensing protocols:

◦ Every node listens to the medium.◦ “Tree protocol” achieves λ ≈ .487 [Mosely et al. 85].◦ No protocol achieves λ > .568 [Tsybakov et al. 87].

Jinwoo Shin (MIT) An Efficient Randomized Protocol 6 / 32

Page 11: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Single Shared Medium: Queueing Model

Each queue can attempt to use the medium in each time-step.

◦ Fixed N queues.

Throughput optimal algorithm [Hastad, Leighton, and Rogoff 96]

◦ Superlinear polynomial back-off protocol achieves

- λ < 1 i.e. throughput-optimal.

◦ No binary exponential back-off protocol achieves

- λ > 0.568 with the uniform λi = λ/N.

More in the website by Goldberg

◦ URL: http://www.csc.liv.ac.uk/∼leslie/contention.html

Jinwoo Shin (MIT) An Efficient Randomized Protocol 7 / 32

Page 12: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Network Setup: MW Algorithm

Select non-interfering nodes in the queueing network

◦ So that the summation of their queue-size is maximized.

Throughput-optimal [Tassiulas and Ephremides 92]

◦ Good-delay property [Shah and Wischik 06]

◦ Myopic

Non implementable

◦ Not using local information◦ Computationally expensive

Jinwoo Shin (MIT) An Efficient Randomized Protocol 8 / 32

Page 13: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Network Setup: MW-inspired Algorithms - 1

Greedy Algorithms

Serve the longest queue first in a greedy manner.

Sometimes throughput optimal [Dimakis and Walrand 06]

◦ But, not in general [Dai and Prabhakar 00] [Joo, Lin and Shroff 08] [Leconte, Ni

and Srikant 09]

More implementable than MW algorithm

◦ But decentralization cost is high depending on network topology.

Jinwoo Shin (MIT) An Efficient Randomized Protocol 9 / 32

Page 14: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Network Setup: MW-inspired Algorithms - 2

Randomized Algorithms

Simpler MW-implementations [Tassiulas 98] [Giaccone, Prabhakar and Shah 03]

◦ But still centralized.

First distributed MW-implementation [Modiano, Shah and Zussman 06]

◦ But O(N3)-overhead per each schedule i.e. not practical.

Constant-overhead distributed algorithm [Sanghavi, Bui and Srikant 07]

◦ Only for matching-constraints.◦ Constant is large for throughput-optimality.

Jinwoo Shin (MIT) An Efficient Randomized Protocol 10 / 32

Page 15: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Network Setup: Random Access Algorithms

Find access probabilities

◦ Based on the knowledge of the network information◦ References: [Marbach 07] [Eryilmaz, Marbach and Ozdaglar 07], [Gupta and

Stolyar 06] [Liu and Stolyar 07] [Stolyar 08]

◦ However,

- Saturated system analysis- Too much information-exchange- Pareto throughput-optimal

Jinwoo Shin (MIT) An Efficient Randomized Protocol 11 / 32

Page 16: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Network Setup: Random Access Algorithms

Find access probabilities

◦ Based on the knowledge of the network information◦ References: [Marbach 07] [Eryilmaz, Marbach and Ozdaglar 07], [Gupta and

Stolyar 06] [Liu and Stolyar 07] [Stolyar 08]

◦ However,

- Saturated system analysis- Too much information-exchange- Pareto throughput-optimal

Adaptively choose access probabilities [Jiang and Walrand 08]

◦ Assuming Perfect Carrier Sensing◦ No proof for throughput-optimality

Jinwoo Shin (MIT) An Efficient Randomized Protocol 11 / 32

Page 17: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Summary and Goal

Summary of History

All previous algorithms suffer from one or more of the followings:◦ Non implementable

- Centralized or large overhead for decentralization- Lack of simplicity and elegance

◦ Not throughput-optimal◦ Too specific approach or no network

Our Goal

Design a scheduling algorithm which is◦ Implementable

- Distributed: low communication cost- Simple: low computation & memory cost

◦ Throughput-optimal◦ Generic

Jinwoo Shin (MIT) An Efficient Randomized Protocol 12 / 32

Page 18: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Outline

1 Our Algorithm

2 Why it works?

3 Discussions & Summary

Jinwoo Shin (MIT) An Efficient Randomized Protocol 13 / 32

Page 19: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Our Algorithm

Model

Arriving processwith rate λi

ij

Network interference graph G of N queues s.t.◦ Independent Poisson packet-arriving process with rate λi for queue i .◦ If (i , j) is an edge, i and j cannot transmit simultaneously.

Scheduling algorithm chooses a valid collection of queues to serve ateach time.

Jinwoo Shin (MIT) An Efficient Randomized Protocol 14 / 32

Page 20: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Our Algorithm

Model

Arriving processwith rate λi

ij

Valid!

Network interference graph G of N queues s.t.◦ Independent Poisson packet-arriving process with rate λi for queue i .◦ If (i , j) is an edge, i and j cannot transmit simultaneously.

Scheduling algorithm chooses a valid collection of queues to serve ateach time.

Jinwoo Shin (MIT) An Efficient Randomized Protocol 14 / 32

Page 21: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Our Algorithm

Model

Arriving processwith rate λi

ij

Invalid!

Network interference graph G of N queues s.t.◦ Independent Poisson packet-arriving process with rate λi for queue i .◦ If (i , j) is an edge, i and j cannot transmit simultaneously.

Scheduling algorithm chooses a valid collection of queues to serve ateach time.

Jinwoo Shin (MIT) An Efficient Randomized Protocol 14 / 32

Page 22: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Our Algorithm

Performance Metric

Recall our goal: Design a simple, distributed, throughput-optimal andgeneric scheduling algorithm.

Throughput-optimal means

The capacity region Λ be the set of all arrival rate λ = [λi ] s.t.

◦ There exists an algorithm that can keep queues finite under λ.

An scheduling algorithm is throughput-optimal if

◦ It keeps queues finite under λ ∈ Λ.

Distributed means

With respect to the interference graph G .

Jinwoo Shin (MIT) An Efficient Randomized Protocol 15 / 32

Page 23: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Our Algorithm

Notations

Network interference graph G = (V ,E ) of N queues.

Q(t) = [Qi (t)] ∈ RN+ be the queue-sizes at time t.

σ(t) = [σi (t)] ∈ {0, 1}N be the schedule at time t.

◦ σi (t) = 1 means the queue i is transmitting at time t.◦ σ(t) ∈ I(G) := {σ ∈ {0, 1}N : σi + σj ≤ 1 for all (i , j) ∈ E}.

Jinwoo Shin (MIT) An Efficient Randomized Protocol 16 / 32

Page 24: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Our Algorithm

Recall MW Algorithm

1

23

4

5

Q1 = 30σ1 = 1

Q2 = 30σ2 = 1

Q3 = 45σ3 = 0

Q4 = 10σ4 = 0

Q5 = 5σ5 = 0

MW Algorithm

Choose a valid collection of queues at each time so that theirsummation is maximized.

- σ(t) = arg maxσ∈I(G)

∑i Qi (t) · σi .

Throughput-optimal [Tassiulas and Ephremides 92]

But high complexity for implementation

Jinwoo Shin (MIT) An Efficient Randomized Protocol 17 / 32

Page 25: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Our Algorithm

Recall MW Algorithm

1

23

4

5

f (x) = x

Q1 = 30σ1 = 1

Q2 = 30σ2 = 1

Q3 = 45σ3 = 0

Q4 = 10σ4 = 0

Q5 = 5σ5 = 0

f -MW Algorithm

Choose a valid collection of queues at each time so that theirsummation is maximized with respect to f .

- σ(t) = arg maxσ∈I(G)

∑i f (Qi (t)) · σi .

Throughput-optimal [Shah and Wischik 06]

But high complexity for implementation

Jinwoo Shin (MIT) An Efficient Randomized Protocol 17 / 32

Page 26: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Our Algorithm

Our Algorithm

Each queue has an independent Exponential clock of rate 1.

When the clock of the queue i ticks at time t,◦ i checks whether the medium is free

- i.e. no neighbor of i is transmitting.

◦ If yes,

σi (t+) =

{1 with probability exp[f (Qi (t))]

1+exp[f (Qi (t))]

0 otherwise..

◦ Else, do nothing.

⋆ f will be decided later.

Jinwoo Shin (MIT) An Efficient Randomized Protocol 18 / 32

Page 27: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Our Algorithm

Our Algorithm: Example

1

2

3

Q1 = 40σ1 = 1

Q2 = 10σ2 = 0

Q3 = 5σ3 = 0

Jinwoo Shin (MIT) An Efficient Randomized Protocol 19 / 32

Page 28: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Our Algorithm

Our Algorithm: Example

1 1

22

33

w.p. 11+exp[f (40)]

Q1 = 40σ1 = 1

Q2 = 10σ2 = 0

Q2 = 10σ2 = 0

Q3 = 5σ3 = 0

Q3 = 5σ3 = 0

Q1 = 40σ1 = 0

Jinwoo Shin (MIT) An Efficient Randomized Protocol 19 / 32

Page 29: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Our Algorithm

Our Algorithm: Example

1

1

1

2

22

33

3

w.p. 11+exp[f (40)]

w.p.exp[f (5)]

1+exp[f (5)]

Q1 = 40σ1 = 1

Q2 = 10σ2 = 0

Q2 = 10σ2 = 0

Q2 = 10σ2 = 0

Q3 = 5σ3 = 0

Q3 = 5σ3 = 0

Q1 = 40σ1 = 0

Q1 = 40σ1 = 0

Q3 = 5σ3 = 1

Jinwoo Shin (MIT) An Efficient Randomized Protocol 19 / 32

Page 30: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Our Algorithm

Our Algorithm: Example

1

1 1

1

2 2

22

33

3 3

w.p. 11+exp[f (40)]

w.p.exp[f (5)]

1+exp[f (5)]

w.p. 1

Q1 = 40σ1 = 1

Q2 = 10σ2 = 0

Q2 = 10σ2 = 0

Q2 = 10σ2 = 0

Q2 = 10σ2 = 0

Q3 = 5σ3 = 0

Q3 = 5σ3 = 0

Q1 = 40σ1 = 0

Q1 = 40σ1 = 0

Q1 = 40σ1 = 0

Q3 = 5σ3 = 1

Q3 = 5σ3 = 1

Jinwoo Shin (MIT) An Efficient Randomized Protocol 19 / 32

Page 31: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Our Algorithm

Our Algorithm: Throughput-optimality

Theorem

The algorithm is throughput-optimal with an appropriate choice of f .

We will go through the proof intuition and search for a proper f .

◦ Essentially f (x) ≈ log log x .

Jinwoo Shin (MIT) An Efficient Randomized Protocol 20 / 32

Page 32: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Why it works?

Our Algorithm ≈ Glauber Dynamics

Assume Q(t) is fixed.

Recall our algorithm

Each queue has an independent Exponential clock of rate 1.

When the clock of the queue i ticks at time t,

◦ i checks whether the medium is free◦ If yes,

σi (t+) =

{1 with probability exp[f (Qi (t))]

1+exp[f (Qi (t))]

0 otherwise..

◦ Else, do nothing.

Our algorithm runs a finite state, reversible Markov chain on I(G ).

◦ It is well-known as Glauber dynamics.

Jinwoo Shin (MIT) An Efficient Randomized Protocol 21 / 32

Page 33: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Why it works?

Our Algorithm ≈ Glauber Dynamics

Assuming Q(t) = Q is fixed,

◦ Our algorithm runs Glauber dynamics.

Properties of Glauber Dynamics

It has the unique stationary distribution π s.t.

◦ π(σ) ∝ exp [∑

i f (Qi ) · σi ].

- High mass on large f (Q)-weighted schedules

Jinwoo Shin (MIT) An Efficient Randomized Protocol 22 / 32

Page 34: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Why it works?

Our Algorithm ≈ Glauber Dynamics

Assuming Q(t) = Q is fixed,

◦ Our algorithm runs Glauber dynamics.

Properties of Glauber Dynamics

It has the unique stationary distribution π s.t.

◦ π(σ) ∝ exp [∑

i f (Qi ) · σi ].

- High mass on large f (Q)-weighted schedules

◦ Eπ [∑

i f (Qi ) · σi ] ≥(arg maxρ∈I(G)

∑i f (Qi ) · ρi

)− N

- Sampling σ w.r.t π is essentially a f -MW choice!

Jinwoo Shin (MIT) An Efficient Randomized Protocol 22 / 32

Page 35: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Why it works?

Our Algorithm ≈ Glauber Dynamics

Assuming Q(t) = Q is fixed,

◦ Our algorithm runs Glauber dynamics.

Properties of Glauber Dynamics

It has the unique stationary distribution π s.t.

◦ Eπ [∑

i f (Qi ) · σi ] ≥(arg maxρ∈I(G)

∑i f (Qi ) · ρi

)− N

- Sampling σ w.r.t π is essentially a f -MW choice!

The actual sampling distribution µ(t) converges to π.

Jinwoo Shin (MIT) An Efficient Randomized Protocol 22 / 32

Page 36: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Why it works?

Our Algorithm ≈ Glauber Dynamics

Assuming Q(t) = Q is fixed,◦ Our algorithm samples essentially the f -MW schedule.

- Actual sampling distribution µ(t) converges to f -MW distribution π.

◦ Hence, throughput-optimal for any increasing f

- For example, f (x) = x ,√

x , log x , log log x , . . . .

Jinwoo Shin (MIT) An Efficient Randomized Protocol 23 / 32

Page 37: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Why it works?

Our Algorithm ≈ Glauber Dynamics

Assuming Q(t) = Q is fixed,◦ Our algorithm samples essentially the f -MW schedule.

- Actual sampling distribution µ(t) converges to f -MW distribution π.

◦ Hence, throughput-optimal for any increasing f

- For example, f (x) = x ,√

x , log x , log log x , . . . .

However, Q(t) does change.

◦ Our algorithm runs time-varying Glauber dynamics.◦ π = π(t) also changes.

Jinwoo Shin (MIT) An Efficient Randomized Protocol 23 / 32

Page 38: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Why it works?

Our Algorithm ≈ Glauber Dynamics

Assuming Q(t) = Q is fixed,◦ Our algorithm samples essentially the f -MW schedule.

- Actual sampling distribution µ(t) converges to f -MW distribution π.

◦ Hence, throughput-optimal for any increasing f

- For example, f (x) = x ,√

x , log x , log log x , . . . .

However, Q(t) does change.

◦ Our algorithm runs time-varying Glauber dynamics.◦ π = π(t) also changes.◦ Question: µ(t) still converges to π(t)?

Jinwoo Shin (MIT) An Efficient Randomized Protocol 23 / 32

Page 39: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Why it works?

Our Algorithm ≈ Glauber Dynamics

Assuming Q(t) = Q is fixed,◦ Our algorithm samples essentially the f -MW schedule.

- Actual sampling distribution µ(t) converges to f -MW distribution π.

◦ Hence, throughput-optimal for any increasing f

- For example, f (x) = x ,√

x , log x , log log x , . . . .

However, Q(t) does change.

◦ Our algorithm runs time-varying Glauber dynamics.◦ π = π(t) also changes.◦ Question: µ(t) still converges to π(t)?◦ If yes, our algorithm is throughput-optimal!

Jinwoo Shin (MIT) An Efficient Randomized Protocol 23 / 32

Page 40: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Why it works?

Our Algorithm ≈ Time-varying Glauber Dynamics

Question: µ(t) still converges to π(t)?

replacements

µ(0)◦

π(0)◦

Consider π(0) and µ(0) in the space of probability distributions.

Jinwoo Shin (MIT) An Efficient Randomized Protocol 24 / 32

Page 41: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Why it works?

Our Algorithm ≈ Time-varying Glauber Dynamics

Question: µ(t) still converges to π(t)?

µ(0)◦

µ(1)◦

π(0)◦

µ(0) moves toward π(0).

Jinwoo Shin (MIT) An Efficient Randomized Protocol 24 / 32

Page 42: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Why it works?

Our Algorithm ≈ Time-varying Glauber Dynamics

Question: µ(t) still converges to π(t)?

µ(0)◦

µ(1)◦

π(0)◦

π(1)◦

π(0) may runs away.

Jinwoo Shin (MIT) An Efficient Randomized Protocol 24 / 32

Page 43: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Why it works?

Our Algorithm ≈ Time-varying Glauber Dynamics

Question: µ(t) still converges to π(t)?

µ(0)◦

µ(1)◦

µ(2)◦

π(0)◦

π(1)◦

µ(1) moves toward π(1).

Jinwoo Shin (MIT) An Efficient Randomized Protocol 24 / 32

Page 44: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Why it works?

Our Algorithm ≈ Time-varying Glauber Dynamics

Question: µ(t) still converges to π(t)?

µ(0)◦

µ(1)◦

µ(2)◦

π(0)◦

π(1)◦

π(2)◦

π(1) may runs away.

Jinwoo Shin (MIT) An Efficient Randomized Protocol 24 / 32

Page 45: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Why it works?

Our Algorithm ≈ Time-varying Glauber Dynamics

Question: µ(t) still converges to π(t)?

µ(0)◦

µ(1)◦

µ(2)◦

µ(3)◦

π(0)◦

π(1)◦

π(2)◦

π(3)◦

Continue ...

Jinwoo Shin (MIT) An Efficient Randomized Protocol 24 / 32

Page 46: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Why it works?

Our Algorithm ≈ Time-varying Glauber Dynamics

Question: µ(t) still converges to π(t)?

µ(0)◦

µ(1)◦

µ(2)◦

µ(3)◦

π(0)◦

π(1)◦

π(2)◦

π(3)◦

If π(t) moves slower than µ(t),◦ µ(t) eventually catch up π(t)!◦ Need to analyze the speed of π(t) and µ(t).

Jinwoo Shin (MIT) An Efficient Randomized Protocol 24 / 32

Page 47: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Why it works?

Our Algorithm ≈ Time-varying Glauber Dynamics

Speed of π(t)

Q(t) changes at unit rate.

Jinwoo Shin (MIT) An Efficient Randomized Protocol 25 / 32

Page 48: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Why it works?

Our Algorithm ≈ Time-varying Glauber Dynamics

Speed of π(t)

Q(t) changes at unit rate.

∆π(t) ≈ ∆f (Q(t)) = f ′(Q(t)).

Jinwoo Shin (MIT) An Efficient Randomized Protocol 25 / 32

Page 49: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Why it works?

Our Algorithm ≈ Time-varying Glauber Dynamics

Speed of π(t)

Q(t) changes at unit rate.

∆π(t) ≈ ∆f (Q(t)) = f ′(Q(t)).

Speed of µ(t)

The mixing time T of Glauber dynamics determines the speed of µ(t).

Jinwoo Shin (MIT) An Efficient Randomized Protocol 25 / 32

Page 50: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Why it works?

Our Algorithm ≈ Time-varying Glauber Dynamics

Speed of π(t)

Q(t) changes at unit rate.

∆π(t) ≈ ∆f (Q(t)) = f ′(Q(t)).

Speed of µ(t)

The mixing time T of Glauber dynamics determines the speed of µ(t).

∆µ(t) ≈ 1T

≈ 1exp[f (Q(t))] .

Jinwoo Shin (MIT) An Efficient Randomized Protocol 25 / 32

Page 51: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Why it works?

Our Algorithm ≈ Time-varying Glauber Dynamics

Speed of π(t)

Q(t) changes at unit rate.

∆π(t) ≈ ∆f (Q(t)) = f ′(Q(t)).

Speed of µ(t)

The mixing time T of Glauber dynamics determines the speed of µ(t).

∆µ(t) ≈ 1T

≈ 1exp[f (Q(t))] .

Main issue:

∆π(t) ≪ ∆µ(t) ? ⇐⇒ f ′(Q(t)) ≪1

exp[f (Q(t))]?

Jinwoo Shin (MIT) An Efficient Randomized Protocol 25 / 32

Page 52: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Why it works?

Our Algorithm ≈ Time-varying Glauber Dynamics

Want

f ′(Q(t)) ≪1

exp[f (Q(t))].

Try f (x) = x .

-

f ′(Q(t)) = 1 and1

exp[f (Q(t))]=

1

exp[Q(t)].

- No!

Jinwoo Shin (MIT) An Efficient Randomized Protocol 26 / 32

Page 53: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Why it works?

Our Algorithm ≈ Time-varying Glauber Dynamics

Want

f ′(Q(t)) ≪1

exp[f (Q(t))].

Try f (x) = log x .

-

f ′(Q(t)) =1

Q(t)and

1

exp[f (Q(t))]=

1

Q(t).

- Close, but still not enough!

Jinwoo Shin (MIT) An Efficient Randomized Protocol 26 / 32

Page 54: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Why it works?

Our Algorithm ≈ Time-varying Glauber Dynamics

Want

f ′(Q(t)) ≪1

exp[f (Q(t))].

Try f (x) = log log x .

-

f ′(Q(t)) =1

Q(t) log Q(t)and

1

exp[f (Q(t))]=

1

log Q(t).

- Good if Q(t) is large!- Analysis for Throughput optimality only cares the case when Q(t) is

large.

Jinwoo Shin (MIT) An Efficient Randomized Protocol 26 / 32

Page 55: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Why it works?

Throughput-optimality

Theorem

The underlying network Markov process induced by our algorithm⋆ withf (x) = log log x is Positive (Harris) recurrence if λ ∈ Λ.

Jinwoo Shin (MIT) An Efficient Randomized Protocol 27 / 32

Page 56: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Why it works?

Throughput-optimality

Theorem

The underlying network Markov process induced by our algorithm⋆ withf (x) = log log x is Positive (Harris) recurrence if λ ∈ Λ.

Here, ⋆ means a minor modification of the weight f (Qi ) in our algorithm

Using an estimation of Qmax(t) = maxi Qi (t)

◦ Minimal global information◦ For such an estimation,

- Only one-bit message needs to communicate between neighbors pereach time!

Jinwoo Shin (MIT) An Efficient Randomized Protocol 27 / 32

Page 57: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Why it works?

Our Algorithm⋆

Each queue has an independent Exponential clock of rate 1.

When the clock of the queue i ticks at time t,

◦ i checks whether the medium is free◦ If yes,

σi (t+) =

{1 with probability exp[Wi (t)]

1+exp[Wi (t)]

0 otherwise..

◦ Else, do nothing.

Wi(t) = f (Qi (t)).

Jinwoo Shin (MIT) An Efficient Randomized Protocol 28 / 32

Page 58: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Why it works?

Our Algorithm⋆

Each queue has an independent Exponential clock of rate 1.

When the clock of the queue i ticks at time t,

◦ i checks whether the medium is free◦ If yes,

σi (t+) =

{1 with probability exp[Wi (t)]

1+exp[Wi (t)]

0 otherwise..

◦ Else, do nothing.

Wi(t) = max{f (Qi (t)), ε f (Q̂max,i(t))} for small constant ε > 0.

◦ Q̂max,i(t) is an estimation of Qmax(t) at node i and time t.◦ However, we believe that this modification is not necessary.

Jinwoo Shin (MIT) An Efficient Randomized Protocol 28 / 32

Page 59: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Discussions & Summary

Discussion 1 - log log x is the best?

Slower increasing function gives more stability, but higher delay.

Jinwoo Shin (MIT) An Efficient Randomized Protocol 29 / 32

Page 60: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Discussions & Summary

Discussion 2 - Modification is necessary?

Jinwoo Shin (MIT) An Efficient Randomized Protocol 30 / 32

Page 61: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Discussions & Summary

Discussion 2 - Modification is necessary?

CSMA-based algorithm without any information-exchange can bepossible to be throughput-optimal?

Jinwoo Shin (MIT) An Efficient Randomized Protocol 30 / 32

Page 62: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Discussions & Summary

Discussion 2 - Modification is necessary?

CSMA-based algorithm without any information-exchange can bepossible to be throughput-optimal?

- Yes [Jiang, Shah, Shin and Walrand 09]

Jinwoo Shin (MIT) An Efficient Randomized Protocol 30 / 32

Page 63: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Discussions & Summary

Discussion 3 - Without Perfect Carrier Sensing?

Recall PCS Assumption: Each node can sense instantly whether themedium is free.

◦ Collisions cannot occur.

Relax this assumption [Ni and Srikant 09]

◦ Does not assume PCS.◦ Slotted the discrete time into a control slot and a data slot.◦ Exchange control messages for avoiding collisions in a data slot.◦ However, collisions are allowed in a control slot.

Jinwoo Shin (MIT) An Efficient Randomized Protocol 31 / 32

Page 64: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Discussions & Summary

Summary

Contention Resolution◦ Key algorithmic problem in the communication network◦ Requires a simple, distributed and efficient algorithm

We provide such an algorithm◦ Essentially, it is a time-varying ‘Glauber dynamics’.◦ Key is to guarantee µ(t) ≈ π(t).

- We choose the right weight function f (x) = log log x .- We call it Network Adiabatic Theorem.- Our algorithm essentially simulates the f -MW algorithm.

◦ Generic- We consider the wireless network- Our algorithm is extendable to other networks- For example, the optical network [Shah and Shin 09]

◦ Intimate relation between distributed algorithms and reversible networks

Jinwoo Shin (MIT) An Efficient Randomized Protocol 32 / 32

Page 65: An Efficient Randomized Protocol for Contention Resolutionalinlab.kaist.ac.kr/resource/presentation4_sigmetrics.pdf · 2020-04-25 · An Efficient Randomized Protocol for Contention

Discussions & Summary

Summary

Contention Resolution◦ Key algorithmic problem in the communication network◦ Requires a simple, distributed and efficient algorithm

We provide such an algorithm◦ Essentially, it is a time-varying ‘Glauber dynamics’.◦ Key is to guarantee µ(t) ≈ π(t).

- We choose the right weight function f (x) = log log x .- We call it Network Adiabatic Theorem.- Our algorithm essentially simulates the f -MW algorithm.

◦ Generic- We consider the wireless network- Our algorithm is extendable to other networks- For example, the optical network [Shah and Shin 09]

◦ Intimate relation between distributed algorithms and reversible networks

Thank you!

Jinwoo Shin (MIT) An Efficient Randomized Protocol 32 / 32