arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2410.08869cs.LG
收藏

LLMs中SAE特征在各层间的演化

Evolution of SAE Features Across Layers in LLMs

Apollo Research(阿波罗研究公司)

Daniel Balcells, Benjamin Lerner, Michael Oesterle, Ediz Ucar, Stefan Heimersheim

AI总结:

本文通过分析相邻层特征间的统计关系,研究基于Transformer的语言模型中Sparse Autoencoders特征在前向传播中的演化,发现特征存在传递、准布尔组合及后期专业化现象。

摘要:

基于Transformer的语言模型的Sparse Autoencoders通常按层独立定义。本文分析相邻层特征间的统计关系,以理解特征在前向传播中如何演化。我们提供了特征及其最相似下一层邻居的图可视化界面,并构建了跨层的相关特征社区。我们发现大量特征从前一层传递而来,部分特征可表示为先前特征的准布尔组合,部分特征在后续层中变得更加专业化。

英文摘要:

Sparse Autoencoders for transformer-based language models are typically defined independently per layer. In this work we analyze statistical relationships between features in adjacent layers to understand how features evolve through a forward pass. We provide a graph visualization interface for features and their most similar next-layer neighbors (https://stefanhex.com/spar-2024/feature-browser/), and build communities of related features across layers. We find that a considerable amount of features are passed through from a previous layer, some features can be expressed as quasi-boolean combinations of previous features, and some features become more specialized in later layers.

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

↑