mlsanityData to 14 Oct 2026

Algorithmic Phase Transitions in Language Models: A Mechanistic Case Study of Arithmetic

arXiv 2412.07386 ↗First posted 10 Dec 2024cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Zero-shot capabilities of large language models make them powerful tools for solving a range of tasks without explicit training. It remains unclear, however, how these models achieve such performance, or why they can zero-shot some tasks but not others. In this paper, we shed some light on this phenomenon by defining and investigating algorithmic stability in language models -- changes in problem-solving strategy employed by the model as a result of changes in task specification. We focus on a task where algorithmic stability is needed for generalization: two-operand arithmetic. Surprisingly, we find that Gemma-2-2b employs substantially different computational models on closely related subtasks, i.e. four-digit versus eight-digit addition. Our findings suggest that algorithmic instability may be a contributing factor to language models' poor zero-shot performance across certain logical reasoning tasks, as they struggle to abstract different problem-solving strategies and smoothly transition between them.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). First posted on arXiv 10 Dec 2024.

Builds on

0 of 0 references.

No references here yet.

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Do Large Language Models Truly Grasp Addition? A Rule-Focused Diagnostic Using Two-Integer Arithmetic
  2. 2026Disentangling Mathematical Reasoning in LLMs: A Methodological Investigation of Internal Mechanisms
  3. 2026A Four-Stage Decomposition of Word-Problem Solving and Mechanistic Fragility in LLM Math Reasoning
  4. 2025Reasoning Capabilities of Large Language Models on Dynamic Tasks
  5. 2026Quantifying the Stability of Multi-Step Reasoning via Error Amplification
  6. 2026Shared circuits predict whether LLMs generalize across formats in arithmetic reasoning
  7. 2025A Fragile Number Sense: Probing the Elemental Limits of Numerical Reasoning in LLMs
  8. 2024Language Models Do Hard Arithmetic Tasks Easily and Hardly Do Easy Arithmetic Tasks