mlsanityData to 7 Oct 2026

Parameterization of Cross-Token Relations with Relative Positional Encoding for Vision MLP

arXiv 2207.07284 ↗First posted 15 Jul 2022cs.CV cs.AIcited by 1

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  6. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  7. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  8. 2020End-to-End Object Detection with Transformerscited by 7,384
  9. 2017Mask R-CNNcited by 7,259
  10. 2016Layer Normalizationcited by 5,579
  11. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
  12. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
35 more
  1. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
  2. 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
  3. 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
  4. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
  5. 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
  6. 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,379
  7. 2017Random Erasing Data Augmentationcited by 1,235
  8. 2018Self-Attention with Relative Position Representationscited by 1,112
  9. 2016Deep Networks with Stochastic Depthcited by 973
  10. 2020Designing Network Design Spacescited by 954
  11. 2021CoAtNet: Marrying Convolution and Attention for All Data Sizescited by 566
  12. 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 526
  13. 2021ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biasescited by 484
  14. 2021Conditional Positional Encodings for Vision Transformerscited by 402
  15. 2021Early Convolutions Help Transformers See Bettercited by 395
  16. 2021Pay Attention to MLPscited by 367
  17. 2021ResMLP: Feedforward networks for image classification with data-efficient trainingcited by 338
  18. 2017Relation Networks for Object Detectioncited by 305
  19. 2019On the Relationship between Self-Attention and Convolutional Layerscited by 299
  20. 2021Understanding Robustness of Transformers for Image Classificationcited by 250
  21. 2019Local Relation Networks for Image Recognitioncited by 210
  22. 2021Rethinking and Improving Relative Position Encoding for Vision Transformercited by 206
  23. 2020Rethinking Positional Encoding in Language Pre-trainingcited by 197
  24. 2021CycleMLP: A MLP-like Architecture for Dense Predictioncited by 126
  25. 2021Vision Permutator: A Permutable MLP-Like Architecture for Visual Recognitioncited by 103
  26. 2021AS-MLP: An Axial Shifted MLP Architecture for Visioncited by 101
  27. 2021S2-MLP: Spatial-Shift MLP Architecture for Visioncited by 83
  28. 2020Improve Transformer Models with Better Relative Position Embeddingscited by 73
  29. 2021Hire-MLP: Vision MLP via Hierarchical Rearrangementcited by 66
  30. 2021Token Shift Transformer for Video Classificationcited by 61
  31. 2021CAPE: Encoding Relative Positions with Continuous Augmented Positional Embeddingscited by 47
  32. 2021RepMLP: Re-parameterizing Convolutions into Fully-connected Layers for Image Recognitioncited by 40
  33. 2022Cross-Modality High-Frequency Transformer for MR Image Super-Resolutioncited by 20
  34. 2022Group Contextualization for Video Recognitioncited by 18
  35. 2018Intrinsic Image Transformation via Scale Space Decompositioncited by 10

Built on by

Cited by year

Citing papers per year: 2024: 1.

1 paper.