Paper commentary
A Closer Look at Spatiotemporal Convolutions for Action Recognition
R(2+1)D splits 3D convolutions into spatial and temporal steps for action recognition
- Problem Frame-based 2D networks stay close to 3D models on large action benchmarks, so it was unclear whether temporal convolutions really help.
- Method R(2+1)D replaces each 3D filter with a 2D spatial convolution followed by a 1D temporal convolution, with a ReLU between them.
- Results On Kinetics with 8-frame clips, R(2+1)D reaches 52.8 clip top-1 against 49.4 for R3D.
Why revisit temporal modelling in frame-based video models
Action recognition has moved more slowly than still-image recognition. The best deep model, I3D, improves on the hand-crafted iDT only by a margin the authors judge much less striking than the gains seen in images.
The authors reject that reading and return to 3D convolutions, which mix time and space inside every filter, now placed within residual learning. Under this setup, 3D ResNets outperform 2D ResNets of the same depth on Sports-1M and Kinetics, which are large and challenging benchmarks.
Residual blocks and the four network families
All variants use the same residual template. An input clip has 3 RGB channels, L frames, and height H and width W. Each block uses vanilla residual blocks without bottlenecks, with two convolutional layers and a ReLU after each. The output of block i is its input plus the output of a function F with weights θi, which applies the two convolutions and the ReLUs.
\[ z_i = z_{i-1} + F(z_{i-1};\theta_i) \]
R2D reshapes the clip so that the L frames become channels, giving a 3L×H×W tensor. Its filters are 3D in shape but convolve only over space, so the first layer collapses time into single-channel feature maps, and no temporal reasoning follows. Since the maps have no temporal meaning, R2D uses no temporal striding.
R3D keeps the time axis. Its tensors are N_i×L×H_i×W_i and its filters have size N_{i-1}×t×d×d, with t=3 in this work.
MCx keeps 3D convolutions in the early groups and switches to 2D convolutions in the top groups. MC5 replaces group 5, MC4 replaces groups 4 and 5, and the other variants follow the same pattern. MC1 is left out because it equals f-R2D on clips. rMCx reverses the order, using 2D convolutions early and 3D convolutions late. Replacing 3D with 2D in a group also removes the temporal striding of that group, so downsampling in those layers is only spatial.
Factorizing each 3D filter into a (2+1)D block
R(2+1)D replaces each 3D filter of size N_{i-1}×t×d×d with two stacked steps. First, M_i two-dimensional filters of size N_{i-1}×1×d×d compute spatial responses. Then N_i temporal filters of size M_i×t×1×1 operate across time. A ReLU sits between the spatial and the temporal convolution, so each block contains two nonlinearities where a full 3D filter has one.
\[ M_i = \left\lfloor \frac{t\,d^2 N_{i-1} N_i}{d^2 N_{i-1} + t N_i} \right\rfloor \] If the original 3D convolution strides in space or time, the stride is split into its spatial and temporal parts. The same decomposition applies to any 3D convolutional layer.
The authors argue that the extra ReLU raises the number of nonlinearities without changing the number of parameters, which increases the complexity of the functions the network can represent. They draw a parallel with VGG, which stacks small filters with nonlinearities in between to approximate a large filter. The second argument concerns optimization, and it is tested separately in the training-error analysis below.
Kinetics comparison of convolution types
All variants are 18-layer networks trained from scratch on Kinetics with the same input. Frames are scaled to 128×171 and random 112×112 crops are taken, with temporal jittering during training. Two clip lengths are compared, 8 frames and 16 frames. Clip top-1 accuracy is reported for each clip, and video top-1 accuracy averages 10 center-cropped clip predictions.
With 8-frame clips, R2D reached 46.7 clip top-1 and f-R2D reached 48.1. R3D reached 49.4 and MC3 reached 50.7, which is the best mixed variant at this clip length.
R(2+1)D reached 52.8 clip top-1 at 8 frames against 49.4 for R3D, and 56.8 at 16 frames against 52.5 for R3D. At 16 frames it is the highest value in the table.
The authors report a 3 to 4% clip-level gain of mixed-convolution ResNets over 2D ResNets of comparable capacity, and say these models match R3D even though R3D has three times as many parameters.
rMC3 is more efficient than f-R2D because its temporal striding in conv3_1 shrinks the activations of all later 2D layers, whereas f-R2D never strides in time.
Why the factorized block trains better
Training and testing error are plotted for R3D and R(2+1)D with 18 layers and with 34 layers. The comparison is on Kinetics. R(2+1)D has lower testing error than R3D, and it also has lower training error. The gap in training error is largest for the 34-layer pair.
The authors read the lower training error as evidence that the spatial-temporal split makes optimization easier, and that the benefit grows with depth. This is a training-error observation for two depths on one dataset, so it supports the optimization reading only within that comparison.
Clip length and video-level prediction
An 18-layer R(2+1)D is trained and tested with clip lengths from 8 to 48 frames on Kinetics. Global spatiotemporal average pooling gives the same parameter count at every length. Clip accuracy keeps rising as frames are added, but video accuracy peaks at 32 frames.
Testing the 8-frame model on 32-frame clips lowers clip accuracy by 1.2% and video accuracy by 5.8% compared with testing on 8-frame clips. Fine-tuning a 32-frame model from the 8-frame weights gives 59.8% clip accuracy against 60.1% when training from scratch on 32 frames, and a 7% gain over the 8-frame model.
Table 3 lists 11.8 hours for the 8-frame model and 59.8 hours for training from scratch on 32 frames, with a 20.5 hour fine-tuning run from 8 to 32 frames. Training time is measured with 64 GPUs in parallel.
Sports-1M results against prior methods
R(2+1)D-34 is trained on Sports-1M with 8-frame and 32-frame RGB clips. The dataset has 1.1M videos over 487 sport categories. Videos are over 5 minutes long on average, so video accuracy averages 100 uniformly sampled clips per video rather than the 10 used on Kinetics.
R(2+1)D outperforms C3D by 10.9% and P3D by 9.1% in clip-level accuracy. The 2D ResNet-152 reaches 46.5* Clip@1, and the authors point out that it and P3D have 152 layers while R(2+1)D has 34.
With 8-frame RGB clips, R(2+1)D reaches 56.1 Clip@1 against 53.8 for R3D, a 2.3 point gap in favour of the factorized block.
Kinetics pretraining, I3D and transfer to UCF101 and HMDB51
Trained from scratch on RGB, R(2+1)D-RGB reaches 72.0 top-1 on Kinetics against 67.5 for I3D-RGB without pretraining, a 4.5 point difference. With Sports-1M pretraining, R(2+1)D-RGB reaches 74.3 top-1 and R(2+1)D-Flow reaches 68.5, against 65.3 for I3D-Flow pretrained on ImageNet. Under two-stream fusion, R(2+1)D pretrained on Sports-1M reaches 75.4 top-1 against 75.7 for I3D-Two-Stream pretrained on ImageNet, which is 0.3 lower.
Fine-tuned on UCF101 and HMDB51 after Kinetics pretraining, R(2+1)D-TwoStream reaches 97.3 and 78.7. I3D-Two-Stream reaches 98.0 and 80.7, but it also uses ImageNet pretraining. R(2+1)D-RGB with Kinetics pretraining reaches 96.8 on UCF101 and 74.5 on HMDB51, which the authors describe as comparable to I3D on RGB. For optical flow it is slightly weaker.
The authors attribute the flow gap to the optical flow method. R(2+1)D uses Farneback's method, while I3D uses TV-L1, which the authors describe as an order of magnitude slower.
Limitations
The study covers ResNet backbones and a homogeneous use of the (2+1)D decomposition. Searching for more suitable architectures is left to future work. Optical flow is computed with Farneback's method for efficiency, which the authors link to the flow-stream gap with I3D.
The clip-length study uses only the 18-layer model and frame counts from 8 to 48. The starred Sports-1M baselines are taken from prior work rather than retrained under this study's setup.
Paper info
- Authors
- Du Tran, Heng Wang, Lorenzo Torresani, Jamie Ray, Yann LeCun, Manohar Paluri
- Venue
- arXiv · Preprint
- First published
- 2017-11-30
- Added
- 2026-11-12
- Updated
- 2018-4-12
- Version
- v3
- arXiv
- 1711.11248
- Category
- cs.CV
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Du Tran, Heng Wang, Lorenzo Torresani, Jamie Ray, Yann LeCun, Manohar Paluri (2017). A Closer Look at Spatiotemporal Convolutions for Action Recognition. arXiv:1711.11248v3. https://arxiv.org/abs/1711.11248v3
BibTeX
@misc{tran2017closer,
title = {{A Closer Look at Spatiotemporal Convolutions for Action Recognition}},
author = {Du Tran and Heng Wang and Lorenzo Torresani and Jamie Ray and Yann LeCun and Manohar Paluri},
year = {2017},
eprint = {1711.11248},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1711.11248v3}
}