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

推理还是模式利用?来自强化学习训练的语言模型的机制洞察

Reasoning or Pattern Exploitation? Mechanistic Insights from RL-Trained Language Models

Carnegie Mellon University(卡内基梅隆大学);Institute of High Performance Computing (IHPC), Agency for Science, Technology and Research (A*STAR)(新加坡科技研究局高性能计算研究所);Centre for Frontier AI Research (CFAR), Agency for Science, Technology and Research (A*STAR)(新加坡科技研究局前沿人工智能研究中心)

Aishik Nagar, Cheston Tan

AI总结:

本研究以井字棋为有限逻辑领域,结合定量分析与机制可解释性,发现RL训练的LLMs依赖提示显性信息而非高级概念,首次提出相关可解释性流程,揭示RL后训练仅重组特征主导性。

摘要:

大型语言模型(LLMs)在通过带有可验证奖励的强化学习训练后,越来越多地被描述为获得了“推理”技能。然而,这些提升究竟反映了真正的推理还是更表面的适应,仍未得到充分探索。在本研究中,我们探究在一个有限且可详尽分析的逻辑领域——井字棋(Tic-Tac-Toe)中训练的LLMs,并追踪其在使用分组相对策略优化(GRPO)进行强化学习(RL)过程中内部表征的演变。从定量角度看,RL在不同提示变体下均实现了高准确率和鲁棒性,表明游戏推理能力的出现。然而,机制可解释性却呈现出不同的结果:通过稀疏自编码器(SAEs)提取的特征显示,模型主要适应于更依赖提示中已明确的信息,例如当前回合玩家、游戏进程和棋盘占据情况。相比之下,棋盘对称性、战略分叉等高级概念的表征仍很薄弱,这引发了对推理基准过高估计模型能力的担忧。这表明,RL驱动的“推理”可能将针对输入信息的任务特定适应与推理能力混为一谈。我们首次提供了:(i)一套追踪小规模LLMs在RL训练中表征动态的系统可解释性流程;(ii)将基于SAE的特征发现扩展到有限逻辑领域中假设驱动测试的方法;(iii)基于可解释性的证明,即RL后训练既不增加也不减少概念信息,而是重组了哪些特征主导表征,且通过因果干预将决策定位在其下游的后期层状态中。

英文摘要:

Large language models (LLMs) are increasingly described as acquiring "reasoning" skills after reinforcement learning with verifiable rewards. However, whether these gains reflect genuine reasoning or more superficial adaptations remains underexplored. In this work, we probe LLMs trained in a finite and exhaustively analyzable logical domain, namely Tic-Tac-Toe, and trace how internal representations evolve across reinforcement learning (RL) with Group Relative Policy Optimization (GRPO). Quantitatively, RL yields high accuracy and robustness across prompt variations, suggesting the emergence of game reasoning. Mechanistic interpretability, however, paints a different picture: features extracted with sparse autoencoders (SAEs) reveal that models primarily adapt to rely more heavily on information already explicit in the prompt, such as whose turn it is, game progression and board occupancy. In comparison, high-level concepts like board symmetries and strategic forks remain weakly represented, raising concerns that reasoning benchmarks overestimate model abilities. This suggests that RL-driven "reasoning" may conflate task-specific adaptations to input information with reasoning ability. We provide, for the first time: (i) a systematic interpretability pipeline tracing representation dynamics across RL training in small-scale LLMs; (ii) an extension of SAE-based feature discovery to hypothesis-driven testing in a finite logical domain; and (iii) an interpretability-based demonstration that RL post-training neither adds nor removes concept information but reorganizes which features dominate the representation, with causal interventions locating the decision downstream of it, in the late-layer state.

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

↑