AiluRus: A Scalable ViT Framework for Dense Prediction
Not on the map. Why?
Abstract (arXiv)
Vision transformers (ViTs) have emerged as a prevalent architecture for vision tasks owing to their impressive performance. However, when it comes to handling long token sequences, especially in dense prediction tasks that require high-resolution input, the complexity of ViTs increases significantly. Notably, dense prediction tasks, such as semantic segmentation or object detection, emphasize more on the contours or shapes of objects, while the texture inside objects is less informative. Motivated by this observation, we propose to apply adaptive resolution for different regions in the image according to their importance. Specifically, at the intermediate layer of the ViT, we utilize a spatial-aware density-based clustering algorithm to select representative tokens from the token sequence. Once the representative tokens are determined, we proceed to merge other tokens into their closest representative token. Consequently, semantic similar tokens are merged together to form low-resolution regions, while semantic irrelevant tokens are preserved independently as high-resolution regions. This strategy effectively reduces the number of tokens, allowing subsequent layers to handle a reduced token sequence and achieve acceleration. We evaluate our proposed method on three different datasets and observe promising performance. For example, the "Segmenter ViT-L" model can be accelerated by 48% FPS without fine-tuning, while maintaining the performance. Additionally, our method can be applied to accelerate fine-tuning as well. Experimental results demonstrate that we can save 52% training time while accelerating 2.46 times FPS with only a 0.09% performance drop. The code is available at https://github.com/caddyless/ailurus/tree/main.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 31 of its 38 references that are in the map. First posted on arXiv 2 Nov 2023.
Builds on
31 of 38 references.
References · 31
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2023Segment Anythingcited by 8,158
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
- 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,923
- 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,338
- 2021TransUNet: Transformers Make Strong Encoders for Medical Image Segmentationcited by 1,552
- 2022DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detectioncited by 1,306
- 2016Semantic Understanding of Scenes through the ADE20K Datasetcited by 1,063
- 2022Token Merging: Your ViT But Fastercited by 995
19 more
- 2021Scaling Vision Transformerscited by 993
- 2021Segmenter: Transformer for Semantic Segmentationcited by 855
- 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
- 2022EVA: Exploring the Limits of Masked Visual Representation Learning at Scalecited by 685
- 2023Segment Everything Everywhere All at Oncecited by 546
- 2023ControlVideo: Training-free Controllable Text-to-Video Generationcited by 324
- 2021AdaViT: Adaptive Vision Transformers for Efficient Image Recognitioncited by 228
- 2021CoTr: Efficiently Bridging CNN and Transformer for 3D Medical Image Segmentationcited by 227
- 2021Evo-ViT: Slow-Fast Token Evolution for Dynamic Vision Transformercited by 175
- 2021TokenLearner: What Can 8 Learned Tokens Do for Images and Videos?cited by 127
- 2020End-to-End Object Detection with Adaptive Clustering Transformercited by 109
- 2022Not All Tokens Are Equal: Human-centric Visual Analysis via Token Clustering Transformercited by 99
- 2020SMYRF: Efficient Attention using Asymmetric Clusteringcited by 43
- 2022Expediting Large-Scale Vision Transformer for Dense Prediction without Fine-tuningcited by 33
- 2023Making Vision Transformers Efficient from A Token Sparsification Viewcited by 28
- 2023Dynamic Grained Encoder for Vision Transformerscited by 24
- 2023Prune Spatio-temporal Tokens by Semantic-aware Temporal Accumulationcited by 23
- 2023Sparsifiner: Learning Sparse Instance-Dependent Attention for Efficient Vision Transformerscited by 16
- 2023DynamicDet: A Unified Dynamic Architecture for Object Detectioncited by 15
Built on by
Citing papers per year: 2023: 1; 2024: 2; 2025: 5; 2026: 2.
10 papers.
- 2024ALGM: Adaptive Local-then-Global Token Merging for Efficient Semantic Segmentation with Plain Vision Transformerscited by 28
- 2024UMG-CLIP: A Unified Multi-Granularity Vision Generalist for Open-World Understandingcited by 13
- 2023Betrayed by Attention: A Simple yet Effective Approach for Self-supervised Video Object Segmentationcited by 10
- 2025Charm: The Missing Piece in ViT fine-tuning for Image Aesthetic Assessmentcited by 5
- 2025SAMwave: Wavelet-Driven Feature Enrichment for Effective Adaptation of Segment Anything Modelcited by 3
- 2026StructSAM: Structure- and Spectrum-Preserving Token Merging for Segment Anything Modelscited by 2
- 2025Temporal Cluster Assignment for Efficient Real-Time Video Segmentationcited by 0
- 2025Where Do Tokens Go? Understanding Pruning Behaviors in STEP at High Resolutionscited by 0
- 2025CubistMerge: Spatial-Preserving Token Merging For Diverse ViT Backbonescited by 0
- 2026Decoder-Agnostic Token Merging for Vision Transformers: A Systematic Study of G2TMcited by 0
- 2026Decoder-Agnostic Token Merging for Vision Transformers: A Systematic Study of G2TM16 Sep 2026
- 2026StructSAM: Structure- and Spectrum-Preserving Token Merging for Segment Anything Models7 Mar 2026
- 2025CubistMerge: Spatial-Preserving Token Merging For Diverse ViT Backbones26 Sep 2025
- 2025Where Do Tokens Go? Understanding Pruning Behaviors in STEP at High Resolutions17 Sep 2025
- 2025Temporal Cluster Assignment for Efficient Real-Time Video Segmentation7 Aug 2025
- 2025SAMwave: Wavelet-Driven Feature Enrichment for Effective Adaptation of Segment Anything Model27 Jul 2025
- 2025Charm: The Missing Piece in ViT fine-tuning for Image Aesthetic Assessment3 Apr 2025
- 2024ALGM: Adaptive Local-then-Global Token Merging for Efficient Semantic Segmentation with Plain Vision Transformers14 Jun 2024
- 2024UMG-CLIP: A Unified Multi-Granularity Vision Generalist for Open-World Understanding12 Jan 2024
- 2023Betrayed by Attention: A Simple yet Effective Approach for Self-supervised Video Object Segmentation29 Nov 2023