DiT: Efficient Vision Transformers with Dynamic Token Routing
Yuchen Ma, Zhengcong Fei, Junshi Huang

TL;DR
DiT introduces a dynamic token routing strategy in vision transformers, enabling adaptive processing of image tokens based on object scale and visual features, leading to improved accuracy and efficiency across multiple vision tasks.
Contribution
The paper proposes a data-dependent token routing mechanism in vision transformers, allowing adaptive multi-path feature propagation and reduced computation with budget constraints.
Findings
Achieves state-of-the-art accuracy on ImageNet classification.
Demonstrates superior performance in object detection and segmentation tasks.
Offers a flexible backbone adaptable to various vision applications.
Abstract
Recently, the tokens of images share the same static data flow in many dense networks. However, challenges arise from the variance among the objects in images, such as large variations in the spatial scale and difficulties of recognition for visual entities. In this paper, we propose a data-dependent token routing strategy to elaborate the routing paths of image tokens for Dynamic Vision Transformer, dubbed DiT. The proposed framework generates a data-dependent path per token, adapting to the object scales and visual discrimination of tokens. In feed-forward, the differentiable routing gates are designed to select the scaling paths and feature transformation paths for image tokens, leading to multi-path feature propagation. In this way, the impact of object scales and visual discrimination of image representation can be carefully tuned. Moreover, the computational cost can be further…
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
TopicsAdvanced Neural Network Applications · Brain Tumor Detection and Classification · Domain Adaptation and Few-Shot Learning
MethodsMulti-Head Attention · Attention Is All You Need · Linear Layer · Adam · Dense Connections · Label Smoothing · Residual Connection · Dropout · Absolute Position Encodings · Byte Pair Encoding
