The Explainability Illusion: Must ViTs Exhibit Patch-Decoding Interpretability?
Organizations: Faculty of Electrical and Computer Engineering, Technion – Israel Institute of Technology
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/ .
Figures & tables
| Classifier | (%) | Exp. |
| ViT-B/16 (in1k) | 98.7 | \mathrel{\hbox to5.17pt{\vbox to5.17pt{\pgfpicture\makeatletter\hbox{\hskip 0.0pt\lower 0.0pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#14E01B} \lxSVG@begingroup@{fill=#14E01B} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {}{{}}{} {{\lx@inpgf@ignorespaces}{}}{} {\lx@inpgf@ignorespaces}{} {\lx@inpgf@ignorespaces}\lxSVG@fill\lxSVG@drawpath@unclipped{M 0 0 L 7.15 0 L 7.15 7.15 Z}{stroke:none} \lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}} |
| ViT-B/16 (MIIL) | 98.6 | \mathrel{\hbox to5.17pt{\vbox to5.17pt{\pgfpicture\makeatletter\hbox{\hskip 0.0pt\lower 0.0pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#14E01B} \lxSVG@begingroup@{fill=#14E01B} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {}{{}}{} {{\lx@inpgf@ignorespaces}{}}{} {\lx@inpgf@ignorespaces}{} {\lx@inpgf@ignorespaces}\lxSVG@fill\lxSVG@drawpath@unclipped{M 0 0 L 7.15 0 L 7.15 7.15 Z}{stroke:none} \lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}} |
| ViT-S/16 | 98.4 | \mathrel{\hbox to5.17pt{\vbox to5.17pt{\pgfpicture\makeatletter\hbox{\hskip 0.0pt\lower 0.0pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#14E01B} \lxSVG@begingroup@{fill=#14E01B} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {}{{}}{} {{\lx@inpgf@ignorespaces}{}}{} {\lx@inpgf@ignorespaces}{} {\lx@inpgf@ignorespaces}\lxSVG@fill\lxSVG@drawpath@unclipped{M 0 0 L 7.15 0 L 7.15 7.15 Z}{stroke:none} \lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}} |
| ViT-B/16 (AugReg2) | 98.4 | \mathrel{\hbox to5.17pt{\vbox to5.17pt{\pgfpicture\makeatletter\hbox{\hskip 0.0pt\lower 0.0pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#14E01B} \lxSVG@begingroup@{fill=#14E01B} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {}{{}}{} {{\lx@inpgf@ignorespaces}{}}{} {\lx@inpgf@ignorespaces}{} {\lx@inpgf@ignorespaces}\lxSVG@fill\lxSVG@drawpath@unclipped{M 0 0 L 7.15 0 L 7.15 7.15 Z}{stroke:none} \lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}} |
| ViT-B/16 | 98.4 | \mathrel{\hbox to5.17pt{\vbox to5.17pt{\pgfpicture\makeatletter\hbox{\hskip 0.0pt\lower 0.0pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#14E01B} \lxSVG@begingroup@{fill=#14E01B} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {}{{}}{} {{\lx@inpgf@ignorespaces}{}}{} {\lx@inpgf@ignorespaces}{} {\lx@inpgf@ignorespaces}\lxSVG@fill\lxSVG@drawpath@unclipped{M 0 0 L 7.15 0 L 7.15 7.15 Z}{stroke:none} \lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}} |
| ViT-S/16 (in1k) | 98.4 | \mathrel{\hbox to5.17pt{\vbox to5.17pt{\pgfpicture\makeatletter\hbox{\hskip 0.0pt\lower 0.0pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#14E01B} \lxSVG@begingroup@{fill=#14E01B} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {}{{}}{} {{\lx@inpgf@ignorespaces}{}}{} {\lx@inpgf@ignorespaces}{} {\lx@inpgf@ignorespaces}\lxSVG@fill\lxSVG@drawpath@unclipped{M 0 0 L 7.15 0 L 7.15 7.15 Z}{stroke:none} \lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}} |
Appendix figures & tables25 assets
Supplementary material from the paper’s appendix.
Appendix
| Top-1 (%) | (%) | Exp. | ||||
| Classifier | Official | CLS-only | Official | CLS-only | Official | CLS-only |
| DINOv2-s/14 | 81.1 | 80.3 | 96.7 | 97.2 | \mathrel{\hbox to5.17pt{\vbox to5.17pt{\pgfpicture\makeatletter\hbox{\hskip 0.0pt\lower 0.0pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#14E01B} \lxSVG@begingroup@{fill=#14E01B} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {}{{}}{} {{\lx@inpgf@ignorespaces}{}}{} {\lx@inpgf@ignorespaces}{} {\lx@inpgf@ignorespaces}\lxSVG@fill\lxSVG@drawpath@unclipped{M 0 0 L 7.15 0 L 7.15 7.15 Z}{stroke:none} \lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}} | \mathrel{\hbox to5.17pt{\vbox to5.17pt{\pgfpicture\makeatletter\hbox{\hskip 0.0pt\lower 0.0pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#14E01B} \lxSVG@begingroup@{fill=#14E01B} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {}{{}}{} {{\lx@inpgf@ignorespaces}{}}{} {\lx@inpgf@ignorespaces}{} {\lx@inpgf@ignorespaces}\lxSVG@fill\lxSVG@drawpath@unclipped{M 0 0 L 7.15 0 L 7.15 7.15 Z}{stroke:none} \lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}} |
| DINOv2-s/14+reg | 80.8 | 80.2 | 97.7 | 97.8 | \mathrel{\hbox to5.17pt{\vbox to5.17pt{\pgfpicture\makeatletter\hbox{\hskip 0.0pt\lower 0.0pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#14E01B} \lxSVG@begingroup@{fill=#14E01B} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {}{{}}{} {{\lx@inpgf@ignorespaces}{}}{} {\lx@inpgf@ignorespaces}{} {\lx@inpgf@ignorespaces}\lxSVG@fill\lxSVG@drawpath@unclipped{M 0 0 L 7.15 0 L 7.15 7.15 Z}{stroke:none} \lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}} | \mathrel{\hbox to5.17pt{\vbox to5.17pt{\pgfpicture\makeatletter\hbox{\hskip 0.0pt\lower 0.0pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#14E01B} \lxSVG@begingroup@{fill=#14E01B} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {}{{}}{} {{\lx@inpgf@ignorespaces}{}}{} {\lx@inpgf@ignorespaces}{} {\lx@inpgf@ignorespaces}\lxSVG@fill\lxSVG@drawpath@unclipped{M 0 0 L 7.15 0 L 7.15 7.15 Z}{stroke:none} \lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}} |
| DINOv2-B/14 | 84.3 | 83.8 | 94.4 | 95.9 | \mathrel{\hbox to5.17pt{\vbox to5.17pt{\pgfpicture\makeatletter\hbox{\hskip 0.0pt\lower 0.0pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#14E01B} \lxSVG@begingroup@{fill=#14E01B} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {}{{}}{} {{\lx@inpgf@ignorespaces}{}}{} {\lx@inpgf@ignorespaces}{} {\lx@inpgf@ignorespaces}\lxSVG@fill\lxSVG@drawpath@unclipped{M 0 0 L 7.15 0 L 7.15 7.15 Z}{stroke:none} \lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}} | \mathrel{\hbox to5.17pt{\vbox to5.17pt{\pgfpicture\makeatletter\hbox{\hskip 0.0pt\lower 0.0pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#14E01B} \lxSVG@begingroup@{fill=#14E01B} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {}{{}}{} {{\lx@inpgf@ignorespaces}{}}{} {\lx@inpgf@ignorespaces}{} {\lx@inpgf@ignorespaces}\lxSVG@fill\lxSVG@drawpath@unclipped{M 0 0 L 7.15 0 L 7.15 7.15 Z}{stroke:none} \lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}} |
| DINOv2-B/14+reg | 84.4 | 83.8 | 97.9 | 97.7 | \mathrel{\hbox to5.17pt{\vbox to5.17pt{\pgfpicture\makeatletter\hbox{\hskip 0.0pt\lower 0.0pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#14E01B} \lxSVG@begingroup@{fill=#14E01B} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {}{{}}{} {{\lx@inpgf@ignorespaces}{}}{} {\lx@inpgf@ignorespaces}{} {\lx@inpgf@ignorespaces}\lxSVG@fill\lxSVG@drawpath@unclipped{M 0 0 L 7.15 0 L 7.15 7.15 Z}{stroke:none} \lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}} | \mathrel{\hbox to5.17pt{\vbox to5.17pt{\pgfpicture\makeatletter\hbox{\hskip 0.0pt\lower 0.0pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#14E01B} \lxSVG@begingroup@{fill=#14E01B} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {}{{}}{} {{\lx@inpgf@ignorespaces}{}}{} {\lx@inpgf@ignorespaces}{} {\lx@inpgf@ignorespaces}\lxSVG@fill\lxSVG@drawpath@unclipped{M 0 0 L 7.15 0 L 7.15 7.15 Z}{stroke:none} \lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}} |
| DINOv2-L/14 | 86.1 | 85.6 | 63.5 | 65.0 | \mathrel{\hbox to5.17pt{\vbox to5.17pt{\pgfpicture\makeatletter\hbox{\hskip 0.0pt\lower 0.0pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#8C24FF} \lxSVG@begingroup@{fill=#8C24FF} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {{\lx@inpgf@ignorespaces}{}}{{}}{} {\lx@inpgf@ignorespaces}{} {\lx@inpgf@ignorespaces}{} {\lx@inpgf@ignorespaces}{} {{\lx@inpgf@ignorespaces}{}}{} {}{} {\lx@inpgf@ignorespaces}\lxSVG@fill\lxSVG@drawpath@unclipped{M 0 2.98 L 4.17 7.15 L 7.15 7.15 L 7.15 4.17 L 2.98 0 L 0 0 Z}{stroke:none} \lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}} | \mathrel{\hbox to5.17pt{\vbox to5.17pt{\pgfpicture\makeatletter\hbox{\hskip 0.0pt\lower 0.0pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#8C24FF} \lxSVG@begingroup@{fill=#8C24FF} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {{\lx@inpgf@ignorespaces}{}}{{}}{} {\lx@inpgf@ignorespaces}{} {\lx@inpgf@ignorespaces}{} {\lx@inpgf@ignorespaces}{} {{\lx@inpgf@ignorespaces}{}}{} {}{} {\lx@inpgf@ignorespaces}\lxSVG@fill\lxSVG@drawpath@unclipped{M 0 2.98 L 4.17 7.15 L 7.15 7.15 L 7.15 4.17 L 2.98 0 L 0 0 Z}{stroke:none} \lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}} |
| Name | timm identifier |
| ViT-Ti/16 | vit_tiny_patch16_224.augreg_in21k_ft_in1k |
| ViT-S/16 | vit_small_patch16_224.augreg_in21k_ft_in1k |
| ViT-B/16 | vit_base_patch16_224.augreg_in21k_ft_in1k |
| ViT-L/16 | vit_large_patch16_224.augreg_in21k_ft_in1k |
| ViT-B/16 (orig) | vit_base_patch16_224.orig_in21k_ft_in1k |
| ViT-B/16 (AugReg2) | vit_base_patch16_224.augreg2_in21k_ft_in1k |
| Name | Model | Pretrained tag |
| CLIP-B/32 | ViT-B-32 | openai |
| CLIP-B/16 | ViT-B-16 | openai |
| CLIP-L/14 | ViT-L-14 | openai |
| MetaCLIP-B/32 | ViT-B-32 | metaclip_fullcc |
| MetaCLIP-B/16 | ViT-B-16 | metaclip_fullcc |
| MetaCLIP-L/14 | ViT-L-14 | metaclip_fullcc |
| Classifier | Top-1 Accuracy (%) | (%) | Exp. |
| ViT-B/16 (in1k) | 91.9 | 98.7 | \mathrel{\hbox to5.17pt{\vbox to5.17pt{\pgfpicture\makeatletter\hbox{\hskip 0.0pt\lower 0.0pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#14E01B} \lxSVG@begingroup@{fill=#14E01B} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {}{{}}{} {{\lx@inpgf@ignorespaces}{}}{} {\lx@inpgf@ignorespaces}{} {\lx@inpgf@ignorespaces}\lxSVG@fill\lxSVG@drawpath@unclipped{M 0 0 L 7.15 0 L 7.15 7.15 Z}{stroke:none} \lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}} |
| ViT-B/16 (MIIL) | 93.5 | 98.6 | \mathrel{\hbox to5.17pt{\vbox to5.17pt{\pgfpicture\makeatletter\hbox{\hskip 0.0pt\lower 0.0pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#14E01B} \lxSVG@begingroup@{fill=#14E01B} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {}{{}}{} {{\lx@inpgf@ignorespaces}{}}{} {\lx@inpgf@ignorespaces}{} {\lx@inpgf@ignorespaces}\lxSVG@fill\lxSVG@drawpath@unclipped{M 0 0 L 7.15 0 L 7.15 7.15 Z}{stroke:none} \lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}} |
| ViT-S/16 | 88.3 | 98.4 | \mathrel{\hbox to5.17pt{\vbox to5.17pt{\pgfpicture\makeatletter\hbox{\hskip 0.0pt\lower 0.0pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#14E01B} \lxSVG@begingroup@{fill=#14E01B} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {}{{}}{} {{\lx@inpgf@ignorespaces}{}}{} {\lx@inpgf@ignorespaces}{} {\lx@inpgf@ignorespaces}\lxSVG@fill\lxSVG@drawpath@unclipped{M 0 0 L 7.15 0 L 7.15 7.15 Z}{stroke:none} \lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}} |
| ViT-B/16 (AugReg2) | 93.2 | 98.4 | \mathrel{\hbox to5.17pt{\vbox to5.17pt{\pgfpicture\makeatletter\hbox{\hskip 0.0pt\lower 0.0pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#14E01B} \lxSVG@begingroup@{fill=#14E01B} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {}{{}}{} {{\lx@inpgf@ignorespaces}{}}{} {\lx@inpgf@ignorespaces}{} {\lx@inpgf@ignorespaces}\lxSVG@fill\lxSVG@drawpath@unclipped{M 0 0 L 7.15 0 L 7.15 7.15 Z}{stroke:none} \lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}} |
| ViT-B/16 | 91.2 | 98.4 | \mathrel{\hbox to5.17pt{\vbox to5.17pt{\pgfpicture\makeatletter\hbox{\hskip 0.0pt\lower 0.0pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#14E01B} \lxSVG@begingroup@{fill=#14E01B} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {}{{}}{} {{\lx@inpgf@ignorespaces}{}}{} {\lx@inpgf@ignorespaces}{} {\lx@inpgf@ignorespaces}\lxSVG@fill\lxSVG@drawpath@unclipped{M 0 0 L 7.15 0 L 7.15 7.15 Z}{stroke:none} \lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}} |
| ViT-S/16 (in1k) | 89.7 | 98.4 | \mathrel{\hbox to5.17pt{\vbox to5.17pt{\pgfpicture\makeatletter\hbox{\hskip 0.0pt\lower 0.0pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#14E01B} \lxSVG@begingroup@{fill=#14E01B} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {}{{}}{} {{\lx@inpgf@ignorespaces}{}}{} {\lx@inpgf@ignorespaces}{} {\lx@inpgf@ignorespaces}\lxSVG@fill\lxSVG@drawpath@unclipped{M 0 0 L 7.15 0 L 7.15 7.15 Z}{stroke:none} \lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}} |
| Model | Approach | Mean | Mean | (%) | Mean Norm |
| ViT-B/16 (SAM) | Logits | ||||
| Cosine Similarity | |||||
| ViT-B/32 (SAM) | Logits | ||||
| Cosine Similarity | |||||
| DeiT-Ti/16 | Logits | ||||
| Cosine Similarity |
| Samples seen | ||||
| Arch. | Data | 3B | 13B | 34B |
| B-32 | 80M | 9.7† | 8.3† | 9.1 |
| 400M | 9.4 | 5.7 | 6.2† | |
| 2B | 11.3 | 3.4† | 6.3 | |
| B-16 | 80M | 13.8 | 8.5 | 7.0 |
| 400M | 11.5 | 3.3† | 3.5 | |
| (%) | |||
| Classifier | Penult. | Last | Exp. |
| ViT-B/16 (in1k) | 98.7 | 98.8 | \mathrel{\hbox to5.17pt{\vbox to5.17pt{\pgfpicture\makeatletter\hbox{\hskip 0.0pt\lower 0.0pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#14E01B} \lxSVG@begingroup@{fill=#14E01B} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {}{{}}{} {{\lx@inpgf@ignorespaces}{}}{} {\lx@inpgf@ignorespaces}{} {\lx@inpgf@ignorespaces}\lxSVG@fill\lxSVG@drawpath@unclipped{M 0 0 L 7.15 0 L 7.15 7.15 Z}{stroke:none} \lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}} |
| ViT-B/16 (MIIL) | 98.6 | 96.3 | \mathrel{\hbox to5.17pt{\vbox to5.17pt{\pgfpicture\makeatletter\hbox{\hskip 0.0pt\lower 0.0pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#14E01B} \lxSVG@begingroup@{fill=#14E01B} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {}{{}}{} {{\lx@inpgf@ignorespaces}{}}{} {\lx@inpgf@ignorespaces}{} {\lx@inpgf@ignorespaces}\lxSVG@fill\lxSVG@drawpath@unclipped{M 0 0 L 7.15 0 L 7.15 7.15 Z}{stroke:none} \lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}} |
| ViT-S/16 | 98.4 | 95.5 | \mathrel{\hbox to5.17pt{\vbox to5.17pt{\pgfpicture\makeatletter\hbox{\hskip 0.0pt\lower 0.0pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#14E01B} \lxSVG@begingroup@{fill=#14E01B} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {}{{}}{} {{\lx@inpgf@ignorespaces}{}}{} {\lx@inpgf@ignorespaces}{} {\lx@inpgf@ignorespaces}\lxSVG@fill\lxSVG@drawpath@unclipped{M 0 0 L 7.15 0 L 7.15 7.15 Z}{stroke:none} \lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}} |
| ViT-B/16 (AugReg2) | 98.4 | 88.0 | \mathrel{\hbox to5.17pt{\vbox to5.17pt{\pgfpicture\makeatletter\hbox{\hskip 0.0pt\lower 0.0pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#14E01B} \lxSVG@begingroup@{fill=#14E01B} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {}{{}}{} {{\lx@inpgf@ignorespaces}{}}{} {\lx@inpgf@ignorespaces}{} {\lx@inpgf@ignorespaces}\lxSVG@fill\lxSVG@drawpath@unclipped{M 0 0 L 7.15 0 L 7.15 7.15 Z}{stroke:none} \lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}} |
| ViT-B/16 | 98.4 | 93.8 | \mathrel{\hbox to5.17pt{\vbox to5.17pt{\pgfpicture\makeatletter\hbox{\hskip 0.0pt\lower 0.0pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} \lxSVG@begingroup@{stroke=#14E01B} \lxSVG@begingroup@{fill=#14E01B} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width=0.4pt} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin=1} {}{{}}{} {{\lx@inpgf@ignorespaces}{}}{} {\lx@inpgf@ignorespaces}{} {\lx@inpgf@ignorespaces}\lxSVG@fill\lxSVG@drawpath@unclipped{M 0 0 L 7.15 0 L 7.15 7.15 Z}{stroke:none} \lx@inpgf@ignorespaces \lxSVG@closescope {\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}} |
Transformer Interpretability
Transformer interpretability studies how attention, feed-forward layers, and hidden representations support model predictions and behavior.
See all 340 papers