Reproduce “Making Vision Transformers Efficient from A Token Sparsification View” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Shuning Chang, Pichao Wang, Ming Lin, Fan Wang, David Junhao Zhang, Rong Jin, Mike Zheng Shou

Semantic Token ViT (STViT) introduces a token sparsification method that efficiently reduces computation in Vision Transformers by replacing numerous image tokens with a small set of semantic tokens. A recovery variant, STViT-R, further extends this approach to enable efficient ViTs to serve as backbones for dense prediction tasks like object detection and segmentation.

Key insights

  • Self-attention layers can effectively function as a clustering mechanism to dynamically generate compact, high-level semantic tokens from redundant image tokens.
  • By intelligently generating and, when needed, recovering spatial information, Vision Transformers can operate efficiently on highly condensed semantic representations without compromising performance for diverse tasks.
  • Periodically recovering spatial detail within "dumbbell units" allows aggressively sparsified ViTs to maintain efficacy for dense prediction tasks, even improving performance for challenging scenarios like small object detection.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.