You are on page 1of 124

Streaming Transmission of Poisson Traffic

Won S. Yoon
wonsyoonalum.mit.edu

ISIT 2008

ISIT 2008 Streaming Transmission of Poisson Traffic – 1 of 29


Outline of Talk

Introduction

Physical Layer ⊲ Introduction: why stream codes?


Network Layer

Discussion

ISIT 2008 Streaming Transmission of Poisson Traffic – 2 of 29


Outline of Talk

Introduction

Physical Layer ⊲ Introduction: why stream codes?


Network Layer

Discussion ⊲ Physical Layer: random coding error exponents.

ISIT 2008 Streaming Transmission of Poisson Traffic – 2 of 29


Outline of Talk

Introduction

Physical Layer ⊲ Introduction: why stream codes?


Network Layer

Discussion ⊲ Physical Layer: random coding error exponents.

⊲ Network Layer: queueing model, delay analysis.

ISIT 2008 Streaming Transmission of Poisson Traffic – 2 of 29


Outline of Talk

Introduction

Physical Layer ⊲ Introduction: why stream codes?


Network Layer

Discussion ⊲ Physical Layer: random coding error exponents.

⊲ Network Layer: queueing model, delay analysis.

⊲ Discussion: stream codes vs. block codes.

ISIT 2008 Streaming Transmission of Poisson Traffic – 2 of 29


Introduction

Physical Layer

Network Layer

Discussion

Introduction

ISIT 2008 Streaming Transmission of Poisson Traffic – 3 of 29


Classical Information Theory

Introduction Traditionally,
Physical Layer
• Assume an infinite backlog of data.
Network Layer
• Try to maximize throughput and minimize error.
Discussion
• Solution: encode a large number of bits into a long codeword.

ISIT 2008 Streaming Transmission of Poisson Traffic – 4 of 29


Classical Information Theory

Introduction Traditionally,
Physical Layer
• Assume an infinite backlog of data.
Network Layer
• Try to maximize throughput and minimize error.
Discussion
• Solution: encode a large number of bits into a long codeword.

However, this does not consider:


1. Delay constraints.
2. Bursty arrivals of data.

ISIT 2008 Streaming Transmission of Poisson Traffic – 4 of 29


What If Data is Bursty?

Introduction Packets arrive every τ slots, deterministically.


Physical Layer

Network Layer

Discussion

ISIT 2008 Streaming Transmission of Poisson Traffic – 5 of 29


What If Data is Bursty?

Introduction Packets arrive every τ slots, deterministically.


Physical Layer
Consider a block code: let d1 = decoding delay for one packet.
Network Layer

Discussion

ISIT 2008 Streaming Transmission of Poisson Traffic – 5 of 29


What If Data is Bursty?

Introduction Packets arrive every τ slots, deterministically.


Physical Layer
Consider a block code: let d1 = decoding delay for one packet.
Network Layer

Discussion • For slow arrivals τ > d1 :

ISIT 2008 Streaming Transmission of Poisson Traffic – 5 of 29


What If Data is Bursty?

Introduction Packets arrive every τ slots, deterministically.


Physical Layer
Consider a block code: let d1 = decoding delay for one packet.
Network Layer

Discussion • For slow arrivals τ > d1 :


– Just encode each packet independently.

τ τ τ τ
d1 d1 d1 d1

ISIT 2008 Streaming Transmission of Poisson Traffic – 5 of 29


What If Data is Bursty?

Introduction Packets arrive every τ slots, deterministically.


Physical Layer
Consider a block code: let d1 = decoding delay for one packet.
Network Layer

Discussion • For slow arrivals τ > d1 :


– Just encode each packet independently.

τ τ τ τ
d1 d1 d1 d1

• For faster arrivals τ < d1 :

ISIT 2008 Streaming Transmission of Poisson Traffic – 5 of 29


What If Data is Bursty?

Introduction Packets arrive every τ slots, deterministically.


Physical Layer
Consider a block code: let d1 = decoding delay for one packet.
Network Layer

Discussion • For slow arrivals τ > d1 :


– Just encode each packet independently.

τ τ τ τ
d1 d1 d1 d1

• For faster arrivals τ < d1 :


– Need to jointly-encode multiple packets per codeword.

τ τ τ τ τ τ τ τ
d3 d3

ISIT 2008 Streaming Transmission of Poisson Traffic – 5 of 29


What If Data is Bursty?

Introduction Packets arrive every τ slots, deterministically.


Physical Layer
Consider a block code: let d1 = decoding delay for one packet.
Network Layer

Discussion • For slow arrivals τ > d1 :


– Just encode each packet independently.

τ τ τ τ
d1 d1 d1 d1

• For faster arrivals τ < d1 :


– Need to jointly-encode multiple packets per codeword.

τ τ τ τ τ τ τ τ
d3 d3

– Faster arrivals → longer codewords → larger delays.

ISIT 2008 Streaming Transmission of Poisson Traffic – 5 of 29


A Cross-Layer Perspective

Introduction Fundamental tradeoff between physical layer and network layer:


Physical Layer
For a fixed error probability:
Network Layer

Discussion

ISIT 2008 Streaming Transmission of Poisson Traffic – 6 of 29


A Cross-Layer Perspective

Introduction Fundamental tradeoff between physical layer and network layer:


Physical Layer
For a fixed error probability:
Network Layer

Discussion • Information theory: aggregation is good.


– Long codewords → increase throughput.

ISIT 2008 Streaming Transmission of Poisson Traffic – 6 of 29


A Cross-Layer Perspective

Introduction Fundamental tradeoff between physical layer and network layer:


Physical Layer
For a fixed error probability:
Network Layer

Discussion • Information theory: aggregation is good.


– Long codewords → increase throughput.

• Queueing theory: aggregation is bad.


– Small chunks of data → reduce delay.

ISIT 2008 Streaming Transmission of Poisson Traffic – 6 of 29


A Cross-Layer Perspective

Introduction Fundamental tradeoff between physical layer and network layer:


Physical Layer
For a fixed error probability:
Network Layer

Discussion • Information theory: aggregation is good.


– Long codewords → increase throughput.

