X-MLP: A Patch Embedding-Free MLP Architecture for Vision

Xinyue Wang, Zhicheng Cai, Chenglei Peng
7/2/2023
cs.CV

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Convolutional neural networks (CNNs) and vision transformers (ViT) have obtained great achievements in computer vision. Recently, the research of multi-layer perceptron (MLP) architectures for vision have been popular again. Vision MLPs are designed to be independent from convolutions and self-attention operations. However, existing vision MLP architectures always depend on convolution for patch embedding. Thus we propose X-MLP, an architecture constructed absolutely upon fully connected layers and free from patch embedding. It decouples the features extremely and utilizes MLPs to interact the information across the dimension of width, height and channel independently and alternately. X-MLP is tested on ten benchmark datasets, all obtaining better performance than other vision MLP models. It even surpasses CNNs by a clear margin on various dataset. Furthermore, through mathematically restoring the spatial weights, we visualize the information communication between any couples of pixels in the feature map and observe the phenomenon of capturing long-range dependency.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2023xmlp,
  title  = {X-MLP: A Patch Embedding-Free MLP Architecture for Vision},
  author = {Xinyue Wang and Zhicheng Cai and Chenglei Peng},
  year   = {2023},
  eprint = {2307.00592},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.00592v1}
}

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/2307.00592.svg)](https://codeofpaper.com/paper/2307.00592)

Discussion