T-TAME: Trainable Attention Mechanism for Explaining Convolutional Networks and Vision Transformers
Not on the map. Why?
Abstract (arXiv)
The development and adoption of Vision Transformers and other deep-learning architectures for image classification tasks has been rapid. However, the "black box" nature of neural networks is a barrier to adoption in applications where explainability is essential. While some techniques for generating explanations have been proposed, primarily for Convolutional Neural Networks, adapting such techniques to the new paradigm of Vision Transformers is non-trivial. This paper presents T-TAME, Transformer-compatible Trainable Attention Mechanism for Explanations, a general methodology for explaining deep neural networks used in image classification tasks. The proposed architecture and training technique can be easily applied to any convolutional or Vision Transformer-like neural network, using a streamlined training approach. After training, explanation maps can be computed in a single forward pass; these explanation maps are comparable to or outperform the outputs of computationally expensive perturbation-based explainability techniques, achieving SOTA performance. We apply T-TAME to three popular deep learning classifier architectures, VGG-16, ResNet-50, and ViT-B-16, trained on the ImageNet dataset, and we demonstrate improvements over existing state-of-the-art explainability methods. A detailed analysis of the results and an ablation study provide insights into how the T-TAME design choices affect the quality of the generated explanation maps.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 39 of its 61 references that are in the map. First posted on arXiv 7 Mar 2024.
Builds on
39 of 61 references.
References · 39
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2017Axiomatic Attribution for Deep Networkscited by 3,350
- 2015Learning Deep Features for Discriminative Localizationcited by 2,430
- 2019Explainable Artificial Intelligence (XAI): Concepts, Taxonomies, Opportunities and Challenges toward Responsible AIcited by 1,543
- 2017Explanation in Artificial Intelligence: Insights from the Social Sciencescited by 1,201
27 more
- 2018Sanity Checks for Saliency Mapscited by 1,149
- 2017Visualizing the Loss Landscape of Neural Netscited by 1,126
- 2017Grad-CAM++: Improved Visual Explanations for Deep Convolutional Networkscited by 936
- 2018RISE: Randomized Input Sampling for Explanation of Black-box Modelscited by 825
- 2020Transformer Interpretability Beyond Attention Visualizationcited by 620
- 2019Score-CAM: Score-Weighted Visual Explanations for Convolutional Neural Networkscited by 575
- 2017The (Un)reliability of saliency methodscited by 331
- 2022From Anecdotal Evidence to Quantitative Evaluation Methods: A Systematic Review on Evaluating Explainable AIcited by 299
- 2015Explaining NonLinear Classification Decisions with Deep Taylor Decompositioncited by 248
- 2018A disciplined approach to neural network hyper-parameters: Part 1 -- learning rate, batch size, momentum, and weight decaycited by 223
- 2021Are Transformers More Robust Than CNNs?cited by 187
- 2020GridMask Data Augmentationcited by 123
- 2018Attention Branch Network: Learning of Attention Mechanism for Visual Explanationcited by 108
- 2022A Consistent and Efficient Evaluation Strategy for Attribution Methodscited by 100
- 2021Delving Deep into the Generalization of Vision Transformers under Distribution Shiftscited by 85
- 2018Learn To Pay Attentioncited by 83
- 2021Face Transformer for Recognitioncited by 45
- 2023The Meta-Evaluation Problem in Explainable AI: Identifying Reliable Estimators with MetaQuantuscited by 37
- 2022Missingness Bias in Model Debuggingcited by 36
- 2021Vision Transformer for Classification of Breast Ultrasound Imagescited by 21
- 2023Visual Explanations via Iterated Integrated Attributionscited by 18
- 2020Explaining Convolutional Neural Networks through Attribution-Based Input Sampling and Block-Wise Feature Aggregationcited by 13
- 2021Ada-SISE: Adaptive Semantic Input Sampling for Efficient Explanation of Convolutional Neural Networkscited by 11
- 2023Revisiting the Performance-Explainability Trade-Off in Explainable Artificial Intelligence (XAI)cited by 10
- 2023Holistically Explainable Vision Transformerscited by 8
- 2022Learning Visual Explanations for DCNN-Based Image Classifiers Using an Attention Mechanismcited by 7
- 2023TAME: Attention Mechanism Based Feature Fusion for Generating Explanation Maps of Convolutional Neural Networkscited by 6
Built on by
Citing papers per year: 2024: 1; 2025: 3.
4 papers.
- 2025Improving the Perturbation-Based Explanation of Deepfake Detectors Through the Use of Adversarially-Generated Samplescited by 2
- 2024An Integrated Framework for Multi-Granular Explanation of Video Summarizationcited by 1
- 2025P-TAME: Explain Any Image Classifier with Trained Perturbationscited by 0
- 2025An Experimental Study on Generating Plausible Textual Explanations for Video Summarizationcited by 0
- 2025An Experimental Study on Generating Plausible Textual Explanations for Video Summarization30 Sep 2025
- 2025Improving the Perturbation-Based Explanation of Deepfake Detectors Through the Use of Adversarially-Generated Samples6 Feb 2025
- 2025P-TAME: Explain Any Image Classifier with Trained Perturbations29 Jan 2025
- 2024An Integrated Framework for Multi-Granular Explanation of Video Summarization16 May 2024