TL;DR
Large language models naturally organize cyclical concepts—like days of the week, months, and musical notes—into neat geometric circles inside their hidden states. This paper asks whether that shared geometry acts as a universal interface: can the neural circuitry that calculates "two months after April" be transplanted to solve "two days after Wednesday"? Remarkably, yes—even when the circuits share almost no neurons—provided the exact mathematical operation matches, proving that representation geometry and the computations acting on it are distinct causal beasts.
What Problem Does This Paper Address?
If you peer inside a language model's activations while it thinks about days of the week, you won't find a tangled mess. You'll find a circle. Previous research in mechanistic interpretability (the quest to reverse-engineer neural networks into human-understandable algorithms) has shown that models love to arrange periodic concepts onto clean, low-dimensional geometric manifolds.
Meanwhile, researchers also study circuits—sparse sub-networks of attention heads and MLP (multi-layer perceptron) neurons responsible for executing specific tasks. Prior studies noticed that similar tasks often reuse the exact same components.
This leaves a fascinating open question: what happens when two cyclic tasks both arrange their concepts into circles, without sharing the same neurons? Does having an analogous geometric shape mean the model has built a universal workspace where computations are interchangeable, or are these circuits speaking private, incompatible dialects on shapes that merely look alike to us?
Methods
To separate where concepts live from how they move, Desai and Pendharkar evaluate off-the-shelf Qwen2.5-7B-Instruct and Meta-Llama-3.1-8B-Instruct across a gauntlet of gates and brain-transplant-style interventions:
- Mapping the Circles: Using linear ridge regression on hidden states, they project activations onto a frozen 2D circular subspace $(\cos \frac{2\pi y}{m}, \sin \frac{2\pi y}{m})$ and verify that the geometry holds up on unseen prompt templates.
- Sparse Circuit Discovery: Focusing on a single shared MLP layer (layer 20 in Qwen, 14 in Llama), they use gradient-times-activation attribution to learn minimal binary masks over MLP neurons that are sufficient to perform each task on their own.
- Fitting Operators: They project the circuit's output back onto the 2D circle to fit an affine transformation—essentially measuring the mathematical rotation induced by the circuit.
- Cross-Task Activation Patching (The Transplant): Here is the clever counterfactual twist. While running a target task (e.g., weekdays, shift $+2$), they zero out the neurons belonging to a donor task's circuit (e.g., months) and patch in the donor's activations from a phase-aligned input. Crucially, they compare a matched-shift donor (months $+2$) against a wrong-shift donor (e.g., months $-1$), isolating whether the specific signed movement transfers across tasks.
Datasets
No models were trained or fine-tuned. For evaluation, the authors introduce a synthetic benchmark of nine cyclic task families: alphabet positions, chess files, clock positions, compass bearings, decimal digits, months, musical-note letters, seasons, and weekdays.
Each task asks the model to compute cyclic shifts of $s \in \{-2, -1, +1, +2\}$ steps (e.g., wrapping around the end of the cycle). Every family uses three development prompt templates and two held-out templates that explicitly state cycle order, sign conventions, and balanced few-shot demonstrations, strictly requiring single-token answers.
Key Insights and Ideas
- Functional compatibility doesn't require shared neurons: Previously, cross-task transfer was mostly explained by circuits physically sharing attention heads or neurons. Here, independently discovered circuits have very little physical overlap, yet transplanting activations from one to another repairs damaged performance. Component reuse and functional compatibility are two different things!
- Geometry is the stage, not the play: Seeing a clean circle in activation space tells you where states are stored, not whether transformations are compatible. A wrong-shift donor comes from the exact same circularly structured circuit, yet fails to repair the target—showing that geometric claims about how models compute require operation-specific causal tests.
- Discrete beats continuous: Matching the discrete operation ($+2$ vs. $+2$) strongly drives successful repair. Surprisingly, measuring fine-grained continuous similarity between the fitted 2D rotation curves has virtually zero correlation with how well a transplant works.
Key Results
- Circular Geometry Generalizes:
Qwen2.5-7Bpasses behavioral, geometric, and circuit-sufficiency selection gates on 7 of 9 task families (circular cosine similarity ranging from 0.74 to 0.99 on held-out prompts).Llama-3.1-8Bqualifies on only 4 families and passes geometry on 3, leaving it underpowered for broad cross-pair analysis.
- Low Overlap, High Operation-Specificity: Across Qwen's 7 valid task families, circuit masks share very few neurons (median Jaccard similarity of 0.122). Yet across 42 directed task pairs, matched-shift donors achieve positive control-adjusted transfer specificity (0.252), and boost normalized logit-margin restoration by 0.651 over wrong-shift donors ($p < 10^{-6}$).
- Uncorrelated Continuous Metrics: Continuous similarity between fitted 2D affine operators is nearly uncorrelated with control-adjusted transfer strength (Spearman $\rho = 0.031$), performing no better than simple neuron overlap at ranking which pairs transfer best.
Limitations and Future Work
- Scale and Model Breadth: The study only examines two 7B–8B instruction-tuned models on synthetic tasks, with nearly all statistical weight resting on Qwen because Llama failed earlier behavioral and circuit gates.
- Narrow Searchlight: Circuit discovery was restricted to sparse MLP neurons at a single shared layer. Distributed computations across other layers, attention heads, or nonlinear geometries outside the 2D Fourier plane are left in the dark.
- Natural Errors Remain Open: While artificially transplanting a mismatched operation breaks performance despite clean circular geometry, future work will need to test whether this kind of "operation mismatch" explains natural reasoning errors language models make in the wild.
Summary updated