
pytorchvideo_efficient_x3d_s
Video541 ops3.8M params
An efficient 3D ConvNet for video classification, expanded axis by axis from a tiny 2D network.
Video · 541 operations Checked
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.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
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.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@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},
}