alphaFeedback

WorksComputer Science

Are Linguistic and Arithmetic Circuits Dissociated in LLMs?

AI contributions
Not recorded for this paper
View details

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.

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 [22]. 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 [11, 10, 33], while some studies report certain interactions [26].

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. [15], for example, have investigated the overlap between formal and functional task circuits within LMs, using a broad range of tasks.

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 ([10, 26]), 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 ([6, 2, 24]), 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 ([26]).

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:

Overview of circuit analysis showing linguistic tasks and arithmetic-related tasks, circuit extraction, and circuit comparison resulting in shared or dissociated circuits

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.

  • 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.

Related Work

Mechanistic Interpretability and Circuit Analysis

The mechanistic interpretability field aims to explain model behavior in terms of internal components and the computations they implement. The community has found that model components responsible for specific task abilities can be localized as a subnetwork, i.e., circuit, of the model ([9, 28]). Prior work has explored localization in the LLM parameter space, e.g., through learning binary masks over LLM weights ([5]), or intervening in the activation space ([8]). More recently, circuit analysis methods have been widely used to extract task-relevant sub-architecture in transformers ([17, 32]). Causal intervention techniques, such as activation patching, has recently been employed to identify components relevant to a target behavior. The obtained circuits are typically analyzed through the lens of their architectural overlap, and the importance of causal metrics such as cross-task faithfulness has also been emphasized ([16]), which this study also relies on.

Arithmetic and Formal Linguistic Competence in Humans

Neurolinguistic research has localized language-specific brain regions, supporting the view that language processing is not reducible to domain-general cognition ([11, 10, 31, 18]). Still, researchers have studied the extent to which these language networks are indeed limited to natural language, with arithmetic as a particularly debatable case. The field of linguistics has highlighted the fundamental similarity between language and arithmetic/algebraic expressions, especially given their recursive nature ([6, 24]). This raises the question of whether the language network is also involved in arithmetic processing.

There is accumulating evidence supporting that natural language and arithmetic processing are dissociated. Varley et al. [33], for example, showed that patients with severe agrammatic aphasia could nevertheless perform arithmetic operations involving hierarchical and recursive structures, suggesting that an intact language-processing network is not necessary for arithmetic computation in the mature cognitive system. Friedrich and Friederici [13] examined the syntactic processing of formulae in first-order mathematical logic and identified a network primarily involving intraparietal and prefrontal regions, with only selective involvement of Broca’s area. Maruyama et al. [23] further showed that the processing of nested arithmetic expressions predominantly recruits bilateral posterior occipitotemporal and parietal regions rather than the left-lateralized language network. Amalric and Dehaene [2] identified a bilateral network centered on the intraparietal sulci and inferior temporal regions that is consistently recruited by mathematical reflection, whereas classical language and semantic regions show little involvement. Subsequent fMRI experiments with professional mathematicians showed that this mathematical network responds to mathematical statements across domains and independently of several possible confounds, including task difficulty, logical operators, and whether the relevant knowledge is retrieved or computed (Amalric and Dehaene [3]). More broadly, Fedorenko et al. [12] argues that language is mainly for communication, not for complex thought, such as arithmetic operations.

At the same time, several studies have also demonstrated cross-domain structural interaction between natural language and arithmetic processing ([26, 38, 25]). For example, Nakai and Okanoya [26] demonstrates a syntactic priming effect between natural language and arithmetic expressions. Note that there are general distinctions among (i) arithmetical computation, such as (2+3)∗4(2+3)*4, (ii) abstracted algebraic computation, such as (a+b)∗c(a+b)*c, and (iii) mathematical problem solving, such as math word problems. This study mainly focuses on the dissociation between natural language and arithmetical computation.

Arithmetic and Formal Linguistic Competence in LLMs

What about the circuit dissociation between language and arithmetic processing? A growing body of work studies whether LLMs represent distinct circuits for different domains. Recent work has examined whether formal and functional linguistic mechanisms (Mahowald et al., [22]) are dissociated in LLMs, providing evidence that linguistic form and broader task-oriented processing need not rely on the same internal representations (Hanna et al., [15]). Kisako et al. [19] study representational geometry using linear classifiers and cluster separability, whereas we compare edge circuits under interventions. AlKhamissi et al. [1] analyzes language-selective units within LLM, motivated by neuroscientific studies of humans, and the involvement of LLM language networks in other tasks, such as math problems. Yet, their analysis does not precisely test the robustness of the circuits against various input/output formats and sub-task decomposition.

More broadly, the natural language processing field has investigated both the sources and mechanisms of mathematical ability in LLMs. Benchmark studies have shown that strong performance on math word problems can mask fragile or shortcut-based behavior (Li et al., [20]). Other work has suggested that arithmetic- or code-heavy pretraining data can substantially affect downstream capability profiles ([4, 29, 30]). At the mechanistic level, recent analysis has argued that arithmetic behavior in LLMs is often supported by heuristic mechanisms rather than robust algorithmic procedures (Nikankin et al., [27]).

Circuit Analysis in LLMs

Circuit analysis for transformer LLMs (Vaswani et al., [34]) treats a model as a directed computational graph from inputs to outputs through intermediate components, and aims to identify a subgraph (a circuit) that is sufficient for a target behavior. Hereafter, nodes correspond to modules (e.g., attention heads or MLP blocks), and edges correspond to information flow between nodes (Wang et al., [35]).

Method

We use EAP-IG (Edge Attribution Patching with Integrated Gradients) (Hanna et al., [16]). EAP-IG computes an indirect effect score for each directed edge ei→j∈Ee_{i\to j} \in\mathcal{E}. To compute the score, for each task, we construct paired inputs (x,x~)(x,\tilde{x}), where xx and x~\tilde{x} are called clean and corrupted input, respectively.2 The corresponding representation at node ii is denoted as hi(x)∈Rnh_i(x) \in\mathbb{R}^n, and the token representation as x∈Rmx \in\mathbb{R}^m, respectively. Given a differentiable metric m(⋅):Rm→Rm(\cdot): \mathbb{R}^m \to\mathbb{R} (the output is typically a logit), the gradient at the receiving node jj, given an input token representation xx, is denoted as ∇hjm(x)∈Rn\nabla_{h_j}m(x) \in\mathbb{R}^n. The sender activation difference is Δhi=hi(x)−hi(x~)∈Rn\Delta h_i = h_i(x) - h_i(\tilde{x}) \in\mathbb{R}^n. By discretizing the input interpolation path with TT steps, we approximate the integrated gradient score as:

si→j=ΔhiT∫α=01∇hjm(x~+α(x−x~)) dα(1)s_{i \to j} = \Delta h_i^\mathsf{T} \int_{\alpha=0}^{1} \nabla_{h_j}m\left(\tilde{x} + \alpha(x-\tilde{x})\right)\,d\alpha \tag*{(1)}
≈ΔhiTT∑k=0T−1∇hjm(x~+kT(x−x~))(2)\approx\frac{\Delta h_i^\mathsf{T}}{T} \sum_{k=0}^{T-1} \nabla_{h_j}m\left(\tilde{x} + \frac{k}{T}(x-\tilde{x})\right) \tag*{(2)}

