In-context learning agents are asymmetric belief updaters
Johannes A. Schubert, Akshay K. Jagadish, Marcel Binz, Eric Schulz
TL;DR
The paper investigates how in-context learning updates beliefs in LLMs solving 2AFC tasks, revealing an asymmetric optimism bias for chosen outcomes that depends on agency and feedback framing. By fitting Rescorla-Wagner–style models ($\alpha^+$, $\alpha^-$; and RW±) to LLMs, humans, and Meta-RL agents, the authors show that partial feedback induces positive-updating bias, whereas full feedback shifts updating for unchosen options toward negative prediction errors, consistent with confirmation bias. Agency modulates these effects: asymmetric updating disappears without agency and re-emerges when agency is present, with Meta-RL agents displaying analogous patterns. These findings suggest that how a problem is framed rationally shapes in-context learning and offer a methodological approach to diagnose learning dynamics in artificial agents.
Abstract
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.
