arXiv:2610.27790cs.CLOct 2026

Manuscript Offprint

arXiv:2610.27790

Are Linguistic and Arithmetic Circuits Dissociated in LLMs?

Riku Kisako, Tatsuki Kuribayashi, Ryohei Sasano

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

Abstract

Large language models (LLMs) exhibit both knowledge of language, rendered by, for example, grammatical judgment ability, and abilities to perform tasks through language, such as math-word problem solving. Motivated by neurolinguistic studies of their neural dissociation in human brains, in this study, we investigate the overlap of their circuits in large language models (LLMs). Specifically, we examine the overlap and causal effects between the circuits extracted for linguistic and arithmetic tasks, using controlled materials and circuit discovery methods from the mechanistic interpretability field. Our experiments with five LLMs show that circuit similarity is mostly explained by task domains (linguistic vs. arithmetic), rather than by their input and output vocabularies or by the syntactic similarities between natural-language sentences and arithmetic expressions. This finding suggests that LLMs may process linguistic and arithmetic information using largely separate neural circuits, highlighting an ability-based modular organization of circuits within these models. 1^{1}

1 Introduction

Large language models (LLMs) generally exhibit both formal linguistic competence, involving grammatical and lexical knowledge of language itself, and functional linguistic competence, involving broader abilities performed through language (Mahowald et al., 2024). One scientific question is how these different types of abilities are implemented and interact within LLMs. This is motivated by neurolinguistic human studies that seek to answer whether the brain areas for language and complex thought are overlapping, and recent studies have suggested their dissociation (Fedorenko et al., 2010, 2011; Varley et al., 2005), while some studies report certain interactions (Nakai and Okanoya,

Figure

Figure 1: Overview of our circuit analysis. We extract a task-specific circuit for each linguistic and arithmetic-related task and compare the extracted circuits to examine whether they are shared or dissociated across the two domains.

2018). Compared to human experiments, LLM studies enable fine-grained internal circuit analysis and more controlled experiments, and hopefully give insights into what-if questions, for example, whether a human-like, potentially modular organization of formal and functional linguistic competence naturally emerges from statistical learning of language without explicit architectural constraints for neural LLMs. Hanna et al. (2026), for example, have investigated the overlap between formal and functional task circuits within LMs, using a broad range of tasks.

1^{1}Code is available at https://github.com/Riku-0801/linguistic_arithmetic_circuit.git

In this study, we complement such existing works with a more fine-grained, controlled investigation on a specific task. In particular, the stability of task circuits across different surface formats has been underexplored. In addition, functional tasks typically involve multiple subtasks, and it is important to ablate the circuits for each component of the task. We specifically employ arithmetic tasks to represent functional linguistic competence, which are also a typical testbed in human studies (Fedorenko et al., 2011; Nakai and Okanoya, 2018), to enable flexible control of vocabulary alternation, e.g., Arabic numeral vs. number word, and subtask isolation, e.g., with and without arithmetic operation on the same arithmetic expressions. Motivated by the long-running debates of the shared structural, recursive nature of natural language and arithmetic expressions (Chomsky, 2006; Amalric and Dehaene, 2018; Matsumoto and Nakai, 2023), we also compare the parsing settings on natural language and arithmetic expressions with essentially the same syntactic constructions, exemplified by Cat (deeply sleeps) vs. (Cute Cat) sleeps; and 2+(3∗1)2 + (3 * 1) vs. (2∗3)+1(2 * 3) + 1 as a potentially maximal interactions between these two domains. We test whether LMs reuse shared circuits to process these similar syntactic structures across different domains of language and arithmetic, motivated by human studies showing cross-domain interactions (Nakai and Okanoya, 2018).

In our experiments, we extract an LLM circuit (i.e., a subnetwork) for each task using Edge Attribution Patching with Integrated Gradients (EAP-IG) and compare their structural overlap and cross-task faithfulness (Figure 1). Our experiments demonstrate the following characteristics of the circuits for arithmetic tasks and their interaction with linguistic ones:

• Similar arithmetic circuits are robustly obtained among different surface forms (e.g., Arabic-numeral and number-word inputs), indicating that input/output vocabulary alone does not determine the arithmetic circuit.

• Different circuits are obtained for different task instructions (e.g., just spell-out or do calculation) on the same arithmetic expressions, further supporting that arithmetic circuits are mainly determined by the required ability, not by input alone.

• Arithmetic circuits do not causally interact with linguistic circuits, even for the essentially similar task of parsing natural language sentences with similar syntactic complexity to the used arithmetic expressions, supporting that linguistic and arithmetic circuits are largely dissociated within LMs.