mlsanityData to 14 Oct 2026

MSPE: Multi-Scale Patch Embedding Prompts Vision Transformers to Any Resolution

arXiv 2405.18240 ↗First posted 28 May 2024cs.CVcited by 6

Not on the map. Why?

Abstract (arXiv)

Although Vision Transformers (ViTs) have recently advanced computer vision tasks significantly, an important real-world problem was overlooked: adapting to variable input resolutions. Typically, images are resized to a fixed resolution, such as 224x224, for efficiency during training and inference. However, uniform input size conflicts with real-world scenarios where images naturally vary in resolution. Modifying the preset resolution of a model may severely degrade the performance. In this work, we propose to enhance the model adaptability to resolution variation by optimizing the patch embedding. The proposed method, called Multi-Scale Patch Embedding (MSPE), substitutes the standard patch embedding with multiple variable-sized patch kernels and selects the best parameters for different resolutions, eliminating the need to resize the original image. Our method does not require high-cost training or modifications to other parts, making it easy to apply to most ViT models. Experiments in image classification, segmentation, and detection tasks demonstrate the effectiveness of MSPE, yielding superior performance on low-resolution inputs and performing comparably on high-resolution inputs with existing methods.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 43 of its 52 references that are in the map. First posted on arXiv 28 May 2024.

Builds on

43 of 52 references.

References · 43

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  4. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  5. 2020End-to-End Object Detection with Transformerscited by 7,414
  6. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
  7. 2017Mask R-CNNcited by 7,277
  8. 2016Densely Connected Convolutional Networkscited by 6,720
  9. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,442
  10. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
  11. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,795
  12. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
31 more
  1. 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,444
  2. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,884
  3. 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,546
  4. 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,269
  5. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
  6. 2021ViViT: A Video Vision Transformercited by 1,620
  7. 2015Spatial Transformer Networkscited by 1,429
  8. 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,385
  9. 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,369
  10. 2017Random Erasing Data Augmentationcited by 1,239
  11. 2016Semantic Understanding of Scenes through the ADE20K Datasetcited by 1,069
  12. 2021Scaling Vision Transformerscited by 999
  13. 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 751
  14. 2022Exploring Plain Vision Transformer Backbones for Object Detectioncited by 724
  15. 2020A Survey on Visual Transformercited by 654
  16. 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 569
  17. 2021MViTv2: Improved Multiscale Vision Transformers for Classification and Detectioncited by 519
  18. 2022ViTPose: Simple Vision Transformer Baselines for Human Pose Estimationcited by 456
  19. 2022DeiT III: Revenge of the ViTcited by 419
  20. 2022Pix2Struct: Screenshot Parsing as Pretraining for Visual Language Understandingcited by 366
  21. 2021AdaViT: Adaptive Tokens for Efficient Vision Transformercited by 362
  22. 2023Patch n' Pack: NaViT, a Vision Transformer for any Aspect Ratio and Resolutioncited by 229
  23. 2019Fixing the train-test resolution discrepancycited by 209
  24. 2022FlexiViT: One Model for All Patch Sizescited by 152
  25. 2020Resolution Adaptive Networks for Efficient Inferencecited by 146
  26. 2017An Analysis of Scale Invariance in Object Detection - SNIPcited by 120
  27. 2022Inception Transformercited by 99
  28. 2021Multi-Scale High-Resolution Vision Transformer for Semantic Segmentationcited by 92
  29. 2020Dynamic ReLUcited by 55
  30. 2021Learning to Resize Images for Computer Vision Taskscited by 45
  31. 2022ResFormer: Scaling ViTs with Multi-Resolution Trainingcited by 34

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 4; 2026: 2.

6 papers.