All models

pytorchvideo_r2plus1d_r50

A video ResNet whose 3D convolutions are split into a 2D spatial and a 1D temporal convolution.

Video · 227 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (21 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Task
Video
Family
R(2+1)D
Parameters
28.1M
Operations
227
Framework
PyTorch
Recurrent
No
Published
CVPR 2018
Cited by
3,793 (as of 20 October 2026)
Authors
Du Tran, Heng Wang, Lorenzo Torresani and others
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m8478
Graph hash
1760d41fb28d75b91b26511993215d7082058b30aefd3ae57def08a3b9a41ccb
Skeleton hash
9fee4e6a07b2d235a1667113b93d80879ff7b52cb832c0651be4f48e1c23a4ab
Architecture hash
95099fc35f592f3d683e1f4b47cd1b13bd41376b56eae58b14437db09699c9d1
Diagram SHA-256
2061dff5ae8b77f306c2f442d60483103851e6164bc44e9ec20a743d7ec3135d
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

R(2+1)D is a residual network for video action recognition built on the "(2+1)D" convolution, which decomposes a 3D convolution into a 2D spatial convolution followed by a 1D temporal convolution. It came out of a study that compared several forms of spatiotemporal convolution within residual networks, among them 2D convolution over frames, full 3D convolution and mixed 3D-2D designs.

The paper names two advantages of the decomposition over full 3D convolution. First, without changing the number of parameters, the extra ReLU between the 2D and the 1D convolution doubles the number of nonlinearities in the network. Second, the factorized filters are easier to optimize: for the same number of layers and parameters, R(2+1)D reached lower training error as well as lower testing error than the 3D ResNet, R3D.

On Sports-1M with RGB input, the paper reports a 34-layer R(2+1)D ahead of P3D, which uses a 152-layer ResNet, by 9.1% in Clip at 1 accuracy (57.0% vs 47.9%).

Key idea. The paper shows that factorizing 3D convolutional filters into separate spatial and temporal components inside a ResNet gives gains in action recognition accuracy, and builds the R(2+1)D block on that.

  • r(2+1)d
  • r2plus1d
  • r2+1d
  • (2+1)d convolution
  • action recognition
  • video classification
  • spatiotemporal convolution
  • r2plus1d_r50
  • factorized 3d convolution

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{tran2018closerlookspatiotemporalconvolutions,
      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={2018},
      eprint={1711.11248},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1711.11248}, 
}