Pith. sign in

REVIEW 7 cited by

Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalization

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2405.15071 v3 pith:RGZO66YD submitted 2024-05-23 cs.CL

classification cs.CL
keywords reasoningtransformersgeneralizingimplicittrainingcircuitcomparisoncomposition
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

We study whether transformers can learn to implicitly reason over parametric knowledge, a skill that even the most capable language models struggle with. Focusing on two representative reasoning types, composition and comparison, we consistently find that transformers can learn implicit reasoning, but only through grokking, i.e., extended training far beyond overfitting. The levels of generalization also vary across reasoning types: when faced with out-of-distribution examples, transformers fail to systematically generalize for composition but succeed for comparison. We delve into the model's internals throughout training, conducting analytical experiments that reveal: 1) the mechanism behind grokking, such as the formation of the generalizing circuit and its relation to the relative efficiency of generalizing and memorizing circuits, and 2) the connection between systematicity and the configuration of the generalizing circuit. Our findings guide data and training setup to better induce implicit reasoning and suggest potential improvements to the transformer architecture, such as encouraging cross-layer knowledge sharing. Furthermore, we demonstrate that for a challenging reasoning task with a large search space, GPT-4-Turbo and Gemini-1.5-Pro based on non-parametric memory fail badly regardless of prompting styles or retrieval augmentation, while a fully grokked transformer can achieve near-perfect accuracy, showcasing the power of parametric memory for complex reasoning.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 7 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. DiscoLoop: Looping Discrete Embeddings and Continuous Hidden States for Multi-hop Reasoning

    cs.CL 2026-07 unverdicted novelty 7.0 of 10

    DiscoLoop adds a discrete embedding channel to looped transformers to fix representational misalignment in two-hop reasoning, yielding near-perfect accuracy on synthetic tasks and better pretraining loss on real data.

  2. The Power of Power Law: Asymmetry Enables Compositional Reasoning

    cs.AI 2026-04 unverdicted novelty 6.0 of 10

    Power-law data sampling creates beneficial asymmetry in the loss landscape that lets models acquire high-frequency skill compositions first, enabling more efficient learning of rare long-tail skills than uniform distr...

  3. Performative Thinking? The Brittle Correlation Between CoT Length and Problem Complexity

    cs.AI 2025-09 conditional novelty 6.0 of 10

    A transformer trained to imitate A* produces traces whose length reflects similarity to training data, not true problem complexity, so long chain-of-thought should not be read as more 'thinking'.

  4. Evaluating the Systematic Reasoning Abilities of Large Language Models through Graph Coloring

    cs.LG 2025-02 conditional novelty 5.0 of 10

    Standard LLMs make frequent errors on small graph coloring problems, while reasoning models o1-mini and DeepSeek-R1 make fewer but still nonzero errors, and no model reaches perfect accuracy.

  5. A Survey on Latent Reasoning

    cs.CL 2025-07 conditional novelty 4.0 of 10

    A survey that organizes latent reasoning methods into vertical recurrence, horizontal recurrence, and infinite-depth diffusion, arguing that silent reasoning can beat explicit chain-of-thought.

  6. Too Big to Think: Capacity, Memorization, and Generalization in Pre-Trained Transformers

    cs.LG 2025-06 conditional novelty 4.0 of 10

    Capacity-limited Transformers generalize on held-out single-digit arithmetic while larger models memorize facts; joint training suppresses extrapolation in all tested sizes.

  7. CryptoX : Compositional Reasoning Evaluation of Large Language Models

    cs.CR 2025-02 conditional novelty 4.0 of 10

    A benchmark that encodes prompts in secret codes and measures how much accuracy models lose, showing most LLMs, especially open-source ones, struggle on this two-step compositional task.

Pith tools