未正则化线性探针偏向干预不忠实特征:OLS与ridge回归对特征因果性的影响
Pretty Linear Liars: Unregularized Probes Favor Intervention-Unfaithful Features
研究系统考察线性探针正则化对特征因果性的影响,从无正则化的OLS回归出发,逐步增加ridge回归的正则化强度。理论分析表明OLS探针会放大激活空间中与目标特征存在虚假相关的低方差方向,而正则化可削弱这些方向的影响。在玩具transformer和Llama-2-7B上的实验显示,干预忠实度随正则化增强先升后降,最优正则化强度下学到的特征在方向与方差上均与直接优化干预结果所得特征高度相似。
arXiv:2611.20371v1 Announce Type: new Abstract: Linear probing is a common technique in mechanistic interpretability despite the fact that the decodability of a given feature does not necessarily imply the network uses that feature. Intervention faithfulness, not merely decodability, is the appropriate criterion for whether a feature serves a defined active role in the model. Meanwhile, probe regularization has been used for feature discovery, but the impact of regularization on feature causality remains unclear. We study probe regularization systematically, starting with unregularized ordinary least squares (OLS) regression and considering increasing amounts of regularization via ridge regression. We show theoretically that OLS probes amplify low-variance directions in activation space that have spurious correlations with the target feature, whereas regularization reduces influence from these directions. Empirically, we find in a toy transformer and Llama-2-7B that intervention faithfulness increases up to a point, and then decreases again, and that the optimal regularization strength leads to features bearing striking similarity (in both direction and variance) to those learned by optimizing for intervention outcomes directly. Together, these results provide mechanistic justification for regularizing regression probes.
来源:arXiv (AI + Vision + Imaging) · arxiv.org