mlsanityData to 7 Oct 2026

Temporal Dependencies in In-Context Learning: The Role of Induction Heads

arXiv 2604.01094 ↗First posted 1 Apr 2026cs.CL cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) exhibit strong in-context learning capabilities, but how they track and retrieve information from context remains underexplored. Drawing on the free recall paradigm in cognitive science (where participants recall list items in any order), we show that several open-source LLMs consistently display a serial-recall-like pattern, assigning peak probability to tokens that immediately follow a repeated token in the input sequence. Through systematic ablation experiments, we show that induction heads, specialized attention heads that attend to the token following a previous occurrence of the current token, play an important role in this phenomenon. Removing heads with a high induction score substantially reduces the +1 lag bias, whereas ablating random heads does not reproduce the same reduction. We also show that removing heads with high induction scores impairs the performance of models prompted to do serial recall using few-shot learning to a larger extent than removing random heads. Our findings highlight a mechanistically specific connection between induction heads and temporal context processing in transformers, suggesting that these heads are especially important for ordered retrieval and serial-recall-like behavior during in-context learning.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 16 of its 31 references that are in the map. First posted on arXiv 1 Apr 2026.

Builds on

16 of 31 references.

References · 16

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2024The Llama 3 Herd of Modelscited by 14,192
  3. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  4. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
  5. 2022A Survey on In-context Learningcited by 717
  6. 2023In-Context Learning Creates Task Vectorscited by 302
  7. 2024What needs to go right for an induction head? A mechanistic study of in-context learning circuits and their formationcited by 86
  8. 2023The Transient Nature of Emergent In-Context Learning in Transformerscited by 72
  9. 2025Which Attention Heads Matter for In-Context Learning?cited by 61
  10. 2024Induction Heads as an Essential Mechanism for Pattern Matching in In-context Learningcited by 46
  11. 2023Primacy Effect of ChatGPTcited by 27
  12. 2024Toward Understanding In-context vs. In-weight Learningcited by 19
4 more
  1. 2024Linking In-context Learning in Transformers to Human Episodic Memorycited by 15
  2. 2025Does Time Have Its Place? Temporal Heads: Where Language Models Recall Time-specific Informationcited by 14
  3. 2024Assessing Episodic Memory in LLMs with Sequence Order Recall Taskscited by 9
  4. 2025Emergence of Episodic Memory in Transformers: Characterizing Changes in Temporal Structure of Attention Scores During Trainingcited by 4

Built on by

Not cited yet.