arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.09794cs.LGcs.CV
收藏

因果性 $\ eq$ 可解码性,反之亦然:来自解释计数 ViTs 的经验

Causality $\neq$ Decodability, and Vice Versa: Lessons from Interpreting Counting ViTs

University of Pennsylvania(宾夕法尼亚大学);Carnegie Mellon University(卡内基梅隆大学)

Lianghuan Huang, Yingshan Chang

AI总结:

本文在目标计数 ViT 中区分了可解码性与因果性,发现两者存在系统性不匹配,揭示了它们作为互补维度可暴露隐藏计算电路。

摘要:

机制可解释性旨在揭示神经网络的内部组件如何产生预测。然而,一个持续的挑战是区分两个经常被混淆的概念:可解码性——从隐藏状态中恢复信息的能力——以及因果性——这些状态在多大程度上功能性地影响输出。在这项工作中,我们在针对目标计数进行微调的视觉 Transformer(ViTs)中研究了它们的关系。使用激活修补,我们通过在干净-损坏图像对之间移植激活来测试空间 token 和 CLS token 的因果作用。同时,我们训练线性探针以评估不同深度处计数信息的可解码性。我们的结果揭示了系统性的不匹配:中间层的目标 token 尽管可解码性很弱,但具有强烈的因果影响,而最终层的目标 token 支持准确解码但在功能上是惰性的。类似地,CLS token 在中间层变得可解码,但仅在最终层才获得因果作用。这些发现强调,可解码性和因果性反映了表征的互补维度——存在什么信息与使用了什么信息——并且它们的分歧可以暴露隐藏的计算电路。

英文摘要:

Mechanistic interpretability seeks to uncover how internal components of neural networks give rise to predictions. A persistent challenge, however, is disentangling two often conflated notions: decodability--the recoverability of information from hidden states--and causality--the extent to which those states functionally influence outputs. In this work, we investigate their relationship in vision transformers (ViTs) fine-tuned for object counting. Using activation patching, we test the causal role of spatial and CLS tokens by transplanting activations across clean-corrupted image pairs. In parallel, we train linear probes to assess the decodability of count information at different depths. Our results reveal systematic mismatches: middle-layer object tokens exert strong causal influence despite being weakly decodable, whereas final-layer object tokens support accurate decoding yet are functionally inert. Similarly, the CLS token becomes decodable in mid-layers but only acquires causal power in the final layers. These findings highlight that decodability and causality reflect complementary dimensions of representation--what information is present versus what is used--and that their divergence can expose hidden computational circuits.

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

↑