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

追踪LLM训练中的特征动态:一项机制性研究

Tracking the Feature Dynamics in LLM Training: A Mechanistic Study

Department of Computer Science(计算机科学系);Rutgers University(罗格斯大学);Section for Health Data Science and AI(健康数据科学与人工智能部门);University of Copenhagen(哥本哈根大学)

Yang Xu, Yi Wang, Hengguan Huang, Hao Wang

AI总结:

本文提出SAE-Track方法,通过连续稀疏自编码器序列追踪LLM训练中特征的语义演化、形成过程与向量漂移,揭示训练机制。

摘要:

理解训练动态和特征演化对于大语言模型(LLMs)的机制可解释性至关重要。尽管稀疏自编码器(SAEs)已被用于识别LLMs中的特征,但这些特征在训练过程中如何演化的清晰图景仍然难以捉摸。在本研究中,我们(1)引入了SAE-Track,这是一种高效获取连续SAE序列的新方法,为涵盖以下内容的机制性研究奠定了基础:(2)特征的语义演化,(3)特征形成的底层过程,以及(4)特征向量的方向性漂移。我们的工作为LLMs中的特征动态提供了新的见解,增进了我们对训练机制和特征演化的理解。为了可复现性,我们的代码可在https://github.com/Superposition09m/SAE-Track获取。

英文摘要:

Understanding training dynamics and feature evolution is crucial for the mechanistic interpretability of large language models (LLMs). Although sparse autoencoders (SAEs) have been used to identify features within LLMs, a clear picture of how these features evolve during training remains elusive. In this study, we (1) introduce SAE-Track, a novel method for efficiently obtaining a continual series of SAEs, providing the foundation for a mechanistic study that covers (2) the semantic evolution of features, (3) the underlying processes of feature formation, and (4) the directional drift of feature vectors. Our work provides new insights into the dynamics of features in LLMs, enhancing our understanding of training mechanisms and feature evolution. For reproducibility, our code is available at https://github.com/Superposition09m/SAE-Track.

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

↑