mlsanityData to 14 Oct 2026

Towards Interpretable Sequence Continuation: Analyzing Shared Circuits in Large Language Models

arXiv 2311.04131 ↗First posted 7 Nov 2023cs.CL cs.AI cs.LGcited by 15

On the map: Mechanistic interpretability → Circuits and mechanistic analysis

Abstract (arXiv)

While transformer models exhibit strong capabilities on linguistic tasks, their complex architectures make them difficult to interpret. Recent work has aimed to reverse engineer transformer models into human-readable representations called circuits that implement algorithmic functions. We extend this research by analyzing and comparing circuits for similar sequence continuation tasks, which include increasing sequences of Arabic numerals, number words, and months. By applying circuit interpretability analysis, we identify a key sub-circuit in both GPT-2 Small and Llama-2-7B responsible for detecting sequence members and for predicting the next member in a sequence. Our analysis reveals that semantically related sequences rely on shared circuit subgraphs with analogous roles. Additionally, we show that this sub-circuit has effects on various math-related prompts, such as on intervaled circuits, Spanish number word and months continuation, and natural language word problems. Overall, documenting shared computational structures enables better model behavior predictions, identification of errors, and safer editing procedures. This mechanistic understanding of transformers is a critical step towards building more robust, aligned, and interpretable language models.

Key facts. Cited by 15 papers in the map (data through 14 Oct 2026). Placed in Circuits and mechanistic analysis, one of 13 directions in Mechanistic interpretability. Builds on 21 of its 43 references that are in the map. First posted on arXiv 7 Nov 2023.

Builds on

21 of 43 references.

Closest ancestors · 4

Same direction, newest first

  1. 2023Circuit Component Reuse Across Tasks in Transformer Language Models12 Oct
  2. 2023Towards Automated Circuit Discovery for Mechanistic Interpretability28 Apr
  3. 2023Progress measures for grokking via mechanistic interpretability12 Jan
  4. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 small1 Nov

Other references · 17

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2022Locating and Editing Factual Associations in GPTcited by 2,691
  4. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
  5. 2016Concrete Problems in AI Safetycited by 1,642
  6. 2019Explainable Artificial Intelligence (XAI): Concepts, Taxonomies, Opportunities and Challenges toward Responsible AIcited by 1,552
  7. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
  8. 2019A Comprehensive Survey on Transfer Learningcited by 1,160
  9. 2022In-context Learning and Induction Headscited by 964
  10. 2023Steering Language Models With Activation Engineeringcited by 922
  11. 2023Localizing Model Behavior with Path Patchingcited by 195
  12. 2020Compositional Explanations of Neuronscited by 172
5 more
  1. 2023Detecting Edit Failures In Large Language Models: An Improved Specificity Benchmarkcited by 62
  2. 2022X-Risk Analysis for AI Researchcited by 60
  3. 2023The Larger They Are, the Harder They Fail: Language Models do not Recognize Identifier Swaps in Pythoncited by 29
  4. 2023Neuron to Graph: Interpreting Language Model Neurons at Scalecited by 27
  5. 2023System III: Learning with Domain Knowledge for Safety Constraintscited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 2; 2025: 5; 2026: 8.

15 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2024Circuit Compositions: Exploring Modular Structures in Transformer-Based Language Models
  2. 2026Can Language Model Agents be Helpful Circuit Explainers in Mechanistic Interpretability?
  3. 2025Anatomy of an Idiom: Tracing Non-Compositionality in Language Models
  4. 2025From Indirect Object Identification to Syllogisms: Exploring Binary Mechanisms in Transformer Circuits
  5. 2025Beyond Components: Singular Vector-Based Interpretability of Transformer Circuits
  6. 2025Mechanistic Unveiling of Transformer Circuits: Self-Influence as a Key to Model Reasoning
  7. 2024Autoregressive + Chain of Thought = Recurrent: Recurrence's Role in Language Models' Computability and a Revisit of Recurrent Transformer
  8. 2024Efficient Automated Circuit Discovery in Transformers using Contextual Decomposition