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

基于稀疏自编码器的信息论设计的引导方法

Information-Theoretic Design of Sparse Autoencoder-Based Steering

Ricoh Co., Ltd.(理光公司)

Hirofumi Morise

AI总结:

该研究提出信息论框架,利用Jensen-Shannon散度构建稀疏自编码器引导向量,通过实验验证其在大语言模型生成任务中的有效性,可用于安全相关特征分析。

摘要:

基于稀疏自编码器(SAE)的激活引导是一种轻量级方法,通过在推理过程中向隐藏状态添加小向量来修改大语言模型(LLM)的行为。然而,设计有效的引导干预措施仍然具有挑战性。在这项工作中,我们开发了一种信息论框架,用于通过经验特征激活分布分析SAE激活。该框架的核心对象是此类激活分布之间的Jensen-Shannon散度(JSD),它量化了生成或干预状态与数据集诱导的目标分布的偏离程度。基于虚拟偏移状态的解析散度响应,我们构建了朝向目标激活分布的引导向量。相同的散度还可用于监测与另一个经验分布(例如通用有效语言分布)的偏离。我们在问答模式生成任务研究中证明了该引导的有效性。我们进一步使用教师强制脉冲实验表明,局部干预会在后续层中诱导结构化的下游JSD响应,并将该框架应用于与安全相关的目标-对比响应设置以进行特征分析。

英文摘要:

Sparse autoencoder (SAE)-based activation steering is a lightweight approach for modifying the behavior of large language models (LLMs) by adding small vectors to hidden states during inference. However, designing effective steering interventions remains challenging. In this work, we develop an information-theoretic framework for analyzing SAE activations through empirical feature-firing distributions. The central object of the framework is the Jensen--Shannon divergence (JSD) between such firing distributions, which quantifies how far a generated or intervened state deviates from a dataset-induced target distribution. Based on an analytic divergence response for virtually shifted states, we construct steering vectors toward the target firing distribution. The same divergence can also be used to monitor deviation from another empirical distribution, such as a general valid-language distribution. We demonstrate the effectiveness of the steering in a question-mode generation task study. We further use teacher-forced pulse experiments to show that local interventions induce structured downstream JSD responses in later layers, and apply the framework to a safety-related target--contrast response setting for feature analysis.

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

↑