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

为何线性可解释性有效:架构约束下的不变子空间

Why Linear Interpretability Works: Invariant Subspaces as a Result of Architectural Constraints

Korea Advanced Institute of Science and Technology(韩国科学技术院)

Andres Saurez, Yousung Lee, Dongsoo Har

AI总结:

本文提出不变子空间必要性定理,揭示Transformer架构约束下线性可解释性方法有效的原因,统一了线性探针和稀疏自编码器。

摘要:

线性探针和稀疏自编码器能够从Transformer表示中恢复有意义的结构——但为何简单的 方法能在深度非线性系统中成功?我们证明这并非仅仅是经验规律,而是架构必要性 的结果:Transformer通过线性接口(注意力OV电路、去嵌入矩阵)传递信息,任何通过此类接口解码的语义特征必须占据一个与上下文无关的线性子空间。我们将此正式化为《不变子空间必要性》定理,并推导出《自参考属性》:令牌直接提供其相关特征的几何方向,使无需标注数据或学习探针即可实现零样本识别语义结构。在八个分类任务和四个模型家族中的实验证实了类令牌与语义相关实例的一致性。我们的框架为线性可解释性方法为何有效提供了系统性的架构解释,统一了线性探针和稀疏自编码器。

英文摘要:

Linear probes and sparse autoencoders consistently recover meaningful structure from transformer representations -- yet why should such simple methods succeed in deep, nonlinear systems? We show this is not merely an empirical regularity but a consequence of architectural necessity: transformers communicate information through linear interfaces (attention OV circuits, unembedding matrices), and any semantic feature decoded through such an interface must occupy a context-invariant linear subspace. We formalize this as the \emph{Invariant Subspace Necessity} theorem and derive the \emph{Self-Reference Property}: tokens directly provide the geometric direction for their associated features, enabling zero-shot identification of semantic structure without labeled data or learned probes. Empirical validation in eight classification tasks and four model families confirms the alignment between class tokens and semantically related instances. Our framework provides \textbf{a principled architectural explanation} for why linear interpretability methods work, unifying linear probes and sparse autoencoders.

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

↑