• Queueing theory: aggregation is bad.


– Small chunks of data → reduce delay.

Objective: minimize delay for fixed throughput.

ISIT 2008 Streaming Transmission of Poisson Traffic – 6 of 29


Disadvantages of Block Coding

Introduction For large throughput, need to jointly-encode many packets.


Physical Layer

Network Layer

Discussion

ISIT 2008 Streaming Transmission of Poisson Traffic – 7 of 29


Disadvantages of Block Coding

Introduction For large throughput, need to jointly-encode many packets.


Physical Layer
• Long codewords → increase both queueing (encoding) delay
Network Layer
and transmission (decoding) delay.
Discussion

τ τ τ τ τ τ τ τ
d3 d3

ISIT 2008 Streaming Transmission of Poisson Traffic – 7 of 29


Disadvantages of Block Coding

Introduction For large throughput, need to jointly-encode many packets.


Physical Layer
• Long codewords → increase both queueing (encoding) delay
Network Layer
and transmission (decoding) delay.
Discussion

τ τ τ τ τ τ τ τ
d3 d3

Idea: relax the block-coding constraint

ISIT 2008 Streaming Transmission of Poisson Traffic – 7 of 29


Disadvantages of Block Coding

Introduction For large throughput, need to jointly-encode many packets.


Physical Layer
• Long codewords → increase both queueing (encoding) delay
Network Layer
and transmission (decoding) delay.
Discussion

τ τ τ τ τ τ τ τ
d3 d3

Idea: relax the block-coding constraint → stream codes.

ISIT 2008 Streaming Transmission of Poisson Traffic – 7 of 29


Disadvantages of Block Coding

Introduction For large throughput, need to jointly-encode many packets.


Physical Layer
• Long codewords → increase both queueing (encoding) delay
Network Layer
and transmission (decoding) delay.
Discussion

τ τ τ τ τ τ τ τ
d3 d3

Idea: relax the block-coding constraint → stream codes.

• Encode/decode in a continuous stream.


– Generalizes block codes: performs at least as well.

ISIT 2008 Streaming Transmission of Poisson Traffic – 7 of 29


Disadvantages of Block Coding

Introduction For large throughput, need to jointly-encode many packets.


Physical Layer
• Long codewords → increase both queueing (encoding) delay
Network Layer
and transmission (decoding) delay.
Discussion

τ τ τ τ τ τ τ τ
d3 d3

Idea: relax the block-coding constraint → stream codes.

• Encode/decode in a continuous stream.


– Generalizes block codes: performs at least as well.
– Can streaming do strictly better?

ISIT 2008 Streaming Transmission of Poisson Traffic – 7 of 29


Rate-Adaptive Stream Coding

Introduction Rate control: adapt the rate of packets encoded into the stream.
Physical Layer

Network Layer Fundamental tradeoff:


Discussion • Faster encoding → less queueing, longer transmission.

ISIT 2008 Streaming Transmission of Poisson Traffic – 8 of 29


Rate-Adaptive Stream Coding

Introduction Rate control: adapt the rate of packets encoded into the stream.
Physical Layer

Network Layer Fundamental tradeoff:


Discussion • Faster encoding → less queueing, longer transmission.
– Analogy: network admission control.

ISIT 2008 Streaming Transmission of Poisson Traffic – 8 of 29


Rate-Adaptive Stream Coding

Introduction Rate control: adapt the rate of packets encoded into the stream.
Physical Layer

Network Layer Fundamental tradeoff:


Discussion • Faster encoding → less queueing, longer transmission.
– Analogy: network admission control.

End-point solutions:
1. Admit one packet at a time (patient): per-packet block code.
2. Admit all packets at once (greedy): maximally-joint block code.

ISIT 2008 Streaming Transmission of Poisson Traffic – 8 of 29


Rate-Adaptive Stream Coding

Introduction Rate control: adapt the rate of packets encoded into the stream.
Physical Layer

Network Layer Fundamental tradeoff:


Discussion • Faster encoding → less queueing, longer transmission.
– Analogy: network admission control.

End-point solutions:
1. Admit one packet at a time (patient): per-packet block code.
2. Admit all packets at once (greedy): maximally-joint block code.

Streaming achieves the continuum of solutions in-between.

ISIT 2008 Streaming Transmission of Poisson Traffic – 8 of 29


Problem Formulation

Introduction

Physical Layer Transmitter

Network Layer
Rate Encoder Channel Decoder
ctrl
Discussion queue
data
packets

• Data packets arrive randomly, queued at the transmitter.

ISIT 2008 Streaming Transmission of Poisson Traffic – 9 of 29


Problem Formulation

Introduction

Physical Layer Transmitter

Network Layer
Rate Encoder Channel Decoder
ctrl
Discussion queue
data
packets

• Data packets arrive randomly, queued at the transmitter.


• Design the rate control: number of packets encoded per slot.

ISIT 2008 Streaming Transmission of Poisson Traffic – 9 of 29


Problem Formulation

Introduction

Physical Layer Transmitter

Network Layer
Rate Encoder Channel Decoder
ctrl
Discussion queue
data
packets

• Data packets arrive randomly, queued at the transmitter.


• Design the rate control: number of packets encoded per slot.
• Objective: minimize delay for fixed error and throughput.
– Delay is measured end-to-end (queueing + transmission).

ISIT 2008 Streaming Transmission of Poisson Traffic – 9 of 29


Previous Work

Introduction Studies of adaptive code rate for bursty delay-constrained data.


Physical Layer

Network Layer • Block codes


Discussion

ISIT 2008 Streaming Transmission of Poisson Traffic – 10 of 29


Previous Work

Introduction Studies of adaptive code rate for bursty delay-constrained data.


Physical Layer

Network Layer • Block codes


Discussion – In queueing literature: this is known as batch service.

ISIT 2008 Streaming Transmission of Poisson Traffic – 10 of 29


Previous Work

Introduction Studies of adaptive code rate for bursty delay-constrained data.


Physical Layer

Network Layer • Block codes


