Instantly Decodable Network Codes for Real-Time Applications

Anh Le, Arash Saber Tehrani, Alexandros G. Dimakis, Athina MarkopoulouarXiv 2013

Abstract

Traditional network coding focuses on minimizing total download time, which is often unsuitable for real-time applications like live streaming or online gaming. This paper investigates Instantly Decodable Network Coding (IDNC), where the objective is to maximize the number of users who can immediately decode a missing packet from a single transmission. We demonstrate that while finding the optimal IDNC packet is NP-hard in general, it becomes tractable in practical probabilistic scenarios. Our results show significant performance gains over existing greedy and repetition-based schemes in both synthetic simulations and real-world network traces.

Introduction

In traditional data broadcasting, the primary goal of network coding is to minimize completion delay—the total time required for all users to receive a complete batch of packets. However, for real-time applications such as multiplayer games or live video streaming, completion delay is an inadequate metric. These applications operate under strict deadlines; a packet that arrives after its playback or processing deadline is effectively useless.

A typical broadcast scenario where a base station sends packets to multiple users with varying reception states.

The authors address the Real-Time Instantly Decodable Network Coding (IDNC) problem. Instead of optimizing for the entire batch, the goal is to select a single coded transmission that allows the maximum number of users to immediately decode a packet they are missing. This "zero-delay" recovery is essential for maintaining smooth user experiences in the face of packet loss.

Methodology

The problem is modeled using graph theory and optimization techniques. The core of the approach involves the construction of an IDNC graph to represent the network state.

IDNC Graph Construction

The network state is represented as a graph where each vertex $v_{ij}$ represents a "want"—a specific user $i$ needing a specific packet $j$. Edges are established between vertices if the corresponding wants can be satisfied simultaneously by a single XORed packet without violating the "instant decodability" constraint for the involved users.

The IDNC graph construction where vertices represent user needs and edges represent coding opportunities.

Complexity and Algorithms

The authors prove that finding the optimal coded packet is equivalent to finding the Maximum Clique in the IDNC graph. While this problem is NP-Hard in the general case, the authors identify a significant exception. In a probabilistic model where losses are independent and identically distributed (i.i.d.), the Maximum Clique can be found in polynomial time with high probability, provided the number of packets is appropriately scaled relative to the number of users.

Evaluation and Results

The proposed Max Clique algorithm was evaluated using both synthetic simulations and real-world traces from the "Racer" multiplayer game.

Key Findings

  • Performance Gains: In simulations with 20 users and 20 packets, the Max Clique algorithm outperformed "Best Repetition" and "COPE-like" greedy schemes by an average of 1.3x. In specific loss ranges (10-15%), the improvement over Best Repetition reached up to 3.8x.
  • Trace Validation: Real-world game traces confirmed these results, with the Max Clique approach benefiting 16% more users than Best Repetition and 26% more than COPE-like schemes.
  • Threshold Behavior: At very high loss rates (above 65%), the performance of optimal coding converges with simple repetition, as uncoded packets naturally benefit many users when most data is missing.

Discussion and Conclusion

This research highlights the advantage of a "generalized" IDNC approach, which prioritizes maximizing the number of benefiting users even if some users cannot decode the current transmission. A key insight is the tractability of randomness: although the general problem is hard, the specific structure of random IDNC graphs makes them easier to solve than general random graphs. Future work includes extending the model to a "sliding window" approach to accommodate applications with slight delay tolerances.

Summary updated

BibTeX
@misc{le2013instantly,
  author = {Anh Le and Arash Saber Tehrani and Alexandros G. Dimakis and Athina Markopoulou},
  title = {{Instantly Decodable Network Codes for Real-Time Applications}},
  year = {2013},
  eprint = {1303.7197},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1303.7197},
}
Figure