There is More to Attention: Statistical Filtering Enhances Explanations in Vision Transformers

Meghna P Ayyar, Jenny Benois-Pineau, Akka Zemmari
10/7/2025
cs.CV

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Explainable AI (XAI) has become increasingly important with the rise of large transformer models, yet many explanation methods designed for CNNs transfer poorly to Vision Transformers (ViTs). Existing ViT explanations often rely on attention weights, which tend to yield noisy maps as they capture token-to-token interactions within each layer.While attribution methods incorporating MLP blocks have been proposed, we argue that attention remains a valuable and interpretable signal when properly filtered. We propose a method that combines attention maps with a statistical filtering, initially proposed for CNNs, to remove noisy or uninformative patterns and produce more faithful explanations. We further extend our approach with a class-specific variant that yields discriminative explanations. Evaluation against popular state-of-the-art methods demonstrates that our approach produces sharper and more interpretable maps. In addition to perturbation-based faithfulness metrics, we incorporate human gaze data to assess alignment with human perception, arguing that human interpretability remains essential for XAI. Across multiple datasets, our approach consistently outperforms or is comparable to the SOTA methods while remaining efficient and human plausible.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ayyar2025there,
  title  = {There is More to Attention: Statistical Filtering Enhances Explanations in Vision Transformers},
  author = {Meghna P Ayyar and Jenny Benois-Pineau and Akka Zemmari},
  year   = {2025},
  eprint = {2510.06070},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.06070v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.06070.svg)](https://codeofpaper.com/paper/2510.06070)

Discussion