Lune

ICLR2022Top-tier venue

Reinforcement Learning in Presence of Discrete Markovian Context Evolution

Hang Ren, Aivar Sootla, Taher Jafferjee, Junxiao Shen, Jun Wang, Haitham Bou-Ammar

Abstract

We consider a context-dependent Reinforcement Learning (RL) setting, which is characterized by: a) an unknown finite number of not directly observable contexts; b) abrupt (discontinuous) context changes occurring during an episode; and c) Markovian context evolution. We argue that this challenging case is often met in applications and we tackle it using a Bayesian approach and variational inference. We adapt a sticky Hierarchical Dirichlet Process (HDP) prior for model learning, which is arguably best-suited for Markov process modeling. We then derive a context distillation procedure, which identifies and removes spurious contexts in an unsupervised fashion. We argue that the combination of these two components allows to infer the number of contexts from data thus dealing with the context cardinality assumption. We then find the representation of the optimal policy enabling efficient policy learning using off-the-shelf RL algorithms. Finally, we demonstrate empirically (using gym environments cart-pole swing-up, drone, intersection) that our approach succeeds where state-of-the-art methods of other frameworks fail and elaborate on the reasons for such failures.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Online Reinforcement Learning in Non-Stationary Context-Driven Environments cites Optimizing for the Future in Non-Stationary MDPs
  • Online Reinforcement Learning in Non-Stationary Context-Driven Environments cites An Adaptive Deep RL Method for Non-Stationary Environments with Piecewise Stable Context
  • Online Reinforcement Learning in Non-Stationary Context-Driven Environments cites Task-Agnostic Online Reinforcement Learning with an Infinite Mixture of Gaussian Processes
  • An Adaptive Deep RL Method for Non-Stationary Environments with Piecewise Stable Context cites Optimizing for the Future in Non-Stationary MDPs
  • Building a Subspace of Policies for Scalable Continual Learning cites Task-Agnostic Online Reinforcement Learning with an Infinite Mixture of Gaussian Processes
  • Wavelet Predictive Representations for Non-Stationary Reinforcement Learning cites An Adaptive Deep RL Method for Non-Stationary Environments with Piecewise Stable Context
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. An Adaptive Deep RL Method for Non-Stationary Environments with Piecewise Stable ContextXiaoyu Chen, Xiangming Zhu, Yufeng Zheng, Pushi Zhang et al.NeurIPS 2022 · 24 citations
  2. Building a Subspace of Policies for Scalable Continual LearningJean-Baptiste Gaya, Thang Doan, Lucas Caccia, Laure Soulier et al.ICLR 2023 · 3 citations
  3. Online Reinforcement Learning in Non-Stationary Context-Driven EnvironmentsPouya Hamadanian, Arash Nasr-Esfahany, Malte Schwarzkopf, Siddhartha Sen et al.ICLR 2025
  4. Wavelet Predictive Representations for Non-Stationary Reinforcement LearningMin Wang, Xin Li, Ye He, Yao-Hui Li et al.ICLR 2026

Builds on6

  1. Image Augmentation Is All You Need: Regularizing Deep Reinforcement Learning from PixelsDenis Yarats, Ilya Kostrikov, Rob FergusICLR 2021 · 911 citations
  2. VariBAD: A Very Good Method for Bayes-Adaptive Deep RL via Meta-LearningLuisa M. Zintgraf, Kyriacos Shiarlis, Maximilian Igl, Sebastian Schulze et al.ICLR 2020 · 315 citations
  3. Invariant Causal Prediction for Block MDPsAmy Zhang, Clare Lyle, Shagun Sodhani, Angelos Filos et al.ICML 2020 · 153 citations
  4. Optimizing for the Future in Non-Stationary MDPsYash Chandak, Georgios Theocharous, Shiv Shankar, Martha White et al.ICML 2020 · 72 citations
  5. Task-Agnostic Online Reinforcement Learning with an Infinite Mixture of Gaussian ProcessesMengdi Xu, Wenhao Ding, Jiacheng Zhu, Zuxin Liu et al.NeurIPS 2020 · 39 citations

Related papers

  1. Behavior-agnostic Task Inference for Robust Offline In-context Reinforcement LearningLong Ma, Fangwei Zhong, Yizhou WangICML 2025
  2. MetaCARD: Meta-Reinforcement Learning with Task Uncertainty Feedback via Decoupled Context-Aware Reward and Dynamics ComponentsMin Wang, Xin Li, Leiji Zhang, Mingzhong WangAAAI 2024 · 6 citations
  3. Dynamics-Aligned Latent Imagination in Contextual World Models for Zero-Shot GeneralizationFrank Röder, Jan Benad, Manfred Eppe, Pradeep Kr. BanerjeeNeurIPS 2025 · 9 citations
  4. Distilling Reinforcement Learning Algorithms for In-Context Model-Based PlanningJaehyeon Son, Soochan Lee, Gunhee KimICLR 2025
  5. Behaviour DistillationAndrei Lupu, Chris Lu, Jarek Liesen, Robert Tjarko Lange et al.ICLR 2024 · 8 citations
Dusk over the sea between two cliffs drawn in fine vertical lines