AtMan: Understanding Transformer Predictions Through Memory Efficient Attention Manipulation
Not on the map. Why?
Abstract (arXiv)
Generative transformer models have become increasingly complex, with large numbers of parameters and the ability to process multiple input modalities. Current methods for explaining their predictions are resource-intensive. Most crucially, they require prohibitively large amounts of extra memory, since they rely on backpropagation which allocates almost twice as much GPU memory as the forward pass. This makes it difficult, if not impossible, to use them in production. We present AtMan that provides explanations of generative transformer models at almost no extra cost. Specifically, AtMan is a modality-agnostic perturbation method that manipulates the attention mechanisms of transformers to produce relevance maps for the input with respect to the output prediction. Instead of using backpropagation, AtMan applies a parallelizable token-based search method based on cosine similarity neighborhood in the embedding space. Our exhaustive experiments on text and image-text benchmarks demonstrate that AtMan outperforms current state-of-the-art gradient-based methods on several metrics while being computationally efficient. As such, AtMan is suitable for use in large model inference deployments.
Key facts. Cited by 31 papers in the map (data through 14 Oct 2026). Builds on 22 of its 35 references that are in the map. First posted on arXiv 19 Jan 2023.
Builds on
22 of 35 references.
References · 22
- 2017Attention Is All You Needcited by 60,361
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2020End-to-End Object Detection with Transformerscited by 7,414
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
- 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,322
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2017Axiomatic Attribution for Deep Networkscited by 3,384
- 2017Understanding Black-box Predictions via Influence Functionscited by 1,741
10 more
- 2017Learning Important Features Through Propagating Activation Differencescited by 1,458
- 2022Token Merging: Your ViT But Fastercited by 1,021
- 2020Quantifying Attention Flow in Transformerscited by 775
- 2020Transformer Interpretability Beyond Attention Visualizationcited by 627
- 2020Captum: A unified and generic model interpretability library for PyTorchcited by 547
- 2022GIT: A Generative Image-to-text Transformer for Vision and Languagecited by 537
- 2021Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformerscited by 320
- 2020A Survey on the Explainability of Supervised Machine Learningcited by 227
- 2020A Survey of the State of Explainable AI for Natural Language Processingcited by 206
- 2021MAGMA -- Multimodal Augmentation of Generative Models through Adapter-based Finetuningcited by 85
Built on by
Citing papers per year: 2023: 7; 2024: 8; 2025: 12; 2026: 4.
31 papers.
Sort:
By area:
- 2025See What You Are Told: Visual Attention Sink in Large Multimodal Modelscited by 132
- 2023Explainable Artificial Intelligence (XAI) 2.0: A Manifesto of Open Challenges and Interdisciplinary Research Directionscited by 125
- 2024AttnLRP: Attention-Aware Layer-Wise Relevance Propagation for Transformerscited by 120
- 2023Regulating ChatGPT and other Large Generative AI Modelscited by 104
- 2023Tell Your Model Where to Attend: Post-hoc Attention Steering for LLMscited by 91
- 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 85
- 2023AutoML in the Age of Large Language Models: Current Challenges, Future Opportunities and Riskscited by 35
- 2024JailbreakLens: Interpreting Jailbreak Mechanism in the Lens of Representation and Circuitcited by 22
- 2025Spotlight Your Instructions: Instruction-following with Dynamic Attention Steeringcited by 21
- 2023MultiFusion: Fusing Pre-Trained Models for Multi-Lingual, Multi-Modal Image Generationcited by 15
- 2023Explainability of Vision Transformers: A Comprehensive Review and New Perspectivescited by 12
- 2025A Close Look at Decomposition-based XAI-Methods for Transformer Language Modelscited by 11
19 more
- 2025Attention Consistency for LLMs Explanationcited by 11
- 2025Interpretation Meets Safety: A Survey on Interpretation Methods and Tools for Improving LLM Safetycited by 10
- 2024Rethinking Software Engineering in the Foundation Model Era: A Curated Catalogue of Challenges in the Development of Trustworthy FMwarecited by 6
- 2024Unveiling and Manipulating Prompt Influence in Large Language Modelscited by 6
- 2023Integrating Generative Artificial Intelligence in Intelligent Vehicle Systemscited by 5
- 2024Faithful and Accurate Self-Attention Attribution for Message Passing Neural Networks via the Computation Tree Viewpointcited by 5
- 2024LibraGrad: Balancing Gradient Flow for Universally Better Vision Transformer Attributionscited by 5
- 2025GLIMPSE: Holistic Cross-Modal Explainability for Large Vision-Language Modelscited by 5
- 2025B-cos LM: Efficiently Transforming Pre-trained Language Models for Improved Explainabilitycited by 4
- 2026Explainable Load Forecasting with Covariate-Informed Time Series Foundation Modelscited by 4
- 2025Gender Bias in Explainability: Investigating Performance Disparity in Post-hoc Methodscited by 3
- 2025Explainable time-series forecasting with sampling-free SHAP for Transformerscited by 2
- 2026Causal Attribution via Activation Patchingcited by 2
- 2024Core Tokensets for Data-efficient Sequential Training of Transformerscited by 1
- 2025AudioGenX: Explainability on Text-to-Audio Generative Modelscited by 1
- 2026Vocabulary Hijacking in LVLMs: Unveiling Critical Attention Heads by Excluding Inert Tokens to Mitigate Hallucinationcited by 1
- 2025Bridging Fairness and Explainability: Can Input-Based Explanations Promote Fairness in Hate Speech Detection?cited by 0
- 2025Bounding Hallucinations: Merlin-Arthur Protocols for Mutual-Information Bounds in Language Modelscited by 0
- 2026Memory Retrieval in Transformers: Insights from The Encoding Specificity Principlecited by 0
- 2026Vocabulary Hijacking in LVLMs: Unveiling Critical Attention Heads by Excluding Inert Tokens to Mitigate Hallucination11 May 2026
- 2026Explainable Load Forecasting with Covariate-Informed Time Series Foundation Models30 Apr 2026
- 2026Causal Attribution via Activation Patching13 Mar 2026
- 2026Memory Retrieval in Transformers: Insights from The Encoding Specificity Principle28 Jan 2026
- 2025Explainable time-series forecasting with sampling-free SHAP for Transformers23 Dec 2025
- 2025Bounding Hallucinations: Merlin-Arthur Protocols for Mutual-Information Bounds in Language Models12 Dec 2025
- 2025Bridging Fairness and Explainability: Can Input-Based Explanations Promote Fairness in Hate Speech Detection?26 Sep 2025
- 2025Attention Consistency for LLMs Explanation21 Sep 2025
- 2025GLIMPSE: Holistic Cross-Modal Explainability for Large Vision-Language Models23 Jun 2025
- 2025Interpretation Meets Safety: A Survey on Interpretation Methods and Tools for Improving LLM Safety5 Jun 2025
- 2025Spotlight Your Instructions: Instruction-following with Dynamic Attention Steering17 May 2025
- 2025Gender Bias in Explainability: Investigating Performance Disparity in Post-hoc Methods2 May 2025
19 more
- 2025See What You Are Told: Visual Attention Sink in Large Multimodal Models5 Mar 2025
- 2025A Close Look at Decomposition-based XAI-Methods for Transformer Language Models21 Feb 2025
- 2025B-cos LM: Efficiently Transforming Pre-trained Language Models for Improved Explainability18 Feb 2025
- 2025AudioGenX: Explainability on Text-to-Audio Generative Models1 Feb 2025
- 2024LibraGrad: Balancing Gradient Flow for Universally Better Vision Transformer Attributions24 Nov 2024
- 2024JailbreakLens: Interpreting Jailbreak Mechanism in the Lens of Representation and Circuit17 Nov 2024
- 2024Core Tokensets for Data-efficient Sequential Training of Transformers8 Oct 2024
- 2024Faithful and Accurate Self-Attention Attribution for Message Passing Neural Networks via the Computation Tree Viewpoint7 Jun 2024
- 2024Unveiling and Manipulating Prompt Influence in Large Language Models20 May 2024
- 2024A Primer on the Inner Workings of Transformer-based Language Models30 Apr 2024
- 2024Rethinking Software Engineering in the Foundation Model Era: A Curated Catalogue of Challenges in the Development of Trustworthy FMware25 Feb 2024
- 2024AttnLRP: Attention-Aware Layer-Wise Relevance Propagation for Transformers8 Feb 2024
- 2023Explainability of Vision Transformers: A Comprehensive Review and New Perspectives12 Nov 2023
- 2023Tell Your Model Where to Attend: Post-hoc Attention Steering for LLMs3 Nov 2023
- 2023Explainable Artificial Intelligence (XAI) 2.0: A Manifesto of Open Challenges and Interdisciplinary Research Directions30 Oct 2023
- 2023AutoML in the Age of Large Language Models: Current Challenges, Future Opportunities and Risks13 Jun 2023
- 2023MultiFusion: Fusing Pre-Trained Models for Multi-Lingual, Multi-Modal Image Generation24 May 2023
- 2023Integrating Generative Artificial Intelligence in Intelligent Vehicle Systems15 May 2023
- 2023Regulating ChatGPT and other Large Generative AI Models5 Feb 2023
- 2025See What You Are Told: Visual Attention Sink in Large Multimodal Modelscited by 132
- 2025GLIMPSE: Holistic Cross-Modal Explainability for Large Vision-Language Modelscited by 5
- 2026Vocabulary Hijacking in LVLMs: Unveiling Critical Attention Heads by Excluding Inert Tokens to Mitigate Hallucinationcited by 1
- 2026Vocabulary Hijacking in LVLMs: Unveiling Critical Attention Heads by Excluding Inert Tokens to Mitigate Hallucination11 May 2026
- 2025GLIMPSE: Holistic Cross-Modal Explainability for Large Vision-Language Models23 Jun 2025
- 2025See What You Are Told: Visual Attention Sink in Large Multimodal Models5 Mar 2025
- 2024JailbreakLens: Interpreting Jailbreak Mechanism in the Lens of Representation and Circuitcited by 22
- 2025Interpretation Meets Safety: A Survey on Interpretation Methods and Tools for Improving LLM Safetycited by 10
- 2026Memory Retrieval in Transformers: Insights from The Encoding Specificity Principlecited by 0
- 2026Memory Retrieval in Transformers: Insights from The Encoding Specificity Principle28 Jan 2026
- 2025Interpretation Meets Safety: A Survey on Interpretation Methods and Tools for Improving LLM Safety5 Jun 2025
- 2024JailbreakLens: Interpreting Jailbreak Mechanism in the Lens of Representation and Circuit17 Nov 2024
- 2026Causal Attribution via Activation Patchingcited by 2
- 2026Causal Attribution via Activation Patching13 Mar 2026
- 2023Explainable Artificial Intelligence (XAI) 2.0: A Manifesto of Open Challenges and Interdisciplinary Research Directionscited by 125
- 2023Regulating ChatGPT and other Large Generative AI Modelscited by 104
- 2023Tell Your Model Where to Attend: Post-hoc Attention Steering for LLMscited by 91
- 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 85
- 2023AutoML in the Age of Large Language Models: Current Challenges, Future Opportunities and Riskscited by 35
- 2025Spotlight Your Instructions: Instruction-following with Dynamic Attention Steeringcited by 21
- 2023Explainability of Vision Transformers: A Comprehensive Review and New Perspectivescited by 12
- 2025A Close Look at Decomposition-based XAI-Methods for Transformer Language Modelscited by 11
- 2025Attention Consistency for LLMs Explanationcited by 11
- 2024Rethinking Software Engineering in the Foundation Model Era: A Curated Catalogue of Challenges in the Development of Trustworthy FMwarecited by 6
- 2024Unveiling and Manipulating Prompt Influence in Large Language Modelscited by 6
- 2023Integrating Generative Artificial Intelligence in Intelligent Vehicle Systemscited by 5
12 most cited of 21 All 21 (JSON)
- 2026Explainable Load Forecasting with Covariate-Informed Time Series Foundation Models30 Apr 2026
- 2025Explainable time-series forecasting with sampling-free SHAP for Transformers23 Dec 2025
- 2025Bridging Fairness and Explainability: Can Input-Based Explanations Promote Fairness in Hate Speech Detection?26 Sep 2025
- 2025Attention Consistency for LLMs Explanation21 Sep 2025
- 2025Spotlight Your Instructions: Instruction-following with Dynamic Attention Steering17 May 2025
- 2025Gender Bias in Explainability: Investigating Performance Disparity in Post-hoc Methods2 May 2025
- 2025A Close Look at Decomposition-based XAI-Methods for Transformer Language Models21 Feb 2025
- 2025B-cos LM: Efficiently Transforming Pre-trained Language Models for Improved Explainability18 Feb 2025
- 2025AudioGenX: Explainability on Text-to-Audio Generative Models1 Feb 2025
- 2024LibraGrad: Balancing Gradient Flow for Universally Better Vision Transformer Attributions24 Nov 2024
- 2024Core Tokensets for Data-efficient Sequential Training of Transformers8 Oct 2024
- 2024Faithful and Accurate Self-Attention Attribution for Message Passing Neural Networks via the Computation Tree Viewpoint7 Jun 2024
12 newest of 21 All 21 (JSON)