ResearchResearch paperLarge Language Models · Reasoning & Planning1 source · Oct 6, 2026

The Dichotomy Between Pattern Recognition and Step-by-Step Reasoning

We argue that pattern recognition and step-by-step reasoning are two ends of a spectrum.

Key points

  • A large language model (LLM) learns to reason step-by-step when data is structured such that the next token depends on a small amount of preceding context.
  • Inference in LLMs resembles pattern recognition when the next token depends on a large amount of preceding context.
  • If the next token depends on only the $c$ most recent tokens, reasoning traces are paths on a De Bruijn graph whose nodes are $c$-length contexts and edges are next-token transitions between contexts.
  • We show that real-world data has De Bruijn structure: Qwen3-14B and Qwen3-32B retain over 75% of their accuracy on GSM8K, MATH-500 and GPQA-Diamond when attention is restricted to a sliding window less than 15% as long as the full reasoning trace.

Sources (1)

  • [1]The Dichotomy Between Pattern Recognition and Step-by-Step Reasoning
    arXiv (AI, ML, NLP, CV, robotics, multi-agent) · Oct 6, 10:36 PM
    We argue that pattern recognition and step-by-step reasoning are two ends of a spectrum.
    A large language model (LLM) learns to reason step-by-step when data is structured such that the next token depends on a small amount of preceding context.

Extractive summary: sentences quoted from the sources.

Before this

  1. Oct 6, 2026[AINews] Reflection Beam - 501B-A23B American Open Model
  2. Oct 6, 2026Qwen3.8 Flash Next Reasoning Modes: Off vs Low vs Medium vs Xhigh
  3. Sep 30, 2026Cloudflare/clef-flash
  4. Sep 29, 2026microsoft/AesCode-32B
  5. Aug 26, 2026vllm-project/vllm v0.28.0
  6. Jul 15, 2026huggingface/transformers v5.14.0: Release v5.14.0

Related