arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.05679cs.LG
收藏

稀疏自编码器是否在语言模型中识别推理特征?

Do Sparse Autoencoders Identify Reasoning Features in Language Models?

UC Berkeley(加州大学伯克利分校);UCSF(旧金山大学)

George Ma, Zhongyuan Liang, Irene Y. Chen, Somayeh Sojoudi

AI总结:

研究稀疏自编码器在大语言模型中识别推理相关内部特征的可靠性,提出基于因果token注入的评估框架,发现许多候选特征对token级干预敏感,需通过反证法验证其推理相关性。

摘要:

我们研究稀疏自编码器(SAEs)如何可靠地支持关于大语言模型中推理相关内部特征的主张。我们首先进行简化分析,表明稀疏正则化解码可以优先保留稳定的低维相关性,同时抑制高维行为内变异性,这促使我们考虑对比选择的'推理'特征可能在推理痕迹耦合时集中在提示结构上。基于此视角,我们提出一种基于反证的评估框架,结合因果token注入与LLM引导的反例构造。在22种配置中,涵盖多个模型家族、层和推理数据集,我们发现许多对比选择的候选特征对token级干预高度敏感,45%-90%在注入少量相关token到非推理文本后激活。对于剩余的上下文依赖候选特征,LLM引导的反证会产生触发激活的非推理输入,并生成保留意义的改写,以抑制激活。小规模引导研究在评估基准上产生最小变化。总体而言,我们的结果表明,在我们研究的设置中,稀疏分解可能倾向于与推理共现的低维相关性,强调在将高层行为归因于个别SAE特征时需要反证。代码可在https://github.com/GeorgeMLP/reasoning-probing获取。

英文摘要:

We study how reliably sparse autoencoders (SAEs) support claims about reasoning-related internal features in large language models. We first give a stylized analysis showing that sparsity-regularized decoding can preferentially retain stable low-dimensional correlates while suppressing high-dimensional within-behavior variation, motivating the possibility that contrastively selected "reasoning" features may concentrate on cue-like structure when such cues are coupled with reasoning traces. Building on this perspective, we propose a falsification-based evaluation framework that combines causal token injection with LLM-guided counterexample construction. Across 22 configurations spanning multiple model families, layers, and reasoning datasets, we find that many contrastively selected candidates are highly sensitive to token-level interventions, with 45%-90% activating after injecting only a few associated tokens into non-reasoning text. For the remaining context-dependent candidates, LLM-guided falsification produces targeted non-reasoning inputs that trigger activation and meaning-preserving paraphrases of top-activating reasoning traces that suppress it. A small steering study yields minimal changes on the evaluated benchmarks. Overall, our results suggest that, in the settings we study, sparse decompositions can favor low-dimensional correlates that co-occur with reasoning, underscoring the need for falsification when attributing high-level behaviors to individual SAE features. Code is available at https://github.com/GeorgeMLP/reasoning-probing.

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

↑