雅可比透镜的数学理论
A Mathematical Theory of the Jacobian Lens
AI总结:
本文提出雅可比透镜(J-lens)的数学理论,明确其优先识别相干特征的机制,通过贝叶斯滤波器和玩具Transformer验证分析,还提出ω-J-lenses以强调LLMs不同时间尺度的信息处理。
摘要:
Anthropic近期的研究提出了一种名为雅可比透镜(J-lens,Gurnee等人,2026)的新可解释性工具。该方法在前沿语言模型的隐藏状态中识别出具有类似工作记忆表征特性的线性方向。然而,目前尚不清楚这类特征的何种机制特性使其能被J-lens检测到。为此,我们提出了J-lens的数学理论,表明它优先识别相干特征——即表现为主导的空间相干李雅普诺夫模式的方向。沿这些方向的微小扰动会在各层中放大,在不同token位置大致保持恒定,且在不同上下文间具有一致性。虽然我们不确定这些特性是否必然与“全局工作空间”相关,但J-lens经分析得出的偏好仍能解释先前针对两类模型的实证结果。我们在贝叶斯滤波器和一个玩具Transformer上验证了该分析,两者均能最优预测隐马尔可夫模型(HMM)生成的下一个token。我们展示了调节贝叶斯滤波器中改变特征相干性的任务参数如何相应且可预测地调节J-lens的响应。我们还引入了一类用于强调LLMs中信息处理不同时间尺度的J-lens,将其称为ω-J-lenses。
英文摘要:
Recent work from Anthropic introduced a new interpretability tool, called the Jacobian lens (J-lens, Gurnee et al. 2026). This method identified linear directions in the hidden states of frontier language models that had properties reminiscent of working-memory-like representations. However, it is unclear what mechanistic properties of such features make them detectable by the J-lens. To this end, we introduce a mathematical theory of the J-lens and show that it preferentially identifies coherent features--directions that act like leading, spatially coherent finite-time Lyapunov modes. Small perturbations along these directions maximally amplify across layers, remain roughly constant across token positions, and are consistent across different contexts. While we are agnostic to whether these properties are necessarily associated with a "Global Workspace'', the analytically derived preferences of the J-lens nevertheless explain prior empirical results. We validate our analysis on a Bayes filter and a toy transformer, each optimally predicting next tokens emitted from a Hidden Markov Model (HMM). We show how modulating task parameters that change the coherence of features in the Bayes filter correspondingly and predictively modulates the response of the J-lens applied to both model classes. We also introduce a family of J-lenses built to emphasize different temporal scales of information processing in LLMs, which we call $\omega$-J-lenses.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。