Lune

NeurIPS2022顶会

AttCAT: Explaining Transformers via Attentive Class Activation Tokens

Yao Qiang, Deng Pan, Chengyin Li, Xin Li, Rhongho Jang, Dongxiao Zhu

摘要

Transformers have improved the state-of-the-art in various natural language processing and computer vision tasks. However, the success of the Transformer model has not yet been duly explained. Current explanation techniques, which dissect either the self-attention mechanism or gradient-based attribution, do not necessarily provide a faithful explanation of the inner workings of Transformers due to the following reasons: first, attention weights alone without considering the magnitudes of feature values are not adequate to reveal the self-attention mechanism; second, whereas most Transformer explanation techniques utilize self-attention module, the skip-connection module, contributing a significant portion of information flows in Transformers, has not yet been sufficiently exploited in explanation; third, the gradient-based attribution of individual feature does not incorporate interaction among features in explaining the model's output. In order to tackle the above problems, we propose a novel Transformer explanation technique via attentive class activation tokens, aka, AttCAT, leveraging encoded features, their gradients, and their attention weights to generate a faithful and confident explanation for Transformer's output. Extensive experiments are conducted to demonstrate the superior performance of AttCAT, which generalizes well to different Transformer architectures, evaluation metrics, datasets, and tasks, to the baseline methods. Our code is available at: https://github.com/qiangyao1988/AttCAT .

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 17 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • A Simple Interpretable Transformer for Fine-Grained Image Classification and Analysis 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • A Simple Interpretable Transformer for Fine-Grained Image Classification and Analysis 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Transformer Doctor: Diagnosing and Treating Vision Transformers 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Transformer Doctor: Diagnosing and Treating Vision Transformers 引用了 Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformers
  • Transformer Doctor: Diagnosing and Treating Vision Transformers 引用了 A Diagnostic Study of Explainability Techniques for Text Classification
  • Transformer Doctor: Diagnosing and Treating Vision Transformers 引用了 Self-Attention Attribution: Interpreting Information Interactions Inside Transformer
  • Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformers 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Quantifying Cross-Attention Interaction in Transformers for Interpreting TCR-pMHC Binding 引用了 Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformers
  • Quantifying Cross-Attention Interaction in Transformers for Interpreting TCR-pMHC Binding 引用了 Token Transformation Matters: Towards Faithful Post-Hoc Explanation for Vision Transformer
  • Token Transformation Matters: Towards Faithful Post-Hoc Explanation for Vision Transformer 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Token Transformation Matters: Towards Faithful Post-Hoc Explanation for Vision Transformer 引用了 Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformers
  • Token Transformation Matters: Towards Faithful Post-Hoc Explanation for Vision Transformer 引用了 A Diagnostic Study of Explainability Techniques for Text Classification
  • On the Faithfulness of Vision Transformer Explanations 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • On the Faithfulness of Vision Transformer Explanations 引用了 Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformers
  • On the Faithfulness of Vision Transformer Explanations 引用了 A Diagnostic Study of Explainability Techniques for Text Classification
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper17

  1. A Simple Interpretable Transformer for Fine-Grained Image Classification and AnalysisDipanjyoti Paul, Arpita Chowdhury, Xinqi Xiong, Feng-Ju Chang 等ICLR 2024 · 27 次引用
  2. Token Transformation Matters: Towards Faithful Post-Hoc Explanation for Vision TransformerJunyi Wu, Bin Duan, Weitai Kang, Hao Tang 等CVPR 2024 · 8 次引用
  3. On the Faithfulness of Vision Transformer ExplanationsJunyi Wu, Weitai Kang, Hao Tang, Yuan Hong 等CVPR 2024 · 8 次引用
  4. Transformer Doctor: Diagnosing and Treating Vision TransformersJiacong Hu, Hao Chen, Kejia Chen, Yang Gao 等NeurIPS 2024 · 5 次引用
  5. Quantifying Cross-Attention Interaction in Transformers for Interpreting TCR-pMHC BindingJiarui Li, Zixiang Yin, Haley Smith, Zhengming Ding 等ICLR 2026 · 5 次引用

它引用的 Paper9

  1. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu 等ICCV 2021 · 31,683 次引用
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
  3. Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder TransformersHila Chefer, Shir Gur, Lior WolfICCV 2021 · 451 次引用
  4. Self-Attention Attribution: Interpreting Information Interactions Inside TransformerYaru Hao, Li Dong, Furu Wei, Ke XuAAAI 2021 · 282 次引用
  5. A Diagnostic Study of Explainability Techniques for Text ClassificationPepa Atanasova, Jakob Grue Simonsen, Christina Lioma, Isabelle AugensteinEMNLP 2020 · 158 次引用

相关 Paper

  1. Attention Guided CAM: Visual Explanations of Vision Transformer Guided by Self-AttentionSaebom Leem, Hyunseok SeoAAAI 2024 · 40 次引用
  2. Class Activation Values: Lucid and Faithful Visual Interpretations for CLIP-based Text-Image RetrievalsPengxu Chen, Huazhong Liu, Jihong Ding, Xinghao Huang 等SIGIR 2025 · 5 次引用
  3. Measuring the Mixing of Contextual Information in the TransformerJavier Ferrando, Gerard I. Gállego, Marta R. Costa-jussàEMNLP 2022 · 18 次引用
  4. LeGrad: An Explainability Method for Vision Transformers via Feature Formation SensitivityWalid Bousselham, Angie W. Boggust, Sofian Chaybouti, Hendrik Strobelt 等ICCV 2025 · 47 次引用
  5. Learning to Estimate Shapley Values with Vision TransformersIan Connick Covert, Chanwoo Kim, Su-In LeeICLR 2023 · 12 次引用
黄昏的海面,两侧是细线勾勒的悬崖