Meta-in-context learning in large language models
Open accessAbstract
Large language models have shown tremendous performance in a variety of tasks. In-context learning -- the ability to improve at a task after being provided with a number of demonstrations -- is seen as one of the main contributors to their success. In the present paper, we demonstrate that the in-context learning abilities of large language models can be recursively improved via in-context learning itself. We coin this phenomenon meta-in-context learning. Looking at two idealized domains, a one-dimensional regression task and a two-armed bandit task, we show that meta-in-context learning adaptively reshapes a large language model's priors over expected tasks. Furthermore, we find that meta-in-context learning modifies the in-context learning strategies of such models. Finally, we extend our approach to a benchmark of real-world regression problems where we observe competitive performance to traditional learning algorithms. Taken together, our work improves our understanding of in-context learning and paves the way toward adapting large language models to the environment they are applied purely through meta-in-context learning rather than traditional finetuning.
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
Meta-in-context learning demonstrates that in-context learning abilities can be recursively improved through in-context learning itself, adaptively reshaping model priors over expected tasks and modifying in-context learning strategies.
“Meta-in-context learning demonstrates that in-context learning abilities can be recursively improved through in-context learning itself, adaptively reshaping model priors over expected tasks and modifying in-context learning strategies [181].”
From A Survey of Context Engineering for Large Language Models (2025) · cites this paper as [181]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Cites
Still being checked.
Research works printed but not linked: 17
- Tyna Eloundou, Sam Manning, Pamela Mishkin, and Daniel Rock. Gpts are gpts: An early look at the labor market impact potential of large language models. arXiv preprint arXiv:2303.10130, 2023. · arXiv
- Abeba Birhane, Atoosa Kasirzadeh, David Leslie, and Sandra Wachter. Science in the age of large language models. Nature Reviews Physics, pages 1-4, 2023.
- Iddo Drori, Sarah Zhang, Reece Shuttleworth, Leonard Tang, Albert Lu, Elizabeth Ke, Kevin Liu, Linda Chen, Sunny Tran, Newman Cheng, et al. A neural network solves, explains, and generates university math problems by program synthesis and few-shot learning at human level. Proceedings of the National Academy of Sciences, 119(32):e2123433119, 2022.
- Taylor Webb, Keith J Holyoak, and Hongjing Lu. Emergent analogical reasoning in large language models. arXiv preprint arXiv:2212.09196, 2022. · arXiv
- Marcel Binz and Eric Schulz. Using cognitive psychology to understand gpt-3. Proceedings of the National Academy of Sciences, 120(6):e2218523120, 2023.
- Marcel Binz, Ishita Dasgupta, Akshay Jagadish, Matthew Botvinick, Jane X Wang, and Eric Schulz. Meta-learned models of cognition. arXiv preprint arXiv:2304.06729, 2023. · arXiv
- Sepp Hochreiter, A Steven Younger, and Peter R Conwell. Learning to learn using gradient descent. In International Conference on Artificial Neural Networks, pages 87-94. Springer, 2001.
- Jane X Wang, Zeb Kurth-Nelson, Dhruva Tirumala, Hubert Soyer, Joel Z Leibo, Remi Munos, Charles Blundell, Dharshan Kumaran, and Matt Botvinick. Learning to reinforcement learn. arXiv preprint arXiv:1611.05763, 2016. · arXiv
- Yan Duan, John Schulman, Xi Chen, Peter L Bartlett, Ilya Sutskever, and Pieter Abbeel. Rl 2 : Fast reinforcement learning via slow reinforcement learning. arXiv preprint arXiv:1611.02779, 2016. · arXiv
- Adam Santoro, Sergey Bartunov, Matthew Botvinick, Daan Wierstra, and Timothy Lillicrap. Meta-learning with memory-augmented neural networks. In International conference on machine learning, pages 1842-1850. PMLR, 2016.
- Ekin Akyürek, Dale Schuurmans, Jacob Andreas, Tengyu Ma, and Denny Zhou. What learning algorithm is in-context learning? investigations with linear models. arXiv preprint arXiv:2211.15661, 2022. · arXiv
- Andrew Kyle Lampinen. Can language models handle recursively nested grammatical struc- tures? a case study on comparing models and humans. arXiv preprint arXiv:2210.15303, 2022. · arXiv
- Ishita Dasgupta, Andrew K Lampinen, Stephanie CY Chan, Antonia Creswell, Dharshan Kumaran, James L McClelland, and Felix Hill. Language models show human-like content effects on reasoning. arXiv preprint arXiv:2207.07051, 2022. · arXiv
- Julian Coda-Forno, Kristin Witte, Akshay K Jagadish, Marcel Binz, Zeynep Akata, and Eric Schulz. Inducing anxiety in large language models increases exploration and bias. arXiv preprint arXiv:2304.11111, 2023. · arXiv
- Thilo Hagendorff. Machine psychology: Investigating emergent capabilities and behavior in large language models using psychological methods. arXiv preprint arXiv:2303.13988, 2023. · arXiv
- Marcel Binz and Eric Schulz. Modeling human exploration through resource-rational reinforce- ment learning. In Advances in Neural Information Processing Systems, 2022.
- Jan Malte Lichtenberg and Özgür Simsek. Simple regression models. In IDM@NIPS, 2017.
Cited by
Sorted by citations
Playing repeated games with large language models
Akata, E., Schulz, L., Coda-Forno, J., Oh, S. J., Bethge, M., & Schulz, E. (2025) · Nature Human Behaviour · doi:10.1038/s41562-025-02172-y · Cited by 147 · see citing works
Self-citationHagendorff, T., Dasgupta, I., Binz, M., Chan, S. C. Y., Lampinen, A., Wang, J. X., Akata, Z., & Schulz, E. (2023) · arXiv · doi:10.48550/arxiv.2303.13988 · Cited by 68 · see citing works
Self-citationVisual cognition in multimodal large language models
Schulze Buschoff, L. M., Akata, E., Bethge, M., & Schulz, E. (2025) · Nature Machine Intelligence · doi:10.1038/s42256-024-00963-y · Cited by 83 · see citing works
Self-citationA Survey of Context Engineering for Large Language Models
Mei, L., Yao, J., Ge, Y., Wang, Y., Bi, B., Cai, Y., Liu, J., Li, M., Li, Z.-Z., Zhang, D., et al. (2025) · arXiv · doi:10.48550/arxiv.2507.13334 · Cited by 13 · see citing works
Wu, S., Oltramari, A., Francis, J., Giles, C. L., & Ritter, F. E. (2025) · Neurosymbolic Artificial Intelligence · doi:10.1177/29498732251377341 · Cited by 21 · see citing works
Manjunath, H., Heublein, L., Feigl, T., & Ott, F. (2025) · IEEE Wireless Communications and Networking Conference · doi:10.1109/wcnc61545.2025.10978760 · Cited by 10 · see citing works
Generative Calibration for In-context Learning
Jiang, Z., Zhang, Y., Cao, L., Zhao, J., & Liu, K. (2023) · Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP) · doi:10.18653/v1/2023.findings-emnlp.152 · Cited by 7 · see citing works
Real Estate Price Prediction on GenerativeLanguage Models
Zhao, Y., Chetty, G., & Tran, D. (2023) · IEEE Asia-Pacific Conference on Computer Science and Data Engineering (CSDE) · doi:10.1109/csde59766.2023.10487658 · Cited by 4 · see citing works
Hahn, J., Aditi, Baik, S.-Y., Park, S., Ko, S., & Han, Y.-S. (2025) · Expert Systems with Applications · doi:10.1016/j.eswa.2025.129094 · Cited by 2 · see citing works
Does Few-Shot Learning Help LLM Performance in Code Synthesis?
Xu, D., Xie, T., Xia, B., Li, H., Bai, Y., Sun, Y., & Wang, W. (2024) · arXiv · doi:10.48550/arxiv.2412.02906 · Cited by 3 · see citing works
Can a Large Language Model Learn Matrix Functions In Context?
Goulart, P., & Papalexakis, E. E. (2024) · IEEE International Conference on Big Data (BigData) · doi:10.1109/bigdata62323.2024.10825481 · Cited by 1 · see citing works
Learning using statistical invariants with privileged information
Yan, X., Li, C., Shao, Y., & Meng, Y.-H. (2025) · Information Sciences · doi:10.1016/j.ins.2025.122069 · Cited by 1 · see citing works
Large language model para geração de prontuários eletrônicos sintéticos
Silva, G. S., & Cazella, S. C. (2024) · Journal of Health Informatics · doi:10.59681/2175-4411.v16.iespecial.2024.1275
StreamAdapter: Efficient Test Time Adaptation from Contextual StreamsPreprint
Muhtar, D., Shen, Y., Yang, Y., Liu, X., Lu, Y., Liu, J., Zhan, Y., Sun, H., Deng, W., Sun, F., et al. (2024) · Qeios · doi:10.32388/g5h95j
Majumder, E. (2025) · Research Square · doi:10.21203/rs.3.rs-7018899/v1
About Cooperative Behavior of LLM Agents in Different Repeated Social Dilemma Game Contexts
Yılmaz, H., & Kılıç, H. (2026) · International Informatics and Software Engineering Conference (IISEC) · doi:10.1109/iisec69317.2026.11418487
Labonté, F. M., Giri, S., Herbrik, C., & Flek, L. (2026) · Communications in computer and information science · doi:10.1007/978-3-032-28819-6_39
ContextDiff: Context-aware controllable generation with text-to-image diffusion models
Djenouri, Y., Belbachir, A. N., Belhadi, A., & Srivastava, G. (2026) · Journal of Intelligent & Fuzzy Systems · doi:10.1177/18758967261469967
Wei, S., Liu, X. D., & Shi, Y. (2026) · Journal of Biomedical Informatics · doi:10.1016/j.jbi.2026.105085
Probing the Intrinsic Effectiveness of Large Language Models for Medical Classifications
Lunardi, R., Roitero, K., & Mea, V. D. (2026) · ACM International Conference on Bioinformatics, Computational Biology, and Health Informatics (ACM-BCB) · doi:10.1145/3807503.3819373
Muthulakshmi, S., Kavya, D. N., Ashwin, C. S., Chatterjee, S., Chitra, K., & Subramaniam, S. (2026) · Advances in computational intelligence and robotics book series · doi:10.4018/979-8-2600-0685-6.ch010
- Authors
- Coda-Forno, J., Binz, M., Akata, Z., Botvinick, M., Wang, J., & Schulz, E.
- Venue
- Advances in Neural Information Processing Systems 36
- Published
- 2023
- Pages
- 65189-65201
- ISSN
- 1049-5258 (ISSN-L)
- OpenAlex
- W7133222760
- Cited by
- 20
- References
- 0
- Citations by year
- 2026: 7 · 2025: 8 · 2024: 3 · 2023: 2
- FWCI
- 3.54
- Type
- conference paper
- Language
- en
- Open access
- green
- arxiv.org
- Locations
- neural information processing systems (publishedVersion)
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Physical Sciences › Computer Science › Artificial Intelligence › Domain Adaptation and Few-Shot Learning
- Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
- Keywords
- large language models, in-context learning, meta-learning, prompt engineering
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review