2025-02-07 · 专家 · 自然语言处理 · 机器学习

Analyze Feature Flow to Enhance Interpretation and Steering in Language Models

该论文提出了一种基于稀疏自动编码器(SAE)的跨层特征映射方法,通过数据无关的余弦相似度技术,追踪特征在语言模型中的演变过程,从而实现模型的可解释性和可控性。

更新于 2025-02-07。作者:Daniil Laptev、Nikita Balagansky、Yaroslav Aksenov、Daniil Gavrilov。

中文摘要

我们提出了一种新的方法,用于系统地映射大型语言模型连续层中由稀疏自动编码器发现的特征,扩展了先前研究层间特征链接的工作。通过使用数据无关的余弦相似度技术,我们追踪了特定特征在每个阶段是如何持续存在、转换或首次出现的。这种方法产生了特征演变的细粒度流图,使模型计算具有精细可解释性和机制洞察。关键的是,我们展示了这些跨层特征映射如何通过放大或抑制所选特征来直接引导模型行为,实现文本生成的目标主题控制。总之,我们的发现突出了因果、跨层可解释性框架的实用性,该框架不仅阐明了特征是如何通过前向传递发展的,而且提供了透明操作大型语言模型的新手段。

英文摘要

We introduce a new approach to systematically map features discovered by sparse autoencoder across consecutive layers of large language models, extending earlier work that examined inter-layer feature links. By using a data-free cosine similarity technique, we trace how specific features persist, transform, or first appear at each stage. This method yields granular flow graphs of feature evolution, enabling fine-grained interpretability and mechanistic insights into model computations. Crucially, we demonstrate how these cross-layer feature maps facilitate direct steering of model behavior by amplifying or suppressing chosen features, achieving targeted thematic control in text generation. Together, our findings highlight the utility of a causal, cross-layer interpretability framework that not only clarifies how features develop through forward passes but also provides new means for transparent manipulation of large language models.

解读

一句话总结

该论文提出了一种基于稀疏自动编码器(SAE)的跨层特征映射方法,通过数据无关的余弦相似度技术,追踪特征在语言模型中的演变过程,从而实现模型的可解释性和可控性。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源