Layered Constructions for Low-Delay Streaming Codes

Ahmed Badr, Pratik Patil, Ashish Khisti, Wai-Tian Tan, John G. ApostolopoulosarXiv 2013 · DOI

Abstract

We propose a new class of error correction codes for low-delay streaming communication. We consider an online setup where a source packet arrives at the encoder every $M$ channel uses, and needs to be decoded with a maximum delay of $T$ packets. We consider a sliding-window erasure channel — $\cC(N,B,W)$ — which introduces either up to $N$ erasures in arbitrary positions, or $B$ erasures in a single burst, in any window of length $W$. When $M=1$, the case where source-arrival and channel-transmission rates are equal, we propose a class of codes — MiDAS codes — that achieve a near optimal rate. Our construction is based on a layered approach. We first construct an optimal code for the $\cC(N=1,B,W)$ channel, and then concatenate an additional layer of parity-check symbols to deal with $N>1$. When $M > 1$, the case where source-arrival and channel-transmission rates are unequal, we characterize the capacity when $N=1$ and $W \ge M(T+1),$ and for $N>1$, we propose a construction based on a layered approach. Numerical simulations over Gilbert-Elliott and Fritchman channel models indicate significant gains in the residual loss probability over baseline schemes.

Introduction

In real-time streaming applications such as video conferencing, cloud gaming, and live broadcasting, packets must be delivered and decoded within a strict delay constraint. If a packet is not recovered by its playback deadline $T$, it is effectively lost, leading to visible artifacts or audio drops. Traditional error-correction codes, such as Reed-Solomon or rateless codes, are typically designed for block-based transmission. These are poorly suited for low-latency streaming because they require large buffers, which inherently introduce delays that exceed the requirements of interactive media.

Furthermore, real-world network channels are unpredictable. They often exhibit a mix of two distinct loss patterns: long burst erasures (caused by signal fades or handovers) and isolated random erasures (caused by congestion or interference). Most existing streaming codes are optimized for only one of these patterns. This paper introduces MiDAS codes (Maximum Distance And Span), which utilize a novel layered construction to protect against both types of losses simultaneously while staying within a strict delay budget.

The Streaming Model and Delay Constraints

The proposed framework considers a discrete-time system where a source packet $s[i]$ arrives at the encoder at each time step $i$. The encoder maps these source packets into channel packets $x[i,:]$. The fundamental requirement is that each source packet $s[i]$ must be decodable by time $i+T$, where $T$ is the maximum allowable delay.

Extracted figure from page 3 of Layered Constructions for Low-Delay Streaming Codes

The channel model, denoted as $\cC(N,B,W)$, represents a sliding window of length $W$. Within any such window, the channel can introduce either a burst of $B$ contiguous erasures or up to $N$ isolated erasures at arbitrary positions. This dual-threat model captures the complexity of modern wireless and wired links.

MiDAS Code Construction

The authors propose a "layered approach" to code construction. Instead of designing a single complex code, they stack functional layers to address different erasure patterns:

  1. Layer 1 (Burst Protection): The base layer is an optimal code designed specifically to handle a single burst of length $B$.
  2. Layer 2 (Isolated Protection): An additional layer of parity-check symbols is concatenated to handle $N$ isolated erasures in arbitrary positions.

MiDAS codes are systematic convolutional codes where the parity-checks are carefully shifted in time. This ensures that the necessary redundancy arrives at the decoder before the playback deadline of the erased packets. The construction relies on "Strongly-MDS" components, which ensure that any subset of parity-checks can recover any subset of missing source symbols, provided the counts match.

Handling Unequal Rates ($M > 1$)

In many practical scenarios, the source arrival rate and channel transmission rate are unequal. For example, in high-definition video streaming, a single large source frame might be split into $M$ smaller channel packets. Simply extending $M=1$ codes to these cases is suboptimal.

The expansion and recovery process for the $M > 1$ case, where source symbols are expanded into multiple channel packets.

The authors introduce a "reshaping" technique for the $M > 1$ case. As shown in the figure above, source symbols $s[i]$ are expanded into a sequence of symbols $w[i,j]$, which are then mapped to channel packets $x[i,j]$. This alignment ensures that the parity-checks are synchronized with the macro-packet structure of the stream, maintaining high efficiency.

Key Results and Performance

The paper provides both theoretical and empirical evidence for the effectiveness of MiDAS codes:

  • Capacity Characterization: The authors successfully characterized the capacity for the burst-only case ($N=1$) with unequal rates ($M > 1$), solving a previously open problem in the field.
  • Simulation Gains: Numerical simulations were conducted using Gilbert-Elliott (two-state Markov) and Fritchman (multi-state Markov) models. MiDAS codes showed significant reductions in residual loss probability compared to standard MDS codes and codes optimized solely for bursts.
  • Algebraic Metrics: The research establishes a link between error-correction performance and two algebraic metrics: column distance (governing isolated erasure correction) and column span (governing burst correction).

Conclusion

MiDAS codes represent a significant step forward in low-delay streaming. By using a layered construction, they provide a flexible and near-optimal solution for channels that exhibit both bursty and random losses. While the primary construction requires large field sizes for absolute robustness, the authors also propose a more computationally efficient variant using block-MDS codes. Future research directions include the integration of feedback mechanisms (ARQ) and finding the exact capacity for the most general $N > 1, M > 1$ cases.

Summary updated

BibTeX
@misc{badr2013layered,
  author = {Ahmed Badr and Pratik Patil and Ashish Khisti and Wai-Tian Tan and John G. Apostolopoulos},
  title = {{Layered Constructions for Low-Delay Streaming Codes}},
  year = {2013},
  eprint = {1308.3827},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1308.3827},
}
Figure