Astraea: Towards Fair and Efficient Learning-based Congestion Control

Xudong Liao, Han Tian, Chaoliang Zeng, Xinchen Wan, Kai Chen

Abstract

Congestion Control (CC) is a fundamental component of network protocol design, ensuring efficient data transmission across the internet. While recent reinforcement learning (RL) based CC algorithms have demonstrated superior performance over traditional rule-based methods, they often suffer from "selfishness," leading to poor fairness and instability when multiple flows compete for bandwidth. This paper introduces Astraea, a novel Multi-Agent Deep Reinforcement Learning (MADRL) framework that bridges the gap between high performance and network "politeness." By utilizing Centralized Training and Decentralized Execution (CTDE) and a specialized reward function, Astraea achieves near-optimal fairness and significantly faster convergence than existing learning-based solutions.

1. Introduction

The internet relies on congestion control to manage traffic flow and prevent network collapse. Traditional algorithms like TCP Cubic and BBR use fixed rules to adjust transmission rates. Recently, learning-based CC algorithms (e.g., Aurora, Vivace) have emerged, using RL to optimize performance metrics like throughput and latency. However, these agents are typically trained in isolation, leading to competitive behaviors that result in unfair bandwidth distribution and oscillatory behavior in multi-flow environments. Astraea addresses these challenges by reframing congestion control as a cooperative multi-agent problem.

2. The Challenge of "Selfish" Agents

The authors identify two primary reasons why existing learning-based CCs fail in multi-flow scenarios:

  1. Training Mismatch: Most RL-based CCs are trained in single-flow environments. When deployed in the real world, where they must compete with other flows, their learned policies fail to account for the dynamics of competition.
  2. Reward Signal Limitations: Standard reward functions focus on throughput and delay. Metrics like "fairness" and "stability" are difficult to represent in a way that a single-agent RL model can effectively optimize.

3. Astraea: A Multi-Agent Approach

Astraea introduces several key innovations to overcome the limitations of single-agent RL:

3.1 Centralized Training, Decentralized Execution (CTDE)

Astraea employs a CTDE framework. During the training phase, a centralized "Learner" has access to global network statistics, including the states of all competing flows. This "god-view" allows the model to learn the impact of individual actions on the collective network state. During deployment, the "Actor" (the CC agent) operates using only local information available to the end-host, ensuring the system remains practical and scalable for real-world internet use.

3.2 Explicit Reward Engineering

To move beyond simple throughput optimization, Astraea incorporates a multi-faceted reward function. It explicitly penalizes:

  • Unfairness: Calculated using the standard deviation of throughput across competing flows. The authors found that the traditional Jain Fairness Index was too insensitive for RL training, as it saturates quickly and fails to provide a granular gradient for the agent to follow.
  • Instability: Measured by the variance of a single flow's throughput over time, encouraging the agent to find a steady state rather than oscillating.

3.3 Dynamic Training Environment

The agents are trained in a custom "playground" where flows arrive and depart at random intervals. This forces Astraea to learn how to rapidly adapt to changing levels of competition and available bandwidth.

4. Evaluation and Results

Astraea was evaluated using a combination of network emulators (Mahimahi, Pantheon-tunnel), cellular traces (Verizon LTE), and real-world inter-continental internet paths (AWS nodes).

4.1 Fairness and Convergence

Astraea demonstrated near-perfect fairness in homogeneous environments, achieving an average Jain Index of 0.991. Crucially, it converged to this fair state up to 8.4× faster than Vivace and 3.7× faster than Orca. This rapid convergence is vital for short-lived flows that characterize much of modern web traffic.

4.2 Stability and Real-World Performance

In terms of stability, Astraea showed 2.8× smaller throughput deviation compared to Vivace, providing a much smoother user experience. In real-world inter-continental tests, Astraea outperformed existing solutions significantly, achieving 3.1× higher throughput than Orca and 1.4× lower latency inflation than Google’s BBR.

5. Discussion and Future Work

While Astraea represents a significant advancement, several challenges remain. The model is currently pre-trained offline; developing methods for safe, online adaptation to novel network environments is a key area for future research. Additionally, in networks with very low Bandwidth-Delay Products (BDP), Astraea’s performance can slightly degrade due to integer rounding in congestion window ($cwnd$) calculations. Finally, the computational overhead of running deep learning inference at the transport layer is higher than traditional TCP, suggesting that future implementations should focus on kernel-level optimizations.

6. Conclusion

Astraea demonstrates that the perceived trade-off between performance and fairness in learning-based congestion control is not inevitable. By adopting a multi-agent perspective and refining reward mechanisms to prioritize stability and cooperation, Astraea provides a blueprint for the next generation of "polite" yet high-performance internet protocols.

Summary updated

BibTeX
@inproceedings{liao2024astraea,
  author = {Xudong Liao and Han Tian and Chaoliang Zeng and Xinchen Wan and Kai Chen},
  title = {{Astraea: Towards Fair and Efficient Learning-based Congestion Control}},
  booktitle = {Eurosys},
  year = {2024},
  doi = {10.1145/3627703.3650069},
}
Figure