Shared circuits predict whether LLMs generalize across formats in arithmetic reasoning
Andrea Gregor de Varda, Sana Pandey, Pengrui Han, Jacob Andreas, Evelina Fedorenko
Abstract
In many forms of reasoning, including arithmetic reasoning, generalizing across superficial changes in input format is effortless for humans: anyone who can solve 2+5 can also solve 'two plus five'. In contrast, LLMs are more brittle to surface variations of the prompts: for example, they solve numeric arithmetic problems almost perfectly but are substantially less accurate on verbal renditions of the same problems. Here, we ask whether generalization across formats can be predicted from the models' internals. Using attribution patching, we first independently localize the circuit that each model recruits to solve numeric arithmetic problems (2+5) vs. verbal ones, in three languages: English ('two plus five'), Spanish ('dos más cinco'), and Italian ('due più cinque'); then, we test whether overlap with the model's own numeric circuit predicts its generalization to the verbal formats. Indeed, we find support for this idea at three levels: circuit overlap accounts for the relative difficulty of the three verbal formats, for which models generalize best, and for which items are solved correctly, rivaling supervised probes while requiring no labeled data.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AI
Related papers
When Does Reasoning Help Entity Disambiguation? Small LLMs In-Domain and Under Shift
Shared title terminologycs.CLSamy Haffoudhi, Fabian M Suchanek, Nils Holzenberger
Typed Federated Artifacts for the Agentic Web:Sharing Tool-Routing Knowledge Across Frozen,Heterogeneous LLM Agents
Shared title terminologycs.CLAbhijit Chakraborty, Ni Trieu, Vivek Gupta
UniRRM: Unified Reasoning Reward Models Across Languages and Evaluation Paradigms
Shared title terminologycs.CLPeng Lai, Yichao Du, Junchao Wu et al.
Beneath the Surface of Chains-of-Thought: A Mechanistic Interpretation of Reasoning Operations in LLMs
Shared title terminologycs.CLSeogyeong Jeong, Jaehui Hwang, Dongyoon Han et al.
A Circuit for Plural Reference: How LLMs Represent and Retrieve Singular and Plural Entities
Shared title terminologycs.CLAnh Danh, Rick Nouwen, Massimo Poesio
Lightweight Reasoning Transfer via Chain-of-Thought Vector Projection
Shared title terminologycs.CLYulin Qi, Shuo Xu, Shuxia Lin et al.