mlsanityData to 7 Oct 2026

Do LLMs Learn from Rewards in Context? : Rethinking the role of reward in In-Context Reinforcement Learning

arXiv 2610.11152 ↗First posted 8 Oct 2026cs.LG cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

LLM agents increasingly improve at inference time by accumulating experience in context rather than by updating parameters. This process is often described as in-context reinforcement learning (ICRL). Whether in-context learning (ICL) can actually play the role of RL, however, has not been tested. We study this question in its simplest form, direct ICRL, where the model conditions directly on raw trajectory-reward pairs, and ask whether the reward acts as a learning signal. Through controlled experiments on four benchmarks across six models, we find that the reward is read, but its effect is small: flipping, randomizing, or removing the reward leaves the improvement curve almost unchanged, and this holds even under meta-prompts that explicitly instruct the model to explore, exploit, or reason over rewards. Trajectories drive improvement, but not through their semantic content: shuffled or corrupted trajectories work as well as real ones. These patterns closely mirror those known in ICL, suggesting that direct ICRL is better understood as a special case of ICL than as inference-time RL. This reframing has implications for agent memory design: ICL factors such as input distribution and demonstrations may matter more than RL elements such as reward shaping and exploration.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 16 of its 29 references that are in the map. First posted on arXiv 8 Oct 2026.

Builds on

16 of 29 references.

References · 16

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2025Qwen3 Technical Reportcited by 8,195
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  4. 2021Program Synthesis with Large Language Modelscited by 3,509
  5. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
  6. 2022In-context Learning and Induction Headscited by 930
  7. 2024Training Language Models to Self-Correct via Reinforcement Learningcited by 405
  8. 2023Larger language models do in-context learning differentlycited by 386
  9. 2024Agent Workflow Memorycited by 342
  10. 2022In-context Reinforcement Learning with Algorithm Distillationcited by 186
  11. 2025Reward Is Enough: LLMs Are In-Context Reinforcement Learnerscited by 29
  12. 2024In-Context Decision Transformer: Reinforcement Learning via Hierarchical Chain-of-Thoughtcited by 25
4 more
  1. 2025From Experience to Strategy: Empowering LLM Agents with Trainable Graph Memorycited by 16
  2. 2025Negation: A Pink Elephant in the Large Language Models' Room?cited by 7
  3. 2025Filtering Learning Histories Enhances In-Context Reinforcement Learningcited by 3
  4. 2025In-Context Reinforcement Learning via Communicative World Modelscited by 3

Built on by

Not cited yet.