arXiv(opens in a new tab)cs.CLSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.04463

Shared circuits predict whether LLMs generalize across formats in arithmetic reasoning

Andrea Gregor de Varda, Sana Pandey, Pengrui Han, Jacob Andreas, Evelina Fedorenko

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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.

1 Introduction

Whether a model has acquired a capability is, ultimately, a question about generalization: given a set of training examples, can it solve problems that differ from those examples along some relevant dimension? One form of generalization that is particularly easy for humans is generalization across formats. A human who can reliably compute “2 + 5” can also answer “what is the sum of two and five?” or its translation into another language they know (“¿Cuál es la suma de dos y cinco?”) without having to learn math again—and this kind of systematicity has long been argued to be a defining property of human cognition (Fodor and Pylyshyn, 1988; Lake et al., 2017).

LLMs, however, are less systematic. They can match or exceed human performance on tasks close to their training distribution, yet fail on minor variations of those same tasks (McCoy et al., 2019, 2024). As LLMs are increasingly deployed in high-stakes settings, it becomes critical to predict how they will perform on new problems—especially problems that deviate from their training distribution—before deploying them (Yuan et al., 2023). One approach is to focus on behavior: how well a model does on a target evaluation set. But this approach is limited. First, a given behavior is compatible with infinitely many internal mechanisms (Anderson, 2013; de Varda et al., 2026), so a correct answer is no guarantee that the model arrived at it the “right” way. And second, because no benchmark can test all possible variations of a set of problems, a model that solves one variant of a task may fail on another that should be equivalent. To accurately predict generalization then, behavior is not enough. Here, we consider another approach: probing the models' internal mechanisms, which recent work has shown to carry reliable predictive information about behavior (Todd et al., 2024; Panuganti, 2026; Shao et al., 2026) and generalization more specifically (Sun, 2025, see Appendix A for an extended discussion of related work).

Taking arithmetic as a test case—a domain whose internals are well characterized in LLMs (Hanna et al., 2023; Stolfo et al., 2023; Bertolazzi et al., 2025)—we ask whether a model's ability to generalize across surface formats is predictable from the extent to which it relies on the same internal circuit to solve those problems.

For each of 13 LLMs spanning six families and 0.6B–32B parameters, we localize the units recruited by numeric, English, Spanish, and Italian arithmetic, using attribution patching (Nanda, 2023; Syed et al., 2024; Figure 1), and test whether overlap with the model's numeric circuit predicts its verbal format behavior. The prediction holds at

  • Equal senior authorship.

Figure

Figure 1: Analysis pipeline. We first identify the target circuit as the top-1% of units in the numeric domain (left); then, we use attribution scores on the target circuit in the verbal domain to predict correctness.

Figure

Figure 2: Per-format accuracy. Accuracy is high in numeric format and drops in English, Spanish, and Italian.

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, on par with supervised probes despite requiring no labeled data. These findings suggest that there are advantages in considering generalization as not just a property of behavior but of the underlying mechanism.