mlsanityData to 7 Oct 2026

Arithmetic OOD Failure Unfolds in Stages in Minimal GPTs

arXiv 2603.26828 ↗First posted 27 Mar 2026cs.CL cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Arithmetic benchmarks are often reduced to a single held-out score, but that score can conflate qualitatively different failures. We study a controlled minimal GPT trained on exhaustive 2-digit addition, where all local digit transitions are already present in training, and ask why 3-digit generalization still fails. The failure is staged. First, there is a layout barrier: a learned absolute-position model collapses under a pure 3-digit layout shift, and mixed-layout exposure is the only intervention that materially weakens this barrier. Second, after layout repair, the hundreds position behaves like a carry flag rather than a semantic hundreds digit; targeted carry probes reverse the relevant logit margin, whereas a matched extra-data control does not. Third, after carry repair, the main remaining bottleneck is conditional recomposition: high-conditioned tail data outperforms a matched control, high-only data, and tail-only data on all true-3-digit suites, and the same ordering reappears in a larger 2-layer bridge experiment. The residual errors after recomposition are then overwhelmingly tens-only, and a separate 10-seed late-stage study shows that a sign-aware tens repair raises exact match on the hardest thousands-carry suite from 0.664 to 0.822. We therefore provide an experimentally testable decomposition of arithmetic OOD failure into layout, carry-semantics, recomposition, and late tens-residual stages.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 19 of its 22 references that are in the map. First posted on arXiv 27 Mar 2026.

Builds on

19 of 22 references.

References · 19

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018Self-Attention with Relative Position Representationscited by 1,112
  3. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
  4. 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
  5. 2018Universal Transformerscited by 613
  6. 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 599
  7. 2023Teaching Arithmetic to Small Transformerscited by 121
  8. 2015Neural GPUs Learn Algorithmscited by 118
  9. 2014Learning to Executecited by 105
  10. 2024Transformers Can Achieve Length Generalization But Not Robustlycited by 82
  11. 2024Transformers Can Do Arithmetic with the Right Embeddingscited by 77
  12. 2024A Formal Framework for Understanding Length Generalization in Transformerscited by 44
7 more
  1. 2024How Far Can Transformers Reason? The Globality Barrier and Inductive Scratchpadcited by 35
  2. 2023Understanding Addition in Transformerscited by 34
  3. 2024Position Coupling: Improving Length Generalization of Arithmetic Transformers Using Task Structurecited by 22
  4. 2024Arithmetic Transformers Can Length-Generalize in Both Operand Length and Countcited by 18
  5. 2024Explicitly Encoding Structural Symmetry is Key to Length Generalization in Arithmetic Taskscited by 10
  6. 2025Do Large Language Models Truly Grasp Addition? A Rule-Focused Diagnostic Using Two-Integer Arithmeticcited by 8
  7. 2026Self-hosted Lecture-to-Quiz: Local LLM MCQ Generation with Deterministic Quality Controlcited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2024Principled Understanding of Generalization for Generative Transformer Models in Arithmetic Reasoning Tasks
  2. 2026Shared circuits predict whether LLMs generalize across formats in arithmetic reasoning
  3. 2026Do Instruction-Tuned Models Always Perform Better Than Base Models? Evidence from Math and Domain-Shifted Benchmarks
  4. 2026Weak-to-Strong Elicitation via Mismatched Wrong Drafts
  5. 2026Algorithmic Scratchpads and Curriculum Staging for Arithmetic Reasoning in Tiny Transformers
  6. 2026Weight Decay Regimes in Grokking Transformers: Cheap Online Diagnostics
  7. 2025Probing for Arithmetic Errors in Language Models
  8. 2026Limits of Difficulty Scaling: Hard Samples Yield Diminishing Returns in GRPO-Tuned SLMs