Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

TSM: Temporal Shift Module for Efficient Video Understanding

About

The explosive growth in video streaming gives rise to challenges on performing 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, making it expensive to deploy. In this paper, we propose a generic and effective Temporal Shift Module (TSM) that enjoys both high efficiency and high performance. Specifically, it can achieve the performance of 3D CNN but maintain 2D CNN's complexity. TSM shifts 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. We also extended TSM to online setting, which enables real-time low-latency online video recognition and video object detection. TSM is accurate and efficient: it ranks the first place on the Something-Something leaderboard upon publication; on Jetson Nano and Galaxy Note8, it achieves a low latency of 13ms and 35ms for online video recognition. The code is available at: https://github.com/mit-han-lab/temporal-shift-module.

Ji Lin, Chuang Gan, Song Han• 2018

Related benchmarks

TaskDatasetResultRank
Action RecognitionSomething-Something v2 (val)
Top-1 Accuracy66
535
Image ClassificationImageNet
Top-1 Accuracy47.8
429
Action RecognitionKinetics-400
Top-1 Acc74.7
413
Action RecognitionUCF101
Accuracy96
365
Action RecognitionUCF101 (mean of 3 splits)
Accuracy94.5
357
Action RecognitionSomething-Something v2
Top-1 Accuracy63.4
341
Video Object DetectionImageNet VID (val)
mAP (%)76.3
341
Action RecognitionSomething-Something v2 (test)
Top-1 Acc66.6
333
Action RecognitionUCF101 (test)
Accuracy92.336
307
Action RecognitionSomething-something v1 (val)
Top-1 Acc52.6
257
Showing 10 of 122 rows
...

Other info

Code

Follow for update