Skip to content
AI News HubLIVE
Original source2 min read

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

Summary

This study probes how LLMs learn in-context using a toy graph random-walk task. Evidence from PCA and causal interventions suggests a dual-mechanism account: genuine structure inference and induction circuits operate in parallel, rather than pure pattern-matching or structure inference alone.

SourcearXiv AIAuthor: Katharine Kowalyshyn, Timothy Duggan, Daniel Little, Michael C Hughes
Belief or Circuitry? Causal Evidence for In-Context Graph Learning
Report an error

The correction channel is not available yet. You can copy the article reference below for later.

Correction instructions
Read article

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

[Submitted on 8 May 2026]

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

View a PDF of the paper titled Belief or Circuitry? Causal Evidence for In-Context Graph Learning, by Katharine Kowalyshyn and 3 other authors

View PDF HTML (experimental)

Abstract: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.

Comments: Under review at ICML Mechanistic Interpretability Workshop 2026

Subjects:

Artificial Intelligence (cs.AI); Machine Learning (cs.LG)

Cite as: arXiv:2605.08405 [cs.AI]

(or arXiv:2605.08405v1 [cs.AI] for this version)

https://doi.org/10.48550/arXiv.2605.08405

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Katharine Kowalyshyn [view email] [v1] Fri, 8 May 2026 19:11:19 UTC (1,243 KB)

Full-text links:

Access Paper:

View a PDF of the paper titled Belief or Circuitry? Causal Evidence for In-Context Graph Learning, by Katharine Kowalyshyn and 3 other authors

View PDF

HTML (experimental)

TeX Source

view license

Current browse context:

cs.AI

new | recent | 2026-05

Change to browse by:

cs cs.LG

References & Citations

NASA ADS

Google Scholar

Semantic Scholar

Loading...

Data provided by:

Bibliographic Tools

Bibliographic and Citation Tools

Bibliographic Explorer Toggle

Bibliographic Explorer (What is the Explorer?)

Connected Papers Toggle

Connected Papers (What is Connected Papers?)

Litmaps Toggle

Litmaps (What is Litmaps?)

scite.ai Toggle

scite Smart Citations (What are Smart Citations?)

Code, Data, Media

Code, Data and Media Associated with this Article

alphaXiv Toggle

alphaXiv (What is alphaXiv?)

Links to Code Toggle

CatalyzeX Code Finder for Papers (What is CatalyzeX?)

DagsHub Toggle

DagsHub (What is DagsHub?)

GotitPub Toggle

Gotit.pub (What is GotitPub?)

Huggingface Toggle

Hugging Face (What is Huggingface?)

ScienceCast Toggle

ScienceCast (What is ScienceCast?)

Demos

Demos

Replicate Toggle

Replicate (What is Replicate?)

Spaces Toggle

Hugging Face Spaces (What is Spaces?)

Spaces Toggle

TXYZ.AI (What is TXYZ.AI?)

Related Papers

Recommenders and Search Tools

Link to Influence Flower

Influence Flower (What are Influence Flowers?)

Core recommender toggle

CORE Recommender (What is CORE?)

Author

Venue

Institution

Topic

About arXivLabs

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)

Key points and analysis

Article intelligence

EngineersAdvanced

Key points

  • A toy graph random-walk task disentangles local pattern-matching from global structure inference.
  • PCA reveals simultaneous encoding of both graph topologies in orthogonal principal subspaces at intermediate mixture ratios.
  • Residual-stream activation patching and graph-difference steering provide causal evidence for a dual-mechanism account.

Highlights and analysis are generated automatically and may contain errors. Check the original source.