arXiv:2610.25289cs.CVOct 2026

Manuscript Offprint

arXiv:2610.25289

The Explainability Illusion: Must ViTs Exhibit Patch-Decoding Interpretability?

Ronen Schaffer, Hila Manor, Tomer Michaeli

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 our project website.

1 INTRODUCTION

Transformers (Vaswani et al., 2017), originally presented in the context of natural language processing, have proven powerful across various domains, including images, audio, and video (Arnab et al., 2021; Dosovitskiy et al., 2021; Gong et al., 2021; Yun et al., 2019), achieving state-of-the-art performance on countless tasks (Kirillov et al., 2020; Li et al., 2019; Peebles & Xie, 2023; Radford et al., 2021; Zheng et al., 2021). Following their growth in popularity, significant attention has been devoted to mechanistically understanding their internal representations.

One of the simplest methods for explainability in transformer language models is Logit Lens (nostalgebraist, 2020). This cornerstone approach interprets each intermediate hidden state of the model by projecting it back into the model's vocabulary space. This is done by multiplying the token's embedding by the unembedding matrix, which is normally applied only to the tokens of the final layer. Logit Lens has been widely adopted for exposing the evolution of predictions across layers in large language models (LLMs) (Li et al., 2024b; Pal et al., 2023; Patil et al., 2024; Prakash & Lee, 2023; Wang, 2025; Wendler et al., 2024; Wu et al., 2026), and inspired numerous derivative approaches for decoding intermediate tokens (Belrose et al., 2023; Din et al., 2024; Sakarvadia et al., 2023). It has also expanded to other domains, including images (Joseph et al., 2025; Neo et al., 2025), audio (Glazer et al., 2026; Yang et al., 2025), and video (Kim et al., 2026; Zhang et al., 2025).

In light of the widespread adoption of these techniques, it seem natural to ask whether we can universally trust the validity of patch-token decoding explainability. Much of the current literature

∗^{*}Denotes equal contribution.

Figure

Input Image

Explainability Map

Input Image

Explainability Map

SobjS_{obj}

Figure 1: Explainability regimes. For an input image, token-decoding of patches produces explainability maps, where each patch-token receives some score S. The relation between the average score of object tokens, SobjS_{obj} (tokens inside the black contour), and the average score of background tokens, SbgS_{bg} (tokens outside the black contour), determine the explainability of a classified input image in a layer: ▲aligned, ◀unexplainable, or ▼inverted. Here, the elephant is aligned and the cat is inverted.

assumes that intermediate representations consistently map directly to interpretable concepts (Jiang et al., 2025; Joseph et al., 2025; Neo et al., 2025; Vilas et al., 2023). For instance, it is commonly expected that when interpreting the classification result of a vision transformer (ViT) on an input image of an elephant, the patch-tokens corresponding to the spatial location of the elephant would exhibit a higher logit for the “elephant” class than to any other class. This is illustrated in Fig. 1, which shows a map of the “elephant” logit across all patch tokens of the image. Several recent works noted that this might not always be the case, observing that in some transformers token-decoding maps can look inverted (Bousselham et al., 2024; Kang et al., 2025; Li et al., 2023). Yet, these observations have been treated as a localized effect to be engineered away.

In this paper, we show that there is no guarantee that transformers exhibit token-decoding explainability. We begin by analyzing dozens of pre-trained ViTs, showing they break the common assumption of aligned-explainability. Instead, many models exhibit either inverted-explainability or completely unexplainable intermediate representations. For example, when applying patch-token decoding explainability techniques to prominent contrastive vision-language models (VLMs) such as CLIP (Radford et al., 2021) and SigLIP (Zhai et al., 2023), the explainability maps are typically inverted. Next, through a series of controlled synthetic experiments, we expose how different conditions cause the same architecture to change its explainability behavior. We observe that different tasks and data distributions induce implicit biases toward different explainability regimes. Those biases do not deterministically determine the explainability behavior, however they control the probability of a training run to converge to either an aligned- or an inverted-explainability solution.

Finally, we prove that aligned-explainability cannot be an inherent property of all transformers. Specifically, we present a simple classification task for which the optimal classification rule admits an implementation by a toy, single layer transformer architecture in infinitely many ways. We prove that among the sets of weights that implement the optimal solution, some correspond to an aligned-explainable model and some to an inverted-explainable model.

Our findings demonstrate that the behavior and explainability of decoded representations can vary widely depending on the optimization landscape, from the task, to the training loss, and even the data distribution itself. This implies that token-decoding explainability is not a fundamental property of transformers, but merely a fragile byproduct of their training conditions. As such, when training a transformer on a new task, it cannot be a-priori assumed that zero-shot decoding of its internal states would reveal any meaningful or localized information about the semantics encoded in those tokens.

References (95)