arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.10394cs.CV
收藏

用于高效视频推理的动态网络Quantization

Dynamic Network Quantization for Efficient Video Inference

Boston University(波士顿大学);MIT-IBM Watson AI Lab(MIT-IBM沃森人工智能实验室);MIT(麻省理工学院)

Ximeng Sun, Rameswar Panda, Chun-Fu Chen, Aude Oliva, Rogerio Feris, Kate Saenko

摘要:

深度卷积网络最近在视频识别方面取得了巨大的成功,但由于实现鲁棒识别需要大量的计算资源,因此其实际实现仍然是一个挑战。受量化提高效率的有效性的启发,在本文中,我们提出了一个动态网络量化框架,该框架根据输入为每帧选择最佳精度,以实现高效的视频识别。具体来说,给定一个视频片段,我们训练一个非常轻量级的网络与识别网络并行,以产生一个动态的政策,表明在识别视频中每帧使用的数值精度。我们训练这两个网络有效地使用标准的反向传播与损失,以实现视频识别所需的竞争力和资源效率。在四个具有挑战性的不同基准数据集上进行的大量实验表明,我们提出的方法在计算和内存使用方面节省了大量资源,同时优于现有的最先进的方法。

英文摘要:

Deep convolutional networks have recently achieved great success in video recognition, yet their practical realization remains a challenge due to the large amount of computational resources required to achieve robust recognition. Motivated by the effectiveness of quantization for boosting efficiency, in this paper, we propose a dynamic network quantization framework, that selects optimal precision for each frame conditioned on the input for efficient video recognition. Specifically, given a video clip, we train a very lightweight network in parallel with the recognition network, to produce a dynamic policy indicating which numerical precision to be used per frame in recognizing videos. We train both networks effectively using standard backpropagation with a loss to achieve both competitive performance and resource efficiency required for video recognition. Extensive experiments on four challenging diverse benchmark datasets demonstrate that our proposed approach provides significant savings in computation and memory usage while outperforming the existing state-of-the-art methods.

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

↑