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

从方向到区域:通过局部几何分解语言模型中的激活

From Directions to Regions: Decomposing Activations in Language Models via Local Geometry

Blavatnik School of Computer Science(Blavatnik计算机科学学院);AI, Tel Aviv University, Israel(人工智能,特拉维夫大学,以色列);New York University, New York, NY, USA(纽约大学,纽约,纽约州,美国)

Or Shafran, Shaked Ronen, Omri Fahn, Shauli Ravfogel, Atticus Geiger, Mor Geva

AI总结:

本研究提出MFA方法,通过局部几何分解语言模型中的激活,捕捉复杂非线性结构,优于无监督基线并优于稀疏自编码器的转向性能。

摘要:

语言模型中的激活分解方法紧密耦合于对概念在激活空间中实现的几何假设。现有方法搜索个体全局方向,隐式假设线性可分性,这忽略了具有非线性或多维结构的概念。在本工作中,我们利用混合因子分析(MFA)作为可扩展的无监督替代方法,将激活空间建模为一组具有局部协方差结构的高斯区域。MFA将激活分解为两个组合几何对象:激活空间中区域的质心,以及从质心的局部变化。我们训练大规模MFA模型用于Llama-3.1-8B和Gemma-2-2B,并显示它们能够捕捉激活空间中的复杂非线性结构。此外,在定位和转向基准测试中的评估表明,MFA优于无监督基线,与监督定位方法竞争,且经常在稀疏自编码器的转向性能上更优。共同,我们的发现将通过子空间表达的局部几何定位为可扩展概念发现和模型控制的有前途的分析单位,能够捕捉孤立方向无法捕捉的复杂结构。

英文摘要:

Activation decomposition methods in language models are tightly coupled to geometric assumptions on how concepts are realized in activation space. Existing approaches search for individual global directions, implicitly assuming linear separability, which overlooks concepts with nonlinear or multi-dimensional structure. In this work, we leverage Mixture of Factor Analyzers (MFA) as a scalable, unsupervised alternative that models the activation space as a collection of Gaussian regions with their local covariance structure. MFA decomposes activations into two compositional geometric objects: the region's centroid in activation space, and the local variation from the centroid. We train large-scale MFAs for Llama-3.1-8B and Gemma-2-2B, and show they capture complex, nonlinear structures in activation space. Moreover, evaluations on localization and steering benchmarks show that MFA outperforms unsupervised baselines, is competitive with supervised localization methods, and often achieves stronger steering performance than sparse autoencoders. Together, our findings position local geometry, expressed through subspaces, as a promising unit of analysis for scalable concept discovery and model control, accounting for complex structures that isolated directions fail to capture.

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

↑