On the Use of Non-Stationary Policies for Stationary Infinite-Horizon Markov Decision Processes

Bruno Scherrer, Boris Lesner

Introduction: The Hidden Cost of Stationarity

In infinite-horizon discounted Markov Decision Processes (MDPs), the existence of an optimal stationary policy is a fundamental result. Consequently, most Reinforcement Learning (RL) algorithms, such as Value Iteration (VI), focus exclusively on finding a single best policy that maps states to actions consistently over time. However, this paper demonstrates that when approximation errors are present—as is almost always the case in practical Approximate Value Iteration (AVI)—the insistence on stationarity leads to a significant and avoidable performance penalty.

The Quadratic Error Overhead

When running AVI with a calculation error $\epsilon$ at each step, the performance loss of the resulting stationary policy is bounded by a term proportional to $\frac{\gamma}{(1-\gamma)^2}\epsilon$. Here, $\gamma$ represents the discount factor. As $\gamma$ approaches 1 (representing long-term horizons), the $(1-\gamma)^2$ denominator causes the error bound to explode.

A key contribution of this work is proving that this pessimistic bound is not just a mathematical artifact but is indeed "tight." The author constructs a deterministic MDP chain to show that a stationary policy can truly suffer from this quadratic error overhead.

Breaking the Rule: Periodic Non-Stationary Policies

The paper proposes a paradigm shift: instead of selecting the final stationary policy $\pi_k$ from VI, we should use a non-stationary policy $\pi_{k,m}$ that cycles through the last $m$ policies generated by the algorithm ($\pi_k, \pi_{k-1}, \dots, \pi_{k-m+1}$).

By cycling through these policies, the algorithm prevents the "worst-case" errors of a single stationary policy from compounding indefinitely. This approach essentially "averages out" the greediness of individual steps, leading to a much more favorable error propagation profile.

Figure 2: Visualization of error accumulation across states in the counter-example MDP, illustrating the mechanism behind the performance loss.

Key Results and Practical Impact

The theoretical analysis (Theorem 2) reveals that the error guarantee for this cycling policy is improved by a factor of $\frac{1-\gamma}{1-\gamma^m}$. In the limit where we use all policies generated since the start ($m=k$), the asymptotic error bound drops from quadratic to linear: $\frac{\gamma}{1-\gamma}\epsilon$.

To put this in perspective, consider a discount factor of $\gamma = 0.99$:

  • Standard Stationary Bound: Multiplier of approximately 10,000.
  • New Non-Stationary Bound: Multiplier of approximately 100.

This represents a 100x improvement in the guaranteed quality of the solution simply by changing how we execute the policies already computed by Value Iteration.

Limitations and Future Outlook

While the theoretical gains are substantial, practical implementation requires storing $m$ different policies, which may introduce memory overhead in very large state spaces. Additionally, executing a time-varying periodic policy is slightly more complex than a standard lookup table. Future research could explore whether similar "cycling" benefits apply to other popular frameworks like Policy Iteration or Deep Q-Learning, where approximation errors are inherent to the use of neural networks.

Summary updated

BibTeX
@inproceedings{scherrer2012use,
  author = {Bruno Scherrer and Boris Lesner},
  title = {{On the Use of Non-Stationary Policies for Stationary Infinite-Horizon Markov Decision Processes}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2012},
  url = {https://openreview.net/forum?id=BkW3GD-O-S},
}
Figure