arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.25289cs.CVcs.LG
收藏

可解释性错觉:视觉Transformer必须表现出补丁解码可解释性吗?

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

Technion – Israel Institute of Technology(以色列理工学院);Faculty of Electrical and Computer Engineering(电气与计算机工程学院)

Ronen Schaffer, Hila Manor, Tomer Michaeli

AI总结:

本文研究发现ViT的token解码可解释性并非固有属性,而是取决于问题设置,不同ViT的补丁解码可解释性存在差异,为相关研究提供了新的认知。

摘要:

Transformer通常被认为具有 token 解码可解释性。特别是在视觉Transformer(ViT)分类器中,解码单个补丁 token 已成为一种常见的诊断工具,因为它倾向于产生人类可解释的输出。鉴于这种方法越来越受欢迎,一个重要问题是:token 解码可解释性是 Transformer 的固有属性,应在所有架构、规模和训练目标中都成立,还是仅仅是某种隐含偏差的产物?在本文中,我们通过受控实验和真实模型,系统研究了不同 ViT 设置(涵盖架构、规模和训练目标)下的 token 解码可解释性。我们发现,虽然一些模型确实表现出一致且可解释的 token 解码,但其他模型要么表现出倒置的可解释性图,要么与图像语义完全没有相关性。正如我们所示,这些不同可解释性行为的倾向并非架构固有属性,而是会随优化景观的变化而任意变化。我们通过证明一个设置为这些观察结果提供了理论支持:单个固定的玩具 Transformer 架构可以多种方式实现最优分类规则,这些方式在其补丁解码可解释性模式上存在差异。我们的结果表明,token 解码可解释性不是训练后 Transformer 的固有属性,而是取决于问题设置的结果,因此不应先验地假设其成立。代码可在此 https URL 中获取。

英文摘要:

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/ .

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