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

稀疏自编码器综述:解释大型语言模型的内部机制

A Survey on Sparse Autoencoders: Interpreting the Internal Mechanisms of Large Language Models

Northwestern University(西北大学);University of Georgia(佐治亚大学);New Jersey Institute of Technology(新泽西理工学院);George Mason University(乔治·马歇尔大学)

Dong Shu, Xuansheng Wu, Haiyan Zhao, Daking Rai, Ziyu Yao, Ninghao Liu, Mengnan Du

AI总结:

本文系统综述了稀疏自编码器在解释大型语言模型内部机制中的技术框架、特征解释方法、评估指标及实际应用。

摘要:

大型语言模型(LLMs)已经变革了自然语言处理,但其内部机制在很大程度上仍不透明。近年来,机制可解释性作为理解LLMs内部运作方式的一种手段,引起了研究界的广泛关注。在各种机制可解释性方法中,稀疏自编码器(Sparse Autoencoders, SAEs)因其能够将LLMs中复杂、叠加的特征解耦为更可解释的成分而成为一种有前景的方法。本文对用于解释和理解LLMs内部运作的SAEs进行了全面综述。我们的主要贡献包括:(1)探索SAEs的技术框架,涵盖基本架构、设计改进和有效的训练策略;(2)考察解释SAE特征的不同方法,将其分为基于输入和基于输出的解释方法;(3)讨论评估SAE性能的评价方法,涵盖结构性和功能性指标;(4)研究SAEs在理解和操纵LLM行为方面的实际应用。

英文摘要:

Large Language Models (LLMs) have transformed natural language processing, yet their internal mechanisms remain largely opaque. Recently, mechanistic interpretability has attracted significant attention from the research community as a means to understand the inner workings of LLMs. Among various mechanistic interpretability approaches, Sparse Autoencoders (SAEs) have emerged as a promising method due to their ability to disentangle the complex, superimposed features within LLMs into more interpretable components. This paper presents a comprehensive survey of SAEs for interpreting and understanding the internal workings of LLMs. Our major contributions include: (1) exploring the technical framework of SAEs, covering basic architecture, design improvements, and effective training strategies; (2) examining different approaches to explaining SAE features, categorized into input-based and output-based explanation methods; (3) discussing evaluation methods for assessing SAE performance, covering both structural and functional metrics; and (4) investigating real-world applications of SAEs in understanding and manipulating LLM behaviors.

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

↑