paper-with-me

Papers

S$^2$-MLP: Spatial-Shift MLP Architecture for Vision

2021-06-14 · Tan Yu, Xu Li, Yunfeng Cai, Mingming Sun, Ping Li

Recently, visual Transformer (ViT) and its following works abandon the convolution and exploit the self-attention operation, attaining a comparable or even higher accuracy than CNNs. More recently, MLP-Mixer abandons both the convolution and the self-attention operation, proposing an architecture containing only MLP layers. To achieve cross-patch communications, it devises an additional token-mixing MLP besides the channel-mixing MLP. It achieves promising results when training on an extremely large-scale dataset. But it cannot achieve as outstanding performance as its CNN and ViT counterparts when training on medium-scale datasets such as ImageNet1K and ImageNet21K. The performance drop of MLP-Mixer motivates us to rethink the token-mixing MLP. We discover that the token-mixing MLP is a variant of the depthwise convolution with a global reception field and spatial-specific configuration. But the global reception field and the spatial-specific property make token-mixing MLP prone to over-fitting. In this paper, we propose a novel pure MLP architecture, spatial-shift MLP (S$^2$-MLP). Different from MLP-Mixer, our S$^2$-MLP only contains channel-mixing MLP. We utilize a spatial-shift operation for communications between patches. It has a local reception field and is spatial-agnostic. It is parameter-free and efficient for computation. The proposed S$^2$-MLP attains higher recognition accuracy than MLP-Mixer when training on ImageNet-1K dataset. Meanwhile, S$^2$-MLP accomplishes as excellent performance as ViT on ImageNet-1K dataset with considerably simpler architecture and fewer FLOPs and parameters.

📄 PDF Abstract BibTeX arXiv:2106.07477

Code (1)

dslisleedh/MLP_based_models-tensorflow2/blob/master/s2mlp.py tf

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Position-Wise Feed-Forward Layer 설명 없음
Average Pooling 설명 없음
Global Average Pooling Global Average Pooling is a pooling operation designed to replace fully connected layers in classical CNNs. The idea is to generate one feature map for each corresponding…

Similar Papers 제목 키워드 기반

S$^2$-MLPv2: Improved Spatial-Shift MLP Architecture for Vision

2021-08-02 · Tan Yu, Xu Li, Yunfeng Cai, Mingming Sun 외

Recently, MLP-based vision backbones emerge. MLP-based vision architectures with less inductive bias achieve competitive performance in image recognition compared with CNNs and vision Transformers. Among them, spatial-sh…

Inductive Bias

Making Vision Transformers Truly Shift-Equivariant

2023-05-25 · CVPR 2024 1 · Renan A. Rojas-Gomez, Teck-Yian Lim, Minh N. Do, Raymond A. Yeh

For computer vision, Vision Transformers (ViTs) have become one of the go-to deep net architectures. Despite being inspired by Convolutional Neural Networks (CNNs), ViTs' output remains sensitive to small spatial shifts …

image-classificationImage ClassificationSemantic Segmentation

TS2-Net: Token Shift and Selection Transformer for Text-Video Retrieval

2022-07-16 · Yuqi Liu, Pengfei Xiong, Luhui Xu, Shengming Cao 외

Text-Video retrieval is a task of great practical value and has received increasing attention, among which learning spatial-temporal video representation is one of the research hotspots. The video encoders in the state-o…

RetrievalVideo Retrieval

CrossTransformers: spatially-aware few-shot transfer

2020-07-22 · NeurIPS 2020 12 · Carl Doersch, Ankush Gupta, Andrew Zisserman

Given new tasks with very little data$-$such as new classes in a classification problem or a domain shift in the input$-$performance of modern vision systems degrades remarkably quickly. In this work, we illustrate how t…

Self-Supervised Learning

Spectral Vision Transformer for Efficient Tokenization with Limited Data

2026-05-12 · Alexandra G. Roberts, Maneesh John, Jinwei Zhang, Dominick Romano 외 arxiv

We propose a novel spectral vision transformer architecture for efficient tokenization in limited data, with an emphasis on medical imaging. We outline convenient theoretical properties arising from the choice of basis i…