Differentiable Virtual-Slot Partitioning for Adaptive Tokenization in Vision Transformers
Gaoxiang He, Bin Zhu, Bo Xie, Xiaotong Yu, Yi Chen, Hongfei Yan
Abstract
Adaptive tokenization aims to reduce the compute spent on uninformative image regions while preserving accuracy. Existing work relies on (i) fixed or frozen scoring rules, which cannot be trained toward the task loss, or (ii) discrete masks trained with straight-through estimators, which yield noisy gradients, while fully differentiable alternatives instead leave the pre-trained regular grid. We revisit adaptive tokenization from a regular-grid perspective and ask: can a two-scale quadtree be learned end-to-end without deleting a single token during training? We show that one coarse token and its four fine children can be made the two endpoints of a single continuous interpolation. We introduce Differentiable Virtual-Slot Partitioning (\dvsp{}), which keeps four \emph{virtual slots} per region and blends their token features and attention mass with a single weight , exactly reproducing the discrete grid at . On COCO detection with EVA-02-B, \dvsp{} retains of dense Box AP while removing of visual tokens, giving a end-to-end speedup, and it outperforms entropy-based APT, DART, and uniform lower-resolution dense adaptation at matched budgets; these gains depend on the conserved attention mass, whose removal costs Box AP. On a frozen Segmenter it also improves Cityscapes mIoU, and on frozen DeiT backbones it exceeds entropy selection at identical per-image token counts.
Create a lesson
Related papers
Token Pruning Needs a Protected Sink Token: Coherent Spatial Aggregation in Vision Transformers
Shared title terminologycs.CVJulian Wyatt, James Willoughby, Allison Clement et al.
Disentangling Channel Semantics in Vision Transformers via Token Decorrelation and Composition-Aware Modulation
Shared title terminologycs.CVDaeun Kim, Hyesong Choi, Hyejin Park et al.
Spec^2R: Recovering Emergent Properties in Supervised Vision Transformers
Shared title terminologycs.CVAdam Wróbel, Jacek Tabor, Bartosz Zieliński et al.
Modern Self-Supervised Vision Transformers Are Pareidolic
Shared title terminologycs.CVZihang Lin, Huaiyuan Qin, Liangli Zhen et al.
Tokens as Locality-Preserving Anchors: Scalable Novel View Synthesis with Target-Adaptive Token Routing
Shared title terminologycs.CVSagnik Ghosh, Aswin C. Sankaranarayanan
ABRR: Transforming Temporal Sentence Grounding with Wasserstein-Adaptive Refinement and Precision Ranking
Shared title terminologycs.CVXiang Fang, Wanlong Fang, Junhao Dong et al.