Token Transformation Matters: Towards Faithful Post-Hoc Explanation for Vision Transformer
摘要
While Transformers have rapidly gained popularity in various computer vision applications, post-hoc explanations of their internal mechanisms remain largely unexplored. Vision Transformers extract visual information by representing image regions as transformed tokens and integrating them via attention weights. However, existing post-hoc explanation methods merely consider these attention weights, neglecting crucial information from the transformed tokens, which fails to accurately illustrate the rationales behind the models' predictions. To incorporate the influence of token transformation into interpretation, we propose TokenTM, a novel post-hoc explanation method that utilizes our introduced measurement of token transformation effects. Specifically, we quantify token transformation effects by measuring changes in token lengths and correlations in their directions pre- and post-transformation. Moreover, we develop initialization and aggregation rules to integrate both attention weights and token transformation effects across all layers, capturing holistic token contributions throughout the model. Experimental results on segmentation and perturbation tests demonstrate the superiority of our proposed TokenTM compared to state-of-the-art Vision Transformer explanation methods.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- PTQ4DiT: Post-training Quantization for Diffusion Transformers 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Towards Semantic Equivalence of Tokenization in Multimodal LLM 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformers 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformers 引用了 Training data-efficient image transformers & distillation through attention
- Quantifying Cross-Attention Interaction in Transformers for Interpreting TCR-pMHC Binding 引用了 Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformers
- Training data-efficient image transformers & distillation through attention 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Interpreting vision transformers via residual replacement model 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Interpreting vision transformers via residual replacement model 引用了 Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformers
- Swin Transformer V2: Scaling Up Capacity and Resolution 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Swin Transformer V2: Scaling Up Capacity and Resolution 引用了 Training data-efficient image transformers & distillation through attention
引用它的顶会 Paper8
- PTQ4DiT: Post-training Quantization for Diffusion TransformersJunyi Wu, Haoxuan Wang, Yuzhang Shang, Mubarak Shah 等NeurIPS 2024 · 87 次引用
- Quantifying Cross-Attention Interaction in Transformers for Interpreting TCR-pMHC BindingJiarui Li, Zixiang Yin, Haley Smith, Zhengming Ding 等ICLR 2026 · 5 次引用
- Interpreting vision transformers via residual replacement modelJinyeong Kim, Junhyeok Kim, Yumin Shim, Joohyeok Kim 等NeurIPS 2025 · 4 次引用
- TransPrune: Token Transition Pruning for Efficient Large Vision-Language ModelAo Li, Yuxiang Duan, Jinghui Zhang, Congbo Ma 等CVPR 2026 · 3 次引用
- Towards Semantic Equivalence of Tokenization in Multimodal LLMShengqiong Wu, Hao Fei, Xiangtai Li, Jiayi Ji 等ICLR 2025
它引用的 Paper16
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa 等ICML 2021 · 8,974 次引用
- Swin Transformer V2: Scaling Up Capacity and ResolutionZe Liu, Han Hu, Yutong Lin, Zhuliang Yao 等CVPR 2022 · 2,138 次引用
- Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder TransformersHila Chefer, Shir Gur, Lior WolfICCV 2021 · 451 次引用
- On Identifiability in TransformersGino Brunner, Yang Liu, Damian Pascual, Oliver Richter 等ICLR 2020 · 210 次引用
相关 Paper
- AttCAT: Explaining Transformers via Attentive Class Activation TokensYao Qiang, Deng Pan, Chengyin Li, Xin Li 等NeurIPS 2022 · 66 次引用
- Attention Meets Post-hoc Interpretability: A Mathematical PerspectiveGianluigi Lopardo, Frédéric Precioso, Damien GarreauICML 2024 · 16 次引用
- Analyzing Vision Transformers for Image Classification in Class Embedding SpaceMartina G. Vilas, Timothy Schaumlöffel, Gemma RoigNeurIPS 2023 · 43 次引用
- Measuring the Mixing of Contextual Information in the TransformerJavier Ferrando, Gerard I. Gállego, Marta R. Costa-jussàEMNLP 2022 · 18 次引用
- On the Faithfulness of Vision Transformer ExplanationsJunyi Wu, Weitai Kang, Hao Tang, Yuan Hong 等CVPR 2024 · 8 次引用
