TSM: Temporal Shift Module for Efficient Video Understanding
arXiv:1811.08383
Abstract
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.
arXiv commentAccepted by ICCV 2019
References in corpus (22)
- Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks
- MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications
- SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model size
- Two-Stream Convolutional Networks for Action Recognition in Videos
- UCF101: A Dataset of 101 Human Actions Classes From Videos in The Wild
- Neural Architecture Search with Reinforcement Learning
- R-FCN: Object Detection via Region-based Fully Convolutional Networks
- The Kinetics Human Action Video Dataset
- Unsupervised Learning of Video Representations using LSTMs
- AMC: AutoML for Model Compression and Acceleration on Mobile Devices
- cuDNN: Efficient Primitives for Deep Learning
- Trained Ternary Quantization
- Spatiotemporal Residual Networks for Video Action Recognition
- Action Recognition using Visual Attention
- Learning Spatio-Temporal Representation with Pseudo-3D Residual Networks
- Progressive Neural Architecture Search
- Non-local Neural Networks
- HAQ: Hardware-Aware Automated Quantization with Mixed Precision
- Appearance-and-Relation Networks for Video Classification
- Shift: A Zero FLOP, Zero Parameter Alternative to Spatial Convolutions
- Temporal Relational Reasoning in Videos
- Shift-based Primitives for Efficient Convolutional Neural Networks
Cited by in corpus (14)
- Rolling-Unrolling LSTMs for Action Anticipation from First-Person Video
- An Evaluation of Action Recognition Models on EPIC-Kitchens
- Temporal Interlacing Network
- Efficient Deep Neural Networks
- Collaborative Distillation in the Parameter and Spectrum Domains for Video Action Recognition
- Medical Face Masks and Emotion Recognition from the Body: Insights from a Deep Learning Perspective
- Dynamic Graph Modules for Modeling Object-Object Interactions in Activity Recognition
- Class Semantics-based Attention for Action Detection
- LIGAR: Lightweight General-purpose Action Recognition
- Multi-Label Activity Recognition using Activity-specific Features and Activity Correlations
- GCF-Net: Gated Clip Fusion Network for Video Action Recognition
- Building BROOK: A Multi-modal and Facial Video Database for Human-Vehicle Interaction Research
- Approximated Bilinear Modules for Temporal Modeling
- Efficient Modelling Across Time of Human Actions and Interactions