arXiv(opens in a new tab)Computer ScienceNov 2017Cited by 2 papers on PaperVantage

Manuscript Offprint

arXiv:1711.11248

A Closer Look at Spatiotemporal Convolutions for Action Recognition

Du Tran, Heng Wang, L. Torresani, Jamie Ray, Yann LeCun, Manohar Paluri

Abstract

In this paper we discuss several forms of spatiotemporal convolutions for video analysis and study their effects on action recognition. Our motivation stems from the observation that 2D CNNs applied to individual frames of the video have remained solid performers in action recognition. In this work we empirically demonstrate the accuracy advantages of 3D CNNs over 2D CNNs within the framework of residual learning. Furthermore, we show that factorizing the 3D convolutional filters into separate spatial and temporal components yields significantly gains in accuracy. Our empirical study leads to the design of a new spatiotemporal convolutional block “R(2+1)D” which produces CNNs that achieve results comparable or superior to the state-of-the-art on Sports-1M, Kinetics, UCF101, and HMDB51.

1. Introduction

Since the introduction of AlexNet [19], deep learning has galvanized the field of still-image recognition with a steady sequence of remarkable advances driven by insightful design innovations, such as smaller spatial filters [30], multi-scale convolutions [34], residual learning [13], and dense connections [14]. Conversely, it may be argued that the video domain has not yet witnessed its “AlexNet moment.” While a deep network (I3D [4]) does currently hold the best results in action recognition, the margin of improvement over the best hand-crafted approach (iDT [38]) is not as impressive as in the case of image recognition. Furthermore, an image-based 2D CNN (ResNet-152 [25]) operating on individual frames of the video achieves performance remarkably close to the state-of-the-art on the challenging Sports-1M benchmark. This result is both surprising and frustrating, given that 2D CNNs are unable to model temporal information and motion patterns, which one would deem to be critical aspects for video analysis. Based on such results, one may postulate that temporal reasoning is not essential for accurate action recognition, because of the strong action class information already contained in the static frames of a sequence.

In this work, we challenge this view and revisit the role of temporal reasoning in action recognition by means of 3D CNNs, i.e., networks that perform 3D convolutions over the spatiotemporal video volume. While 3D CNNs have been widely explored in the setting of action recognition [15, 35, 36, 4], here we reconsider them within the framework of residual learning, which has been shown to be a powerful tool in the field of still-image recognition. We demonstrate that 3D ResNets significantly outperform 2D ResNets for the same depth when trained and evaluated on large-scale, challenging action recognition benchmarks such as Sports-1M [16] and Kinetics [17].

Inspired by these results, we introduce two new forms of spatiotemporal convolution that can be viewed as middle grounds between the extremes of 2D (spatial convolution) and full 3D. The first formulation is named mixed convolution (MC) and consists in employing 3D convolutions only in the early layers of the network, with 2D convolutions in the top layers. The rationale behind this design is that motion modeling is a low/mid-level operation that can be implemented via 3D convolutions in the early layers of a network, and spatial reasoning over these mid-level motion features (implemented by 2D convolutions in the top layers) leads to accurate action recognition. We show that MC ResNets yield roughly a 3-4% gain in clip-level accuracy over 2D ResNets of comparable capacity and they match the performance of 3D ResNets, which have 3 times as many parameters. The second spatiotemporal variant is a “(2+1)D” convolutional block, which explicitly factorizes 3D convolution into two separate and successive operations, a 2D spatial convolution and a 1D temporal convolution. What do we gain from such a decomposition? The first advantage is an additional nonlinear rectification between these two operations. This effectively doubles the number of nonlinearities compared to a network using full 3D convolutions for the same number of parameters, thus rendering the model capable of representing more complex functions. The second potential benefit is that the decomposition facilitates the optimization, yielding in practice both a lower training loss and a lower testing loss. In other words we find that, compared to full 3D filters where appearance and dy-namics are jointly intertwined, the (2+1)(2+1)D blocks (with factorized spatial and temporal components) are easier to optimize. Our experiments demonstrate that ResNets adopting (2+1)(2+1)D blocks homogeneously in all layers achieve state-of-the-art performance on both Kinetics and Sports-1M.

References (40)

  • Sequential Deep Learning for Human Action Recognition, pages 29–39
  • Delving deeper into convolutional networks for learning video representations (opens arXiv in a new tab)
  • Quo vadis, action recognition? a new model and the kinetics dataset
  • Human Detection Using Oriented Histograms of Flow and Appearance
  • Behavior recognition via sparse spatio-temporal features
  • Long-term recurrent convolutional networks for visual recognition and description
  • Spatiotemporal residual networks for video action recognition
  • Convolutional two-stream network fusion for video action recognition
  • Actionvlad: Learning spatio-temporal aggregation for action classification
  • Accurate, large minibatch sgd: training imagenet in 1 hour (opens arXiv in a new tab)
  • Deep residual learning for image recognition
  • Densely connected convolutional networks
  • 3d convolutional neural networks for human action recognition
  • Large-scale video classification with convolutional neural networks
  • The kinetics human action video dataset (opens arXiv in a new tab)
  • A spatio-temporal descriptor based on 3d-gradients
  • Imagenet classification with deep convolutional neural networks
  • HMDB: a large video database for human motion recognition
  • Space-time interest points
  • Learning hierarchical invariant spatio-temporal features for action recognition with independent subspace analysis
  • Online detection and classification of dynamic hand gestures with recurrent 3d convolutional neural network
  • Jointly modeling embedding and translation to bridge video and language
  • Learning spatio-temporal representation with pseudo-3d residual networks
  • Action bank: A high-level representation of activity in video
  • A 3-dimensional sift descriptor and its application to action recognition
  • Two-stream convolutional networks for action recognition in videos
  • Very deep convolutional networks for large-scale image recognition
  • UCF101: A dataset of 101 human action classes from videos in the wild
  • Unsupervised learning of video representations using lstms
  • Yeung, and B. E. Shi
  • Going deeper with convolutions
  • Convolutional learning of spatio-temporal features
  • Learning spatiotemporal features with 3d convolutional networks
  • Long-term Temporal Convolutions for Action Recognition
  • Action recognition with improved trajectories
  • Temporal segment networks: Towards good practices for deep action recognition
  • Actions ~ transformations
  • A discriminative cnn video representation for event detection
  • Beyond short snippets: Deep networks for video classification
  • A duality based approach for realtime tv-l 1 optical flow