MSViT: Dynamic Mixed-Scale Tokenization for Vision Transformers
Jakob Drachmann Havtorn, Amelie Royer, Tijmen Blankevoort and, Babak Ehteshami Bejnordi

TL;DR
MSViT introduces a dynamic tokenization method for Vision Transformers that adaptively selects token scales per image region, improving efficiency and accuracy in classification and segmentation tasks.
Contribution
The paper presents a novel gating mechanism for dynamic mixed-scale tokenization in ViT, enhancing semantic understanding and computational efficiency.
Findings
Improved accuracy-complexity trade-off in classification.
Effective dense task performance without input information loss.
Lightweight, backbone-agnostic gating module trained quickly.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCell Image Analysis Techniques · Advanced Neural Network Applications · Image Processing Techniques and Applications
