FastScan: Robust Low-Complexity Rate Adaptation Algorithm for Video Streaming over HTTP

Anis Elgabli, Vaneet Aggarwal

Abstract

Adaptive Bitrate (ABR) streaming is critical for delivering high-quality video over fluctuating network conditions. However, existing solutions often face a trade-off between computational complexity, reliance on extensive training data, and the ability to minimize playback stalls. This paper introduces FastScan, a novel, low-complexity rate adaptation algorithm that optimizes a concave Quality of Experience (QoE) metric. FastScan utilizes a unique "forward-backward" scanning technique within a sliding-window framework to efficiently solve a non-convex optimization problem. Evaluation across diverse real-world network traces demonstrates that FastScan consistently outperforms state-of-the-art algorithms, significantly reducing stall durations while maintaining high average video quality.

Introduction

The rise of video streaming services has made Adaptive Bitrate (ABR) algorithms essential for maintaining a seamless user experience. Technologies like MPEG-DASH and Apple HLS rely on these algorithms to dynamically adjust video quality based on real-time network conditions. The primary goal is to maximize video resolution while strictly avoiding re-buffering events (stalls).

Current ABR solutions generally fall into three categories: buffer-based heuristics (e.g., BBA), which can be overly simplistic; optimization-based methods (e.g., FastMPC), which often rely on large, pre-computed lookup tables; and learning-based approaches (e.g., Pensieve), which require massive amounts of offline training data and may not generalize well to unseen network environments. Furthermore, many existing methods fail to account for the diminishing returns in perceived quality as bitrates increase—the visual improvement from 360p to 720p is far more impactful than the jump from 1080p to 4K. FastScan addresses these challenges by providing a computationally lightweight, optimization-driven approach that prioritizes stability and perceptual quality.

The FastScan Algorithm

FastScan formulates the bitrate selection problem as a non-convex optimization task constrained by predicted bandwidth, chunk deadlines, and buffer capacity. The algorithm operates on a sliding-window basis with a computational complexity of $O(NW)$, where $N$ represents the number of available quality levels and $W$ is the look-ahead window size.

The core of FastScan is its unique "forward-backward" scanning technique, which proceeds through multiple levels:

  1. Bandwidth Prediction: FastScan estimates future network capacity using the harmonic mean of the download times of the five most recent chunks. This provides a robust estimate that is less sensitive to outliers than a simple arithmetic mean.
  2. Level-0 Scan (Survival Mode): The algorithm first performs a forward scan to simulate downloading the next $W$ chunks at the lowest possible quality level. This identifies the absolute minimum stall duration required to fetch the upcoming content. A subsequent backward scan then strategically shifts these unavoidable stalls to the earliest possible time. This "front-loading" of stalls acts as a buffer-building phase, providing a larger time margin for subsequent chunks.
  3. Level-n Scans (Quality Upgrades): After establishing a baseline in Level-0, the algorithm iteratively attempts to upgrade chunks to higher quality levels (Level-1 through Level-N). During these scans, FastScan ensures that upgrades do not violate the deadlines established in the lower-level scans.
Flowchart of the FastScan algorithm logic.

By utilizing a concave QoE metric, FastScan naturally favors a stable, medium-quality stream over a volatile sequence of high- and low-quality chunks. This prevents the "greedy" behavior seen in some algorithms that exhaust bandwidth for a single high-resolution chunk, only to suffer a stall immediately afterward.

Experimental Setup and Implementation

The authors implemented FastScan within the open-source dash.js framework, allowing for realistic testing in a standard web environment. The system was evaluated using an Envivio video encoded in H.264/MPEG-4 AVC across five distinct quality levels.

Integration of FastScan into the dash.js framework.

To ensure robustness, FastScan was tested against three diverse public bandwidth trace datasets:

  • HSDPA (Norway/Telenor): 3G mobile network traces collected from a moving device, characterized by high variability.
  • FCC Dataset: A massive collection of over 1 million US broadband throughput measurements.
  • LTE (Belgium): 4G traces, which were scaled down by a factor of five to simulate highly constrained, challenging network scenarios.

Results and Key Insights

FastScan was compared against a wide array of baselines, including Bola, Festive, BBA, RB, FastMPC, and Pensieve. The results highlight several key advantages:

  • Superior QoE: FastScan achieved the highest normalized QoE in over 99% of the tested bandwidth traces across nearly all datasets.
  • Significant Stall Reduction: In the HSDPA dataset, FastScan reduced total buffering time to just 13 seconds, compared to 53 seconds for FastMPC—a fourfold improvement.
  • Balanced Quality Distribution: FastScan fetched only 3.4% of chunks at the lowest quality level, which is approximately half the rate of Festive and significantly lower than FastMPC or Pensieve. While FastMPC occasionally achieved higher peak qualities, it did so at the cost of significantly more stalls and a higher frequency of lowest-quality "fallback" chunks.

The "strategic stalling" approach proved particularly effective. By pushing unavoidable stalls to the beginning of the window, the algorithm creates a "safety cushion" that allows for more consistent quality upgrades later in the stream. Furthermore, the authors proved that for Constant Bit Rate (CBR) encoded video, FastScan is mathematically guaranteed to find the optimal solution in linear time.

Conclusion and Future Work

FastScan represents a significant step forward in ABR technology, offering a high-performance, low-complexity alternative to existing methods. Its ability to handle unpredictable network conditions without requiring extensive training or massive lookup tables makes it highly practical for real-world deployment.

Future research could further enhance FastScan by incorporating exact Variable Bit Rate (VBR) chunk sizes into the optimization constraints, rather than relying on nominal averages. Additionally, integrating more sophisticated machine-learning-based bandwidth predictors could improve the algorithm's foresight in rapidly changing network environments.

Summary updated

BibTeX
@article{elgabli2018fastscan,
  author = {Anis Elgabli and Vaneet Aggarwal},
  title = {{FastScan: Robust Low-Complexity Rate Adaptation Algorithm for Video Streaming over HTTP}},
  journal = {IEEE Trans. Circuits Syst. Video Technol.},
  year = {2018},
  doi = {10.1109/tcsvt.2019.2914388},
}
Figure