Neural Rate Control for Video Encoding using Imitation Learning

arXiv:2012.05339 First posted 2020-12-09 v1
Cite this paper ×
BibTeX
@misc{mao2020neural,
  title = {Neural Rate Control for Video Encoding using Imitation Learning},
  author = {Hongzi Mao and Chenjie Gu and Miaosen Wang and Angie Chen and Nevena Lazic and Nir Levine and Derek Pang and Rene Claus and Marisabel Hechtman and Ching-Han Chiang and Cheng Chen and Jingning Han},
  year = {2020},
  eprint = {2012.05339},
  archivePrefix = {arXiv},
  primaryClass = {cs.LG},
  url = {https://arxiv.org/abs/2012.05339}
}
APA 7
Mao, H., Gu, C., Wang, M., Chen, A., Lazic, N., Levine, N., Pang, D., Claus, R., Hechtman, M., Chiang, C.-H., Chen, C., & Han, J. (2020). Neural Rate Control for Video Encoding using Imitation Learning [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2012.05339
GB/T 7714
MAO H, GU C, WANG M, et al. Neural Rate Control for Video Encoding using Imitation Learning[EB/OL]. (2020-12-09)[2026-11-30]. https://arxiv.org/abs/2012.05339.

Abstract

In modern video encoders, rate control is a critical component and has been heavily engineered. It decides how many bits to spend to encode each frame, in order to optimize the rate-distortion trade-off over all video frames. This is a challenging constrained planning problem because of the complex dependency among decisions for different video frames and the bitrate constraint defined at the end of the episode. We formulate the rate control problem as a Partially Observable Markov Decision Process (POMDP), and apply imitation learning to learn a neural rate control policy. We demonstrate that by learning from optimal video encoding trajectories obtained through evolution strategies, our learned policy achieves better encoding efficiency and has minimal constraint violation. In addition to imitating the optimal actions, we find that additional auxiliary losses, data augmentation/refinement and inference-time policy improvements are critical for learning a good rate control policy. We evaluate the learned policy against the rate control policy in libvpx, a widely adopted open source VP9 codec library, in the two-pass variable bitrate (VBR) mode. We show that over a diverse set of real-world videos, our learned policy achieves 8.5% median bitrate reduction without sacrificing video quality.

Post #1 · the paper

Discussion

No comments yet. Start the discussion!