All models

pytorchvideo_efficient_x3d_xs

An efficient 3D ConvNet for video classification, expanded axis by axis from a tiny 2D network.

Video · 541 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 (25 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
Parameters
3.8M
Operations
541
Framework
PyTorch
Recurrent
No
Published
CVPR 2020
Cited by
1,239 (as of 20 October 2026)
Authors
Christoph Feichtenhofer
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
m8476
Graph hash
4fc249e6eb490813b4ff548d467c07df5ebf0de24826cb9e9ec00ddcf772c4e1
Skeleton hash
55534b5aab59fb9bc44122205670ecea1e292f30d3b0c33940ccf48baed04421
Architecture hash
22c86685ce0b63fffd27ea7dfaa8c243e562c4f022310e391fc141e1df4790c7
Diagram SHA-256
3a2803e84474b6a4f3b694a6e38f05cfe1a1cf66afff0327399e5d1139307d7e
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

This model is the XS size, which in the paper is the smallest instance and the output after 5 expansion steps.

About this model's family

X3D is a family of efficient video recognition networks made by progressively expanding a tiny 2D image classification architecture along multiple axes, in space, time, width and depth. The paper's starting point is that expanding a small model only along the temporal axis does not always give the best trade-off between computation and accuracy.

The search is a simple stepwise procedure: each step expands only one axis at a time, trains and validates the result, and keeps the axis with the best computation/accuracy trade-off. The stages follow the MobileNet design, extending every spatial 3×3 convolution in the bottleneck block to a 3×3×3 spatiotemporal convolution. There is no temporal downsampling anywhere before the global pooling layer. Squeeze-Excitation blocks appear only in every other residual block, a choice the paper makes to conserve memory.

The paper names as its most surprising finding that networks with high spatiotemporal resolution can perform well while being extremely light in network width and parameters. On Kinetics-400 it reports X3D-XL requiring 4.8× fewer multiply-add operations and 5.5× fewer parameters than a SlowFast model of comparable accuracy. PyTorchVideo, the library this implementation comes from, shows a PyTorchVideo-accelerated X3D model running on a Samsung Galaxy S10 phone about 8x faster than real time.

Key idea. X3D expands a tiny 2D image classification network one axis at a time, choosing at each step the expansion with the best accuracy to complexity trade-off.

  • Efficient X3D
  • X3D
  • EfficientX3d
  • efficient_x3d_xs
  • efficient_x3d_s
  • efficient video recognition
  • video classification
  • action recognition
  • PyTorchVideo X3D
  • mobile video model

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

Cite the paper

@misc{feichtenhofer2020x3dexpandingarchitecturesefficient,
      title={X3D: Expanding Architectures for Efficient Video Recognition}, 
      author={Christoph Feichtenhofer},
      year={2020},
      eprint={2004.04730},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2004.04730}, 
}