1 of 18

Uncertainty-Aware Robust Adaptive Video Streaming with Bayesian Neural Network and Model Prediction Control

Oct. 1, 2021

Nuowen Kan, Chenglin Li, Caiyi Yang, Wenrui Dai, Junni Zou, Hongkai Xiong

@Shanghai Jiao Tong University, P.R. China

2 of 18

Adaptive Video Streaming

2

Streaming a video online

Quality of Experience (QoE)

Video quality

Rebuffering time

Dynamic Streaming over HTTP (DASH)

 

2. Response: Target video chunk version

Adaptive bitrate (ABR) algorithm

Throughput

Player buffer

Bitrate

ARB control

Goal: Improving

240p

360p

460p

720p

1080p

3 of 18

Why is adaptive bitrate algorithm challenging?

3

  1. The network throughput dynamics are uncertain and hard to predict accurately.
  1. It is hard to generalize to all the heterogeneous network and user conditions.

Throughput distribution

For example, 4G -> 3G, hall -> toilet, …

Possible dynamic 1

Possible dynamic 2

4 of 18

��Our contribution: BayesMPC

4

  1. Uncertainty-aware throughput prediction
  2. More robust bitrate adaptation over different network conditions
  3. Competitive QoE performance (9.0% gain) over DRL-based ABR algorithm (Pensieve, etc.)

Model Predictive Control

Bayesian Neural Network

(BNN)

(MPC)

5 of 18

Previous Related Works

5

  • Classic control theory-based : pick bitrate based on predicted throughput & buffer occupancy
    • PANDA [JSAC’14], RobustMPC [SIGCOMM’15], CS2P [SIGCOMM’16]
    • BBA [SIGCOMM’14], BOLA [INFOCOM’16], Oboe [SIGCOMM’18]

  • Machine learning (ML)-based: use neural network to directly learn an optimal ABR policy
    • D-DASH [IEEE TCCN’17], Pensieve [SIGCOMM’17], Hot-DASH [ICNP’18],
    • Comyco [IEEE JSAC’21] etc.

Inaccurate throughput prediction, suboptimal performance

Only perform well in a specified throughput domain

6 of 18

How to make a reliable throughput prediction?

Solution 1 : Measure the aleatoric uncertainty

6

Epoch

Stochastic dynamics – aleatoric uncertainty

Probability

Point prediction

Distribution prediction

Prediction

Probability

7 of 18

How to make a reliable throughput prediction?

7

Solution 2 : Measure the epistemic uncertainty

Which function matches the real dynamics?

  1. Insufficient data cannot uniquely determine the underlying system exactly.
  2. Epistemic uncertainty about the dynamic function remains .

Epistemic uncertainty

8 of 18

How to make a reliable throughput prediction?

8

  • aleatoric uncertainty

Assume the probability of network throughput follows

  • epistemic uncertainty

Introduce the stochasticity to neural network weights

(Bayesian neural network)

9 of 18

Bayesian Neural Network

9

each weight has a fixed value

each weight is assigned a posterior distribution

Sample the weights at each calculation

Neural Network

Bayesian Neural Network

10 of 18

Throughput Prediction with the Bayesian Inference

Predicted distribution

10

Past throughput

Train with variational approximation:

Learn a variational posterior approximation of NN weights

Dataset

True Bayesian posterior

11 of 18

Generalization bound of the throughput prediction

Generalization error

11

The generalization error of the predictor can be minimized with the guarantee of PAC-Bayesian theorem [Henderson 2016].

Bayesian posterior over

Data distribution

Training data

Empirical error

Bayesian prior

over

KL divergence

Function independent of

Enable a bounded generalization error in throughput prediction

12 of 18

Uncertainty-aware robust rate adaptation

12

 

Confidence region

Past

Future

True throughput

Predicted

Optimized bitrate

Past bitrate

Index of video chunk

Prediction horizon

QoE metric for users

Predicted worst-case

System dynamics

13 of 18

Design: system framework of BayesMPC

Combining classical control with an ML predictor

13

14 of 18

Uncertainty-aware network throughput prediction

14

A confidence region of the throughput prediction can be measured

Calculate the confidence region:

BNN performs better on QoE than point estimate (PE) prediction methods

Confidence region (Shadow)

15 of 18

Comparison of QoE performance on traces from FCC

15

better

better

QoE metric:

 

BayesMPC improves the best previous scheme by 9-24%

16 of 18

Comparison of QoE performance on unfamiliar traces

Tested with the linear and log-form QoE metric settings

16

Use the training data of FCC, test with new data from Oboe

 

better

better

BayesMPC is always optimal

17 of 18

Summary

17

  1. BayesMPC uses Bayesian neural network to predict network throughput and measure the prediction uncertainties
  2. Based on these uncertainties, BayesMPC can robustly optimize the bitrate
  3. BayesMPC outperforms existing approaches across a wide range of network conditions and QoE preferences

https://main.nuowen.pro/

18 of 18

Q&A

Thank you!