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

动态推理:一种有效的视频动作识别新方法

Dynamic Inference: A New Approach Toward Efficient Video Action Recognition

Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);University of Chinese Academy of Sciences(中国科学院大学);Baidu Inc.(百度公司);University of Technology Sydney(悉尼科技大学)

Wenhao Wu, Dongliang He, Xiao Tan, Shifeng Chen, Yi Yang, Shilei Wen

摘要:

虽然视频中的动作识别近年来取得了很大的成功,但由于大量的计算成本,它仍然是一个具有挑战性的任务。设计轻量级网络是一种可能的解决方案,但它可能会降低识别性能。在本文中,我们创新性地提出了一个通用的动态推理的想法,以提高推理效率,利用不同的视频可重复性的变化。动态推理方法可以从网络深度和输入视频帧的数量方面来实现,或者甚至以联合输入方式和网络深度方式来实现。简而言之,我们将计算图的输入帧和网络深度视为二维网格,并使用预测模块预先在该网格上放置几个检查点。通过遵循一些预定义的路线在网格上渐进地执行推理,每当推理过程遇到检查点时,可以根据是否满足提前停止标准来进行提前预测。为了概念验证的目的,我们使用两个著名的骨干CNN实例化三个动态推理框架。在这些情况下,我们克服了有限的时间覆盖的缺点,导致早期预测的一种新的帧置换方案,并缓解渐进计算和视频时间关系建模之间的冲突,通过引入一个在线的时间移位模块。进行了广泛的实验,以彻底分析我们的想法的有效性,并激发未来的研究工作。各种数据集上的结果也证明了我们的方法的优越性。

英文摘要:

Though action recognition in videos has achieved great success recently, it remains a challenging task due to the massive computational cost. Designing lightweight networks is a possible solution, but it may degrade the recognition performance. In this paper, we innovatively propose a general dynamic inference idea to improve inference efficiency by leveraging the variation in the distinguishability of different videos. The dynamic inference approach can be achieved from aspects of the network depth and the number of input video frames, or even in a joint input-wise and network depth-wise manner. In a nutshell, we treat input frames and network depth of the computational graph as a 2-dimensional grid, and several checkpoints are placed on this grid in advance with a prediction module. The inference is carried out progressively on the grid by following some predefined route, whenever the inference process comes across a checkpoint, an early prediction can be made depending on whether the early stop criteria meets. For the proof-of-concept purpose, we instantiate three dynamic inference frameworks using two well-known backbone CNNs. In these instances, we overcome the drawback of limited temporal coverage resulted from an early prediction by a novel frame permutation scheme, and alleviate the conflict between progressive computation and video temporal relation modeling by introducing an online temporal shift module. Extensive experiments are conducted to thoroughly analyze the effectiveness of our ideas and to inspire future research efforts. Results on various datasets also evident the superiority of our approach.

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

↑