MorphMLP: An Efficient MLP-Like Backbone for Spatial-Temporal Representation Learning

David Junhao Zhang, Kunchang Li, Yali Wang, Yunpeng Chen, Shashwat Chandra +3 more
11/24/2021
39 citations
cs.CV

Official code: MTLab/MorphMLP (140 stars, Python, Apache-2.0, last commit 2023-03-16).

Abstract

Recently, MLP-Like networks have been revived for image recognition. However, whether it is possible to build a generic MLP-Like architecture on video domain has not been explored, due to complex spatial-temporal modeling with large computation burden.

Show full abstract

To fill this gap, we present an efficient self-attention free backbone, namely MorphMLP, which flexibly leverages the concise Fully-Connected (FC) layer for video representation learning. Specifically, a MorphMLP block consists of two key layers in sequence, i.e., MorphFC_s and MorphFC_t, for spatial and temporal modeling respectively. MorphFC_s can effectively capture core semantics in each frame, by progressive token interaction along both height and width dimensions. Alternatively, MorphFC_t can adaptively learn long-term dependency over frames, by temporal token aggregation on each spatial location. With such multi-dimension and multi-scale factorization, our MorphMLP block can achieve a great accuracy-computation balance. Finally, we evaluate our MorphMLP on a number of popular video benchmarks. Compared with the recent state-of-the-art models, MorphMLP significantly reduces computation but with better accuracy, e.g., MorphMLP-S only uses 50% GFLOPs of VideoSwin-T but achieves 0.9% top-1 improvement on Kinetics400, under ImageNet1K pretraining. MorphMLP-B only uses 43% GFLOPs of MViT-B but achieves 2.4% top-1 improvement on SSV2, even though MorphMLP-B is pretrained on ImageNet1K while MViT-B is pretrained on Kinetics400. Moreover, our method adapted to the image domain outperforms previous SOTA MLP-Like architectures. Code is available at https://github.com/MTLab/MorphMLP.

View on arXivView PDF

Code Implementations(1)

MTLab/MorphMLPOfficial100%
Apache-2.0
14013Python, ShellJan 26, 20223 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhang2021morphmlp,
  title  = {MorphMLP: An Efficient MLP-Like Backbone for Spatial-Temporal Representation Learning},
  author = {David Junhao Zhang and Kunchang Li and Yali Wang and Yunpeng Chen and Shashwat Chandra and Yu Qiao and Luoqi Liu and Mike Zheng Shou},
  year   = {2021},
  eprint = {2111.12527},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.12527}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2111.12527.svg)](https://codeofpaper.com/paper/2111.12527)

Discussion