Mixing-Time Regularized Policy Gradient

Tetsuro Morimura, Takayuki Osogami, Tomoyuki ShiraiAAAI 2014

Abstract

Policy gradient reinforcement learning (PGRL) has been receiving substantial attention as a mean for seeking stochastic policies that maximize cumulative reward. However, the learning speed of PGRL is known to decrease substantially when PGRL explores the policies that give the Markov chains having long mixing time. We study a new approach of regularizing how the PGRL explores the policies by the use of the hitting time of the Markov chains. The hitting time gives an upper bound on the mixing time, and the proposed approach improves the learning efficiency by keeping the mixing time of the Markov chains short. In particular, we propose a method of temporal-difference learning for estimating the gradient of the hitting time. Numerical experiments show that the proposed method outperforms conventional methods of PGRL.

Introduction

Policy Gradient Reinforcement Learning (PGRL) is a cornerstone of modern reinforcement learning, aiming to optimize stochastic policies by following the gradient of expected cumulative rewards. Despite its success, PGRL often suffers from slow convergence or complete stagnation. A primary cause is the exploration of policies that result in "slow-mixing" Markov chains. In such cases, the time required for the state distribution to reach stationarity—the mixing time—is excessively long. This leads to high bias and variance in gradient estimates, causing the agent to stall on performance plateaus for thousands of steps.

Methodology

To address this, we introduce Mixing-Time Regularized Policy Gradient. The core innovation is the use of the hitting time of a Markov chain as a regularization term. Hitting time, specifically the worst-case expected time to transition between any two states, serves as a computationally tractable upper bound for the Cesàro mixing time. By penalizing long hitting times, we prevent the agent from wandering into regions of the policy space where gradient estimation becomes unreliable.

The regularized policy update is defined as: $$\theta_{t+1} = \theta_t + \alpha_t G_{\theta_t} \nabla \eta(\theta_t) - \lambda_t \nabla h^*(\theta_t)$$ where $\nabla \eta$ is the reward gradient and $\nabla h^*$ is the gradient of the hitting time. We propose two implementation strategies:

  • Option 1: Employs a decaying regularization parameter $\lambda_t$ to ensure asymptotic convergence to a local optimum.
  • Option 2: A heuristic approach where regularization is active only when the current average reward falls below a specified target threshold.

To estimate the hitting time and its gradient efficiently, we derive a Temporal-Difference (TD) learning method, allowing for "on-the-fly" estimation during agent-environment interaction.

Experimental Evaluation

We evaluated the proposed methods using a two-state Markov Decision Process (MDP) benchmark. This environment, though simple, is a standard stress test for PGRL because it contains regions of the policy space with extremely long mixing times that typically cause algorithms like GPOMDP and Natural Policy Gradient (NPG) to fail.

Results and Discussion

Our experiments demonstrate that hitting-time regularization effectively prevents the agent from entering slow-mixing regions, thereby maintaining high-quality gradient estimates and accelerating learning.

Average reward over time steps for different methods. The proposed methods (Option 1 and 2) significantly outperform standard Policy Gradient and Natural Policy Gradient by avoiding long-term plateaus.

As shown in the learning curves above, standard PGRL and NPG remain trapped on a performance plateau for over 10,000 steps when initialized in a slow-mixing region. In contrast, the regularized methods escape these plateaus rapidly. Option 2, the reward-targeted heuristic, shows particularly fast convergence, reaching optimal performance almost immediately.

Success rate surfaces across initial policy parameters. The proposed methods (A, B) show much higher robustness to initialization compared to standard PGRL (C) and NPG (D).

The success rate surfaces further highlight the robustness of our approach. While standard methods fail across a large portion of the initial parameter space (the dark regions in plots C and D), the regularized methods maintain a high success rate across nearly the entire space. This indicates that the regularization acts as a "guardrail," ensuring stable learning regardless of the initial policy.

Conclusion

Mixing-time regularization provides a principled way to improve the efficiency and robustness of policy gradient methods. By penalizing policies with long hitting times, we ensure that the underlying Markov chains remain fast-mixing, which is crucial for accurate gradient estimation. While currently demonstrated on discrete MDPs, future work will explore scaling these techniques to high-dimensional and continuous state spaces using function approximation.

Summary updated

BibTeX
@inproceedings{morimura2014mixing,
  author = {Tetsuro Morimura and Takayuki Osogami and Tomoyuki Shirai},
  title = {{Mixing-Time Regularized Policy Gradient}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2014},
  url = {https://openreview.net/forum?id=S1bnHAxdZS},
}
Figure