
pytorchvideo_x3d_m
Video410 ops3.8M params
A tiny 2D mobile network expanded step by step into an efficient video classifier.
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.
X3D is a family of efficient video networks grown from a tiny 2D image classifier by expanding it, one axis at a time, in space, time, width and depth. The appeal is the accuracy-to-complexity trade-off: each expansion step grows a single axis, trains the result, and keeps the axis that pays off best. The paper reports state-of-the-art accuracy with 4.8x fewer multiply-adds and 5.5x fewer parameters than previous work at similar accuracy.
The six candidate axes are temporal duration, frame rate, spatial resolution, network width, bottleneck width and depth. The 2D base follows the MobileNet idea of channel-wise separable convolutions but is made tiny, with over 10x fewer multiply-adds than mobile image models. The authors describe the expansion as a form of coordinate descent in the hyper-parameter space defined by those axes. With all expansion factors at one the model is called X2D, at 20.67M FLOPS and 1.63M parameters.
The captured member is X3D-XS, the smallest instance, which is the output after 5 expansion steps. Reaching it cost little: each step trained models of around 0.04, 0.08, 0.15, 0.30 and 0.60 GFLOPs. The surprising finding the authors flag is that networks with high spatiotemporal resolution can perform well while being extremely light in width and parameters. The PyTorchVideo README shows an X3D model on a Samsung Galaxy S10 phone running about 8x faster than real time, roughly 130 ms per second of video.
Key idea. X3D expands a tiny MobileNet-style 2D network along six axes, one step at a time, to reach efficient video classifiers with 4.8x fewer multiply-adds and 5.5x fewer parameters than prior work at similar accuracy.
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},
}