2022

Not All Patches are What You Need: Expediting Vision Transformers via Token Reorganizations

Liang, Youwei, Ge, Chongjian, Tong, Zhan et al.

Understand

Vision Transformers (ViTs) take all the image patches as tokens and construct multi-head self-attention (MHSA) among them.

  • Complete leverage of these image tokens brings redundant computations since not all the tokens are attentive in MHSA.
  • Examples include that tokens containing semantically meaningless or distractive image backgrounds do not positively contribute to the ViT predictions.
  • In this work, we propose to reorganize image tokens during the feed-forward process of ViT models, which is integrated into ViT during training.

Reading the bibliography…