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

非凡的推理行为及其发现位置:无监督发现推理过程

Fantastic Reasoning Behaviors and Where to Find Them: Unsupervised Discovery of the Reasoning Process

The University of Texas at Austin(德克萨斯大学奥斯汀分校);Google DeepMind(谷歌DeepMind)

Zhenyu Zhang, Shujian Zhang, John Lambert, Wenxuan Zhou, Zhangyang Wang, Mingqing Chen, Andrew Hard, Rajiv Mathews, Lun Wang

AI总结:

本研究提出无监督框架RISE,通过稀疏自编码器发现LLM推理行为,揭示可解释的推理特征并控制推理轨迹。

摘要:

尽管近期大型语言模型(LLMs)的推理能力日益增强,但其在推理过程中的内部机制仍处于探索之中。先前的方法通常依赖于人类定义的概念(例如过度思考、反思)在词层面来以监督方式分析推理。然而,这些方法存在局限,因为无法捕捉到潜在推理行为的完整光谱,许多行为在token空间中难以定义。在本工作中,我们提出了一种无监督框架(即RISE:通过稀疏自编码器进行推理行为可解释性),用于发现推理向量,我们将其定义为激活空间中的方向,编码着不同的推理行为。通过将链式思维轨迹分割为句子层面的“步骤”,并在步骤层面的激活上训练稀疏自编码器(SAEs),我们揭示了对应于可解释行为(如反思和回溯)的解耦特征。可视化和聚类分析显示,这些行为在解码器列空间中占据分离的区域。此外,针对SAE衍生向量的干预可以可控地放大或抑制特定推理行为,改变推理轨迹而无需重新训练。除了行为特定的解耦外,SAEs捕捉到结构性质,如响应长度,揭示了长响应与短响应推理轨迹的集群。更有趣的是,SAEs能够发现超出人类监督的新行为。我们展示了通过在SAE解码器空间中识别与置信度相关的向量来控制响应置信度的能力。这些发现突显了无监督潜在发现对解释和可控引导LLM推理的潜力。

英文摘要:

Despite the growing reasoning capabilities of recent large language models (LLMs), their internal mechanisms during the reasoning process remain underexplored. Prior approaches often rely on human-defined concepts (e.g., overthinking, reflection) at the word level to analyze reasoning in a supervised manner. However, such methods are limited, as it is infeasible to capture the full spectrum of potential reasoning behaviors, many of which are difficult to define in token space. In this work, we propose an unsupervised framework (namely, RISE: Reasoning behavior Interpretability via Sparse auto-Encoder) for discovering reasoning vectors, which we define as directions in the activation space that encode distinct reasoning behaviors. By segmenting chain-of-thought traces into sentence-level 'steps' and training sparse auto-encoders (SAEs) on step-level activations, we uncover disentangled features corresponding to interpretable behaviors such as reflection and backtracking. Visualization and clustering analyses show that these behaviors occupy separable regions in the decoder column space. Moreover, targeted interventions on SAE-derived vectors can controllably amplify or suppress specific reasoning behaviors, altering inference trajectories without retraining. Beyond behavior-specific disentanglement, SAEs capture structural properties such as response length, revealing clusters of long versus short reasoning traces. More interestingly, SAEs enable the discovery of novel behaviors beyond human supervision. We demonstrate the ability to control response confidence by identifying confidence-related vectors in the SAE decoder space. These findings underscore the potential of unsupervised latent discovery for both interpreting and controllably steering reasoning in LLMs.

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

↑