Reproduce “PPT: Token Pruning and Pooling for Efficient Vision Transformers” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

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

About this paper

Xinjian Wu, Fanhu Zeng, Xiudong Wang, Xinghao Chen

The PPT framework introduces an adaptive method that combines token pruning and token pooling to enhance Vision Transformer efficiency. It achieves over 37% FLOPs reduction and more than 45% throughput improvement for DeiT-S on ImageNet-1K, while preserving baseline accuracy, by dynamically selecting the optimal compression strategy based on layer and input characteristics.

Key insights

  • The prevalence of "inattentive" versus "duplicative" token redundancy varies across different layers of a ViT, with pooling being more suitable for shallow layers and pruning for deeper layers.
  • Effective token compression requires an instance-aware approach, as the optimal strategy can differ significantly for various input images within the same layer.
  • Introducing no additional trainable parameters allows for seamless integration with existing pre-trained ViTs, making the efficiency gains immediately accessible without extensive fine-tuning.

Summary by alphaXiv.

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