where we average gradients at interpolated inputs and take their inner product with the sender activation difference. The metric mm is, for example, in the subject–verb agreement (SVA) task, the logit difference between singular and plural verbs: m(x)=logit⁡(are∣x)−logit⁡(is∣x)m(x) = \operatorname{logit}(\mathrm{are}|x) - \operatorname{logit}(\mathrm{is}|x). The corrupted input x~\tilde{x} is designed so that the correct output in xx becomes incorrect; for example, for a clean input “The keys on the cabinet [are],” the corrupted input can be “The key on the cabinet [is].” We extract a circuit EE by selecting edges with high attribution scores. To test whether our conclusions depend on how the circuit boundary is defined, we report results under three circuit settings: (i) top 2.5% edges, (ii) top 5.0% edges, and (iii) an adaptive circuit defined as the smallest edge set whose self-faithfulness exceeds 0.85. We then analyze the overlap between extracted circuits EAE_A and EBE_B for tasks AA and BB.

Metrics

Structural overlap (IoU). To quantify overlap between the edge sets of two task circuits EAE_A and EBE_B, we use Intersection over Union (IoU):

IoU⁡(A,B)=∣EA∩EB∣∣EA∪EB∣(3)\operatorname{IoU}(A,B) = \frac{|E_A \cap E_B|}{|E_A \cup E_B|} \tag*{(3)}

Functional overlap (Faithfulness). Even when structural overlap is small, circuit polysemy may allow a circuit extracted for one task to support another task.

To quantify how well the model behavior for a reference task AA is reproduced by the circuit extracted from a different task BB, we use the Faithfulness score [16]. Let (xA,x~A)∈DA(x^A,\tilde{x}^A) \in\mathcal{D}^A be the paired clean and corrupted input representation for task AA, and DA\mathcal{D}^A is the dataset of task AA. We denote EB⊆EE_B \subseteq E as the set of edges in the circuit extracted for task BB. Henceforth, we simplify the notation of edge as e∈Ee \in E, and let ae(x)a_e(x) be the edge activation/message used in EAP-style edge patching when running the model on input xx. We define a cross-task circuit application to task AA using EBE_B as follows: we run the model on the clean input xAx^A while patching the activations on all edges outside EBE_B with those from the corrupted run on x~A\tilde{x}^A, keeping the edges in EBE_B unpatched (i.e., clean). Concretely, we construct mixed edge activations as follows:

