arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.13227cs.CVcs.ARcs.LG
收藏

TSM:边缘设备上用于高效和可扩展视频理解的时间偏移模块

TSM: Temporal Shift Module for Efficient and Scalable Video Understanding on Edge Device

Massachusetts Institute of Technology(麻省理工学院);MIT-IBM Watson AI Lab(麻省理工学院-IBM沃森人工智能实验室)

Ji Lin, Chuang Gan, Kuan Wang, Song Han

摘要:

视频流的爆炸式增长要求视频理解具有高精度和低计算成本。传统的2D CNN计算成本低,但无法捕捉时间关系;基于3D CNN的方法可以实现良好的性能,但计算密集。在本文中,我们提出了一个通用的和有效的时间转移模块(TSM),享有高效率和高性能。TSM的核心思想是将部分通道沿时间方向移位,从而方便相邻帧之间的信息交换。它可以插入到2D CNN中,以实现零计算和零参数的时间建模。TSM提供了几个独特的优势。首先,TSM具有高性能,提交后在Something-Something排行榜上排名第一。其次,TSM具有高效率;它在Jetson Nano和Galaxy Note 8上实现了74 fps和29 fps的高帧速率在线视频识别。第三,与3D网络相比,TSM具有更高的可扩展性,可以在15分钟内在1,536个GPU上进行大规模的Kinetics训练。最后,TSM实现了动作概念学习,这是2D网络无法建模的;我们可视化了类别注意力图,发现时空动作检测器在分类任务的训练过程中出现。该代码可在https://github.com/mit-han-lab/temporal-shift-module上公开获取。

英文摘要:

The explosive growth in video streaming requires video understanding at high accuracy and low computation cost. Conventional 2D CNNs are computationally cheap but cannot capture temporal relationships; 3D CNN-based methods can achieve good performance but are computationally intensive. In this paper, we propose a generic and effective Temporal Shift Module (TSM) that enjoys both high efficiency and high performance. The key idea of TSM is to shift part of the channels along the temporal dimension, thus facilitate information exchanged among neighboring frames. It can be inserted into 2D CNNs to achieve temporal modeling at zero computation and zero parameters. TSM offers several unique advantages. Firstly, TSM has high performance; it ranks the first on the Something-Something leaderboard upon submission. Secondly, TSM has high efficiency; it achieves a high frame rate of 74fps and 29fps for online video recognition on Jetson Nano and Galaxy Note8. Thirdly, TSM has higher scalability compared to 3D networks, enabling large-scale Kinetics training on 1,536 GPUs in 15 minutes. Lastly, TSM enables action concepts learning, which 2D networks cannot model; we visualize the category attention map and find that spatial-temporal action detector emerges during the training of classification tasks. The code is publicly available at https://github.com/mit-han-lab/temporal-shift-module.

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

↑