Concentration bounds for SSP Q-learning for average cost MDPs

Shaan Ul Haque, Vivek S. BorkararXiv 2022 · DOI · arXiv

Introduction

In Reinforcement Learning (RL), while discounted reward models are standard in textbooks, many real-world applications—such as telecommunications and manufacturing—are more naturally modeled as average-cost Markov Decision Processes (MDPs). These systems prioritize long-term steady-state performance over immediate gains. However, average-cost MDPs present significant analytical challenges because the associated Bellman operator is not a contraction, making it difficult to derive formal concentration bounds or finite-time convergence guarantees.

The SSP Reformulation

To address these challenges, this research explores an alternative formulation: converting the average-cost problem into an equivalent Stochastic Shortest Path (SSP) problem. Unlike the standard average-cost Bellman operator, the SSP operator exhibits contractive properties. This mathematical shift allows for a more rigorous finite-time analysis of Q-learning algorithms.

The authors analyze a "coupled iteration" algorithm that simultaneously updates two parameters:

  1. Q-factors ($x_n$): Estimates of the long-term cost associated with specific state-action pairs.
  2. Average Cost ($\lambda_n$): A running estimate of the optimal steady-state cost per step.

Theoretical Contributions

The primary contribution of this work is the derivation of the first formal concentration bounds for SSP Q-learning. By applying concentration inequality tools for stochastic approximation with Markov noise, the authors prove that the error in both Q-factors and average cost estimates decays exponentially in probability. Specifically, Theorem 1 establishes that the probability of the error exceeding a threshold $\delta$ at step $n$ is bounded by a term proportional to $e^{-D\delta^2 / \beta(n)}$, where $\beta(n)$ relates to the learning rate. This provides a theoretical guarantee that the algorithm will reliably converge as more data is collected.

Empirical Results and the Theory-Practice Gap

Despite the theoretical advantages of the SSP formulation for proving convergence, numerical simulations reveal a notable gap between theory and practical performance. The authors compared SSP Q-learning against the popular Relative Value Iteration (RVI) Q-learning in two synthetic environments: a well-connected 20-state MDP and a sparser version with 50% of transitions removed.

Figure 1(a): Squared norm error in a well-connected 20-state MDP. SSP Q-learning (green) exhibits significant oscillations compared to the smoother RVI (blue).

As shown in Figure 1(a), SSP Q-learning is highly sensitive to the running estimate of the average cost ($\lambda$). Small inaccuracies in $\lambda$ cause the Q-factors to oscillate wildly before eventually settling. In contrast, RVI Q-learning converges much faster and more smoothly in well-connected graphs.

Figure 1(b): Squared norm error in a sparse 20-state MDP. The performance gap between RVI and SSP narrows as connectivity decreases.

However, as the graph connectivity becomes sparser (Figure 1(b)), the performance gap between the two methods narrows. This suggests that while RVI is generally superior in rapidly mixing environments, the SSP approach may offer more robustness in specific topological structures, aligning with its theoretical contractive nature.

Conclusion and Future Work

This work bridges a gap in RL theory by providing finite-time guarantees for average-cost MDPs via the SSP framework. While the current SSP algorithm suffers from oscillatory behavior due to its sensitivity to the average cost parameter, its theoretical tractability is a significant step forward. Future research will focus on mitigating these oscillations through better parameter tuning and extending these concentration bounds to high-dimensional spaces using function approximation techniques like Deep Q-Networks.

Summary updated

BibTeX
@misc{haque2022concentration,
  author = {Shaan Ul Haque and Vivek S. Borkar},
  title = {{Concentration bounds for SSP Q-learning for average cost MDPs}},
  year = {2022},
  eprint = {2206.03328},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.03328},
}
Figure