arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2204.12534cs.NIcs.CVcs.MM
收藏

AccMPEG:优化视频编码以进行视频分析

AccMPEG: Optimizing Video Encoding for Video Analytics

University of Chicago(芝加哥大学)

Kuntai Du, Qizheng Zhang, Anton Arapin, Haodong Wang, Zhengxu Xia, Junchen Jiang

摘要:

随着越来越多的视频被边缘传感器(摄像头)记录并由计算机视觉深度神经网络(DNN)进行分析,出现了一种新的视频流系统,其目标是将视频实时的压缩并流式传输到远程服务器,同时保留足够的信息以允许服务器端DNN进行高度准确的推理。视频流系统的理想设计应同时满足三个关键要求:(1)编码和流传输的低延迟,(2)服务器端DNN的高准确性,以及(3)摄像头的低计算开销。不幸的是,尽管最近做出了许多努力,但是这种视频流系统迄今为止仍然难以实现,特别是当服务于诸如对象检测或语义分割之类的高级视觉任务时。本文介绍了AccMPEG,一个新的视频编码和流系统,满足所有这三个要求。关键是要了解每个(16x16)宏块的编码质量对服务器端DNN精度的影响程度,我们称之为精度梯度。我们的见解是,这些宏块级精度梯度可以通过一个廉价的模型来提供视频帧,从而以足够的精度推断出来。AccMPEG提供了一套技术,在给定新的服务器端DNN的情况下,可以快速创建一个廉价的模型,以近实时地推断任何新帧的精度梯度。我们在两种边缘设备(一个Intel Xeon Silver 4100 CPU或NVIDIA Jetson Nano)和三个视觉任务(六个最近预训练的DNN)上对AccMPEG进行了广泛的评估,结果表明,与最先进的基线相比,AccMPEG(具有相同的摄像机端计算资源)可以将端到端推理延迟减少10 - 43%,而不会影响准确性

英文摘要:

With more videos being recorded by edge sensors (cameras) and analyzed by computer-vision deep neural nets (DNNs), a new breed of video streaming systems has emerged, with the goal to compress and stream videos to remote servers in real time while preserving enough information to allow highly accurate inference by the server-side DNNs. An ideal design of the video streaming system should simultaneously meet three key requirements: (1) low latency of encoding and streaming, (2) high accuracy of server-side DNNs, and (3) low compute overheads on the camera. Unfortunately, despite many recent efforts, such video streaming system has hitherto been elusive, especially when serving advanced vision tasks such as object detection or semantic segmentation. This paper presents AccMPEG, a new video encoding and streaming system that meets all the three requirements. The key is to learn how much the encoding quality at each (16x16) macroblock can influence the server-side DNN accuracy, which we call accuracy gradient. Our insight is that these macroblock-level accuracy gradient can be inferred with sufficient precision by feeding the video frames through a cheap model. AccMPEG provides a suite of techniques that, given a new server-side DNN, can quickly create a cheap model to infer the accuracy gradient on any new frame in near realtime. Our extensive evaluation of AccMPEG on two types of edge devices (one Intel Xeon Silver 4100 CPU or NVIDIA Jetson Nano) and three vision tasks (six recent pre-trained DNNs) shows that AccMPEG (with the same camera-side compute resources) can reduce the end-to-end inference delay by 10-43% without hurting accuracy compared to the state-of-the-art baselines

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