Journal article
Unlocking In-Context Learning for Natural Datasets Across Modalities
- Alternative title:
- Unlocking In-Context Learning for Natural Datasets..
- Abstract:
- Large Language Models (LLMs) exhibit In-Context Learning (ICL), which enables the model to perform new tasks conditioning only on the examples provided in the context without updating the model’s weights. While ICL offers fast adaptation across natural language tasks and domains, its emergence is less straightforward for modalities beyond text. In this work, we systematically uncover properties present in LLMs that support the emergence of ICL for autoregressive models and various modalities by promoting the learning of the mechanisms needed for ICL. We identify exact token repetitions in the training data sequences as an important factor for ICL. Such repetitions further improve stability and reduce transiency in ICL performance. We analyse in detail the training dynamics of such data sequences and explain how token repetitions enhance the ICL learning mechanisms. Moreover, we emphasise the importance of the training task difficulty for the emergence of ICL. Finally, by applying our novel insights on ICL emergence, we unlock ICL capabilities across various visual datasets used for few-shot classification, and confirm the generalisability of our insights to much harder real-world examples of large-scale object classification, and a more challenging EEG classification task. Code is available at https://github.com/jelenab98/unlocking_icl
- Publication status:
- Published
- Peer review status:
- Peer reviewed
Actions
Access Document
- Files:
-
-
(Preview, Version of record, pdf, 4.5MB, Terms of use)
-
- Publisher copy:
- 10.1007/s11263-026-02913-0
Authors
- Publisher:
- Springer
- Journal:
- International Journal of Computer Vision More from this journal
- Volume:
- 134
- Issue:
- 7
- Article number:
- 317
- Publication date:
- 2026-06-15
- Acceptance date:
- 2026-05-26
- DOI:
- EISSN:
-
1573-1405
- ISSN:
-
0920-5691
- Language:
-
English
- Keywords:
- Source identifiers:
-
4232319
- Deposit date:
-
2026-06-15
- ARK identifier:
This ORA record was generated from metadata provided by an external service. It has not been edited by the ORA Team.
Terms of use
- Copyright date:
- 2026
- Licence:
- CC Attribution (CC BY)
If you are the owner of this record, you can report an update to it here: Report update to this record