TL;DR
While Large Language Models (LLMs) can solve numeric math problems almost perfectly, they frequently stumble when the exact same problems are written out in words. This paper demonstrates that an LLM's ability to generalize across these different formats can be predicted directly from its internal mechanics. By tracking whether a model reuses its core "numeric circuit" when facing verbal prompts, researchers can accurately forecast both macro-level format difficulty and item-level correctness without needing any labeled training data.
What Problem Does This Paper Address?
Humans possess an effortless ability to generalize abstract concepts across superficial changes in format; if you know that $2 + 5 = 7$, you instantly know that "two plus five equals seven." LLMs, however, are notoriously brittle to surface-level variations. A model might achieve near-perfect accuracy on standard numeric arithmetic but fail substantially when evaluated on verbal renditions or translations of the same equations.
Traditionally, researchers evaluate generalization by looking at external behavior—running the model on a target benchmark. But behavior alone is a black box: a correct answer doesn't guarantee the model arrived at it using the right underlying logic, and benchmarks cannot test every possible prompt variation. This paper addresses this gap by asking: Can we predict an LLM's cross-format generalization by probing its internal computational mechanisms?
Methods
The authors leverage Attribution Patching (AP), a technique in mechanistic interpretability used to rapidly localize the specific internal units (circuits) responsible for a behavior.
Standard AP relies on pre-specified "gold" answers, which creates a catch-22: if a model is mostly wrong on verbal math, standard AP targets the circuit the model should have used, rather than the one it actually used. To bypass this, the authors introduce a clever twist:
- They present the model with an arithmetic prompt and a sign-flipped counterfactual (e.g.,
44 + 22 =vs.44 - 22 =). - They record the model's own greedy answers and measure how strongly it favors the addition answer over the subtraction answer.
- They isolate the top 1% of Multi-Layer Perceptron (MLP) units responsible for this preference during numeric problem-solving, defining this as the numeric circuit.
Using this reference circuit, they calculate two key metrics for verbal formats:
- Circuit Overlap: The Jaccard index measuring how many units are shared between the numeric circuit and a verbal format's circuit.
- Circuit Loading: An item-level metric calculating the total activation engagement of the numeric circuit when processing a specific verbal problem.
Finally, they validate these findings causally using activation patching, physically overwriting activations in the verbal domain with clean numeric activations to prove the circuit's direct impact on accuracy.
Datasets
The study evaluates a fixed dataset of 2,000 synthetic arithmetic items balanced across several dimensions:
- Operations: Balanced 50/50 between addition and subtraction.
- Complexity: Balanced between 2-term and 3-term problems, using 2-digit and 3-digit positive integers. Half of the items require a mathematical carry.
- Formats: Every problem is rendered in four distinct formats:
- Numeric:
44 + 22 = - English Verbal:
forty-four plus twenty-two equals - Spanish Verbal:
cuarenta y cuatro más veintidós es igual a - Italian Verbal:
quarantaquattro più ventidue fa
These items were tested across 13 base language models spanning six model families (including Qwen-3, Llama-3.1/3.2, Gemma-2, Mistral, OLMo-3, and Phi-4) ranging from 0.6B to 32B parameters.
Key Insights and Ideas
- Circuit Generalization Drives Behavioral Generalization: An LLM's behavioral success in a new format is fundamentally grounded in whether it recycles its internal numeric reasoning circuit. If the circuit doesn't carry over, the mathematical capability doesn't either.
- Asymmetric Predictability (Predicting Failure vs. Success): The relationship between circuit engagement and accuracy is asymmetric. If a model fails to engage the numeric circuit on a verbal item, it is almost guaranteed to get the answer wrong. However, engaging the circuit is necessary but not sufficient; a model engaging the circuit is more likely to be correct, but still faces uncertainty due to potential downstream errors.
- Supervised Performance, Zero Labeled Data: Measuring internal circuit loading rivals the accuracy of supervised logistic regression probes trained on thousands of examples, offering a powerful, zero-shot method for evaluating model reliability.
Key Results
- The Accuracy Gap: Across all 13 models, performance degraded sharply away from the numeric baseline. Median accuracy sat at 87.4% for Numeric, dropping to 36.4% for English, 17.9% for Spanish, and a meager 6.8% for Italian.
- Overlap Explains Difficulty: The macro-level accuracy drop perfectly mirrored circuit overlap. The English circuit shared the most units with the numeric circuit (0.145 Jaccard overlap), followed by Spanish (0.078) and Italian (0.069).
- Item-Level Accuracy Prediction: Correctly solved verbal items showed significantly higher numeric circuit loading than incorrect items across almost all model-language combinations.
- Complementary Predictive Power: When pitted against standard confidence metrics (like next-token entropy) and supervised probes in a linear probability model, circuit loading captured unique, significant variance in item correctness, matching or exceeding the performance of trained probes.
Limitations and Future Work
While the empirical link between circuit overlap and generalization is robust, the authors acknowledge they currently lack a comprehensive formal theory explaining why or under what exact conditions this relationship holds or breaks.
Additionally, this method operates at the implementation level (identifying which hardware units are active) rather than the algorithmic level (deciphering the exact step-by-step logic those units execute). Future work is required to bridge this gap to provide formal guarantees of correctness. Finally, the authors note that while circuit loading is a strong unique predictor, output entropy remains a stronger standalone predictor of correctness in low-resource language formats.
Summary updated