Shape of Thought: When Distribution Matters More than Correctness in Reasoning Tasks
Abhranil Chandra, Ayush Agrawal, Arian Hosseini, Sebastian Fischmeister, Rishabh Agarwal, Navin Goyal, Aaron Courville
TL;DR
Shape of Thought challenges the conventional emphasis on final-answer correctness by showing that training on synthetic CoT traces, even when they yield incorrect final answers, can improve reasoning performance beyond human-curated data. The key insight is that closer alignment between the training data distribution and the model’s native distribution, coupled with the presence of reusable intermediate reasoning steps in imperfect CoTs, drives these gains. Paraphrasing human CoTs to reduce distribution mismatch further enhances performance, and controlled degradation studies reveal the model’s tolerance to certain levels of error. Across math, counting, and code-generation tasks and multiple model families, the work highlights data distribution as a critical dimension for scaling reasoning capabilities in LLMs.
Abstract
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.
