Predictive Control and Regret Analysis of Non-Stationary MDP with Look-ahead Information

Ziyi Zhang, Yorie Nakahira, Guannan Qu · OpenReview

Abstract

Policy design in non-stationary Markov Decision Processes (MDPs) is inherently challenging due to the complexities introduced by time-varying system transition and reward, which make it difficult for learners to determine the optimal actions for maximizing cumulative future rewards. Fortunately, in many practical applications, such as energy systems, look-ahead predictions are available, including forecasts for renewable energy generation and demand. In this paper, we leverage these look-ahead predictions and propose an algorithm designed to achieve low regret in non-stationary MDPs by incorporating such predictions. Our theoretical analysis demonstrates that, under certain assumptions, the regret decreases exponentially as the look-ahead window expands. When the system prediction is subject to error, the regret does not explode even if the prediction error grows sub-exponentially as a function of the prediction horizon. We validate our approach through simulations, confirming the efficacy of our algorithm in non-stationary environments.

Introduction

Most Reinforcement Learning (RL) frameworks assume a stationary environment where transition probabilities and rewards remain constant. However, real-world applications—ranging from energy grid management to network traffic control—are often non-stationary. In these settings, the rules of the environment change over time, making traditional optimal policies obsolete.

A common human strategy for navigating such uncertainty is the use of forecasts. For instance, a solar farm operator uses weather predictions to plan energy storage. This paper investigates how to formally integrate such "look-ahead" information into decision-making for non-stationary MDPs. The authors address a fundamental question: how much does a forecast help, and what level of accuracy is required to maintain performance?

Methodology: Model Predictive Dynamical Programming (MPDP)

The authors introduce Model Predictive Dynamical Programming (MPDP), an algorithm that bridges Model Predictive Control (MPC) and discrete stochastic MDPs. MPDP operates on a receding horizon principle: at each time step, it uses a forecast of length $k$ to compute an optimal sequence of actions but only executes the immediate next step.

Algorithm 1: Model predictive dynamical programming (MPDP)

The algorithm follows three main steps:

  1. Forecast: Receive predictions for transitions $\hat{P}$ and rewards $\hat{r}$ for the next $k$ steps.
  2. Planning: Use dynamic programming to estimate the optimal action $a_t$ based on the $k$-step horizon.
  3. Execution: Execute $a_t$, observe the new state $s_{t+1}$, and repeat with a shifted window.

The theoretical foundation of MPDP relies on the span semi-norm and J-stage contraction. The authors prove that the Bellman operator contracts over time, implying that errors in distant future predictions have a diminishing impact on current decisions.

Experimental Evaluation

The efficacy of MPDP was tested in two simulated environments:

  • Queueing Systems: A data center model with three servers and time-varying job arrival rates. MPDP effectively managed queue lengths during "rush hour" spikes.
  • Electric Vehicle (EV) Charging: A station minimizing costs under fluctuating energy prices. MPDP successfully "time-shifted" charging to low-cost periods while meeting departure deadlines.

In both scenarios, MPDP was compared against benchmarks like Fast Available Server (FAS), RSRT, and NS-NAC. Results showed that MPDP with a horizon $k \ge 10$ consistently outperformed these baselines.

Key Insights and Results

The study yields several critical insights:

  • Exponential Regret Decay: Regret decreases exponentially with the prediction horizon $k$. Specifically, the bound is $R(\text{MPDP}) \leq T \gamma^{\lfloor k/J \rfloor} D$, where $\gamma < 1$ is a contraction factor.
  • Robustness to Prediction Error: The algorithm is robust to imperfect forecasts. As long as prediction errors grow sub-exponentially relative to the horizon, the regret remains bounded.
  • Near-Term Sensitivity: Decisions are more sensitive to immediate forecasts than distant ones, aligning with the nature of real-world forecasting accuracy.
  • Sublinear Regret: By scaling the horizon logarithmically ($k = O(\log T)$), the agent achieves sublinear regret, asymptotically matching the performance of an omniscient controller.

Conclusion and Future Work

MPDP provides a robust framework for non-stationary MDPs by leveraging look-ahead information. While the current work assumes uniform ergodicity and full forecasts for both rewards and transitions, it sets the stage for future extensions. Potential areas for further research include relaxing ergodicity assumptions, handling partial observability (POMDPs), and scenarios where only partial forecasts are available.

Summary updated

BibTeX
@article{zhang2025predictive,
  author = {Ziyi Zhang and Yorie Nakahira and Guannan Qu},
  title = {{Predictive Control and Regret Analysis of Non-Stationary MDP with Look-ahead Information}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=uObs1YwXjQ},
}
Figure