Tight Performance Bounds for Approximate Modified Policy Iteration with Non-Stationary Policies

Boris Lesner, Bruno ScherrerarXiv 2013

Abstract

Standard reinforcement learning theory posits that optimal policies for infinite-horizon Markov Decision Processes (MDPs) are stationary. However, in the context of Approximate Dynamic Programming (ADP), where approximation errors are inevitable, stationary policies can lead to pessimistic performance bounds that scale quadratically with the effective horizon. This paper demonstrates that using non-stationary, periodic policies in approximate Modified Policy Iteration (MPI) significantly improves performance guarantees. By maintaining a memory of the last $\ell$ policies, the authors achieve a bound that is tighter by a factor of $O(1-\gamma)$. Furthermore, they prove the mathematical tightness of this new bound using a custom-built deterministic MDP.

Introduction

In infinite-horizon MDPs, while optimal stationary policies exist, practical implementations often rely on Approximate Dynamic Programming (ADP) due to large state spaces. Algorithms like Value Iteration (VI) and Policy Iteration (PI) introduce approximation errors (e.g., from function approximation) that propagate through iterations. Standard performance bounds for these algorithms typically include a term proportional to $1/(1-\gamma)^2$, where $\gamma$ is the discount factor. As $\gamma$ approaches 1, these bounds become excessively loose, offering little practical assurance for long-horizon tasks. This research investigates whether non-stationary policies can mitigate this error accumulation and provide more reliable guarantees.

Methodology: Non-Stationary Modified Policy Iteration

The authors propose a non-stationary variant of Modified Policy Iteration (MPI). MPI generalizes VI and PI by alternating between a greedy policy update and a partial policy evaluation (applying the Bellman operator $m$ times).

The key innovation lies in the output policy. Instead of returning the most recent stationary policy $\pi_k$, the algorithm outputs a periodic non-stationary policy $\pi_{k,\ell}$. This policy cycles through the sequence of the last $\ell$ generated policies $(\pi_k, \pi_{k-1}, \dots, \pi_{k-\ell+1})$ in reverse order.

  1. Greedy Step: Generate a new policy $\pi_{k+1}$ that is greedy with respect to the current value estimate $v_k$.
  2. Evaluation Step: Update the value estimate $v_{k+1}$ by applying the Bellman operator of the non-stationary periodic policy $m$ times, plus an approximation error term $\epsilon_k$.

When $\ell=1$, the algorithm reduces to standard MPI. Increasing $\ell$ introduces "memory" into the decision-making process, allowing the agent to effectively average out approximation errors over the cycle.

Theoretical Results and Tightness

The primary theoretical contribution is a new performance bound. The loss $\|v_* - v_{\pi_{k,\ell}}\|_\infty$ is shown to be bounded by a term proportional to $\frac{2\epsilon}{(1-\gamma)(1-\gamma^\ell)}$. By choosing an optimal memory length $\ell \approx 1/(1-\gamma)$, the error constant improves from $O(1/(1-\gamma)^2)$ to $O(1/(1-\gamma))$. This represents a massive improvement for problems with long horizons.

To prove that this bound is the best possible, the authors construct a specific deterministic MDP. This MDP, illustrated in Figure 1, features a chain of states where suboptimal actions lead to a reward structure that perfectly mirrors the theoretical worst-case error propagation, confirming that the bound is mathematically tight.

The deterministic MDP used to prove that the performance bound is tight.

Empirical Validation

Beyond theoretical proofs, the authors evaluate the approach on the Dynamic Location Problem, a classic benchmark involving a repairman optimizing travel and service costs between $n$ sites. The results indicate that increasing the memory $\ell$ not only improves average performance but also significantly reduces the variance of the performance across different runs. This suggests that non-stationarity adds a layer of robustness against approximation noise, preventing the agent from getting "trapped" by localized errors.

Conclusion and Limitations

This work provides a unified framework for analyzing non-stationary versions of VI, PI, and MPI. By leveraging periodic policies, one can achieve significantly tighter performance guarantees in approximate settings. While this requires additional memory to store $\ell$ policies, the trade-off is a substantial improvement in the reliability of the resulting policy, especially in long-horizon problems where the discount factor is near unity.

Future work may address the memory overhead for extremely large-scale problems and the development of automated methods for tuning the hyperparameters $m$ (evaluation steps) and $\ell$ (memory length) during the training process.

Summary updated

BibTeX
@misc{lesner2013tight,
  author = {Boris Lesner and Bruno Scherrer},
  title = {{Tight Performance Bounds for Approximate Modified Policy Iteration with Non-Stationary Policies}},
  year = {2013},
  eprint = {1304.5610},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1304.5610},
}
Figure