Discussion – In queueing literature: this is known as batch service.
– Information-theoretic view: [MusyTelatar06℄ studied rate
control for single-batch and Poisson arrivals.

ISIT 2008 Streaming Transmission of Poisson Traffic – 10 of 29


Previous Work

Introduction Studies of adaptive code rate for bursty delay-constrained data.


Physical Layer

Network Layer • Block codes


Discussion – In queueing literature: this is known as batch service.
– Information-theoretic view: [MusyTelatar06℄ studied rate
control for single-batch and Poisson arrivals.

• Stream codes

ISIT 2008 Streaming Transmission of Poisson Traffic – 10 of 29


Previous Work

Introduction Studies of adaptive code rate for bursty delay-constrained data.


Physical Layer

Network Layer • Block codes


Discussion – In queueing literature: this is known as batch service.
– Information-theoretic view: [MusyTelatar06℄ studied rate
control for single-batch and Poisson arrivals.

• Stream codes
– Information-theoretic view: coding and error exponents.

ISIT 2008 Streaming Transmission of Poisson Traffic – 10 of 29


Previous Work

Introduction Studies of adaptive code rate for bursty delay-constrained data.


Physical Layer

Network Layer • Block codes


Discussion – In queueing literature: this is known as batch service.
– Information-theoretic view: [MusyTelatar06℄ studied rate
control for single-batch and Poisson arrivals.

• Stream codes
– Information-theoretic view: coding and error exponents.
– No known studies of delay for bursty data.

ISIT 2008 Streaming Transmission of Poisson Traffic – 10 of 29


Previous Work

Introduction Studies of adaptive code rate for bursty delay-constrained data.


Physical Layer

Network Layer • Block codes


Discussion – In queueing literature: this is known as batch service.
– Information-theoretic view: [MusyTelatar06℄ studied rate
control for single-batch and Poisson arrivals.

• Stream codes
– Information-theoretic view: coding and error exponents.
– No known studies of delay for bursty data.

Relevant but not related:


• Rateless codes / RCPCs: variable decoding, block encoding.
• Streaming turbo codes: a practical implementation?

ISIT 2008 Streaming Transmission of Poisson Traffic – 10 of 29


Preview of Our Analysis

Introduction Two-step analysis:


Physical Layer

Network Layer

Discussion

ISIT 2008 Streaming Transmission of Poisson Traffic – 11 of 29


Preview of Our Analysis

Introduction Two-step analysis:


Physical Layer

Network Layer
1. Physical layer: random-coding error exponents.
Discussion

ISIT 2008 Streaming Transmission of Poisson Traffic – 11 of 29


Preview of Our Analysis

Introduction Two-step analysis:


Physical Layer

Network Layer
1. Physical layer: random-coding error exponents.
Discussion
2. Network layer: queueing model, end-to-end delay.

ISIT 2008 Streaming Transmission of Poisson Traffic – 11 of 29


Introduction

Physical Layer

Network Layer

Discussion

Physical Layer

ISIT 2008 Streaming Transmission of Poisson Traffic – 12 of 29


The Encoder

Introduction Rate-adaptive convolutional shift-register.


Physical Layer

Network Layer

Discussion

ISIT 2008 Streaming Transmission of Poisson Traffic – 13 of 29


The Encoder

Introduction Rate-adaptive convolutional shift-register.


Physical Layer
In time slot t,
Network Layer

Discussion

ISIT 2008 Streaming Transmission of Poisson Traffic – 13 of 29


The Encoder

Introduction Rate-adaptive convolutional shift-register.


Physical Layer
In time slot t,
Network Layer

Discussion
• Slide the next packet into register as message Ut .
– If no packet, encode null symbol (known at receiver).

ISIT 2008 Streaming Transmission of Poisson Traffic – 13 of 29


The Encoder

Introduction Rate-adaptive convolutional shift-register.


Physical Layer
In time slot t,
Network Layer

Discussion
• Slide the next packet into register as message Ut .
– If no packet, encode null symbol (known at receiver).

• Encode the entire contents of register into a channel symbol,


Xt = f (U1 , . . . , Ut ).

ISIT 2008 Streaming Transmission of Poisson Traffic – 13 of 29


The Encoder

Introduction Rate-adaptive convolutional shift-register.


Physical Layer
In time slot t,
Network Layer

Discussion
• Slide the next packet into register as message Ut .
– If no packet, encode null symbol (known at receiver).

• Encode the entire contents of register into a channel symbol,


Xt = f (U1 , . . . , Ut ).

Code tree representation:

ISIT 2008 Streaming Transmission of Poisson Traffic – 13 of 29


Dynamics of the Tree

Introduction Tree grows at a time-varying rate depending on the rate control.


Physical Layer

Network Layer
N(t)
Discussion

ISIT 2008 Streaming Transmission of Poisson Traffic – 14 of 29


Dynamics of the Tree

Introduction Tree grows at a time-varying rate depending on the rate control.


Physical Layer

Network Layer
N(t)
Discussion

• Faster rate control, faster tree growth.

ISIT 2008 Streaming Transmission of Poisson Traffic – 14 of 29


Dynamics of the Tree

Introduction Tree grows at a time-varying rate depending on the rate control.


Physical Layer

Network Layer
N(t)
Discussion

• Faster rate control, faster tree growth.


• If queue is empty, erase code memory and re-initialize tree.

ISIT 2008 Streaming Transmission of Poisson Traffic – 14 of 29


Dynamics of the Tree

Introduction Tree grows at a time-varying rate depending on the rate control.


Physical Layer

Network Layer
N(t)
Discussion

• Faster rate control, faster tree growth.


• If queue is empty, erase code memory and re-initialize tree.
• Tree has alternating cycles of “busy” and “idle” periods.

ISIT 2008 Streaming Transmission of Poisson Traffic – 14 of 29


Dynamics of the Tree

Introduction Tree grows at a time-varying rate depending on the rate control.


Physical Layer

Network Layer
N(t)
Discussion

• Faster rate control, faster tree growth.


• If queue is empty, erase code memory and re-initialize tree.
• Tree has alternating cycles of “busy” and “idle” periods.

Required memory ∼ number of packets in a busy period.


• This is guaranteed to be finite as long as the system is stable.

ISIT 2008 Streaming Transmission of Poisson Traffic – 14 of 29


The Decoder

Introduction At time t, MAP-decode all packets in parallel: (Û1 , . . . , Ût )


Physical Layer

Network Layer

Discussion

ISIT 2008 Streaming Transmission of Poisson Traffic – 15 of 29


The Decoder

Introduction At time t, MAP-decode all packets in parallel: (Û1 , . . . , Ût )


Physical Layer

Network Layer • Observe new channel output Yt = Xt + Nt .


Discussion

ISIT 2008 Streaming Transmission of Poisson Traffic – 15 of 29


The Decoder

Introduction At time t, MAP-decode all packets in parallel: (Û1 , . . . , Ût )


Physical Layer

Network Layer • Observe new channel output Yt = Xt + Nt .


Discussion
• Decode stage t − d using the entire history, (Y1 , . . . , Yt )

ISIT 2008 Streaming Transmission of Poisson Traffic – 15 of 29


The Decoder

Introduction At time t, MAP-decode all packets in parallel: (Û1 , . . . , Ût )


Physical Layer

Network Layer • Observe new channel output Yt = Xt + Nt .


Discussion
• Decode stage t − d using the entire history, (Y1 , . . . , Yt )
• Define MAP probability of packet t − d as

Λ(y1t ) = max Pr(Xt−d = x|Y1t = y1t )


x

ISIT 2008 Streaming Transmission of Poisson Traffic – 15 of 29


The Decoder

Introduction At time t, MAP-decode all packets in parallel: (Û1 , . . . , Ût )


Physical Layer

Network Layer • Observe new channel output Yt = Xt + Nt .


Discussion
• Decode stage t − d using the entire history, (Y1 , . . . , Yt )
• Define MAP probability of packet t − d as

Λ(y1t ) = max Pr(Xt−d = x|Y1t = y1t )


x

– Proportional to sum likelihoods for paths sharing branch t−d:


X X
Λ(y1t ) ∼ max ··· Pr(Y1t = y1t |X1t = xt1 )
xt−d
x1 /xt−d xt

ISIT 2008 Streaming Transmission of Poisson Traffic – 15 of 29


The Decoder

Introduction At time t, MAP-decode all packets in parallel: (Û1 , . . . , Ût )


Physical Layer

Network Layer • Observe new channel output Yt = Xt + Nt .


Discussion
• Decode stage t − d using the entire history, (Y1 , . . . , Yt )
• Define MAP probability of packet t − d as

Λ(y1t ) = max Pr(Xt−d = x|Y1t = y1t )


x

– Proportional to sum likelihoods for paths sharing branch t−d:


X X
Λ(y1t ) ∼ max ··· Pr(Y1t = y1t |X1t = xt1 )
xt−d
x1 /xt−d xt

• MAP ⇐⇒ maximize aggregate likelihoods.

ISIT 2008 Streaming Transmission of Poisson Traffic – 15 of 29


The Decoding Algorithm

Introduction • Decode packet t − d by comparing groups of trees.


Physical Layer T
Network Layer Ut 1 0 1 1 0 0 1
t
Discussion
0

subtrees
0 with correct
time-T bit.
1

ISIT 2008 Streaming Transmission of Poisson Traffic – 16 of 29


The Decoding Algorithm

Introduction • Decode packet t − d by comparing groups of trees.


Physical Layer T
Network Layer Ut 1 0 1 1 0 0 1
t
Discussion
0

subtrees
0 with correct
time-T bit.
1

• Select the group with maximum aggregate likelihood.

ISIT 2008 Streaming Transmission of Poisson Traffic – 16 of 29


The Decoding Algorithm

Introduction • Decode packet t − d by comparing groups of trees.


Physical Layer T
Network Layer Ut 1 0 1 1 0 0 1
t
Discussion
0

subtrees
0 with correct
time-T bit.
1

• Select the group with maximum aggregate likelihood.


• Do this for all packets: decode in parallel.
– Packets may depart out-of-order.

ISIT 2008 Streaming Transmission of Poisson Traffic – 16 of 29


Sequential Decoding

Introduction What if we use sequential decoding (e.g., the Fano algorithm)?


Physical Layer

Network Layer

Discussion

ISIT 2008 Streaming Transmission of Poisson Traffic – 17 of 29


Sequential Decoding

Introduction What if we use sequential decoding (e.g., the Fano algorithm)?


Physical Layer
• Find the best path in an iterative manner.
Network Layer

Discussion

ISIT 2008 Streaming Transmission of Poisson Traffic – 17 of 29


Sequential Decoding

Introduction What if we use sequential decoding (e.g., the Fano algorithm)?


Physical Layer
• Find the best path in an iterative manner.
Network Layer
– Limited by reliability of first stage: first-in-first-out.
Discussion

– “Slow-truck” effect: large burst slows down smaller ones.

ISIT 2008 Streaming Transmission of Poisson Traffic – 17 of 29


Sequential Decoding

Introduction What if we use sequential decoding (e.g., the Fano algorithm)?


Physical Layer
• Find the best path in an iterative manner.
Network Layer
– Limited by reliability of first stage: first-in-first-out.
Discussion

– “Slow-truck” effect: large burst slows down smaller ones.

⇒ In general, sequential has larger delay than MAP.

ISIT 2008 Streaming Transmission of Poisson Traffic – 17 of 29


Sequential Decoding

Introduction What if we use sequential decoding (e.g., the Fano algorithm)?


Physical Layer
• Find the best path in an iterative manner.
Network Layer
– Limited by reliability of first stage: first-in-first-out.
Discussion

– “Slow-truck” effect: large burst slows down smaller ones.

⇒ In general, sequential has larger delay than MAP.


• If rate control is binary (same burst sizes): MAP is also serial,
same error-delay performance as sequential.

ISIT 2008 Streaming Transmission of Poisson Traffic – 17 of 29


Sequential Decoding

Introduction What if we use sequential decoding (e.g., the Fano algorithm)?


Physical Layer
• Find the best path in an iterative manner.
Network Layer
– Limited by reliability of first stage: first-in-first-out.
Discussion

– “Slow-truck” effect: large burst slows down smaller ones.

⇒ In general, sequential has larger delay than MAP.


• If rate control is binary (same burst sizes): MAP is also serial,
same error-delay performance as sequential.

Quantify this error-delay performance.

ISIT 2008 Streaming Transmission of Poisson Traffic – 17 of 29


Error Exponents: A Brief Review

Introduction • Block Codes:


Physical Layer

Network Layer

Discussion

ISIT 2008 Streaming Transmission of Poisson Traffic – 18 of 29


Error Exponents: A Brief Review

Introduction • Block Codes:


Physical Layer
– Random coding bound: decoding m bits after a delay d,
Network Layer

Discussion

ISIT 2008 Streaming Transmission of Poisson Traffic – 18 of 29


Error Exponents: A Brief Review

Introduction • Block Codes:


Physical Layer
– Random coding bound: decoding m bits after a delay d,
Network Layer
Pe ≤ βe−dEr ( d )
m
Discussion

Er (R) is Gallager’s block RCE, maxρ∈(0,∞) [E0 (ρ) − Rρ].

ISIT 2008 Streaming Transmission of Poisson Traffic – 18 of 29


Error Exponents: A Brief Review

Introduction • Block Codes:


Physical Layer
– Random coding bound: decoding m bits after a delay d,
Network Layer
Pe ≤ βe−dEr ( d )
m
Discussion

Er (R) is Gallager’s block RCE, maxρ∈(0,∞) [E0 (ρ) − Rρ].

– To achieve Pe ≤ ǫ, need large enough delay d.


⊲ For AWGN channel with average power constraint:
mρ m
dm ≥ log ǫ + = σ+ (setup cost + workload)
E0 µ

ISIT 2008 Streaming Transmission of Poisson Traffic – 18 of 29


Error Exponents: A Brief Review

Introduction • Block Codes:


Physical Layer
– Random coding bound: decoding m bits after a delay d,
Network Layer
Pe ≤ βe−dEr ( d )
m
Discussion

Er (R) is Gallager’s block RCE, maxρ∈(0,∞) [E0 (ρ) − Rρ].

– To achieve Pe ≤ ǫ, need large enough delay d.


⊲ For AWGN channel with average power constraint:
mρ m
dm ≥ log ǫ + = σ+ (setup cost + workload)
E0 µ

• Stream Codes:

ISIT 2008 Streaming Transmission of Poisson Traffic – 18 of 29


Error Exponents: A Brief Review

Introduction • Block Codes:


Physical Layer
– Random coding bound: decoding m bits after a delay d,
Network Layer
Pe ≤ βe−dEr ( d )
m
Discussion

Er (R) is Gallager’s block RCE, maxρ∈(0,∞) [E0 (ρ) − Rρ].

– To achieve Pe ≤ ǫ, need large enough delay d.


⊲ For AWGN channel with average power constraint:
mρ m
dm ≥ log ǫ + = σ+ (setup cost + workload)
E0 µ

• Stream Codes:
– For ML [Forney74℄ and sequential [Jelinek74,Anderson92℄
fixed-rate decoding, the block-coding RCE applies.
– What about for per-packet MAP decoding?

ISIT 2008 Streaming Transmission of Poisson Traffic – 18 of 29


Error Exponents: Stream Codes

Introduction

Physical Layer
For MAP decoding of stage t after delay d:
Network Layer "N #
Xt
Discussion
Pe,t,d ≤ e−dj E0 (ρ)+jmρ e−dE0 (ρ)+(1+Nd )mρ
k=0

ISIT 2008 Streaming Transmission of Poisson Traffic – 19 of 29


Error Exponents: Stream Codes

Introduction

Physical Layer
For MAP decoding of stage t after delay d:
Network Layer "N #
Xt
Discussion
Pe,t,d ≤ e−dj E0 (ρ)+jmρ e−dE0 (ρ)+(1+Nd )mρ
k=0

• Nt packets encoded in the past [0, t).


• Nd packets encoded in the future [t, t + d].
• dj : backwards delay to j -th previous packet.

Nt Nd

0 t t+d

ISIT 2008 Streaming Transmission of Poisson Traffic – 19 of 29


Streaming Decoding Delay

Introduction • For reliable transmission over an AWGN channel:


Physical Layer PNt −dj E0 +jmρ
1
 
Network Layer
log ǫ + mρ + log j=0 e
d ≥
Discussion E0 − λmρ

ISIT 2008 Streaming Transmission of Poisson Traffic – 20 of 29


Streaming Decoding Delay

Introduction • For reliable transmission over an AWGN channel:


Physical Layer PNt −dj E0 +jmρ
1
 
Network Layer
log ǫ + mρ + log j=0 e
d ≥
Discussion E0 − λmρ

1. First term: workload of a single packet.

ISIT 2008 Streaming Transmission of Poisson Traffic – 20 of 29


Streaming Decoding Delay

Introduction • For reliable transmission over an AWGN channel:


Physical Layer PNt −dj E0 +jmρ
1
 
Network Layer
log ǫ + mρ + log j=0 e
d ≥
Discussion E0 − λmρ

1. First term: workload of a single packet.


2. Second term: workload due to the past.

ISIT 2008 Streaming Transmission of Poisson Traffic – 20 of 29


Streaming Decoding Delay

Introduction • For reliable transmission over an AWGN channel:


Physical Layer PNt −dj E0 +jmρ
1
 
Network Layer
log ǫ + mρ + log j=0 e
d ≥
Discussion E0 − λmρ

1. First term: workload of a single packet.


2. Second term: workload due to the past.
3. Denominator: effect of the future.

ISIT 2008 Streaming Transmission of Poisson Traffic – 20 of 29


Streaming Decoding Delay

Introduction • For reliable transmission over an AWGN channel:


Physical Layer PNt −dj E0 +jmρ
1
 
Network Layer
log ǫ + mρ + log j=0 e
d ≥
Discussion E0 − λmρ

1. First term: workload of a single packet.


2. Second term: workload due to the past.
3. Denominator: effect of the future.

• Simplified reliability condition:


h i
σ + µ + wpast (dN
1
1 )
t

d ≥ λ
1− µ

E0 1 1
– µ= mρ and σ = E0 log ǫ
PNt
– wpast = log j=0 e−dj E0 +jmρ

ISIT 2008 Streaming Transmission of Poisson Traffic – 20 of 29


Introduction

Physical Layer

Network Layer

Discussion

Network Layer

ISIT 2008 Streaming Transmission of Poisson Traffic – 21 of 29


Queueing Model

Introduction Parallel-service model:


Physical Layer

Network Layer

Discussion

ISIT 2008 Streaming Transmission of Poisson Traffic – 22 of 29


Queueing Model

Introduction Parallel-service model:


Physical Layer

Network Layer 1. A new packet enters service.


Discussion

ISIT 2008 Streaming Transmission of Poisson Traffic – 22 of 29


Queueing Model

Introduction Parallel-service model:


Physical Layer

Network Layer 1. A new packet enters service.


Discussion – Its workload is increased by past packets.

ISIT 2008 Streaming Transmission of Poisson Traffic – 22 of 29


Queueing Model

Introduction Parallel-service model:


Physical Layer

Network Layer 1. A new packet enters service.


Discussion – Its workload is increased by past packets.
– In turn, it increases the workload for past packets.

ISIT 2008 Streaming Transmission of Poisson Traffic – 22 of 29


Queueing Model

Introduction Parallel-service model:


Physical Layer

Network Layer 1. A new packet enters service.


Discussion – Its workload is increased by past packets.
– In turn, it increases the workload for past packets.

2. Every packet receives one unit of service per slot.

ISIT 2008 Streaming Transmission of Poisson Traffic – 22 of 29


Queueing Model

Introduction Parallel-service model:


Physical Layer

Network Layer 1. A new packet enters service.


Discussion – Its workload is increased by past packets.
– In turn, it increases the workload for past packets.

2. Every packet receives one unit of service per slot.

Appears similar to processor-sharing, but two key differences:

ISIT 2008 Streaming Transmission of Poisson Traffic – 22 of 29


Queueing Model

Introduction Parallel-service model:


Physical Layer

Network Layer 1. A new packet enters service.


Discussion – Its workload is increased by past packets.
– In turn, it increases the workload for past packets.

2. Every packet receives one unit of service per slot.

Appears similar to processor-sharing, but two key differences:


– Future data impose more workload than past data.

ISIT 2008 Streaming Transmission of Poisson Traffic – 22 of 29


Queueing Model

Introduction Parallel-service model:


Physical Layer

Network Layer 1. A new packet enters service.


Discussion – Its workload is increased by past packets.
– In turn, it increases the workload for past packets.

2. Every packet receives one unit of service per slot.

Appears similar to processor-sharing, but two key differences:


– Future data impose more workload than past data.
– Aggregate workload is sub-additive (joint coding efficiency).

ISIT 2008 Streaming Transmission of Poisson Traffic – 22 of 29


Queueing Model

Introduction

Physical Layer

Network Layer

Discussion

ISIT 2008 Streaming Transmission of Poisson Traffic – 23 of 29


Queueing Model

Introduction

Physical Layer

Network Layer

Discussion

ISIT 2008 Streaming Transmission of Poisson Traffic – 23 of 29


Queueing Model

Introduction

Physical Layer

Network Layer

Discussion

ISIT 2008 Streaming Transmission of Poisson Traffic – 23 of 29


The Effect of the Past

1
Introduction The future is simple: each packet imposes another µ workload.
Physical Layer

Network Layer

Discussion

ISIT 2008 Streaming Transmission of Poisson Traffic – 24 of 29


The Effect of the Past

1
Introduction The future is simple: each packet imposes another µ workload.
Physical Layer
However, the delay due to the past is more complicated:
Network Layer

Discussion
h P i
1 Nt −dj E0 +jmρ
past mρ E log j=0 e
Dstream =
µ−λ

ISIT 2008 Streaming Transmission of Poisson Traffic – 24 of 29


The Effect of the Past

1
Introduction The future is simple: each packet imposes another µ workload.
Physical Layer
However, the delay due to the past is more complicated:
Network Layer

Discussion
h P i
1 Nt −dj E0 +jmρ
past mρ E log j=0 e
Dstream =
µ−λ

Bounds:
 
  N
X
E max Sj ≤ E log eSj 
0≤j≤N
j=0

ISIT 2008 Streaming Transmission of Poisson Traffic – 24 of 29


The Effect of the Past

1
Introduction The future is simple: each packet imposes another µ workload.
Physical Layer
However, the delay due to the past is more complicated:
Network Layer

Discussion
h P i
1 Nt −dj E0 +jmρ
past mρ E log j=0 e
Dstream =
µ−λ

Bounds:
    
  N
X  XN 
E max Sj ≤ E log eSj  ≤ log E  eSj 
0≤j≤N  
j=0 j=0

ISIT 2008 Streaming Transmission of Poisson Traffic – 24 of 29


The Effect of the Past

1
Introduction The future is simple: each packet imposes another µ workload.
Physical Layer
However, the delay due to the past is more complicated:
Network Layer

Discussion
h P i
1 Nt −dj E0 +jmρ
past mρ E log j=0 e
Dstream =
µ−λ

Bounds:
    
  N
X  XN 
E max Sj ≤ E log eSj  ≤ log E  eSj 
0≤j≤N  
j=0 j=0

• Sj is a backwards random walk with steps ∆i = (−τi + µ1 ).

ISIT 2008 Streaming Transmission of Poisson Traffic – 24 of 29


The Effect of the Past

1
Introduction The future is simple: each packet imposes another µ workload.
Physical Layer
However, the delay due to the past is more complicated:
Network Layer

Discussion
h P i
1 Nt −dj E0 +jmρ
past mρ E log j=0 e
Dstream =
µ−λ

Bounds:
    
  N
X  XN 
E max Sj ≤ E log eSj  ≤ log E  eSj 
0≤j≤N  
j=0 j=0

• Sj is a backwards random walk with steps ∆i = (−τi + µ1 ).

– Note: similar to random walk in G/G/1 queueing delay:


 
queue 1
DG/G/1 = max Sj′ ′
with ∆j = −τi + σ +
0≤j≤n µ

ISIT 2008 Streaming Transmission of Poisson Traffic – 24 of 29


Case I: Deterministic Arrivals

Introduction Assume that packets arrive once every 1/λ.


Physical Layer

Network Layer

Discussion

ISIT 2008 Streaming Transmission of Poisson Traffic – 25 of 29


Case I: Deterministic Arrivals

Introduction Assume that packets arrive once every 1/λ.


Physical Layer

Network Layer Optimal streaming policy: encode immediately upon arrival.


Discussion
1
For λ < d1 :

ISIT 2008 Streaming Transmission of Poisson Traffic – 25 of 29


Case I: Deterministic Arrivals

Introduction Assume that packets arrive once every 1/λ.


Physical Layer

Network Layer Optimal streaming policy: encode immediately upon arrival.


Discussion
1 ∗ 1
For λ < d1 : Dstream = σ+ µ

ISIT 2008 Streaming Transmission of Poisson Traffic – 25 of 29


Case I: Deterministic Arrivals

Introduction Assume that packets arrive once every 1/λ.


Physical Layer

Network Layer Optimal streaming policy: encode immediately upon arrival.


Discussion
1 ∗ 1 ∗
For λ < d1 : Dstream = σ+ µ = Dblock

ISIT 2008 Streaming Transmission of Poisson Traffic – 25 of 29


Case I: Deterministic Arrivals

Introduction Assume that packets arrive once every 1/λ.


Physical Layer

Network Layer Optimal streaming policy: encode immediately upon arrival.


Discussion
1 ∗ 1 ∗
For λ < d1 : Dstream = σ+ µ = Dblock
1
For λ > d1 :

ISIT 2008 Streaming Transmission of Poisson Traffic – 25 of 29


Case I: Deterministic Arrivals

Introduction Assume that packets arrive once every 1/λ.


Physical Layer

Network Layer Optimal streaming policy: encode immediately upon arrival.


Discussion
1 ∗ 1 ∗
For λ < d1 : Dstream = σ+ µ = Dblock
1
For λ > d1 : σµ + 1

Dstream =
µ−λ

ISIT 2008 Streaming Transmission of Poisson Traffic – 25 of 29


Case I: Deterministic Arrivals

Introduction Assume that packets arrive once every 1/λ.


Physical Layer

Network Layer Optimal streaming policy: encode immediately upon arrival.


Discussion
1 ∗ 1 ∗
For λ < d1 : Dstream = σ+ µ = Dblock
1
For λ > d1 : σµ + 1
1
log 1
∗ mρ 1−β
Dstream = +
µ−λ µ−λ

ISIT 2008 Streaming Transmission of Poisson Traffic – 25 of 29


Case I: Deterministic Arrivals

Introduction Assume that packets arrive once every 1/λ.


Physical Layer

Network Layer Optimal streaming policy: encode immediately upon arrival.


Discussion
1 ∗ 1 ∗
For λ < d1 : Dstream = σ+ µ = Dblock
1
For λ > d1 : σµ + 1
1
log 1
∗ mρ 1−β
Dstream = +
µ−λ µ−λ

1
Compare with block codes in the regime λ > d1 :

ISIT 2008 Streaming Transmission of Poisson Traffic – 25 of 29


Case I: Deterministic Arrivals

Introduction Assume that packets arrive once every 1/λ.


Physical Layer

Network Layer Optimal streaming policy: encode immediately upon arrival.


Discussion
1 ∗ 1 ∗
For λ < d1 : Dstream = σ+ µ = Dblock
1
For λ > d1 : σµ + 1
1
log 1
∗ mρ 1−β
Dstream = +
µ−λ µ−λ

1
Compare with block codes in the regime λ > d1 :

∗ σµ + 1
Dblock =
µ−λ

ISIT 2008 Streaming Transmission of Poisson Traffic – 25 of 29


Case I: Deterministic Arrivals

Introduction Assume that packets arrive once every 1/λ.


Physical Layer

Network Layer Optimal streaming policy: encode immediately upon arrival.


Discussion
1 ∗ 1 ∗
For λ < d1 : Dstream = σ+ µ = Dblock
1
For λ > d1 : σµ + 1
1
log 1
∗ mρ 1−β
Dstream = +
µ−λ µ−λ

1
Compare with block codes in the regime λ > d1 :

∗ σµ + 1 1 σµ + 1
Dblock = +
µ−λ 2 µ−λ

ISIT 2008 Streaming Transmission of Poisson Traffic – 25 of 29


Case I: Deterministic Arrivals

Introduction Assume that packets arrive once every 1/λ.


Physical Layer

Network Layer Optimal streaming policy: encode immediately upon arrival.


Discussion
1 ∗ 1 ∗
For λ < d1 : Dstream = σ+ µ = Dblock
1
For λ > d1 : σµ + 1
1
log 1
∗ mρ 1−β
Dstream = +
µ−λ µ−λ

1
Compare with block codes in the regime λ > d1 :

∗ σµ + 1 1 σµ + 1
Dblock = +
µ−λ 2 µ−λ
• Comparing the second terms (delay due to the past),

ISIT 2008 Streaming Transmission of Poisson Traffic – 25 of 29


Case I: Deterministic Arrivals

Introduction Assume that packets arrive once every 1/λ.


Physical Layer

Network Layer Optimal streaming policy: encode immediately upon arrival.


Discussion
1 ∗ 1 ∗
For λ < d1 : Dstream = σ+ µ = Dblock
1
For λ > d1 : σµ + 1
1
log 1
∗ mρ 1−β
Dstream = +
µ−λ µ−λ

1
Compare with block codes in the regime λ > d1 :

∗ σµ + 1 1 σµ + 1
Dblock = +
µ−λ 2 µ−λ
• Comparing the second terms (delay due to the past),
1 1
mρ log 1−β 1 σµ + 1
<
µ−λ 2 µ−λ

ISIT 2008 Streaming Transmission of Poisson Traffic – 25 of 29


Case I: Deterministic Arrivals

Introduction Assume that packets arrive once every 1/λ.


Physical Layer

Network Layer Optimal streaming policy: encode immediately upon arrival.


Discussion
1 ∗ 1 ∗
For λ < d1 : Dstream = σ+ µ = Dblock
1
For λ > d1 : σµ + 1
1
log 1
∗ mρ 1−β
Dstream = +
µ−λ µ−λ

1
Compare with block codes in the regime λ > d1 :

∗ σµ + 1 1 σµ + 1
Dblock = +
µ−λ 2 µ−λ
• Comparing the second terms (delay due to the past),
1 1
mρ log 1−β 1 σµ + 1
<
µ−λ 2 µ−λ
∗ ∗
=⇒ Dstream < Dblock for high throughput.

ISIT 2008 Streaming Transmission of Poisson Traffic – 25 of 29


Case II: Poisson Arrivals

Introduction Packets arrive randomly according to a Poisson process.


Physical Layer

Network Layer

Discussion

ISIT 2008 Streaming Transmission of Poisson Traffic – 26 of 29


Case II: Poisson Arrivals

Introduction Packets arrive randomly according to a Poisson process.


Physical Layer
• In general, difficult to find the optimal rate control.
Network Layer

Discussion

ISIT 2008 Streaming Transmission of Poisson Traffic – 26 of 29


Case II: Poisson Arrivals

Introduction Packets arrive randomly according to a Poisson process.


Physical Layer
• In general, difficult to find the optimal rate control.
Network Layer

Discussion
• Use a technique from [MusyTelatar06℄: find bounds and show
that bounds are very close.

ISIT 2008 Streaming Transmission of Poisson Traffic – 26 of 29


Case II: Poisson Arrivals

Introduction Packets arrive randomly according to a Poisson process.


Physical Layer
• In general, difficult to find the optimal rate control.
Network Layer

Discussion
• Use a technique from [MusyTelatar06℄: find bounds and show
that bounds are very close.

σµ + 1 ∗
≤ E[Dstream ]
µ−λ

ISIT 2008 Streaming Transmission of Poisson Traffic – 26 of 29


Case II: Poisson Arrivals

Introduction Packets arrive randomly according to a Poisson process.


Physical Layer
• In general, difficult to find the optimal rate control.
Network Layer

Discussion
• Use a technique from [MusyTelatar06℄: find bounds and show
that bounds are very close.

σµ + 1 ∗ σµ + 1
≤ E[Dstream ] ≤
µ−λ µ−λ

ISIT 2008 Streaming Transmission of Poisson Traffic – 26 of 29


Case II: Poisson Arrivals

Introduction Packets arrive randomly according to a Poisson process.


Physical Layer
• In general, difficult to find the optimal rate control.
Network Layer

Discussion
• Use a technique from [MusyTelatar06℄: find bounds and show
that bounds are very close.

h P i
1 Nt −dj E0 +jmρ
σµ + 1 ∗ σµ + 1 mρ E log j=0 e
≤ E[Dstream ] ≤ +
µ−λ µ−λ µ−λ

ISIT 2008 Streaming Transmission of Poisson Traffic – 26 of 29


Case II: Poisson Arrivals

Introduction Packets arrive randomly according to a Poisson process.


Physical Layer
• In general, difficult to find the optimal rate control.
Network Layer

Discussion
• Use a technique from [MusyTelatar06℄: find bounds and show
that bounds are very close.

h P i
1 Nt −dj E0 +jmρ
σµ + 1 ∗ σµ + 1 mρ E log j=0 e
≤ E[Dstream ] ≤ +
µ−λ µ−λ µ−λ

Compare with block codes [MusyTelatar06℄:

ISIT 2008 Streaming Transmission of Poisson Traffic – 26 of 29


Case II: Poisson Arrivals

Introduction Packets arrive randomly according to a Poisson process.


Physical Layer
• In general, difficult to find the optimal rate control.
Network Layer

Discussion
• Use a technique from [MusyTelatar06℄: find bounds and show
that bounds are very close.

h P i
1 Nt −dj E0 +jmρ
σµ + 1 ∗ σµ + 1 mρ E log j=0 e
≤ E[Dstream ] ≤ +
µ−λ µ−λ µ−λ

Compare with block codes [MusyTelatar06℄:


σµ + 1 ∗
≤ E[Dblock ]
µ−λ

ISIT 2008 Streaming Transmission of Poisson Traffic – 26 of 29


Case II: Poisson Arrivals

Introduction Packets arrive randomly according to a Poisson process.


Physical Layer
• In general, difficult to find the optimal rate control.
Network Layer

Discussion
• Use a technique from [MusyTelatar06℄: find bounds and show
that bounds are very close.

h P i
1 Nt −dj E0 +jmρ
σµ + 1 ∗ σµ + 1 mρ E log j=0 e
≤ E[Dstream ] ≤ +
µ−λ µ−λ µ−λ

Compare with block codes [MusyTelatar06℄:


σµ + 1 ∗ σµ + 1 1 σµ + 1
≤ E[Dblock ] ≤ +
µ−λ µ−λ 2 µ−λ

ISIT 2008 Streaming Transmission of Poisson Traffic – 26 of 29


Poisson Arrivals

50000
Introduction

Physical Layer

Network Layer

40000
Discussion

30000
delay (slots)

20000
10000
0

0.0 0.2 0.4 0.6 0.8 1.0

–––– block l.b. utilization factor


——— stream u.b.
······ stream l.b.

ISIT 2008 Streaming Transmission of Poisson Traffic – 27 of 29


Introduction

Physical Layer

Network Layer

Discussion

Discussion

ISIT 2008 Streaming Transmission of Poisson Traffic – 28 of 29


Summary and Future Work

Introduction 1. For deterministic and Poisson arrivals,


Physical Layer
– Streaming can improve delay.
Network Layer
– Greedy rate control is nearly optimal.
Discussion
– Streaming becomes more beneficial when power-limited.

2. Compare the effect of the past at physical-layer vs. at network-


layer (effect of future appears to be the same).

Future work:
• Simplify the past workload expression.
• Examine more bursty arrivals.
– Greedy policies not optimal anymore?

• Other applications for streaming transmission.

ISIT 2008 Streaming Transmission of Poisson Traffic – 29 of 29

You might also like