
pytorchvideo_x3d_m
Video410 ops3.8M params
An efficient video classification network expanded step by step from a tiny 2D image architecture.
Video · 410 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.
On Kinetics-400 the paper reports X3D-M as comparable to SlowFast 4×16, R50 while having 4.7× fewer FLOPs and 9.1× fewer parameters.
About this model's family
X3D is a family of efficient video networks, made by progressively expanding a tiny 2D image classification architecture along several axes: space, time, width and depth. The name stands for Expand 3D, for expanding from the 2D space into the 3D spacetime domain.
Before any expansion the base network is called X2D, and the paper gives it 20.67M FLOPS and 1.63M parameters. Its stages follow the MobileNet design, with every spatial 3×3 convolution in the bottleneck block extended to a 3×3×3 spatiotemporal convolution. X2D is then expanded across 6 axes: temporal duration, frame rate, spatial resolution, width, bottleneck width and depth. The expansion grows only one axis at a time: each candidate is trained and validated, and the axis with the best computation/accuracy trade-off is selected.
The author's most surprising finding is that networks with high spatiotemporal resolution can perform well while being extremely light in network width and parameters. On Kinetics-400 the paper reports X3D-XL as comparable to SlowFast, slightly lower in top-1 accuracy, while requiring 4.8× fewer multiply-add operations and 5.5× fewer parameters. All models in the paper are trained from random initialization on Kinetics, without ImageNet or other pre-training.
Key idea. X3D expands a tiny 2D image classification network one axis at a time, keeping the step with the best accuracy to complexity trade-off, to produce efficient video networks.
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},
}