mlsanityData to 7 Oct 2026

Belief or Circuitry? Causal Evidence for In-Context Graph Learning

arXiv 2605.08405 ↗First posted 8 May 2026cs.AI cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

How do LLMs learn in-context? Is it by pattern-matching recent tokens, or by inferring latent structure? We probe this question using a toy graph random-walk across two competing graph structures. This task's answer is, in principle, decidable: either the model tracks global topology, or it copies local transitions. We present two lines of evidence that neither account alone is sufficient. First, reconstructing the internal representation structure via PCA reveals that at intermediate mixture ratios, both graph topologies are encoded in orthogonal principal subspaces simultaneously. This pattern is difficult to reconcile with purely local transition copying. Second, residual-stream activation patching and graph-difference steering causally intervene on this graph-family signal: late-layer patching almost fully transfers the clean graph preference, while linear steering moves predictions in the intended direction and fails under norm-matched and label-shuffled controls. Taken together, our findings are most consistent with a dual-mechanism account in which genuine structure inference and induction circuits operate in parallel.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 7 of its 10 references that are in the map. First posted on arXiv 8 May 2026.

Builds on

7 of 10 references.

References · 7

  1. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  2. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
  3. 2023The Unlocking Spell on Base LLMs: Rethinking Alignment via In-Context Learningcited by 251
  4. 2024What needs to go right for an induction head? A mechanistic study of in-context learning circuits and their formationcited by 86
  5. 2025Belief Dynamics Reveal the Dual Nature of In-Context Learning and Activation Steeringcited by 24
  6. 2025Task Schema and Binding: A Double Dissociation Study of In-Context Learningcited by 2
  7. 2026Involuntary In-Context Learning: Exploiting Few-Shot Pattern Completion to Bypass Safety Alignment in GPT-5.4cited by 2

Built on by

Not cited yet.