从潜在信号到反射行为:在R1风格大语言模型中追踪元认知激活轨迹
From Latent Signals to Reflection Behavior: Tracing Meta-Cognitive Activation Trajectory in R1-Style LLMs
AI总结:
研究通过分析R1风格大语言模型中反思行为的激活轨迹,揭示了元认知过程从潜在监控到话语调节再到自我反思的阶段性特征。
摘要:
R1风格的大语言模型因其自我反思能力而受到越来越多的关注,但这种行为背后的内部机制仍然不清楚。为了弥合这一差距,我们聚焦于反思行为的起始点,并追踪其逐层的激活轨迹。通过logit透镜读取token级别的语义,我们揭示出一种结构化的进展:(i)潜在控制层,其中近似线性方向编码了思维预算的语义;(ii)语义转折层,其中话语层面的提示,包括转折点和总结提示,出现并主导概率质量;(iii)行为外显层,其中反思行为token的可能性开始上升,直到它们变得高度可能被采样。此外,我们的针对性干预揭示了这些阶段之间的因果链:提示层面的语义调节了激活沿潜在控制方向的投影,从而在语义转折层中引发转折点和总结提示之间的竞争,这反过来又调节了行为外显层中反思行为token的采样可能性。总体而言,我们的发现表明了一种类似人类的元认知过程,从潜在监控,到话语层面的调节,最终到最终的自我反思。我们的分析代码可在https://github.com/DYR1/S3-CoT中找到。
英文摘要:
R1-style LLMs have attracted growing attention for their capacity for self-reflection, yet the internal mechanisms underlying such behavior remain unclear. To bridge this gap, we anchor on the onset of reflection behavior and trace its layer-wise activation trajectory. Using the logit lens to read out token-level semantics, we uncover a structured progression: (i) Latent-control layers, where an approximate linear direction encodes the semantics of thinking budget; (ii) Semantic-pivot layers, where discourse-level cues, including turning-point and summarization cues, surface and dominate the probability mass; and (iii) Behavior-overt layers, where the likelihood of reflection-behavior tokens begins to rise until they become highly likely to be sampled. Moreover, our targeted interventions uncover a causal chain across these stages: prompt-level semantics modulate the projection of activations along latent-control directions, thereby inducing competition between turning-point and summarization cues in semantic-pivot layers, which in turn regulates the sampling likelihood of reflection-behavior tokens in behavior-overt layers. Collectively, our findings suggest a human-like meta-cognitive process-progressing from latent monitoring, to discourse-level regulation, and to finally overt self-reflection. Our analysis code can be found at https://github.com/DYR1/S3-CoT.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。