研究大模型推理失真如何从自回归训练中产生
How Does Unfaithful Reasoning Emerge from Autoregressive Training? A Study of Synthetic Experiments
- 用合成数据训练小模型解决算术题,模拟推理过程
- 噪声过高时推理从逐步推导转为跳步错误,中间有熵增过渡
- 模型自发学习自我验证,通过内部不确定性编码纠正错误
大型语言模型生成的思维链(CoT)推理常出现不忠实现象:中间步骤逻辑矛盾或与最终答案无因果关系。尽管已有大量实证观察,但对思维链本质及失真成因仍缺乏根本理解。本文通过受控的合成实验,训练小型Transformer模型在含噪数据上逐步求解模块化算术表达式(称作算术表达式推理任务)。结果发现,当训练噪声低于临界阈值时,模型能学会符合算术规则的忠实推理;而噪声过高时,训练动态经历从忠实逐步推理到不忠实跳步推理的转变,中间存在一个混合模式,表现为预测熵短暂上升。机制分析表明,模型通过将不一致推理步骤编码为内部不确定性,自发形成隐式自我验证机制,揭示了自回归训练中隐性纠错能力的涌现。
原文摘要 · Abstract (English)
Chain-of-thought (CoT) reasoning generated by large language models (LLMs) is often unfaithful: intermediate steps can be logically inconsistent or fail to reflect the causal relationship leading to the final answer. Despite extensive empirical observations, a fundamental understanding of CoT is lacking--what constitutes faithful CoT reasoning, and how unfaithfulness emerges from autoregressive training. We study these questions using well-controlled synthetic experiments, training small transformers on noisy data to solve modular arithmetic expressions step by step, a task we term Arithmetic Expression Reasoning. We find that models can learn faithful reasoning that causally follows the underlying arithmetic rules, but only when the training noise is below a critical threshold, a phenomenon attributable to simplicity bias. At higher noise levels, training dynamics exhibit a transition from faithful stepwise reasoning to unfaithful skip-step reasoning via an intermediate mixed mode characterized by a transient increase in prediction entropy. Mechanistic analysis reveals that models learn to encode internal uncertainty by resolving inconsistent reasoning steps, which suggests the emergence of implicit self-verification from autoregressive training.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。