mlsanityData to 7 Oct 2026

MSViT: Dynamic Mixed-Scale Tokenization for Vision Transformers

arXiv 2307.02321 ↗First posted 5 Jul 2023cs.CVcited by 19

Not on the map. Why?

Abstract (arXiv)

The input tokens to Vision Transformers carry little semantic meaning as they are defined as regular equal-sized patches of the input image, regardless of its content. However, processing uniform background areas of an image should not necessitate as much compute as dense, cluttered areas. To address this issue, we propose a dynamic mixed-scale tokenization scheme for ViT, MSViT. Our method introduces a conditional gating mechanism that selects the optimal token scale for every image region, such that the number of tokens is dynamically determined per input. In addition, to enhance the conditional behavior of the gate during training, we introduce a novel generalization of the batch-shaping loss. We show that our gating module is able to learn meaningful semantics despite operating locally at the coarse patch-level. The proposed gating module is lightweight, agnostic to the choice of transformer backbone, and trained within a few epochs with little training overhead. Furthermore, in contrast to token pruning, MSViT does not lose information about the input, thus can be readily applied for dense tasks. We validate MSViT on the tasks of classification and segmentation where it leads to improved accuracy-complexity trade-off.

Key facts. Cited by 19 papers in the map (data through 7 Oct 2026). Builds on 49 of its 61 references that are in the map. First posted on arXiv 5 Jul 2023.

Builds on

49 of 61 references.

References · 49

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  4. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  5. 2020End-to-End Object Detection with Transformerscited by 7,384
  6. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
  7. 2016Feature Pyramid Networks for Object Detectioncited by 5,021
  8. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  9. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
  10. 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
  11. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
  12. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
37 more
  1. 2020Reformer: The Efficient Transformercited by 1,658
  2. 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
  3. 2020Rethinking Attention with Performerscited by 1,584
  4. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  5. 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
  6. 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,215
  7. 2016The Concrete Distribution: A Continuous Relaxation of Discrete Random Variablescited by 1,135
  8. 2022Token Merging: Your ViT But Fastercited by 995
  9. 2021Multiscale Vision Transformerscited by 896
  10. 2021Segmenter: Transformer for Semantic Segmentationcited by 855
  11. 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
  12. 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
  13. 2020Efficient Transformers: A Surveycited by 784
  14. 2017Focal Loss for Dense Object Detectioncited by 749
  15. 2021Scaling Vision with Sparse Mixture of Expertscited by 740
  16. 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 562
  17. 2019Stand-Alone Self-Attention in Vision Modelscited by 542
  18. 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 526
  19. 2021AdaViT: Adaptive Tokens for Efficient Vision Transformercited by 360
  20. 2022Not All Patches are What You Need: Expediting Vision Transformers via Token Reorganizationscited by 359
  21. 2021Random Feature Attentioncited by 350
  22. 2019On the Relationship between Self-Attention and Convolutional Layerscited by 299
  23. 2013Learning Factored Representations in a Deep Mixture of Expertscited by 275
  24. 2021AdaViT: Adaptive Vision Transformers for Efficient Image Recognitioncited by 228
  25. 2019Fixing the train-test resolution discrepancycited by 209
  26. 2021Evo-ViT: Slow-Fast Token Evolution for Dynamic Vision Transformercited by 175
  27. 2022FlexiViT: One Model for All Patch Sizescited by 151
  28. 2017Convolutional Networks with Adaptive Inference Graphscited by 147
  29. 2021Not All Images are Worth 16x16 Words: Dynamic Transformers for Efficient Image Recognitioncited by 143
  30. 2022QuadTree Attention for Vision Transformerscited by 129
  31. 2021TokenLearner: What Can 8 Learned Tokens Do for Images and Videos?cited by 127
  32. 2020Fast Transformers with Clustered Attentioncited by 123
  33. 2021SSTVOS: Sparse Spatiotemporal Transformers for Video Object Segmentationcited by 106
  34. 2022Fast Vision Transformers with HiLo Attentioncited by 78
  35. 2022Learning to Merge Tokens in Vision Transformerscited by 64
  36. 2019Batch-Shaping for Learning Conditional Channel Gated Networkscited by 42
  37. 2023Vision Transformers with Mixed-Resolution Tokenizationcited by 35

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 4; 2025: 6; 2026: 9.

19 papers.

Sort:

By area:

  1. 2024Next Token Prediction Towards Multimodal Intelligence: A Comprehensive Surveycited by 27
  2. 2025Accelerating Vision Transformers with Adaptive Patch Sizescited by 12
  3. 2024Conditional computation in neural networks: principles and research trendscited by 10
  4. 2024Tackling the Abstraction and Reasoning Corpus with Vision Transformers: the Importance of 2D Representation, Positions, and Objectscited by 9
  5. 2024Superpixel Tokenization for Vision Transformers: Preserving Semantic Integrity in Visual Tokenscited by 6
  6. 2025A Survey on Dynamic Neural Networks: from Computer Vision to Multi-modal Sensor Fusioncited by 5
  7. 2025Charm: The Missing Piece in ViT fine-tuning for Image Aesthetic Assessmentcited by 5
  8. 2026Fine-grained Image Aesthetic Assessment: Learning Discriminative Scores from Relative Rankscited by 5
  9. 2025Differentiable Hierarchical Visual Tokenizationcited by 3
  10. 2025DPAR: Dynamic Patchification for Efficient Autoregressive Visual Generationcited by 2
  11. 2026Foveated Diffusion: Efficient Spatially Adaptive Image and Video Generationcited by 2
  12. 2026Adaptive Volumetric Mechanical Property Fields Invariant to Resolutioncited by 1
7 more
  1. 2025Where Do Tokens Go? Understanding Pruning Behaviors in STEP at High Resolutionscited by 0
  2. 2026ViTMAlis: Towards Latency-Critical Mobile Video Analytics with Vision Transformerscited by 0
  3. 2026Subtoken Vision Transformer for Fine-grained Recognitioncited by 0
  4. 2026MOSAIK: Multi-Patch Content-Aware Spatial Allocation of Image Tokens for Efficient Generationcited by 0
  5. 2026Variable-Granularity Tokenization for High-Resolution Object Detectioncited by 0
  6. 2026ProgResViT: Progressive Resolution and Width for Adaptive Vision Transformerscited by 0
  7. 2026Learning Where to Focus: Self-Supervised Multi-Scale ViTs for Histopathologycited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2024ImagePiece: Content-aware Re-tokenization for Efficient Image Recognition
  2. 2023No Token Left Behind: Efficient Vision Transformer via Dynamic Token Idling
  3. 2026Decoder-Agnostic Token Merging for Vision Transformers: A Systematic Study of G2TM
  4. 2023PPT: Token Pruning and Pooling for Efficient Vision Transformers
  5. 2023Training-Free Acceleration of ViTs with Delayed Spatial Merging
  6. 2023Bridging The Gaps Between Token Pruning and Full Pre-training via Masked Fine-tuning
  7. 2024Token Cropr: Faster ViTs for Quite a Few Tasks
  8. 2024Token Pruning using a Lightweight Background Aware Vision Transformer