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

David Junhao Zhang, Kunchang Li, Yali Wang, Yunpeng Chen, Shashwat Chandra, Yu Qiao, Luoqi Liu, Mike Zheng Shou

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. 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.

Introduction

While Vision Transformers (ViTs) have recently dominated computer vision, their core mechanism—self-attention—remains computationally expensive, particularly for video data which introduces an additional temporal dimension. This has led to a revival of "MLP-like" architectures that replace complex attention mechanisms with simpler Multi-Layer Perceptrons. However, applying these models to the video domain is challenging. Existing MLP-like models often operate globally, failing to capture the hierarchical, fine-grained spatial details necessary for scene understanding, and they struggle with the massive computational overhead required to model long-range temporal dependencies.

To address these issues, we introduce MorphMLP, a generic and efficient self-attention-free backbone designed specifically for spatial-temporal representation learning. MorphMLP bridges the gap between the simplicity of MLPs and the complex requirements of video processing.

The MorphMLP Architecture

The core of our architecture is the MorphMLP block, which factorizes video processing into two specialized, sequential layers: $MorphFC_s$ for spatial modeling and $MorphFC_t$ for temporal modeling.

Spatial Modeling ($MorphFC_s$)

Unlike standard MLPs that might attempt to process an entire frame globally, $MorphFC_s$ splits the frame into horizontal and vertical "chunks." Crucially, the size of these chunks morphs (expands) as the network deepens. In early stages, the layer focuses on small, local regions to capture fine-grained details. As the data progresses through the network, the receptive field expands to capture broader, global semantics. This progressive expansion allows the model to mimic the effective local-to-global hierarchy of convolutions while utilizing the flexibility of non-shared weights in FC layers.

Comparison of receptive fields across architectures.

Temporal Modeling ($MorphFC_t$)

To handle the temporal dimension efficiently, $MorphFC_t$ groups features from the same spatial location across all frames into a temporal chunk. A simple FC layer then aggregates these features, allowing the model to learn long-term dependencies across the entire video clip without the quadratic complexity associated with joint space-time self-attention.

The overall architecture follows a standard four-stage hierarchical design, incorporating spatial downsampling and channel expansion between stages, stabilized by specific skip residual connections around the spatial layers.

Experimental Results

MorphMLP was evaluated across several rigorous benchmarks, consistently outperforming more complex models with significantly lower computational costs.

Video Classification

On the Kinetics-400 dataset, MorphMLP-S achieved 79.7% top-1 accuracy, outperforming VideoSwin-T (78.8%) while using only 50% of the GFLOPs. On the motion-heavy Something-Something V2 (SSV2) benchmark, MorphMLP-B reached 70.1% top-1 accuracy, surpassing the state-of-the-art MViT-B by 2.4% while using only 43% of the GFLOPs, despite being pretrained on the smaller ImageNet-1K dataset.

Accuracy vs. Computation trade-offs on video benchmarks.

Image and Dense Prediction Tasks

When adapted to the image domain, MorphMLP-T achieved 81.6% on ImageNet-1K, surpassing previous MLP-like leaders such as CycleMLP and ViP. Furthermore, on the ADE20K semantic segmentation task, MorphMLP-T achieved 43.0 mIoU, outperforming Swin-T (41.5) with a more efficient parameter count.

Conclusion

MorphMLP demonstrates that self-attention is not a prerequisite for high-performance video recognition. By leveraging progressive receptive fields and efficient spatial-temporal factorization, MorphMLP achieves a superior accuracy-computation balance compared to both CNN and Transformer-based architectures. Future work will explore larger-scale video models and further optimize the underlying chunking operations to improve real-world inference speeds.

Summary updated

BibTeX
@inproceedings{zhang2022morphmlp,
  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},
  title = {{MorphMLP: An Efficient MLP-Like Backbone for Spatial-Temporal Representation Learning}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  url = {https://openreview.net/forum?id=WagmoUp2Ty},
}
Figure