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

思维的形状:当分布比正确性更重要时在推理任务中的表现

Shape of Thought: When Distribution Matters More than Correctness in Reasoning Tasks

University of Waterloo(滑铁卢大学);University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校);MILA - Quebec AI Institute(魁北克人工智能研究所);Université de Montréal(蒙特利尔大学);Microsoft Research India(微软印度研究院);Google DeepMind(谷歌DeepMind);Periodic Labs(周期实验室)

Abhranil Chandra, Ayush Agrawal, Arian Hosseini, Sebastian Fischmeister, Rishabh Agarwal, Navin Goyal, Aaron Courville

AI总结:

通过训练合成数据集中的链式思考轨迹,即使最终答案错误,也能提升语言模型的推理能力,表明分布比正确性更重要。

摘要:

我们提出了一个令人惊讶的发现:通过训练合成数据集中的链式思考(CoT)轨迹,即使这些轨迹最终答案都错误,语言模型的推理能力也可以得到提升。我们的实验表明,这种方法在推理任务上的表现比训练于人工标注的数据集更好。我们假设有两个关键因素解释了这一现象:首先,合成数据的分布本质上更接近语言模型自身的分布,使其更易于学习。其次,这些'错误'轨迹往往只部分错误,包含有效的推理步骤,模型可以从其中学习。为了进一步验证第一个假设,我们使用语言模型重新表述人工标注的轨迹——将它们的分布更接近模型自身的分布——并证明这能提高性能。对于第二个假设,我们引入越来越错误的Co T轨迹,并研究模型对这些错误的容忍程度。我们通过各种推理领域如数学、算法推理和代码生成,使用MATH、GSM8K、Countdown和MBPP数据集,在不同语言模型(从1.5B到9B的Qwen、Llama和Gemma模型)上展示了我们的发现。我们的研究显示,编纂更接近模型分布的数据集是需要考虑的关键因素。我们还显示,正确的最终答案并不总是忠实推理过程的可靠指标。

英文摘要:

We present the surprising finding that a language model's reasoning capabilities can be improved by training on synthetic datasets of chain-of-thought (CoT) traces from more capable models, even when all of those traces lead to an incorrect final answer. Our experiments show this approach can yield better performance on reasoning tasks than training on human-annotated datasets. We hypothesize that two key factors explain this phenomenon: first, the distribution of synthetic data is inherently closer to the language model's own distribution, making it more amenable to learning. Second, these `incorrect' traces are often only partially flawed and contain valid reasoning steps from which the model can learn. To further test the first hypothesis, we use a language model to paraphrase human-annotated traces -- shifting their distribution closer to the model's own distribution -- and show that this improves performance. For the second hypothesis, we introduce increasingly flawed CoT traces and study to what extent models are tolerant to these flaws. We demonstrate our findings across various reasoning domains like math, algorithmic reasoning and code generation using MATH, GSM8K, Countdown and MBPP datasets on various language models ranging from 1.5B to 9B across Qwen, Llama, and Gemma models. Our study shows that curating datasets that are closer to the model's distribution is a critical aspect to consider. We also show that a correct final answer is not always a reliable indicator of a faithful reasoning process.

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

↑