paper-with-me

Papers

Probing for Arithmetic Errors in Language Models

2025-07-16 · Yucheng Sun, Alessandro Stolfo, Mrinmaya Sachan arxiv

We investigate whether internal activations in language models can be used to detect arithmetic errors. Starting with a controlled setting of 3-digit addition, we show that simple probes can accurately decode both the model's predicted output and the correct answer from hidden states, regardless of whether the model's output is correct. Building on this, we train lightweight error detectors that predict model correctness with over 90% accuracy. We then extend our analysis to structured chain-of-thought traces on addition-only GSM8K problems and find that probes trained on simple arithmetic generalize well to this more complex setting, revealing consistent internal representations. Finally, we demonstrate that these probes can guide selective re-prompting of erroneous reasoning steps, improving task accuracy with minimal disruption to correct outputs. Our findings suggest that arithmetic errors can be anticipated from internal activations alone, and that simple probes offer a viable path toward lightweight model self-correction.

📄 PDF Abstract BibTeX arXiv:2507.12379

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Pre-trained Language Models Learn Remarkably Accurate Representations of Numbers

2025-06-10 · Marek Kadlčík, Michal Štefánik, Timothee Mickus, Michal Spiegel 외

Pretrained language models (LMs) are prone to arithmetic errors. Existing work showed limited success in probing numeric values from models' representations, indicating that these errors can be attributed to the inherent…

Why Vision Language Models Struggle with Visual Arithmetic? Towards Enhanced Chart and Geometry Understanding

2025-02-17 · Kung-Hsiang Huang, Can Qin, Haoyi Qiu, Philippe Laban 외

Vision Language Models (VLMs) have achieved remarkable progress in multimodal tasks, yet they often struggle with visual arithmetic, seemingly simple capabilities like object counting or length comparison, which are esse…

Arithmetic ReasoningChart UnderstandingDecoderMath+1

The Validation Gap: A Mechanistic Analysis of How Language Models Compute Arithmetic but Fail to Validate It

2025-02-17 · Leonardo Bertolazzi, Philipp Mondorf, Barbara Plank, Raffaella Bernardi

The ability of large language models (LLMs) to validate their output and identify potential errors is crucial for ensuring robustness and reliability. However, current research indicates that LLMs struggle with self-corr…

Think-to-Talk or Talk-to-Think? When LLMs Come Up with an Answer in Multi-Step Arithmetic Reasoning

2024-12-02 · Keito Kudo, Yoichi Aoki, Tatsuki Kuribayashi, Shusaku Sone 외

This study investigates the internal reasoning process of language models during arithmetic multi-step reasoning, motivated by the question of when they internally form their answers during reasoning. Particularly, we in…

Arithmetic Reasoning

Arithmetic Pedagogy for Language Models

2026-06-03 · Andhika Bernard Lumbantobing, Hokky Situngkir arxiv

We investigate whether methods of human mathematics pedagogy can guide the training of language models toward arithmetic reasoning. Building on the GASING method -- an Indonesian pedagogy that solves basic arithmetic thr…

Reinforcement LearningArithmetic Reasoning