Lune

ICCV2025顶会

LeGrad: An Explainability Method for Vision Transformers via Feature Formation Sensitivity

Walid Bousselham, Angie W. Boggust, Sofian Chaybouti, Hendrik Strobelt, Hilde Kuehne

摘要

Vision Transformers (ViTs), with their ability to model long-range dependencies through self-attention mechanisms, have become a standard architecture in computer vision. However, the interpretability of these models remains a challenge. To address this, we propose LeGrad, an explainability method specifically designed for ViTs. LeGrad computes the gradient with respect to the attention maps of ViT layers, considering the gradient itself as the explainability signal. We aggregate the signal over all layers, combining the activations of the last as well as intermediate tokens to produce the merged explainability map. This makes LeGrad a conceptually simple and an easy-to-implement tool for enhancing the transparency of ViTs. We evaluate LeGrad in challenging segmentation, perturbation, and open-vocabulary settings, showcasing its versatility compared to other SotA explainability methods demonstrating its superior spatial fidelity and robustness to perturbations. A demo and the code is available at https://github.com/WalBouss/LeGrad.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Find your Needle: Small Object Image Retrieval via Multi-Object Attention Optimization 引用了 MaskInversion: Localized Embeddings via Optimization of Explainability Maps
  • Find your Needle: Small Object Image Retrieval via Multi-Object Attention Optimization 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • DAVE: Distribution-aware Attribution via ViT Gradient Decomposition 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • DAVE: Distribution-aware Attribution via ViT Gradient Decomposition 引用了 B-cosification: Transforming Deep Neural Networks to be Inherently Interpretable
  • Attention (as Discrete-Time Markov) Chains 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Attention (as Discrete-Time Markov) Chains 引用了 Vision Transformers Need Registers
  • Attention (as Discrete-Time Markov) Chains 引用了 Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformers
  • Attention (as Discrete-Time Markov) Chains 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • MaskInversion: Localized Embeddings via Optimization of Explainability Maps 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • MaskInversion: Localized Embeddings via Optimization of Explainability Maps 引用了 Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformers
  • MaskInversion: Localized Embeddings via Optimization of Explainability Maps 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Sigmoid Loss for Language Image Pre-Training 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Vision Transformers Need Registers 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Vision Transformers Need Registers 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • 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 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • B-cosification: Transforming Deep Neural Networks to be Inherently Interpretable 引用了 Sigmoid Loss for Language Image Pre-Training
  • B-cosification: Transforming Deep Neural Networks to be Inherently Interpretable 引用了 Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformers
  • B-cosification: Transforming Deep Neural Networks to be Inherently Interpretable 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Learning Transferable Visual Models From Natural Language Supervision 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. B-cosification: Transforming Deep Neural Networks to be Inherently InterpretableShreyash Arya, Sukrut Rao, Moritz Böhle, Bernt SchieleNeurIPS 2024 · 14 次引用
  2. Attention (as Discrete-Time Markov) ChainsYotam Erel, Olaf Dünkel, Rishabh Dabral, Vladislav Golyanik 等NeurIPS 2025 · 12 次引用
  3. MaskInversion: Localized Embeddings via Optimization of Explainability MapsWalid Bousselham, Sofian Chaybouti, Christian Rupprecht, Vittorio Ferrari 等ICLR 2026 · 3 次引用
  4. DAVE: Distribution-aware Attribution via ViT Gradient DecompositionAdam Wróbel, Siddhartha Gairola, Jacek Tabor, Bernt Schiele 等ICML 2026 · 2 次引用
  5. Find your Needle: Small Object Image Retrieval via Multi-Object Attention OptimizationMichael Green, Matan Levy, Issar Tzachor, Dvir Samuel 等NeurIPS 2025 · 1 次引用

它引用的 Paper18

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
  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. Sigmoid Loss for Language Image Pre-TrainingXiaohua Zhai, Basil Mustafa, Alexander Kolesnikov, Lucas BeyerICCV 2023 · 2,932 次引用
  4. Vision Transformers Need RegistersTimothée Darcet, Maxime Oquab, Julien Mairal, Piotr BojanowskiICLR 2024 · 769 次引用
  5. Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder TransformersHila Chefer, Shir Gur, Lior WolfICCV 2021 · 451 次引用

相关 Paper

  1. Attention Guided CAM: Visual Explanations of Vision Transformer Guided by Self-AttentionSaebom Leem, Hyunseok SeoAAAI 2024 · 40 次引用
  2. Learning to Estimate Shapley Values with Vision TransformersIan Connick Covert, Chanwoo Kim, Su-In LeeICLR 2023 · 12 次引用
  3. Metric-Driven Attributions for Vision TransformersChase Walker, Sumit Kumar Jha, Rickard EwetzICLR 2025
  4. XAI for Transformers: Better Explanations through Conservative PropagationAmeen Ali, Thomas Schnake, Oliver Eberle, Grégoire Montavon 等ICML 2022 · 144 次引用
  5. AttCAT: Explaining Transformers via Attentive Class Activation TokensYao Qiang, Deng Pan, Chengyin Li, Xin Li 等NeurIPS 2022 · 66 次引用
黄昏的海面,两侧是细线勾勒的悬崖