In-context learning agents are asymmetric belief updaters
On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks
Abstract (arXiv)
We study the in-context learning dynamics of large language models (LLMs) using three instrumental learning tasks adapted from cognitive psychology. We find that LLMs update their beliefs in an asymmetric manner and learn more from better-than-expected outcomes than from worse-than-expected ones. Furthermore, we show that this effect reverses when learning about counterfactual feedback and disappears when no agency is implied. We corroborate these findings by investigating idealized in-context learning agents derived through meta-reinforcement learning, where we observe similar patterns. Taken together, our results contribute to our understanding of how in-context learning works by highlighting that the framing of a problem significantly influences how learning occurs, a phenomenon also observed in human cognition.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Placed in General LLM agent frameworks and benchmarks, one of 16 directions in LLM agents and tool use. Builds on 25 of its 57 references that are in the map. First posted on arXiv 6 Feb 2024.
Builds on
25 of 57 references.
References · 25
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
- 2016Asynchronous Methods for Deep Reinforcement Learningcited by 2,218
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
- 2022Transformers learn in-context by gradient descentcited by 714
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
- 2016RL2: Fast Reinforcement Learning via Slow Reinforcement Learningcited by 490
- 2023Large Language Models Are State-of-the-Art Evaluators of Translation Qualitycited by 416
13 more
- 2022Using cognitive psychology to understand GPT-3cited by 389
- 2023Larger language models do in-context learning differentlycited by 386
- 2016Learning to reinforcement learncited by 369
- 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 303
- 2023GPTs are GPTs: An Early Look at the Labor Market Impact Potential of Large Language Modelscited by 174
- 2022Language models show human-like content effects on reasoning taskscited by 171
- 2019Explainable Machine Learning for Scientific Insights and Discoveriescited by 165
- 2019Meta-learning of Sequential Strategiescited by 68
- 2023Meta-in-context learning in large language modelscited by 59
- 2020Meta-trained agents implement Bayes-optimal agentscited by 37
- 2022Modeling Human Exploration Through Resource-Rational Reinforcement Learningcited by 13
- 2023In-Context Learning Dynamics with Random Binary Sequencescited by 13
- 2023How should the advent of large language models affect the practice of science?cited by 8
Built on by
Citing papers per year: 2024: 5; 2025: 6; 2026: 2.
13 papers.
Sort:
By area:
- 2024Can large language models explore in-context?cited by 75
- 2024Current state of LLM Risks and AI Guardrailscited by 44
- 2024Controlling Large Language Model Agents with Entropic Activation Steeringcited by 29
- 2024Sparse Autoencoders Reveal Temporal Difference Learning in Large Language Modelscited by 15
- 2025Generating Computational Cognitive Models using Large Language Modelscited by 12
- 2025Should You Use Your Large Language Model to Explore or Exploit?cited by 8
- 2025Stop Reducing Responsibility in LLM-Powered Multi-Agent Systems to Local Alignmentcited by 7
- 2024Large Language Models are Biased Reinforcement Learnerscited by 5
- 2025Cognitive models can reveal interpretable value trade-offs in language modelscited by 3
- 2025Large Language Models as Search Engines: Societal Challengescited by 3
- 2025Meta-learning ecological priors from large language models explains human learning and decision makingcited by 2
- 2026Reasoning aligns language models to human cognitioncited by 2
- 2026Conflict and Congruency Effects in Large Language Models: In-Weight and In-Context Competition in a Verbal Conflict Task11 Aug 2026
- 2026Reasoning aligns language models to human cognition9 Feb 2026
- 2025Large Language Models as Search Engines: Societal Challenges24 Nov 2025
- 2025Stop Reducing Responsibility in LLM-Powered Multi-Agent Systems to Local Alignment15 Oct 2025
- 2025Meta-learning ecological priors from large language models explains human learning and decision making28 Aug 2025
- 2025Cognitive models can reveal interpretable value trade-offs in language models25 Jun 2025
- 2025Generating Computational Cognitive Models using Large Language Models2 Feb 2025
- 2025Should You Use Your Large Language Model to Explore or Exploit?31 Jan 2025
- 2024Sparse Autoencoders Reveal Temporal Difference Learning in Large Language Models2 Oct 2024
- 2024Current state of LLM Risks and AI Guardrails16 Jun 2024
- 2024Controlling Large Language Model Agents with Entropic Activation Steering1 Jun 2024
- 2024Large Language Models are Biased Reinforcement Learners19 May 2024
1 more
- 2024Can large language models explore in-context?22 Mar 2024
- 2026Reasoning aligns language models to human cognitioncited by 2
- 2026Reasoning aligns language models to human cognition9 Feb 2026
- 2024Current state of LLM Risks and AI Guardrailscited by 44
- 2024Current state of LLM Risks and AI Guardrails16 Jun 2024
- 2024Can large language models explore in-context?cited by 75
- 2024Sparse Autoencoders Reveal Temporal Difference Learning in Large Language Modelscited by 15
- 2025Generating Computational Cognitive Models using Large Language Modelscited by 12
- 2025Should You Use Your Large Language Model to Explore or Exploit?cited by 8
- 2024Large Language Models are Biased Reinforcement Learnerscited by 5
- 2025Cognitive models can reveal interpretable value trade-offs in language modelscited by 3
- 2025Large Language Models as Search Engines: Societal Challengescited by 3
- 2025Meta-learning ecological priors from large language models explains human learning and decision makingcited by 2
- 2026Conflict and Congruency Effects in Large Language Models: In-Weight and In-Context Competition in a Verbal Conflict Taskcited by 0
- 2026Conflict and Congruency Effects in Large Language Models: In-Weight and In-Context Competition in a Verbal Conflict Task11 Aug 2026
- 2025Large Language Models as Search Engines: Societal Challenges24 Nov 2025
- 2025Meta-learning ecological priors from large language models explains human learning and decision making28 Aug 2025
- 2025Cognitive models can reveal interpretable value trade-offs in language models25 Jun 2025
- 2025Generating Computational Cognitive Models using Large Language Models2 Feb 2025
- 2025Should You Use Your Large Language Model to Explore or Exploit?31 Jan 2025
- 2024Sparse Autoencoders Reveal Temporal Difference Learning in Large Language Models2 Oct 2024
- 2024Large Language Models are Biased Reinforcement Learners19 May 2024
- 2024Can large language models explore in-context?22 Mar 2024
Similar, not cited
Close in wording, no citation either way
- 2026In-Context Reinforcement Learning under Non-Stationarity: A Survey
- 2025Do Large Language Models Know What They Are Capable Of?
- 2025Reward Is Enough: LLMs Are In-Context Reinforcement Learners
- 2025Accumulating Context Changes the Beliefs of Language Models
- 2026Unrewarded Exploration in Large Language Models Reveals Latent Learning from Psychology
- 2026When Does Continual Learning Require Learning
- 2026Dynamic Theory of Mind as a Temporal Memory Problem: Evidence from Large Language Models
- 2025The Path of Self-Evolving Large Language Models: Achieving Data-Efficient Learning via Intrinsic Feedback