A recent arXiv paper argues that pattern recognition and step-by-step reasoning are not distinct capabilities but rather two ends of a spectrum. The authors propose that a large language model's behavior is shaped by the structure of its training data, which can push it toward one extreme or the other.
The key claim is that an LLM learns to reason step-by-step when the data is organized so that the next token depends on only a small amount of context. In such cases, the model must track intermediate steps rather than rely on broad statistical patterns. This suggests that the emergence of chain-of-thought reasoning is not an inherent property of scale, but a consequence of how the data is presented.
This perspective offers a practical lens for interpreting model behavior. If researchers can identify which data structures encourage step-by-step reasoning, they may be able to design training sets that deliberately cultivate this ability—or, conversely, recognize when a model is merely pattern matching. The paper stops short of providing a full theory, but it frames a useful dichotomy for future work.