ae(A←B)(xA)={ae(xA)if e∈EB,ae(x~A)if e∉EB.(4)a_e^{(A \leftarrow B)}(x^A) = \begin{cases} a_e(x^A) & \text{if } e \in E_B,\\ a_e(\tilde{x}^A) & \text{if } e \notin E_B. \end{cases} \tag*{(4)}

Setting this activation ae(A←B)(xA)a_e^{(A \leftarrow B)}(x^A) to all the edges e∈Ee \in E of the model, we input xAx^A and compute the metric m(A←B)(xA)m^{(A \leftarrow B)}(x^A) for an input of task AA. The transferred object is the edge mask EBE_B, not activations from task B: both clean and corrupted runs use task-A inputs. A self-circuit need not reproduce the full-model score exactly. The scores m(xA)m(x^A) and m(x~A)m(\tilde{x}^A) denote the metric on the clean and corrupted inputs of task AA without any model intervention, respectively. The faithfulness score F(A,B)F(A,B) is computed as follows:

1∣DA∣∑(xA,x~A)∈DAm(A←B)(xA)−m(x~A)m(xA)−m(x~A)(5)\frac{1}{|\mathcal{D}^A|}\sum_{(x^A,\tilde{x}^A)\in\mathcal{D}^A} \frac{m^{(A \leftarrow B)}(x^A)-m(\tilde{x}^A)} {m(x^A)-m(\tilde{x}^A)} \tag*{(5)}

where DA\mathcal{D}^A is the dataset of task AA.

We call F(A,B)F(A,B) raw faithfulness when distinguishing it from the additional display normalization; it is already normalized by clean/corrupted baselines and is not a raw logit score. For cross-task Faithfulness analyses using the top-2.5% and top-5.0% circuit definitions, we additionally normalize F(A,B)F(A,B) by the target task’s self-faithfulness F(A,A)F(A,A), yielding F(A,B)/F(A,A)F(A,B)/F(A,A). Values below zero or above one indicate performance below the corrupted or above the clean baseline, respectively, when the clean–corrupted gap is positive; they are not probabilities. Small baseline gaps, or small diagonal values in the heatmaps, can amplify scores. Thus, absolute metric values and unscaled faithfulness are needed to interpret apparent transfer.

Further details on circuit extraction, cross-task evaluation, and clustering settings are provided in Appendix § 9.

Experimental Setup

Tasks

We introduce a set of controlled tasks to avoid confounding factors, e.g., simple vocabulary overlap. Table 1 summarizes the tasks adopted in our experiments. For all tasks, we use 500 clean/corrupted input pairs. We extract a circuit for each task and compute cross-task circuit overlap (IoU) and faithfulness scores. We briefly introduce the tasks below; Appendix § 10 provides more details, including prompt templates and clean/corrupted examples.

TaskInput (Prefix)AnswerInputOutputArith.
Arithmetic calculation. (MATH)The answer to 2 * 1 + 3 = is5Expr.Arabic numeral✓
Spelled-out arithmetic calculation (MATH-S)The answer to two times one plus three equals isfiveLang.Number word✓
Math Word Problem (GSM-PLUS)Janet’s ducks lay 16 eggs per day... The answer is18Lang.Arabic numeral✓
Arithmetic expression spelling-out (SPELL-M)The spelled-out form of 2 * 1 + 3 = istwo times one plus threeExpr.Number word—
Inverse of SPELL-M (SPELL-MI)The numerical formula for two times one plus three is2 * 1 + 3Lang.Arabic numeral—
Arithmetic expression parsing (MATH-PARSE)The first term to calculate in 6 + 2 * 5 is2 * 5Expr.Arabic numeral(✓)
Sentence parsing (LING-PARSE)The head word of the lowest constituent of the sentence ’many students study’ isstudentsLang.Word—
Subject–Verb Agreement (LING-SV)The keys on the cabinetareLang.Word—
Gendered Pronoun Agreement (LING-GA)Maria said thatsheLang.Word—
Hypernym Judgment (LING-HJ)Roses, and otherflowerLang.Word—

Table 1. Task examples in our experiments. Horizontal blocks indicate four high-level categories based on task domain and required competence. Expr. and Lang. denote symbolic expressions and natural language, respectively. For generation tasks, we evaluate only the first generated token; subsequent tokens are shown in gray. Arithmetic checkmark denotes whether the task involves arithmetic calculation, and MATH-PARSE has a gray one, as it does not involve calculation but should be a necessary sub-task for arithmetic.

Pure arithmetic tasks. The pure arithmetic tasks are MATH and MATH-S, where MATH-S is written in number words, instead of Arabic numerals and arithmetic symbols. Arithmetic expressions contain three terms with addition, subtraction, and multiplication, and answers are constrained to be natural numbers.

Pure linguistic tasks. At the other end of the spectrum, following Hanna et al. [15], we adopt three tasks of LING-SV, LING-GA, and LING-HJ as purely linguistic tasks. They focus on Subject–Verb Agreement (SV), Gendered Pronoun Agreement (GA), and Hypernym Judgment (HJ) tasks, respectively, and models are expected to answer with a plausible single word given context. Subject–verb agreement probes grammar, gendered pronoun agreement also involves syntactic dependencies between referential and gender cues, and hypernym judgment probes lexical and semantic knowledge.

Other tasks are a mixture of the arithmetic problem and its subproblems.

Math word problems. We experimentally include math word problems (GSM-PLUS) (Li et al., [20]) written in natural language, which arguably require both arithmetic and general text comprehension. We use GSM-Plus data, built from GSM8K (Cobbe et al., [7]), a benchmark of grade-school math word problems, by applying controlled perturbations, such as numerical and operator transformations, to test the robustness of mathematical reasoning in LLMs. In our setup, we construct clean/corrupted pairs using the original (seed) problems and their numerical substitution variants from GSM-Plus.

Arithmetic expression without calculation. To control for math-domain input without requiring calculation, we include the spelling-out task for math expressions SPELL-M and its inverse SPELL-MI. The model is instructed to convert an expression such as 2∗1+32*1+3 into its spelled-out English form (e.g., two times one plus three) without performing computation. SPELL-MI is a task to convert a spelled-out expression into an Arabic-numeral formula. As the input equation is the same as MATH tasks, comparing their circuit clarifies whether the circuit is simply determined by input similarity.

Parsing mathematical and linguistic materials. To explore the potential cross-domain similarity between language and arithmetic processing, we introduce MATH-PARSE and LING-PARSE tasks. MATH-PARSE asks for operator precedence without any calculation; for example, the answer for the question, The first term to calculate in 6+2∗56 + 2 * 5 is, is 2∗52 * 5. On the other hand, LING-PARSE asks for constituent structure, specifically the head word of the lowest constituent, in short sentences. Each pair shares a noun and a verb: “many students study” targets students, whereas “students often study” targets study. We evaluate the logit of the first prediction token in the main experiments, and we designed the problems so that the first token can distinguish the model’s parsing decision, and the correct/incorrect options are plausible in the sense that they both appear in clean and corrupted sentences. See Appendix § 13 for sequence-level evaluation.

Models

In our experiments, we use Qwen3-8B, Qwen3-4B, Qwen3-1.7B [37], Llama3.1-8B [21], and Gemma-2-2B (google/gemma-2-2b) [14]. We include the Qwen3 series as a representative same-family set to examine how the results vary with model size, and additionally include Llama-3.1-8B and Gemma-2-2B to assess whether the observed patterns are consistent across model families. Further details on the models are provided in Appendix § 11. Table 2 shows model performance on each task, and models are generally capable of achieving high accuracy on the target tasks. One concern is their relatively low performance on GSM-PLUS, whereas this task is not crucial for

our central research question and should just be regarded as a relevant reference.

Experimental Results

This section shows results for Qwen3-8B and Llama-3.1-8B using the top 2.5% of the circuit edges. § 6 shows the results for different circuit sizes, and Appendix § 12 shows the results for other models.

IoU. Figure 2 (left) shows cross-task IoU scores. The scores are generally low, but those for the MATH and MATH-S pair and the SPELL-M and SPELL-MI pair are relatively high. This suggests that circuit overlap is affected by task characteristics rather than by the superficial input differences (e.g., Arabic numerals versus spelled-out expressions). At the same time, the circuits for MATH and SPELL do not show remarkable similarity, indicating that the circuit reflects the task, rather than mere input similarity.

Cross-task circuit overlap for Qwen3-8B and Llama-3.1-8B

Figure 2. Left: IoU (structural overlap). Right: cross-task Faithfulness (functional overlap). For Faithfulness, rows denote the tasks from which circuits are extracted, and columns denote the target tasks solved with those circuits. Scores are normalized by the corresponding diagonal self-faithfulness value.

Faithfulness. Figure 2 (right) shows cross-task Faithfulness scores. Each cell indicates how well the circuit extracted for the task in the row

ModelMATHMATH-SGSM-PLUSSPELL-MSPELL-MIMATH-PARSELING-PARSELING-SVLING-GALING-HJ
Llama-3.1-8B96.085.211.4100.0100.099.894.899.892.698.8
Qwen3-8B90.877.236.8100.0100.0100.090.0100.086.297.6
Qwen3-1.7B82.245.423.099.6100.0100.084.043.279.429.6
Qwen3-4B92.060.036.899.8100.0100.093.086.079.678.6
Gemma-2-2B66.641.224.2100.0100.061.475.299.685.298.0

caption: Model accuracy on each task. Values are percentages. We report exact top-1 accuracy, except in cases where only the available answer-vs.-corrupted pairwise rows are used in place of exact accuracy.

:::

can solve the task in the column. The baseline-normalized values before diagonal display normalization are listed in Appendix § 12. Compared to IoU, task-dependent variations are more clearly observed in Faithfulness scores. For example, arithmetic circuits of MATH and MATH-S show similar cross-task Faithfulness patterns, consistent with their high IoU. Similar tasks tend to have a relatively high faithfulness scores, for example, among expression-conversion tasks of SPELL-M and SPELL-MI and among the linguistic tasks of LING-SV, LING-GA, and LING-HJ. GSM-PLUS shows somewhat intermediate patterns between those of the calculation and expression-conversion circuits. The notable divergence is observed for MATH-PARSE and LING-PARSE, where the low scores in their intersection indicate that the math/ling parse tasks cannot be solved by their counterparts.

Hierarchical clustering. To facilitate the interpretation of cross-task Faithfulness patterns, we also perform hierarchical clustering, using each row of the matrix as the vector for each circuit (Figure 3). Each vector summarizes how well a source circuit solves all target tasks. We compare task clustering across the five evaluated models using the top-2.5% circuits. For each model, we apply Ward linkage with Euclidean distance to the source-circuit row vectors of the diagonal self-normalized cross-task faithfulness matrix, as in the main analysis. For all model pairs, we compare partitions obtained by cutting the dendrograms into K=2,…,6K = 2,\ldots,6 clusters using the Adjusted Rand Index (ARI). The ARI of 0 indicates no correlation, and 1 indicates perfect agreement. Table 3 shows the statistics of ARI scores, yielding reasonably high agreement around 0.4–0.6. This confirms that the cross-task circuit dependencies are generally stable across different models.

Hierarchical clustering of task circuits

Figure 3. Hierarchical clustering of task circuits based on cross-task Faithfulness transfer profiles under the top-2.5% circuit definition. Top: Qwen3-8B. Bottom: Llama-3.1-8B.

KKMean ARIMedian ARIMinMax
20.6280.5970.2941.000
30.5800.5700.2471.000
40.4520.4000.2030.743
50.5890.3710.3711.000
60.5500.4380.3251.000

Table 3. Adjusted Rand Index (ARI) across all ten model pairs for partitions of the top-2.5% faithfulness dendrograms into KK clusters.

Language-arithmetic dissociation. The results reveal a general dissociation trend between language and arithmetic circuits. That is, circuits extracted from arithmetic tasks (MATH, MATH-S, MATH-PARSE, GSM-PLUS) show limited overlap and low cross-task faithfulness with those from linguistic tasks (LING-SV, LING-GA, LING-HJ, LING-PARSE). More nuanced patterns are observed in the SPELL tasks and the MATH-PARSE task; we discuss their characteristics in § 7.

Analysis

Different Circuit Size

To investigate whether the obtained results depend on the circuit size threshold, we also conducted experiments using the top-5.0% circuit, instead of 2.5%. Figure 4 shows the results for Qwen3-8B as a representative example. The broad dissociation pattern remains similar to that under the top-2.5% definition.

Cross-task IoU and Faithfulness scores and hierarchical clustering of task circuits for the top-5.0% circuit definition

Figure 4. Results for Qwen3-8B under the top-5.0% circuit definition.

Adaptive Circuit Size

As the fixed-size circuit definitions may not reflect the actual minimal circuitry required for each task, we also consider an adaptive circuit size, i.e., the smallest circuit whose self-faithfulness exceeds a certain threshold. Here, we examine 0.85 as the threshold for self-faithfulness to define the adaptive circuit. Figure 5 shows the results for Qwen3-8B with adaptive circuit size. The broad separation between arithmetic and linguistic tasks remains clear under this definition. This setting provides rather clearer inter-task IoU, while cross-task Faithfulness shows reduced values, especially for the circuits of SPELL-M and SPELL-MI. This likely reflects that 2.5% fixed-size circuits for SPELL-M and SPELL-MI may include extra edges beyond

Cross-task IoU and Faithfulness scores and hierarchical clustering of task circuits for the adaptive circuit size

Figure 5. Results for Qwen3-8B under the adaptive circuit size with the self-faithfulness threshold of 0.85.

spelling. Indeed, in Figure 2b, the SPELL-M circuits could solve MATH tasks reasonably, and this is mitigated in the adaptive circuit definition, which likely removes these extra edges, leading to a more accurate representation of the task-specific circuitry. This setting alters some hierarchical clustering results (e.g., similarity between SPELL-M and GSM-PLUS). However, the general dissociation between arithmetic and language circuits remains intact, or rather becomes much clearer.

Discussion

Our results suggest that arithmetic circuits are generally dissociated from those supporting the purely linguistic tasks. This is in line with the general view of neural dissociation between language and arithmetic processing in human studies [33, 13, 23, 2, 12]. In other words, the potential interactions between language and arithmetic, suggested by Nakai and Okano [26], cannot clearly be observed for LLMs. While MATH-PARSE and LING-PARSE circuits are sometimes close in hierarchical clustering results, their cross-task faithfulness is quite limited (Figure 2), in other words, the arithmetic/language parsing circuit cannot solve the counterpart parsing task. Thus, it is difficult to say that there is a shared circuit between arithmetic and language processing, even in settings that maximally emphasize their common characteristics.

Notably, even though the hierarchical clustering results are generally stable across different models and settings, MATH-PARSE circuit is typically “floating” in the hierarchical clustering results, i.e., it does not consistently cluster with either the broader arithmetic or linguistic task groups. In addition, MATH circuits cannot perfectly solve the MATH-PARSE task, and vice versa, suggesting that the MATH-PARSE circuit found in this study is not involved in the general arithmetic processing. One suspicion is that LMs do not clearly recognize that parsing arithmetic expressions is the essential subtask of arithmetic, i.e., there is no rigid circuit for this parsing subtask, and perhaps solve arithmetic problems with a different strategy internally from humans, e.g., compute multiple terms at once, potentially with memorization or with a bag of heuristics (Nikankin et al., [27]), rather than following a step-by-step parsing-based approach. This offers a hypothetical reason why language and arithmetic circuits are dissociated: LMs solve arithmetic differently from humans, and perhaps there may no longer be a perception that language and arithmetic share fundamental structural characteristics.

Another notable point is that the structural overlap (IoU) of circuits is sometimes altered by the functional overlap analysis (Faithfulness). A plausible interpretation is that a relatively small set of edges plays a substantial role in supporting several tasks, and thus merely counting the number of overlapping edges may underweight their importance. Such a pattern is consistent with recent discussions of circuit polysemy and with the possibility that some edges behave like shared high-impact routing components. Under this view, low structural overlap does not necessarily imply strong mechanistic independence.

Conclusion

We analyzed the characteristics of task circuits using controlled arithmetic-related and linguistic tasks, across five LLMs. The extracted arithmetic and linguistic circuits are largely dissociated, echoing the neuro-linguistic findings in humans. Nevertheless, human experiments also suggested some interaction between these two domains, particularly stemming from the shared structural and recursive nature of language and arithmetic expressions, and LLMs do not exhibit such interactions. The circuits for LING-PARSE and MATH-PARSE, where the task is structural analysis of input sentences and arithmetic expressions, show limited mutual transfer. We tentatively conclude that there is no clear evidence that LLMs equip a shared circuit for primitive language and arithmetic processing.

Limitations

Our results might be biased by the specific configurations we adopted, and further exploration is needed to enhance the generality of the findings. First, we only used the EAP-IG method for circuit extraction. Exploring and comparing other circuit extraction methods should enhance the generality of our observations, while we examined different hyperparameters, such as top-2.5%, top-5.0%, and adaptive circuits. Relatedly, the main experiments target the first answer token alone, while some tasks, such as spelling-out ones, are defined with sequence output. Appendix § 13 preliminarily examines this bias, and integrating sequence-level generation for circuit extraction and evaluations will further clarify the findings. Second, the task and evaluation settings might be biased; for example, all prompts are in the English language, and the linguistic tasks are somewhat heterogeneous. Generally low accuracy on GSM-PLUS may also weaken interpretations, regarding the distinction between mathematical reasoning and pure arithmetic processing. Third, we evaluate a finite set of open-weight models and training regimes. Lastly, the connection between our LLM results and neurolinguistic findings on the human side should be further elaborated, which opens the question of humanlikeness of LLMs from the neural network modularity perspectives.

Ethical considerations

This work analyzes existing large language models and does not involve human-subject experiments. Part of our evaluation data was newly created using hand-written templates, and is fully synthetic, i.e., it does not contain text sourced from individuals or potentially sensitive personal information. We used AI assistants for coding assistance in building the experimental pipeline and for adjusting wording. The authors are responsible for verifying the implementation, citations, and scientific claims.

Experimental Settings

Circuit extraction. We extract task circuits using Edge Attribution Patching with Integrated Gradients (EAP-IG). For each (model,task)(model, task) pair, we run attribution to obtain an importance score for every edge in the analysis graph, and evaluate three circuit definitions: the subsets of edges whose absolute attribution scores fall within the top 2.5% and top 5.0% of all edges, and an adaptive circuit defined as the smallest edge set whose self-faithfulness exceeds 0.85. Unless otherwise noted, we use IG steps = 5, run on a single GPU in float16. On a single NVIDIA RTX PRO 6000 Blackwell Max-Q Workstation Edition (96GB VRAM), this step takes approximately 5 GPU-hours per (model,task)(model, task) pair.

Cross-task evaluation. To measure functional overlap between tasks, we evaluate how well the circuit extracted from task BB supports task AA. For each ordered pair (A,B)(A, B), we apply the circuit of BB as a structural mask and run edge patching on task AA using the clean/corrupted pair (xA,x~A)(x^{A}, \tilde{x}^{A}): we keep clean edge activations on the edges in the circuit of BB and patch all remaining edges with the corresponding activations from the corrupted run on x~A\tilde{x}^{A} (cf. Eq. (4)). We then evaluate the task-AA metric under this mixed forward pass and record the resulting score together with the clean and corrupted baselines. On the same GPU, computing a full cross-task matrix for one model takes approximately 20 GPU-hours.

Heatmaps and hierarchical clustering. For each circuit definition, we visualize (i) structural overlap (IoU) and (ii) diagonal-normalized cross-task faithfulness as heatmaps. In the Faithfulness heatmaps, rows correspond to source-circuit tasks and columns correspond to target tasks. For task grouping analysis, we perform hierarchical clustering on the row vectors of the IoU or displayed normalized faithfulness matrices using agglomerative clustering (Ward linkage with Euclidean distance), and export dendrograms. For Faithfulness, this groups tasks by the transfer profiles of their extracted circuits.

Tasks

Task definitions are provided in § 4.1 (Table 1). Here, we provide prompt templates and clean/corrupted examples (Table 4), followed by details of dataset construction and pairing.

TaskInputExpected OutputLoss
Arithmetic calculation (MATH)Clean: The answer to 2 * 12 + 3 = is<br>Corrupted: The answer to 13 - 4 + 9 = isClean: 27<br>Corrupted: 18logit_diff
Spelled-out arithmetic calculation (MATH-S)Clean: The answer to two times twelve plus three equals is<br>Corrupted: The answer to thirteen minus four plus nine equals isClean: twenty-seven<br>Corrupted: eighteenlogit_diff
Math Word Problem (GSM-PLUS)Clean: Q: Janet’s ducks lay 16 eggs per day...<br>Corrupted: Q: Janet’s ducks lay 10 eggs per day...Clean: 18<br>Corrupted: 27logit_diff
Arithmetic expression spelling-out (SPELL-M)Clean: The spelled-out form of 2 * 12 + 3 is<br>Corrupted: The spelled-out form of 13 - 4 + 9 isClean: two times twelve plus three<br>Corrupted: thirteen minus four plus ninelogit_diff
Inverse of SPELL-M (SPELL-MI)Clean: The numerical formula for two times twelve plus three is<br>Corrupted: The numerical formula for thirteen minus four plus nine isClean: 2 * 12 + 3<br>Corrupted: 13 - 4 + 9logit_diff
Arithmetic expression parsing (MATH-PARSE)Clean: The first term to calculate in 6 + 2 * 5 is<br>Corrupted: The first term to calculate in 6 * 2 + 5 isClean: 2 * 5<br>Corrupted: 6 * 2logit_diff
Sentence parsing (LING-PARSE)Clean: The head word of the lowest constituent of the sentence ’many students study’ is<br>Corrupted: The head word of the lowest constituent of the sentence ’students often study’ isClean: students<br>Corrupted: studylogit_diff
Subject–Verb Agreement (LING-SV)Clean: The keys on the cabinet<br>Corrupted: The key on the cabinetClean: are<br>Corrupted: islogit_diff
Gendered Pronoun Agreement (LING-GA)Clean: The mother cried because<br>Corrupted: The father cried becauseClean: she<br>Corrupted: helogit_diff
Hypernym Judgment (LING-HJ)Clean: roses, and other<br>Corrupted: folk, and otherClean: flower<br>Corrupted: musicprob_diff

Table 4. Example instances for each task in our controlled suite. For each task, we show a clean/corrupted prefix pair and the corresponding expected output, along with the loss used for evaluation (logit_diff or prob_diff).

We apply tokenizer-dependent filters separately for each model family. Within each pair, we match tokenized prompt lengths to preserve positional alignment during edge patching. For first-token evaluation, we require the clean and corrupted target answer tokens to differ.

Arithmetic and expression tasks. MATH, MATH-S, SPELL-M, and SPELL-MI use a shared set of three-term expressions. The first operand ranges from 0 to 20, the other two from 0 to 50, and the operators are +, −, and ×. We exclude negative answers and answers with absolute value at least 200. Each clean expression is paired with a distinct corrupted expression that has the same tokenized prompt length across all four tasks. For MATH-PARSE, we generate expressions from three numbers between 0 and 50, one multiplication, and one addition or subtraction. Each pair uses the same numbers but places the multiplication term on opposite sides of the expression; the target is the first multiplication subexpression.

Linguistic tasks. For LING-PARSE, we generate short adjective–noun–verb, noun–adverb–verb, and noun–verb–adverb sentences from vocabulary lists. Paired sentences share a noun and verb but differ in whether the lowest constituent has a noun or verb head; we also require single-token answers. LING-SV uses singular and plural examples from 15 subject–verb agreement templates, paired in both directions. For LING-GA, we swap masculine and feminine forms in profession-based gender pairs and use he and she as contrasting answers. For LING-HJ, we use filtered Battig category norms and valid hypernym forms. We pair hyponyms from different semantic categories while matching hyponym and hypernym token lengths, allowing multiple valid hypernym forms. For each hyponym, we specify a set of acceptable hypernym answers. Given a clean/corrupted pair, let HcH_c and HrH_r be the respective answer sets. For either prompt xx in the pair, the probability-difference metric (prob_diff) is

m(x)=∑w∈Hcp(w∣x)−∑w∈Hrp(w∣x),(6)m(x) = \sum_{w \in H_c} p(w \mid x) - \sum_{w \in H_r} p(w \mid x), \tag*{(6)}

where p(w∣x)p(w \mid x) denotes the model probability of the first token of candidate answer ww given xx. Thus, the metric compares the total probability assigned to the clean hyponym’s valid hypernyms with that assigned to the corrupted hyponym’s valid hypernyms.

Math word problems. GSM-PLUS uses numerical-substitution examples from the test split of GSM-Plus. We pair each seed question with its numerical-substitution variant.

Model Detail

The license of the used models is listed in Table 5; all of them are used under their intended use. All models were accessed using the Hugging Face toolkit (Wolf et al., [36]).

ModelHuggingFaceLicense
Llama-3.1-8Bhttps://huggingface.co/meta-llama/Llama-3.1-8BLlama 3.1 Community License
Qwen3-8Bhttps://huggingface.co/Qwen/Qwen3-8BApache license 2.0
Qwen3-1.7Bhttps://huggingface.co/Qwen/Qwen3-1.7BApache license 2.0
Qwen3-4Bhttps://huggingface.co/Qwen/Qwen3-4BApache license 2.0
Gemma-2-2Bhttps://huggingface.co/google/gemma-2-2bGemma Terms of Use License

Table 5. License of the models

Additional Results

We present results for additional models (Gemma2-2B (Gemma Team, [14]), Qwen3-1.7B, and Qwen3-4B) in Figure 6 and Figure 7. The smaller Qwen3 models show several patterns consistent with the main results, including strong MATH/MATH-S transfer and limited bidirectional transfer between the parsing tasks.

Heatmaps of IoU and cross-task Faithfulness for Qwen3-1.7B, Qwen3-4B, and Gemma-2-2B

Figure 6. Left: IoU (structural overlap). Right: cross-task Faithfulness (functional overlap). For Faithfulness, rows denote the tasks from which circuits are extracted, and columns denote the target tasks solved with those circuits. Scores are normalized by the corresponding diagonal self-faithfulness value.

Hierarchical clustering of task circuits based on cross-task Faithfulness transfer profiles for Qwen3-1.7B, Qwen3-4B, and Gemma-2-2B

Figure 7. Hierarchical clustering of task circuits based on cross-task Faithfulness transfer profiles. Top: Qwen3-1.7B. Middle: Qwen3-4B. Bottom: Gemma-2-2B.

Sequence-Level Evaluation of Next-Token-Derived Circuits

Section 5 summarizes cross-task patterns using heatmaps. To enable detailed inspection and precise comparison, we list the raw cross-task Faithfulness matrices for each model under the top-2.5% circuit definition in Table 6–Table 10. These tables report baseline-normalized faithfulness, not absolute logit/probability scores, before the column-wise normalization by diagonal self-faithfulness used in the displayed Faithfulness heatmaps. Rows correspond to source-circuit tasks and columns correspond to target tasks.

CircuitMATHMATH-SGSM-PLUSSPELL-MSPELL-MIMATH-PARSELING-PARSELING-SVLING-GALING-HJ
MATH0.580.480.600.460.280.430.140.25-0.010.05
MATH-S0.520.510.510.420.250.450.300.300.020.06
GSM-PLUS0.610.490.920.880.710.430.500.280.050.08
SPELL-M0.410.420.690.980.910.440.640.390.040.21
SPELL-MI0.420.420.710.970.940.440.640.270.020.18
MATH-PARSE0.290.330.040.050.030.510.260.070.020.05
LING-PARSE0.340.300.180.400.250.120.750.160.050.15
LING-SV0.230.250.030.010.010.400.081.600.490.27
LING-GA0.170.300.090.040.030.41-0.000.940.990.58
LING-HJ0.340.310.170.040.030.410.000.560.200.79

Table 6. Llama-3.1-8B: Cross-task Faithfulness (normalized by clean/corrupted baselines; rows: circuits, columns: tasks; Top 2.5%)

CircuitMATHMATH-SGSM-PLUSSPELL-MSPELL-MIMATH-PARSELING-PARSELING-SVLING-GALING-HJ
MATH0.410.360.290.210.230.170.23-0.140.000.01
MATH-S0.260.310.040.220.280.170.23-0.16-0.00-0.00
GSM-PLUS0.310.290.620.340.360.220.34-0.13-0.000.02
SPELL-M0.250.220.260.920.970.170.82-0.050.010.06
SPELL-MI0.230.210.250.850.970.191.140.120.030.05
MATH-PARSE0.030.05-0.140.010.000.240.05-0.210.010.01
LING-PARSE0.010.01-0.120.140.20-0.041.26-0.070.010.02
LING-SV0.020.02-0.150.010.010.22-0.051.090.070.08
LING-GA0.070.09-0.120.010.000.210.020.300.880.09
LING-HJ0.090.08-0.000.080.050.260.11-0.070.050.43

Table 10. Gemma-2-2B: Cross-task Faithfulness (normalized by clean/corrupted baselines; rows: circuits, columns: tasks; Top 2.5%)

The main EAP-IG experiments extract and evaluate circuits using the first answer token. For example, when the expected MATH-PARSE output is 2 * 5, the logit-difference objective evaluates only its first token, 2, rather than the complete subexpression. To examine whether this restriction affects cross-task faithfulness, we use complete answer sequences to reevaluate the existing first-token EAP-IG circuits in Qwen3-8B for four tasks that can require multi-token outputs: MATH-S, SPELL-M, SPELL-MI, and MATH-PARSE. We do not extract circuits with a sequence-level attribution objective. For input xx, clean answer sequence yy, and corrupted answer sequence y′y', we compute the following metric:

mseq(x;y,y′)=1∣y∣∑t=1∣y∣log⁡p(yt∣x,y<t)−1∣y′∣∑t=1∣y′∣log⁡p(yt′∣x,y<t′).(7)m_{\mathrm{seq}}(x; y, y') = \frac{1}{|y|}\sum_{t=1}^{|y|}\log p(y_t \mid x, y_{<t}) - \frac{1}{|y'|}\sum_{t=1}^{|y'|}\log p(y'_t \mid x, y'_{<t}). \tag*{(7)}

Figure 8 compares first-token and sequence-level faithfulness for the four target tasks. The transfer pattern for MATH-S changes little. SPELL-M and SPELL-MI also show broadly similar patterns, although faithfulness of the MATH-S circuit is lower under sequence-level evaluation. For MATH-PARSE, faithfulness decreases for most linguistic-task circuits, particularly LING-SV, LING-GA, and LING-HJ; LING-PARSE is an exception. This makes the separation between MATH-PARSE and these linguistic probes more pronounced. One possible explanation is that scoring the complete first subexpression is more demanding than scoring its first token.

Comparison of first-token and sequence-level cross-task faithfulness heatmaps

Figure 8. Comparison of first-token (left) and sequence-level (right) cross-task faithfulness for Qwen3-8B under the top-2.5% circuit definition. Rows denote the ten source-circuit tasks, and columns denote the four target tasks reevaluated at the sequence level. Both panels use the same circuits extracted and selected with first-token EAP-IG scores and share a color scale. Scores are normalized by clean/corrupted baselines and then by the corresponding target’s self-circuit faithfulness within each evaluation setting.

Cross-Model Agreement of Hierarchical Clustering

Figure 9 shows cross-model agreement of hierarchical clustering. To compare full dendrograms without choosing a cut level for ARI, we also compute Pearson correlations between vectors of cophenetic distances over all task pairs.

Cross-model agreement of hierarchical clustering

Figure 9. Cross-model agreement of hierarchical clustering based on source-circuit faithfulness profiles under the top-2.5% circuit definition. (a) Mean Adjusted Rand Index (ARI) over all ten model pairs after cutting each dendrogram into KK clusters; shading spans the pairwise minimum and maximum. (b) Pearson correlations between cophenetic-distance vectors, comparing complete dendrograms without selecting a cut level.

Figure 9 and Table 3 show moderate overall agreement across models, although their task partitions are not identical. The cophenetic correlations are high among Qwen3-4B, Qwen3-8B, and Gemma-2-2B (0.95–0.98), whereas Llama-3.1-8B has lower correlations with every other model (0.45–0.59). Qwen3-1.7B shows intermediate correlations with the other Qwen3 models and the similarly sized Gemma-2-2B (0.70–0.76). The ARI results also show that partition agreement varies with the number of clusters. Within these five models, clustering similarity does not show a simple relationship with either model family or parameter count.

CircuitMATHMATH-SGSM-PLUSSPELL-MSPELL-MIMATH-PARSELING-PARSELING-SVLING-GALING-HJ
MATH0.610.490.860.120.130.440.250.030.000.09
MATH-S0.580.560.760.240.230.440.360.050.020.11
GSM-PLUS0.560.461.030.410.550.430.170.060.050.16
SPELL-M0.410.340.800.950.880.440.220.080.030.17
SPELL-MI0.480.400.840.800.930.430.33-0.000.020.12
MATH-PARSE0.120.120.100.030.040.460.04-0.05-0.000.05
LING-PARSE0.470.300.270.540.540.090.510.060.010.07
LING-SV0.280.220.230.050.030.420.081.040.600.15
LING-GA0.350.260.660.270.320.420.080.411.010.43
LING-HJ0.140.130.270.090.080.430.030.020.040.55

Table 2.

CircuitMATHMATH-SGSM-PLUSSPELL-MSPELL-MIMATH-PARSELING-PARSELING-SVLING-GALING-HJ
MATH0.610.580.650.240.160.380.02-0.020.010.13
MATH-S0.610.600.710.390.350.370.110.010.020.16
GSM-PLUS0.540.520.950.660.710.360.18-0.02-0.010.22
SPELL-M0.520.490.570.980.940.370.310.020.050.19
SPELL-MI0.510.480.570.920.940.430.500.090.050.19
MATH-PARSE0.140.18-0.140.020.020.540.16-0.100.000.04
LING-PARSE0.220.25-0.020.340.400.090.68-0.040.030.15
LING-SV0.320.300.020.040.040.38-0.011.070.600.33
LING-GA0.190.19-0.030.050.090.380.080.091.010.41
LING-HJ0.260.280.110.100.080.37-0.020.010.100.74

Table 7. Qwen3-1.7B: Cross-task Faithfulness (normalized by clean/corrupted baselines; rows: circuits, columns: tasks; Top 2.5%)

CircuitMATHMATH-SGSM-PLUSSPELL-MSPELL-MIMATH-PARSELING-PARSELING-SVLING-GALING-HJ
MATH0.600.530.800.400.400.360.04-0.010.010.07
MATH-S0.610.570.770.570.590.300.05-0.010.030.07
GSM-PLUS0.600.540.990.770.760.360.150.000.040.15
SPELL-M0.480.420.780.980.940.400.450.100.030.12
SPELL-MI0.540.480.820.970.990.470.280.030.050.15
MATH-PARSE0.240.240.140.050.060.570.14-0.060.000.06
LING-PARSE0.200.220.240.470.450.180.69-0.030.050.10
LING-SV0.240.230.230.060.040.310.031.130.480.25
LING-GA0.230.250.280.110.140.350.030.221.010.53
LING-HJ0.290.260.330.100.090.31-0.060.070.080.94

Table 8. Qwen3-4B: Cross-task Faithfulness (normalized by clean/corrupted baselines; rows: circuits, columns: tasks; Top 2.5%)

CircuitMATHMATH-SGSM-PLUSSPELL-MSPELL-MIMATH-PARSELING-PARSELING-SVLING-GALING-HJ
MATH0.410.360.290.210.230.170.23-0.140.000.01
MATH-S0.260.310.040.220.280.170.23-0.16-0.00-0.00
GSM-PLUS0.310.290.620.340.360.220.34-0.13-0.000.02
SPELL-M0.250.220.260.920.970.170.82-0.050.010.06
SPELL-MI0.230.210.250.850.970.191.140.120.030.05
MATH-PARSE0.030.05-0.140.010.000.240.05-0.210.010.01
LING-PARSE0.010.01-0.120.140.20-0.041.26-0.070.010.02
LING-SV0.020.02-0.150.010.010.22-0.051.090.070.08
LING-GA0.070.09-0.120.010.000.210.020.300.880.09
LING-HJ0.090.08-0.000.080.050.260.11-0.070.050.43

Table 9. Qwen3-8B: Cross-task Faithfulness (normalized by clean/corrupted baselines; rows: circuits, columns: tasks; Top 2.5%)

References

  1. [1]Badr AlKhamissi, Greta Tuckute, Antoine Bosselut, and Martin Schrimpf. 2025. The LLM Language Network: A Neuroscientific Approach for Identifying Causally Task-Relevant Units. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL), pages 10887–10911, Albuquerque, New Mexico. Association for Computational Linguistics.
  2. [2]Marie Amalric and Stanislas Dehaene. 2018. Cortical Circuits for Mathematical Knowledge: Evidence for a Major Subdivision within the Brain’s Semantic Networks. Philosophical Transactions of the Royal Society B: Biological Sciences, 373(1740):20160515.DOI
  3. [3]Marie Amalric and Stanislas Dehaene. 2019. A Distinct Cortical Network for Mathematical Knowledge in the Human Brain. NeuroImage, 189:19–31.DOI
  4. [4]Viraat Aryabumi, Yixuan Su, Raymond Ma, Adrien Morisot, Ivan Zhang, Acyur Locatelli, Marzieh Fadaee, Ahmet Üstün, and Sara Hooker. 2025. To code or not to code? exploring impact of code in pre-training. In The Thirteenth International Conference on Learning Representations (ICLR).arxiv.org/abs/2408.10914
  5. [5]Ruizhe Chen, Tianxiang Hu, Yang Feng, and Zuozhu Liu. 2024. Learnable privacy neurons localization in language models. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (ACL), pages 256–264, Bangkok, Thailand. Association for Computational Linguistics.arxiv.org/abs/2405.10989
  6. [6]Noam Chomsky. 2006. Language and Mind, 3 edition. Cambridge University Press, Cambridge, England.
  7. [7]Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reichicho Nakano, Christopher Hesse, and John Schulman. 2021. Training Verifiers to Solve Math Word Problems. Preprint, arXiv:2110.14168.arxiv.org/abs/2110.14168
  8. [8]Damai Dai, Li Dong, Yaru Hao, Zhifang Sui, Baobao Chang, and Furu Wei. 2022. Knowledge neurons in pretrained transformers. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (ACL), pages 8493–8502, Dublin, Ireland. Association for Computational Linguistics.
  9. [9]Nelson Elhage, Neel Nanda, Catherine Olsson, Tom Henighan, Nicholas Joseph, Ben Mann, Amanda Askell, Yuntao Bai, Anna Chen, Tom Conerly, Nova DasSarma, Dawn Drain, Deep Ganguli, Zac Hatfield-Dodds, Danny Hernandez, Andy Jones, Jackson Kernion, Liane Lovitt, Kamal Ndousse, and 6 others. 2021. A Mathematical Framework for Transformer Circuits. Transformer Circuits Thread.
  10. [10]Evelina Fedorenko, Michael K. Behr, and Nancy Kanwisher. 2011. Functional specificity for high-level linguistic processing in the human brain. Proceedings of the National Academy of Sciences (PNAS), 108(39):16428–16433.DOI
  11. [11]Evelina Fedorenko, Po-Jang Hsieh, Alfonso Nieto-Castañón, Susan Whitfield-Gabrieli, and Nancy Kanwisher. 2010. New Method for fMRI Investigations of Language: Defining ROIs Functionally in Individual Subjects. Journal of Neurophysiology, 104(2):1177–1194. PMID: 20410363.DOI
  12. [12]Evelina Fedorenko, Steven Piantadosi, and Edward A. Gibson. 2024. Language is primarily a tool for communication rather than thought. Nature, 630(8017):575–586.DOI
  13. [13]Roland Friedrich and Angela Friederici. 2009. Mathematical Logic in the Human Brain: Syntax. PLOS ONE, 4:e5599.
  14. [14]Gemma Team. 2024. Gemma 2: Improving Open Language Models at a Practical Size. Preprint, arXiv:2408.00118.
  15. [15]Michael Hanna, Yonatan Belinkov, and Sandro Pezzelle. 2026. Are formal and functional linguistic mechanisms dissociated in language models? Computational Linguistics, 52(1):43–83.arxiv.org/abs/2503.11302
  16. [16]Michael Hanna, Sandro Pezzelle, and Yonatan Belinkov. 2024. Have Faith in Faithfulness: Going Beyond Circuit Overlap When Finding Model Mechanisms. In First Conference on Language Modeling (COLM).arxiv.org/abs/2403.17806
  17. [17]Stefan Heimer­sheim and Neel Nanda. 2024. How to use and interpret activation patching. Preprint, arXiv:2404.15255.arxiv.org/abs/2404.15255
  18. [18]Jennifer Hu, Hannah Small, Hope Kean, Atsushi Takahashi, Leo Zekelman, Daniel Kleinman, Elizabeth Ryan, Alfonso Nieto-Castañón, Victor Ferreira, and Evelina Fedorenko. 2023. Precision fMRI reveals that the language-selective network supports both phrase-structure building and lexical access during language production. Cereb. Cortex, 33(8):4384–4404.DOI
  19. [19]Riku Kisako, Tatsuki Kuribayashi, and Ryohei Sasano. 2025. On Representational Dissociation of Language and Arithmetic in Large Language Models. Preprint, arXiv:2502.11932.arxiv.org/abs/2502.11932
  20. [20]Qintong Li, Leyang Cui, Xueliang Zhao, Linpeng Kong, and Wei Bi. 2024. GSM-plus: A comprehensive benchmark for evaluating the robustness of LLMs as mathematical problem solvers. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (ACL), pages 2961–2984, Bangkok, Thailand. Association for Computational Linguistics.arxiv.org/abs/2402.19255
  21. [21]Llama Team. 2024. The Llama 3 Herd of Models. Preprint, arXiv:2407.21783.
  22. [22]Kyle Mahowald, Anna A. Ivanova, Idan A. Blank, Nancy Kanwisher, Joshua B. Tenenbaum, and Evelina Fedorenko. 2024. Dissociating language and thought in large language models. Trends in Cognitive Sciences, 28(6):517–540.DOI
  23. [23]Masaki Maruyama, Christophe Pallier, Antoinette Jobert, Mariano Sigman, and Stanislas Dehaene. 2012. The Cortical Representation of Simple Mathematical Expressions. NeuroImage, 61(4):1444–1460.DOI
  24. [24]Daiki Matsumoto and Tomoya Nakai. 2023. Syntactic theory of mathematical expressions. Cogn. Psychol., 146(101606):101606.DOI
  25. [25]Tomoya Nakai and Shinji Nishimoto. 2023. Quantitative modelling demonstrates format-invariant representations of mathematical problems in the brain. Eur. J. Neurosci., 57(6):1003–1017.
  26. [26]Tomoya Nakai and Kazuo Okanoya. 2018. Neural Evidence of Cross-domain Structural Interaction between Language and Arithmetic. Scientific Reports, 8(1):12873.DOI
  27. [27]Yaniv Nikankin, Anja Reusch, Aaron Mueller, and Yonatan Belinkov. 2025. Arithmetic Without Algorithms: Language Models Solve Math with a Bag of Heuristics. In The Thirteenth International Conference on Learning Representations.arxiv.org/abs/2410.21272
  28. [28]Catherine Olsson, Nelson Elhage, Neel Nanda, Nicholas Joseph, Nova DasSarma, Tom Henighan, Ben Mann, Amanda Askell, Yuntao Bai, Anna Chen, Tom Conerly, Dawn Drain, Deep Ganguli, Zac Hatfield-Dodds, Danny Hernandez, Scott Johnston, Andy Jones, Jackson Kernion, Liane Lovitt, and 7 others. 2022. In-context Learning and Induction Heads. Preprint, arXiv:2209.11895.arxiv.org/abs/2209.11895
  29. [29]Jackson Petty, Sjoerd van Steenkiste, and Tal Linzen. 2025. How does code pretraining affect language model task performance? Transactions on Machine Learning Research (TMLR).arxiv.org/abs/2409.04556
  30. [30]Yasaman Razeghi, Hamish Ivison, Sameer Singh, and Yanai Elazar. 2024. Backtracking mathematical reasoning of language models to the pretraining data. In The Second Tiny Papers Track at ICLR 2024.
  31. [31]Cory Shain, Idan Asher Blank, Marten van Schijndel, William Schuler, and Evelina Fedorenko. 2020. fMRI reveals language-specific predictive coding during naturalistic sentence comprehension. Neuropsychologia, 138:107307.
  32. [32]Aaquib Syed, Can Rager, and Arthur Conmy. 2024. Attribution Patching Outperforms Automated Circuit Discovery. In Proceedings of the 7th BlackboxNLP Workshop: Analyzing and Interpreting Neural Networks for NLP, pages 407–416, Miami, Florida, US. Association for Computational Linguistics.arxiv.org/abs/2310.10348
  33. [33]Rosemary A. Varley, Nicolai J. C. Klessinger, Charles A. J. Romanowski, and Michael Siegal. 2005. Agrammatic but numerate. Proceedings of the National Academy of Sciences, 102(9):3519–3524.pubmed.ncbi.nlm.nih.gov/15713804
  34. [34]Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. 2017. Attention Is All You Need. In Advances in Neural Information Processing Systems (NeurIPS), volume 30. Curran Associates, Inc.arxiv.org/abs/1706.03762
  35. [35]Kevin Ro Wang, Alexandre Variengien, Arthur Conmy, Buck Shlegelris, and Jacob Steinhardt. 2023. Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 Small. In The Eleventh International Conference on Learning Representations (ICLR).arxiv.org/abs/2211.00593
  36. [36]Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Remi Louf, Morgan Funtowicz, Joe Davison, Sam Shleifer, Patrick von Platen, Clara Ma, Yacine Jernite, Julien Plu, Canwen Xu, Teven Le Scao, Sylvain Gugger, and 3 others. 2020. Transformers: State-of-the-Art Natural Language Processing. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 38–45, Online. Association for Computational Linguistics.DOI
  37. [37]An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Chengang Huang, Chenxu Lv, Chujie Zheng, Dayiheng Liu, Fan Zhou, Fei Huang, Feng Hu, Hao Ge, Haoran Wei, Huan Lin, Jialong Tang, and 41 others. 2025. Qwen3 Technical Report. Preprint, arXiv:2505.09388.arxiv.org/abs/2505.09388
  38. [38]Xinlin Zhou, Mengyi Li, Leinian Li, Yiyun Zhang, Jiaxin Cui, Jie Liu, and Chuansheng Chen. 2018. The semantic system is involved in mathematical problem solving. Neuroimage, 166:360–370.DOI

Paper details

vlnc:W_22wu57be
v1 · latestHistory (1)

published · Fresh — added to the Hub within the last 30 days

added ·

Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

CC BY 4.0

Original source

  • Computer Science

Not recorded for this paper · View statement →

Looking for related papers…
Contents