Abstract
Bandwidth estimation and congestion control for real-time communications (RTC), such as audio and video conferencing, remains a difficult problem despite years of research. Achieving high quality of experience (QoE) for end users requires continual updates due to changing network architectures and technologies. In this paper, we apply reinforcement learning (RL) for the first time to the problem of RTC, seeking to optimize user-perceived quality. We present initial proof-of-concept results where we learn an agent to control the sending rate in an RTC system, evaluating it using both network simulation and real Internet video calls. We discuss the challenges observed, particularly in designing realistic reward functions that reflect QoE and in bridging the gap between the training environment and real-world networks.
Introduction
Congestion control and bandwidth estimation are critical for determining how much data an application can transmit without inducing packet loss or excessive latency. While RL has successfully optimized one-way video streaming (e.g., YouTube), Real-Time Communications (RTC) presents unique challenges. Unlike streaming, RTC cannot utilize large pre-fetched buffers and requires ultra-low latency. It must react instantly to network fluctuations and is often limited by uplink capacity. Current RTC systems rely on complex, rule-based heuristics like Kalman filters. This work explores whether an RL agent can outperform these heuristics while maintaining the strict inference speed required for real-time deployment.
Methods: The R3Net Architecture
The authors propose R3Net (RL-based Recurrent Network for RTC), a receiver-side bandwidth estimator. The receiver monitors incoming packet statistics and uses an RL model to estimate available bandwidth, which is then signaled back to the sender.
- State Space: A 4-dimensional vector tracking receive rate, average packet interval, packet loss rate, and average Round Trip Time (RTT) over a 50ms window.
- Action Space: A continuous bandwidth estimate (0 to 8 Mb/s).
- Architecture: R3Net utilizes an actor-critic framework with Gated Recurrent Units (GRUs) to capture the sequential nature of network conditions. The model was trained using Proximal Policy Optimization (PPO) in a custom discrete-event simulator designed to run 1000x faster than real-time.
Evaluation and Results
R3Net was compared against a production baseline using an Unscented Kalman Filter (UKF). Evaluation spanned both controlled simulations and live video calls over WiFi and 3G networks.
Simulation Performance
In the simulator, R3Net demonstrated superior performance across all primary metrics. It achieved higher bandwidth utilization while simultaneously reducing packet loss compared to the UKF baseline.
Real-World Deployment and the "Sim-to-Real" Gap
While R3Net performed adequately on residential WiFi, matching the baseline's video quality (VMAF), it struggled significantly on 3G cellular networks. On 3G, R3Net exhibited aggressive behavior, leading to a packet loss rate of 3.11% (vs. 2.22% for UKF) and a higher rate of dropped frames (11.2% vs. 6.5%). This discrepancy highlights a significant "sim-to-real" gap; the simulator failed to capture the complex noise and jitter characteristic of real-world cellular environments.
Discussion and Future Work
This proof-of-concept demonstrates that RL can meet the strict timing requirements of RTC; R3Net inference took only 500 $\mu$s when exported to ONNX. However, the performance degradation in real-world 3G tests underscores the need for more realistic training environments.
Future research will focus on:
- Developing data-driven generative models to create more realistic synthetic network traces.
- Utilizing distributed testbeds for direct training on real-world networks.
- Refining reward functions to better align with objective human-perceived Quality of Experience (QoE) rather than raw network statistics alone.
Summary updated