2023ICML

Robust Situational Reinforcement Learning in Face of Context Disturbances

Jinpeng Zhang, Yufeng Zheng, Chuheng Zhang, Li Zhao, Lei Song, Yuan Zhou, and Jiang Bian

Ask about this paper

Summary

Many decisions depend on conditions the decision-maker cannot control, such as customer demand in inventory control or the speed of the car ahead when driving. policies trained on how these conditions usually evolve can fail when that evolution shifts after deployment.

Rather than guarding against any change in the whole environment, which is overly cautious, this paper guards only against shifts in how the uncontrollable conditions, the contexts, evolve. It models a small chance that the next context follows an arbitrary distribution and learns values for the worst case. Because the exact worst case is intractable for large context spaces, it uses a smoothed minimum with a bounded error, and builds RS-SAC (robust situational SAC) by changing only the critic update of (SAC).

Key results

  • RS-SAC is the most robust of the compared methods on control tasks with perturbed context dynamics.
  • In inventory control built from real demand data, it raises orders ahead of rare demand spikes where standard SAC under-orders.
  • Searching for the worst case only near observed contexts works better than searching the whole context space.
Abstract (from the paper)

In many real-world tasks, the presence of dynamic and uncontrollable environmental factors, commonly referred to as context, plays a crucial role in the decision-making process. Examples of such factors include customer demand in inventory control and the speed of the lead car in autonomous driving. One of the challenges of reinforcement learning in these applications is that the true context transitions can be easily exposed to some unknown source of contamination, leading to a shift of context transitions between source domains and target domains, which could cause performance degradation for RL algorithms. To tackle this problem, we propose the robust situational Markov decision process (RS-MDP) framework which captures the possible deviations of context transitions explicitly. To scale to large context space, we introduce the softmax smoothed robust Bellman operator to learn the robust Q-value approximately, and extend existing RL algorithm SAC to learn the desired robust policies under our RS-MDP framework. We conduct experiments on several locomotion tasks with dynamic contexts and inventory control tasks to demonstrate that our algorithm can generalize better and be more robust against context disturbances, and outperform existing basic RL algorithms that do not consider robustness and robust RL algorithms that consider robustness over the whole state transitions.