Anableps: Adapting Bitrate for Real-Time Communication Using VBR-encoded Video

Zicheng Zhang, Hao Chen, Xun Cao, Zhan Ma

Abstract

In real-time video communication (RTVC), Variable Bitrate (VBR) encoding often leads to unpredictable bitrate spikes that cause network congestion and latency. We present Anableps, a reinforcement learning-based framework that jointly optimizes network adaptation and video encoding fluctuations. By predicting upcoming bitrate ranges based on content complexity, Anableps significantly reduces stalling and latency while improving visual quality compared to industry standards.

Introduction

In the world of real-time video communication—think Zoom calls, cloud gaming, or the metaverse—latency is the enemy. To keep things smooth, systems use Adaptive Bitrate (ABR) algorithms to adjust video quality based on network conditions. However, there is a hidden culprit behind many "frozen" screens: Variable Bitrate (VBR) encoding. While VBR makes video look better by allocating more bits to complex scenes, it creates unpredictable bitrate spikes that can overwhelm even the best networks.

Researchers from Nanjing University have introduced Anableps, a reinforcement learning-based framework designed to "see" these fluctuations before they happen, ensuring high-quality video without the dreaded lag.

The Problem: The Target-Actual Bitrate Gap

Most current ABR algorithms (like the ones used in WebRTC) assume that if you tell a video encoder to output 2 Mbps, it will do exactly that. In reality, modern systems prefer Variable Bitrate (VBR) encoding because it’s efficient; it uses fewer bits for a static "talking head" and more bits for a high-motion gaming sequence.

Comparison of VBR bitrate spikes between low-motion (talking head) and high-motion (gaming) content.

The problem is the "target-actual gap." An ABR algorithm might decide the network can handle 5 Mbps, but a sudden high-motion scene might cause the VBR encoder to spike to 7 Mbps. This "overshooting" causes packets to pile up in network buffers, leading to massive spikes in latency, frame drops, and video stalling. Existing solutions focus almost entirely on network congestion while ignoring the volatile nature of the video content itself.

The Anableps Framework

Anableps (named after a four-eyed fish that sees above and below water simultaneously) uses a two-module architecture to bridge the gap between network state and video content:

  1. Compressed Bitrate Prediction Network (CBPN): This is the "content-aware" eye. It looks at sender-side information—specifically Spatial Index (SI) and Temporal Index (TI) which measure scene complexity—along with past encoding deviations. Instead of predicting a single bitrate number, it predicts a bitrate range (a baseline value plus an error offset) for upcoming frames.
  2. Adaptive Bitrate Network (ABRN): This is the "decision-making" eye. Using Deep Reinforcement Learning (specifically the A3C algorithm), it takes the predicted range from the CBPN and combines it with receiver-side network observations (RTT, packet loss, and frame delay).

The system is trained to maximize a Quality of Experience (QoE) metric that balances video quality (VMAF score) against stalling and delay.

Evaluation and Results

The authors evaluated Anableps using a robust, real-world trace-driven testbed with 57 video clips from the YouTube UGC dataset and 30 diverse network traces (3G, LTE, WiFi, Broadband).

In head-to-head tests against the de facto standard Google Congestion Control (GCC) and other state-of-the-art learning models (ARS, QARC), Anableps showed dramatic improvements:

  • Visual Quality: Improved VMAF scores by up to 87.9% compared to GCC.
  • Stability: Reduced the stalling ratio by 85% and interaction delay by 74%.
  • Efficiency: Achieved these gains while consuming 57% less bandwidth on average, proving it manages bits smarter rather than just using more of them.

Key Insights

  • The Range is Key: Predicting a single bitrate value for VBR is nearly impossible. By predicting a range, the ABR algorithm can account for the "worst-case" spike, preventing overshooting before it happens.
  • Content Matters: "Network congestion" in RTVC is often actually "encoder overshooting." By feeding spatial and temporal indices into the model, the system learns that a transition from a static slide to a high-motion video requires an immediate, proactive bitrate reduction.

Limitations and Future Work

While the results are impressive, running two neural networks on the sender side in real-time could be taxing for mobile devices. Future work should explore the power consumption and CPU impact. Additionally, while the study focused on the x264 encoder, different codecs (AV1, HEVC) might exhibit different jitter patterns. Integrating this content-aware approach directly into the video encoder's rate-control module could lead to even tighter synchronization between the network and the video stream.

Summary updated

BibTeX
@inproceedings{zhang2023anableps,
  author = {Zicheng Zhang and Hao Chen and Xun Cao and Zhan Ma},
  title = {{Anableps: Adapting Bitrate for Real-Time Communication Using VBR-encoded Video}},
  booktitle = {ICME},
  year = {2023},
  doi = {10.1109/icme55011.2023.00290},
}
Figure