arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.08405cs.AIcs.LG
收藏

信念还是电路?基于因果证据的上下文图学习

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

Department of Computer Science, Tufts University, Medford, United States(计算机科学系,塔夫茨大学,梅德福,美国)

Katharine Kowalyshyn, Timothy Duggan, Daniel Little, Michael C Hughes

AI总结:

本文通过玩具图随机游走任务探讨LLM上下文学习机制,发现单一模式匹配或局部结构推断无法解释结果,提出双机制模型更符合数据。

摘要:

本文通过玩具图随机游走任务探讨LLM上下文学习机制,发现单一模式匹配或局部结构推断无法解释结果,提出双机制模型更符合数据。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