Capturing In-Context Learning Dynamics with Task Operators
Read the original on arXiv AI →The Flow has not summarised this story yet — read it at arXiv AI.
The Flow has not summarised this story yet — read it at arXiv AI.
arXiv:2602. 23197v2 Announce Type: replace-cross Abstract: Transformer-based large language models exhibit in-context learning, enabling adaptation to downstream tasks via few-shot prompting with demonstrations.
The paper investigates when in‑context learning (ICL) can succeed even if the instruction or target task is not covered by a model’s pretraining data. It introduces a theoretical framework that distinguishes two types of distribution shift—unsupported instructions and unsupported target tasks—and shows how demonstrations can mitigate these shifts. The authors further extend the analysis to long‑horizon tasks that can be decomposed into pretraining‑supported subtasks, providing error bounds that explain how ICL can handle tasks beyond the model’s original support.
arXiv:2610.07572v1 Announce Type: cross Abstract: In-context learning (ICL) adapts frozen large multimodal models (LMMs) to new tasks from a few demonstrations (demos), but re-encodes them at every q...
arXiv:2606. 04434v1 Announce Type: cross Abstract: Multimodal In-Context Learning (ICL) has emerged as a practical inference paradigm for Multimodal Large Language Models, where a small set of interleaved image-text In-Context Demonstrations (ICDs) conditions the model to solve new tasks.
The paper proposes using distributional alignment, measured by the $d_{ ext{NTP}}$ metric, as a criterion for designing task vectors in in-context learning. It introduces Linear Task Vector (LTV), a closed‑form linear mapping that minimizes $d_{ ext{NTP}}$ and improves downstream accuracy across multiple benchmarks and language models. LTV also demonstrates transferability, enabling larger‑model task vectors to boost smaller‑model performance.
Mixtures of In-Context Learners (MoICL) treats subsets of demonstrations as experts and learns a weighting function to merge their output distributions, addressing the quadratic complexity and memory exhaustion of traditional in-context learning. Experiments show MoICL improves performance on 5 of 7 classification datasets, reduces inference time for comparable performance, and is more robust to out‑of‑domain, imbalanced, or noisy demonstrations. The method offers a more expressive way to learn from demonstrations without exhausting the context window or memory.