Out of Support, Not Out of Reach: In-Context Learning with Unsupported Instructions and Composed Tasks
Xuhan Tong, Yuchen Zeng, Jiawei Zhang
Key points
From the paper's conclusion- Together, our results characterize when demonstrations, instructions, and task decomposition can support ICL beyond the corresponding pretraining supports.
Abstract
In-Context Learning (ICL) enables pretrained LLMs to adapt to downstream tasks from a small set of input-output demonstrations, without parameter updates. Yet existing theory primarily explains ICL as identifying a latent task already represented in pretraining, leaving unclear whether ICL can succeed when either the instruction or the target task falls outside the pretraining support. We develop a theoretical framework under mild assumptions that separates these two forms of distribution shift. For target tasks represented in pretraining, we show that demonstrations can identify the task and reduce sensitivity to pretrain-supported prompt templates as their number increases. For an unsupported instruction, we show that under a fixed model-induced reference extension, demonstration evidence can dominate an $N$-independent instruction shift while preserving the exponential identification rate. We then use the same ICL framework as an interpretive lens for long-horizon target tasks that are not represented in pretraining but admit a plan that decomposes them into pretraining-supported subtasks. Applying the supported-task analysis step by step yields a standard accumulated-error bound and clarifies how invoking familiar subtasks along an intermediate-state trajectory can avoid directly selecting the unsupported complete task. Together, our results characterize when demonstrations, instructions, and task decomposition can support ICL beyond the corresponding pretraining supports.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Characterizing In-Context Learning: When Can Transformers Match Standard Learning Algorithms?2026
- Capturing In-Context Learning Dynamics with Task OperatorsarXiv · 2026
- Learn the Effects, Not the Examples: Implicit ICL via Attention PatchingarXiv · 2026
- From Copying to Composition: How Language Models Develop In-Context LearningarXiv · 2026
- Agentic In-Context Learning: What Algorithms Can Transformers Learn in Closed-Loop Interaction?arXiv · 2026
- From Observation to Intervention: Distilling Self-Generated In-Context Demonstrations via Executable Causal InterventionarXiv · 2026