Survey on In-Context RL in Non-Stationary Environments

A Run, Ziluo Ding· July 15, 2026 View original

Summary

This survey examines In-Context Reinforcement Learning (ICRL) in non-stationary environments, where agents must adapt to changing conditions without updating policy parameters. It defines non-stationary ICRL and organizes the literature around how environments change, how changes unfold, and their observability to the agent.

Recent advancements in areas like decision-pretrained transformers and meta-RL have reignited interest in In-Context Reinforcement Learning (ICRL). ICRL refers to an agent's ability to infer task rules and improve its behavior using only interaction context, without requiring explicit parameter updates during deployment. While existing ICRL surveys focus on aspects like architectures and pretraining, the critical challenge of non-stationary environments has been less explored. This paper provides a comprehensive survey specifically on ICRL in non-stationary settings. In such dynamic environments, accumulated context can become outdated or misleading as reward structures, transition dynamics, or observation channels shift. The survey defines non-stationary ICRL as the problem where a fixed-parameter policy must infer both the current decision rule and which parts of its historical context remain relevant. It systematically categorizes the literature by addressing what environmental aspects change, how these changes evolve, and the extent to which an agent can observe them.

Why it matters

Developing robust RL agents for real-world applications requires them to adapt to constantly changing environments. This survey provides a crucial framework for understanding and advancing ICRL in these complex, non-stationary conditions.

How to implement this in your domain

  1. 1Consult: Refer to this survey to understand the challenges and current approaches for ICRL in non-stationary settings.
  2. 2Design: Incorporate considerations for non-stationarity when designing and evaluating new ICRL algorithms and architectures.
  3. 3Research: Focus on developing ICRL methods that can effectively discern relevant context from stale information in dynamic environments.
  4. 4Evaluate: Develop new evaluation metrics and benchmarks that specifically test ICRL agents' adaptability to various types of environmental shifts.

Who benefits

Autonomous SystemsRoboticsLogisticsGamingAI Research

Key takeaways

  • In-Context Reinforcement Learning (ICRL) is gaining renewed interest for its adaptability.
  • Non-stationary environments pose unique challenges for ICRL, making context management critical.
  • Agents must infer current decision rules and identify relevant historical context.
  • The survey categorizes non-stationary ICRL by change type, unfolding, and observability.

Original post by A Run, Ziluo Ding

"arXiv:2607.11906v1 Announce Type: new Abstract: The development of decision-pretrained transformers, algorithm distillation, long-context meta-RL, and retrieval-augmented agents has renewed interest in in-context reinforcement learning (ICRL): the ability of a pretrained or fine-…"

View on X

Originally posted by A Run, Ziluo Ding on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses