DeclareViT: Decoupling Early Classification from Feature Refinement with Exit Query for Efficient ViTs
On the map: Efficient LLM inference and serving → Token pruning and merging for ViTs
Abstract (arXiv)
Vision Transformers achieve remarkable recognition performance but incur substantial computational cost during inference, limiting their use in latency- and compute-constrained deployment scenarios. Early-exit inference offers a promising solution by allowing easy samples to terminate at intermediate layers. However, existing approaches typically couple early classification with the shared backbone, requiring intermediate representations to support both early classification and subsequent feature refinement. Under joint training, the corresponding optimization objectives jointly update shared backbone parameters, which can lead to conflicting gradient directions. Motivated by this observation, we introduce DeclareViT, a framework that decouples early classification from feature refinement. Each exit uses a dedicated query to read intermediate features through one-way cross-attention without modifying the backbone token stream. The query branches are optimized for early classification while the backbone and final classifier remain frozen. Across ViT, DeiT, and Swin on CIFAR-100, ImageNet-1K, and Food-101, DeclareViT consistently establishes a state-of-the-art accuracy-efficiency trade-off: It achieves 1.58 times to 2.57 times multiply-accumulate (MAC)-based speed-up with only a 0.39-1.91 percentage-point accuracy drop. Wall-clock measurements on CPU and GPU further demonstrate practical inference acceleration. Code is available at https://github.com/TUDa-HWAI/DeclareViT.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Token pruning and merging for ViTs, one of 12 directions in Efficient LLM inference and serving. Builds on 29 of its 39 references that are in the map. Submitted 22 Nov 2026, announced 24 Nov 2026.
Builds on
29 of 39 references.
Closest ancestors · 1
Same direction, newest first
Other references · 28
- 2017Attention Is All You Needcited by 62,125
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 31,277
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,365
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,687
- 2020Gradient Surgery for Multi-Task Learningcited by 1,348
- 2017BranchyNet: Fast Inference via Early Exiting from Deep Neural Networkscited by 623
- 2019Be Your Own Teacher: Improve the Performance of Convolutional Neural Networks via Self Distillationcited by 509
- 2020BERT Loses Patience: Fast and Robust Inference with Early Exitcited by 289
- 2021Not All Images are Worth 16x16 Words: Dynamic Transformers for Efficient Image Recognitioncited by 148
- 2022Rethinking Vision Transformers for MobileNet Size and Speedcited by 123
- 2022CF-ViT: A General Coarse-to-Fine Method for Vision Transformercited by 69
- 2022Visual Query Tuning: Towards Effective Usage of Intermediate Representations for Parameter and Memory Efficient Transfer Learningcited by 58
16 more
- 2022Learning to Weight Samples for Dynamic Early-exiting Networkscited by 46
- 2021Zero Time Waste: Recycling Predictions in Early Exit Neural Networkscited by 40
- 2023Dynamic Perceiver for Efficient Visual Recognitioncited by 35
- 2021Multi-Exit Vision Transformer for Dynamic Inferencecited by 30
- 2021Single-Layer Vision Transformers for More Accurate Early Exits with Less Overheadcited by 27
- 2024LF-ViT: Reducing Spatial Redundancy in Vision Transformer for Efficient Image Recognitioncited by 14
- 2023Early-Exit with Class Exclusion for Efficient Inference of Neural Networkscited by 9
- 2025BEEM: Boosting Performance of Early Exit DNNs using Multi-Exit Classifiers as Expertscited by 8
- 2025ThinkingViT: Matryoshka Thinking Vision Transformer for Elastic Inferencecited by 8
- 2024Parameter-Efficient and Memory-Efficient Tuning for Vision Transformer: A Disentangled Approachcited by 5
- 2024Deep Feature Surgery: Towards Accurate and Efficient Multi-Exit Networkscited by 4
- 2024Dyn-Adapter: Towards Disentangled Representation for Efficient Visual Recognitioncited by 4
- 2024Multiple-Exit Tuning: Towards Inference-Efficient Adaptation for Vision Transformercited by 3
- 2024COSEE: Consistency-Oriented Signal-Based Early Exiting via Calibrated Sample Weighting Mechanismcited by 3
- 2025Rethinking Calibration for Early-Exit Neural Networkscited by 3
- 2025Decoupled Multi-Predictor Optimization for Inference-Efficient Model Tuningcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026ViT-FREE: Efficient Face Recognition via Early Exiting and Synthetic Adaptation
- 2021AdaViT: Adaptive Tokens for Efficient Vision Transformer
- 2026ViT-5: Vision Transformers for The Mid-2020s
- 2025TinyDrop: Tiny Model Guided Token Dropping for Vision Transformers
- 2026ProgResViT: Progressive Resolution and Width for Adaptive Vision Transformers
- 2026Accelerating Vision Foundation Models with Drop-in Depthwise Convolution
- 2025CalexNet: Soft Cascade-Aligned Training and Calibration for Lightweight Early-Exit Branches
- 2026Fusion: A Framework for Unified Sequential Token AdaptatIon in VisiOn TraNsformers