Capability and Interpretability of Transformers on Multi-task Recurrence
On the map: Mechanistic interpretability → Circuits and mechanistic analysis also fits: Knowledge and representations inside LLMs
Abstract (arXiv)
Transformers are widely used in various language tasks, with limited understanding of their internal mechanisms. Motivated by the recurrent structure of many linguistic rules, we study the capability and interpretability of Transformers through a controlled family of linear recurrence tasks over finite cyclic groups. These tasks range from executing a single fixed rule to identifying a latent rule from context and switching between explicitly specified rules, with and without input masking. Through extensive experiments across different configurations, we find that switching specified rules is simpler than identifying latent rules for Transformers in general. We also identify how several key factors affect the generalization capability of Transformers, including the depth, width, and the algebraic structure of the linear recurrence. Curriculum training is extremely useful when the number of rules is large. With standard tools in mechanistic interpretability like linear probing and input patching, our study reveals how Transformers represent, identify, and execute multiple rules.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Placed in Circuits and mechanistic analysis, one of 13 directions in Mechanistic interpretability. Submitted 19 Oct 2026, announced 25 Nov 2026.
Builds on
No reference list yet.
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024Interpreting Affine Recurrence Learning in GPT-style Transformers
- 2023Towards Interpretable Sequence Continuation: Analyzing Shared Circuits in Large Language Models
- 2026Beyond the Training Horizon: Mechanisms and Limits of Length Generalization in Looped Transformers
- 2024Circuit Compositions: Exploring Modular Structures in Transformer-Based Language Models
- 2026Loop, Think, & Generalize: Implicit Reasoning in Recurrent-Depth Transformers
- 2025Hierarchical Reasoning Models: Perspectives and Misconceptions
- 2026T^2MLR: Transformer with Temporal Middle-Layer Recurrence
- 2024Autoregressive + Chain of Thought = Recurrent: Recurrence's Role in Language Models' Computability and a Revisit of Recurrent Transformer