Research · October 15, 2026
From Copying to Composition: How Language Models Develop In-Context Learning
Reported by arXiv cs.AI + cs.CL
In short
Researchers built a diagnostic that separates copying a nearby demonstration from composing information across a prompt. Across 17 models, about a third favor the copied answer, while most favor the rule-consistent one, which tracks with higher accuracy. Checkpoint analysis shows models start prioritizing task-relevant tokens well before accuracy rises above chance, and training on synthetic documents that define and then query endings pushes models toward compositional responses.
Why it matters
It offers a finer view of how in-context learning emerges during training than accuracy alone, which could inform how data is designed to build more rule-following models.
Terms used in this story
Read the original reporting
arXiv cs.AI + cs.CL (opens in a new tab)AI Download summarizes and links to the news. We do not republish full articles.