Decision Making in Non-Stationary Environments with Policy-Augmented Search

Ava Pettet, Yunuo Zhang, Baiting Luo, Kyle Hollins Wray, Hendrik Baier, Aron Laszka, Abhishek Dubey, Ayan Mukhopadhyay

Abstract

In real-world applications such as autonomous driving and emergency response, environments are often non-stationary, with dynamics that shift faster than reinforcement learning (RL) policies can be retrained. This paper introduces Policy-Augmented Monte Carlo Tree Search (PA-MCTS), a hybrid framework that combines pre-trained "stale" policies with real-time online search. By leveraging a convex combination of action-value estimates from both sources, PA-MCTS maintains high performance and robustness even when the underlying environment dynamics change significantly. Experimental results across multiple OpenAI Gym environments demonstrate that PA-MCTS outperforms standard RL and search-based baselines in both efficiency and decision quality.

Introduction

Most contemporary AI agents are developed under the assumption of stationarity—the rules and dynamics of the environment remain constant. However, real-world conditions like road congestion, weather, or mechanical wear introduce non-stationarity. Standard RL produces fast, reactive policies that become sub-optimal when these shifts occur. Conversely, online search methods like Monte Carlo Tree Search (MCTS) are robust to change because they plan from scratch using a simulator, but they often struggle to converge within the tight time constraints of real-time decision-making.

PA-MCTS bridges this gap by answering a critical question: how can we utilize an existing, slightly inaccurate policy to guide a limited-time search in a newly modified environment?

Methodology

PA-MCTS treats the pre-trained policy as a "black-box" prior. Unlike AlphaZero, which integrates policy guidance deep within the search tree, PA-MCTS performs a standard MCTS search and then combines the resulting action-value estimates ($\bar{G}$) with the action-values from a pre-trained policy ($Q$) using a convex combination:

$$\text{arg max}_{a \in A_s} \alpha Q_0^{\pi^*}(s, a) + (1 - \alpha) \bar{G}_t(s, a)$$

The Trust Dial ($\alpha$)

The hyperparameter $\alpha$ serves as a balance between the two estimates. A high $\alpha$ relies on the historical policy, while a low $\alpha$ prioritizes the new search results. The authors provide theoretical proofs showing that even with a stale policy, this combination can select optimal actions and has a bounded error relative to an ideal, up-to-date policy. Furthermore, they propose a dynamic "Alpha Sweep" method to select the optimal $\alpha$ on-the-fly using minimal MCTS iterations.

Experimental Setup

The approach was evaluated on four modified OpenAI Gym environments designed to induce non-stationarity:

  • CartPole: Varied gravity constants and pole mass.
  • Frozen Lake: Varied transition probabilities (slipperiness).
  • Cliff Walking: Varied slipperiness to introduce risk-reward trade-offs.
  • Lunar Lander: Introduced varying wind power.
Figure 1: A visualization of the grid-based environments used for testing, such as Frozen Lake or Cliff Walking.

Key Results

PA-MCTS demonstrated significant advantages over pure RL (DDQN), pure MCTS, and AlphaZero across all test cases.

Figure 5: Comparative performance of PA-MCTS against baselines across various non-stationary settings. Bold values indicate the best performance.

Performance and Robustness

In non-stationary versions of CartPole and Lunar Lander, PA-MCTS maintained near-maximum rewards while pure RL performance collapsed. As shown in the results table, PA-MCTS consistently achieved the highest scores, particularly in high-variance settings where other methods failed to adapt.

Efficiency

PA-MCTS converged to optimal decisions significantly faster than standard MCTS. In high-gravity CartPole scenarios, it reached peak performance with roughly one-third the iterations required by AlphaZero. Additionally, running PA-MCTS is orders of magnitude faster than retraining a neural network; a 25-iteration run took approximately 10 seconds, compared to over 7 minutes for retraining a DQN.

Conclusion

PA-MCTS offers a simple yet powerful framework for decision-making in changing environments. By treating stale policies as useful priors rather than obsolete data, it achieves a balance of speed and robustness. Future work will explore extending this formulation to continuous action spaces and automating the update of generative models from real-time sensor data.

Summary updated

BibTeX
@inproceedings{pettet2024decision,
  author = {Ava Pettet and Yunuo Zhang and Baiting Luo and Kyle Hollins Wray and Hendrik Baier and Aron Laszka and Abhishek Dubey and Ayan Mukhopadhyay},
  title = {{Decision Making in Non-Stationary Environments with Policy-Augmented Search}},
  booktitle = {AAMAS},
  year = {2024},
  url = {https://openreview.net/forum?id=FZU9zYsUHw},
}
Figure