paper-with-me

Papers

Sparse MLP for Image Recognition: Is Self-Attention Really Necessary?

2021-09-12 · Chuanxin Tang, Yucheng Zhao, Guangting Wang, Chong Luo, Wenxuan Xie, Wenjun Zeng

Transformers have sprung up in the field of computer vision. In this work, we explore whether the core self-attention module in Transformer is the key to achieving excellent performance in image recognition. To this end, we build an attention-free network called sMLPNet based on the existing MLP-based vision models. Specifically, we replace the MLP module in the token-mixing step with a novel sparse MLP (sMLP) module. For 2D image tokens, sMLP applies 1D MLP along the axial directions and the parameters are shared among rows or columns. By sparse connection and weight sharing, sMLP module significantly reduces the number of model parameters and computational complexity, avoiding the common over-fitting problem that plagues the performance of MLP-like models. When only trained on the ImageNet-1K dataset, the proposed sMLPNet achieves 81.9% top-1 accuracy with only 24M parameters, which is much better than most CNNs and vision Transformers under the same model size constraint. When scaling up to 66M parameters, sMLPNet achieves 83.4% top-1 accuracy, which is on par with the state-of-the-art Swin Transformer. The success of sMLPNet suggests that the self-attention mechanism is not necessarily a silver bullet in computer vision. The code and models are publicly available at https://github.com/microsoft/SPACH

📄 PDF Abstract BibTeX arXiv:2109.05422

Code (2)

microsoft/SPACH 공식 구현 pytorch
liuruiyang98/Jittor-MLP jax

Tasks

Image Classification

Methods 이 논문이 사용한 방법론

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 설명 없음
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Adam 설명 없음

Similar Papers 제목 키워드 기반

Adaptive Sparse and Monotonic Attention for Transformer-based Automatic Speech Recognition

2022-09-30 · Chendong Zhao, Jianzong Wang, Wen qi Wei, Xiaoyang Qu 외

The Transformer architecture model, based on self-attention and multi-head attention, has achieved remarkable success in offline end-to-end Automatic Speech Recognition (ASR). However, self-attention and multi-head atten…

Automatic Speech RecognitionAutomatic Speech Recognition (ASR)speech-recognitionSpeech Recognition

Do we really need Self-Attention for Streaming Automatic Speech Recognition?

2026-01-27 · Youness Dkhissi, Valentin Vielzeuf, Elys Allesiardo, Anthony Larcher arxiv

Transformer-based architectures are the most used architectures in many deep learning fields like Natural Language Processing, Computer Vision or Speech processing. It may encourage the direct use of Transformers in the …

Speech Recognition

S2RL: Do We Really Need to Perceive All States in Deep Multi-Agent Reinforcement Learning?

2022-06-20 · Shuang Luo, Yinchuan Li, Jiahui Li, Kun Kuang 외

Collaborative multi-agent reinforcement learning (MARL) has been widely used in many practical applications, where each agent makes a decision based on its own observation. Most mainstream methods treat each local observ…

AllMulti-agent Reinforcement LearningReinforcement Learning (RL)Starcraft+1

Keep It SimPool: Who Said Supervised Transformers Suffer from Attention Deficit?

2023-09-13 · ICCV 2023 1 · Bill Psomas, Ioannis Kakogeorgiou, Konstantinos Karantzalos, Yannis Avrithis

Convolutional networks and vision transformers have different forms of pairwise interactions, pooling across layers and pooling at the end of the network. Does the latter really need to be different? As a by-product of p…

Image ClassificationImage RetrievalMetric LearningObject Discovery+3

Deep Sparse Conformer for Speech Recognition

2022-09-01 · Xianchao Wu

Conformer has achieved impressive results in Automatic Speech Recognition (ASR) by leveraging transformer's capturing of content-based global interactions and convolutional neural network's exploiting of local features. …

Automatic Speech RecognitionAutomatic Speech Recognition (ASR)speech-recognitionSpeech Recognition