Which Tokens to Use? Investigating Token Reduction in Vision Transformers

Abstract

Since the introduction of the Vision Transformer (ViT), researchers have sought to make ViTs more efficient by removing redundant information in the processed tokens. While different methods have been explored to achieve this goal, we still lack understanding of the resulting reduction patterns and how those patterns differ across token reduction methods and datasets. To close this gap, we set out to understand the reduction patterns of 10 different token reduction methods using four image classification datasets. By systematically comparing these methods on the different classification tasks, we find that the Top-K pruning method is a surprisingly strong baseline. Through in-depth analysis of the different methods, we determine that: the reduction patterns are generally not consistent when varying the capacity of the backbone model, the reduction patterns of pruning-based methods significantly differ from fixed radial patterns, and the reduction patterns of pruning-based methods are correlated across classification datasets. Finally we report that the similarity of reduction patterns is a moderate-to-strong proxy for model performance. Project page at https://vap.aau.dk/tokens.

Cite

Text

Haurum et al. "Which Tokens to Use? Investigating Token Reduction in Vision Transformers." IEEE/CVF International Conference on Computer Vision Workshops, 2023. doi:10.1109/ICCVW60793.2023.00085

Markdown

[Haurum et al. "Which Tokens to Use? Investigating Token Reduction in Vision Transformers." IEEE/CVF International Conference on Computer Vision Workshops, 2023.](https://mlanthology.org/iccvw/2023/haurum2023iccvw-tokens/) doi:10.1109/ICCVW60793.2023.00085

BibTeX

@inproceedings{haurum2023iccvw-tokens,
  title     = {{Which Tokens to Use? Investigating Token Reduction in Vision Transformers}},
  author    = {Haurum, Joakim Bruslund and Escalera, Sergio and Taylor, Graham W. and Moeslund, Thomas B.},
  booktitle = {IEEE/CVF International Conference on Computer Vision Workshops},
  year      = {2023},
  pages     = {773-783},
  doi       = {10.1109/ICCVW60793.2023.00085},
  url       = {https://mlanthology.org/iccvw/2023/haurum2023iccvw-tokens/}
}