The Explainability Illusion: Must ViTs Exhibit Patch-Decoding Interpretability?
Abstract
Transformers are widely assumed to exhibit token-decoding explainability. In particular, in vision transformer (ViT) classifiers, decoding individual patch tokens has become a common diagnostic tool due to its tendency to yield human-interpretable outputs. In light of the increasing popularity of this approach, an important question is whether token-decoding explainability is an inherent property of transformers that should be expected to hold across architectures, scales, and training objectives, or merely an artifact of some implicit bias. In this paper we systematically study token-decoding explainability across diverse ViT settings, spanning architectures, scales, and training objectives, using both controlled experiments and real-world models. We find that while some models indeed exhibit aligned and interpretable token decodings, others exhibit either inverted explainability maps or a complete lack of correlation with the image semantics. As we show, these tendencies toward different explainability behaviors are not intrinsic to the architecture and can vary arbitrarily with changes in the optimization landscape. We provide theoretical support for these observations by demonstrating a setting where a single fixed toy transformer architecture can provably implement the optimal classification rule in multiple ways, which differ in their patch-decoding explainability patterns. Our results show that token-decoding explainability is not an inherent property of trained transformers, but rather an outcome contingent on the problem setting and thus should not be a-priori assumed to hold. Code can be found in https://ronensc.github.io/Explainability-Illusion/ .
Create a lesson
Metadata
- Categories
- cs.CV, cs.LG
- Comments
- Code can be found in https://ronensc.github.io/Explainability-Illusion/
Related papers
Beyond Logits: Coherent Hallucination Mitigation via Attention Contrastive Decoding
Shared title terminologycs.CVYujia Chen, Rui Sun, Huayu Mai et al.
Modality-Shift Contrastive Decoding for Temporally Grounded Audio-Visual Understanding
Shared title terminologycs.CVMinyeong Jeong, Yeonju Kim, Yong Man Ro
Concept Generalization in Visual Brain Decoding via Encoder-Generated fMRI
Shared title terminologycs.CVPeter Yongho Kim, Juhyeon Park, Dongsheng Li et al.
ScanAR: Parallel Row-Scan Decoding for Efficient Image Generation in Unified Autoregressive Models
Shared title terminologycs.CVJingen Qu, Xi Chen, Yingbo Tang et al.
Interpretable Face Contrast Modeling for Smartphone Portrait Rendering
Shared title terminologycs.CVYujin Cho, Benoît Pochon, Jean-Michel Morel et al.
Multi-scale Fusion of Fast Vision Mamba and Foundation Model Features for Patch-Level Gleason Grading in Computational Pathology
Shared title terminologycs.CVZihe Zhang, Weimiao Yu, Piumi Don Simonge