Reproduce “Patch Pruning Strategy Based on Robust Statistical Measures of Attention Weight Diversity in Vision Transformers” 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

Yuki Igaue, Hiroaki Aizawa

A novel patch pruning strategy for Vision Transformers, developed at Hiroshima University, quantifies patch importance using the diversity of attention weights across multiple heads. This method, which also incorporates patch fusion and can be combined with overlapping initial patches, achieves up to a 50% increase in throughput with a 0.3% accuracy drop, and in certain configurations, improves top-1 accuracy by 0.42% over the baseline without increasing computational cost.

Key insights

  • Attention weight diversity across multi-attention heads provides a more principled and effective criterion for identifying critical image patches for pruning.
  • Retaining collective information from pruned patches through a fusion token consistently improves accuracy compared to outright discarding them.
  • Combining diversity-based pruning with initial overlapping patch embeddings can yield higher classification accuracy than unpruned baselines at similar or lower computational loads.

Summary by alphaXiv.

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