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
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
Why is adaptive bitrate algorithm challenging?
3
Throughput distribution
For example, 4G -> 3G, hall -> toilet, …
Possible dynamic 1
Possible dynamic 2
��Our contribution: BayesMPC
4
Model Predictive Control
Bayesian Neural Network
(BNN)
(MPC)
Previous Related Works
5
Inaccurate throughput prediction, suboptimal performance
Only perform well in a specified throughput domain
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
How to make a reliable throughput prediction?
7
Solution 2 : Measure the epistemic uncertainty
Which function matches the real dynamics?
Epistemic uncertainty
How to make a reliable throughput prediction?
8
Assume the probability of network throughput follows
Introduce the stochasticity to neural network weights
(Bayesian neural network)
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
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
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
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
Design: system framework of BayesMPC
Combining classical control with an ML predictor
13
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)
Comparison of QoE performance on traces from FCC
15
better
better
QoE metric:
BayesMPC improves the best previous scheme by 9-24%
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
Summary
17
https://main.nuowen.pro/
Q&A
Thank you!