The case for model-driven interpretability of delay-based congestion control protocols

Muhammad Khan, Yasir Zaki, Shiva Iyer, Talal Ahamd, Thomas Pötsch, Jay Chen, Anirudh Sivaraman, Lakshmi SubramanianarXiv 2021

TL;DR

The Model-Driven Interpretability (MDI) framework simplifies complex, non-linear delay-based congestion control protocols into 2D Markov models. This approach allows researchers to visualize protocol "fingerprints" and formally reason about convergence properties while maintaining high performance accuracy.

What Problem Does This Paper Address?

Congestion control (CC) is the "traffic cop" of the internet, deciding how fast data should be sent to avoid overwhelming the network. While traditional protocols relied on packet loss as a signal, modern protocols like Verus, Copa, and BBR use delay variations. These delay-based protocols are often highly complex, featuring non-linear control loops that are notoriously difficult to analyze—especially in jittery environments like cellular networks.

Engineers often treat these protocols as "black boxes." We know they work, but understanding exactly why they behave a certain way under specific network conditions or whether they will eventually stabilize (converge) remains a significant challenge.

Methods

The authors propose MDI, a framework that derives a simplified "model version" of any delay-based protocol. Instead of dealing with the original complex code, MDI represents the protocol's behavior as a guided random walk over a two-dimensional Markov model.

  1. State Space: A state is defined by two parameters: the relative change in network delay and the relative change in the sending window size. These are quantized into "buckets" to keep the model manageable.
  2. Training: The framework observes the original protocol across thousands of network simulations to build a transition probability matrix. This matrix captures the likelihood of moving from one state to another based on network feedback.
  3. Execution: The MDI version of the protocol uses this matrix to decide the next sending window. It identifies the current "quadrant" based on delay feedback and then randomly selects the next state based on the learned probabilities.
Figure 1: Transition Probability representation of a Model

Datasets

The authors trained and evaluated MDI using:

  • Training Set: 1,000 diverse cellular traces (3G and 4G) representing a wide range of real-world scenarios.
  • Testing Set: Specific traces including "4G Verizon" (US network), "Highway" (3G in UAE), and a synthetic "Rapidly changing network" where capacity fluctuates every 5 seconds.
  • Emulator: The MahiMahi linkshell network emulator was used to replay these traces consistently.

Key Insights and Ideas

  • Protocol Fingerprints: The transition matrix provides a visual "fingerprint" of a protocol's logic. For instance, the authors found that Verus has a "less dense" matrix than Copa, indicating it takes more decisive, less exploratory actions.
  • Implicit Memory: Even though Markov models are typically "memoryless," MDI captures protocol memory implicitly through the way it defines states and transition probabilities.
  • Formal Reasoning: By converting a protocol into a Markov chain, researchers can use established statistical tools to calculate mixing times (how long it takes to reach a steady state) and stationary distributions. This turns a "black box" into a mathematically tractable system.

Key Results

The MDI models for Verus and Copa were remarkably accurate:

  • Temporal Tracking: The MDI versions closely tracked the instantaneous throughput and delay of the original protocols across all test scenarios.
  • Statistical Matching: The Probability Density Functions (PDFs) of throughput and delay for the MDI versions were nearly identical to the native protocols.
  • Performance: In the most challenging "rapidly changing" network, the MDI version incurred a delay penalty of less than 5% while maintaining similar throughput.
Figure 6: Verus 4G Verizon

Limitations and Future Work

While MDI is a powerful tool for interpretability, it currently has some constraints:

  • State Space Simplicity: The model is currently limited to two variables (delay and window). Adding more dimensions (like packet loss or history) would provide more detail but requires exponentially more training data.
  • Scope: The paper focuses on single-flow behavior. Future work is needed to analyze fairness (how multiple MDI flows interact) and to extend the framework to a broader array of protocols beyond Verus and Copa.

The authors view MDI as a "new lens" for the networking community, moving us closer to a principled understanding of the complex algorithms that keep our data flowing.

Summary updated

Abstract

Analyzing and interpreting the exact behavior of new delay-based congestion control protocols with complex non-linear control loops is exceptionally difficult in highly variable networks such as cellular networks. This paper proposes a Model-Driven Interpretability (MDI) congestion control framework, which derives a model version of a delay-based protocol by simplifying a congestion control protocol's response into a guided random walk over a two-dimensional Markov model. We demonstrate the case for the MDI framework by using MDI to analyze and interpret the behavior of two delay-based protocols over cellular channels: Verus and Copa. Our results show a successful approximation of throughput and delay characteristics of the protocols' model versions across variable network conditions. The learned model of a protocol provides key insights into an algorithm's convergence properties.
BibTeX
@misc{khan2021case,
  author = {Muhammad Khan and Yasir Zaki and Shiva Iyer and Talal Ahamd and Thomas Pötsch and Jay Chen and Anirudh Sivaraman and Lakshmi Subramanian},
  title = {{The case for model-driven interpretability of delay-based congestion control protocols}},
  year = {2021},
  eprint = {2102.04911},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.04911},
}

Loading related content...

Figure