Parameterization of Cross-Token Relations with Relative Positional Encoding for Vision MLP
Not on the map. Why?
Abstract (arXiv)
Vision multi-layer perceptrons (MLPs) have shown promising performance in computer vision tasks, and become the main competitor of CNNs and vision Transformers. They use token-mixing layers to capture cross-token interactions, as opposed to the multi-head self-attention mechanism used by Transformers. However, the heavily parameterized token-mixing layers naturally lack mechanisms to capture local information and multi-granular non-local relations, thus their discriminative power is restrained. To tackle this issue, we propose a new positional spacial gating unit (PoSGU). It exploits the attention formulations used in the classical relative positional encoding (RPE), to efficiently encode the cross-token relations for token mixing. It can successfully reduce the current quadratic parameter complexity O(N2) of vision MLPs to O(N) and O(1). We experiment with two RPE mechanisms, and further propose a group-wise extension to improve their expressive power with the accomplishment of multi-granular contexts. These then serve as the key building blocks of a new type of vision MLP, referred to as PosMLP. We evaluate the effectiveness of the proposed approach by conducting thorough experiments, demonstrating an improved or comparable performance with reduced parameter complexity. For instance, for a model trained on ImageNet1K, we achieve a performance improvement from 72.14% to 74.02% and a learnable parameter reduction from 19.4M to 18.2M. Code could be found at https://github.com/Zhicaiwww/PosMLP.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 47 of its 58 references that are in the map. First posted on arXiv 15 Jul 2022.
Builds on
47 of 58 references.
References · 47
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2017Mask R-CNNcited by 7,259
- 2016Layer Normalizationcited by 5,579
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
35 more
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
- 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,379
- 2017Random Erasing Data Augmentationcited by 1,235
- 2018Self-Attention with Relative Position Representationscited by 1,112
- 2016Deep Networks with Stochastic Depthcited by 973
- 2020Designing Network Design Spacescited by 954
- 2021CoAtNet: Marrying Convolution and Attention for All Data Sizescited by 566
- 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 526
- 2021ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biasescited by 484
- 2021Conditional Positional Encodings for Vision Transformerscited by 402
- 2021Early Convolutions Help Transformers See Bettercited by 395
- 2021Pay Attention to MLPscited by 367
- 2021ResMLP: Feedforward networks for image classification with data-efficient trainingcited by 338
- 2017Relation Networks for Object Detectioncited by 305
- 2019On the Relationship between Self-Attention and Convolutional Layerscited by 299
- 2021Understanding Robustness of Transformers for Image Classificationcited by 250
- 2019Local Relation Networks for Image Recognitioncited by 210
- 2021Rethinking and Improving Relative Position Encoding for Vision Transformercited by 206
- 2020Rethinking Positional Encoding in Language Pre-trainingcited by 197
- 2021CycleMLP: A MLP-like Architecture for Dense Predictioncited by 126
- 2021Vision Permutator: A Permutable MLP-Like Architecture for Visual Recognitioncited by 103
- 2021AS-MLP: An Axial Shifted MLP Architecture for Visioncited by 101
- 2021S2-MLP: Spatial-Shift MLP Architecture for Visioncited by 83
- 2020Improve Transformer Models with Better Relative Position Embeddingscited by 73
- 2021Hire-MLP: Vision MLP via Hierarchical Rearrangementcited by 66
- 2021Token Shift Transformer for Video Classificationcited by 61
- 2021CAPE: Encoding Relative Positions with Continuous Augmented Positional Embeddingscited by 47
- 2021RepMLP: Re-parameterizing Convolutions into Fully-connected Layers for Image Recognitioncited by 40
- 2022Cross-Modality High-Frequency Transformer for MR Image Super-Resolutioncited by 20
- 2022Group Contextualization for Video Recognitioncited by 18
- 2018Intrinsic Image Transformation via Scale Space Decompositioncited by 10
Built on by
Citing papers per year: 2024: 1.
1 paper.