Abstract
Policy gradient (PG) estimators are ineffective in dealing with softmax policies that are sub-optimally saturated, which refers to the situation when the policy concentrates its probability mass on sub-optimal actions. Sub-optimal policy saturation may arise from bad policy initialization or sudden changes in the environment that occur after the policy has already converged. Current softmax PG estimators require a large number of updates to overcome policy saturation, which causes low sample efficiency and poor adaptability to new situations. To mitigate this problem, we propose a novel PG estimator for softmax policies that utilizes the bias in the critic estimate and the noise present in the reward signal to escape the saturated regions of the policy parameter space. Our theoretical analysis and experiments, conducted on bandits and various reinforcement learning environments, show that this new estimator is significantly more robust to policy saturation.
Introduction
In Reinforcement Learning (RL), agents frequently employ softmax policies to navigate discrete action spaces. However, these policies are prone to sub-optimal policy saturation, a state where the agent assigns near-total probability mass to a sub-optimal action. In such scenarios, the standard policy gradient (PG) update signal vanishes, as does the variance of the gradient estimate. This "blindness" prevents the agent from exploring better alternatives, posing significant challenges in non-stationary environments or following poor initializations. While entropy regularization is a common remedy, it alters the optimization objective, potentially leading to sub-optimal convergence.
Methods: The Alternate Estimator
The core contribution of this work is a modification to the standard PG estimator. The standard (Regular) estimator is defined by the term $(R - b)(\mathbf{e}_A - \pi)$, where $R$ is the reward, $b$ is a baseline, and $\pi$ is the current policy. As $\pi$ approaches a deterministic state (saturation), this term approaches zero, halting learning.
The proposed Alternate Estimator utilizes the term $(R - b)\mathbf{e}_A$. By removing the $-\pi$ term, the update does not automatically vanish at the boundaries of the probability simplex.
Mechanisms of Escape
- Reward Noise as a Catalyst: Even when the expected update is zero, the non-zero variance of the alternate estimator allows the policy to perform a random walk out of saturated regions. This variance acts as a vital tool for exploration at the "corners" of the policy space.
- Strategic Bias: By using an "optimistic" or "pessimistic" baseline $b$, the alternate estimator can actively repel the policy from saturated states. For instance, a pessimistic baseline can "kick" a saturated policy back toward a uniform distribution, forcing exploration.
- Efficiency: The alternate estimator only requires updating the preference for the sampled action, reducing per-step complexity from $O(|A|)$ to $O(\log |A|)$ with appropriate data structures.
Experimental Results
The researchers evaluated the estimator across synthetic bandits, tabular MDPs, and classic control tasks like MountainCar and Acrobot. A key test involved "saturated policy initialization," where the agent begins fully committed to the wrong action.
The results demonstrate that the alternate estimator is uniquely capable of recovering from extreme saturation. In non-stationary tasks where optimal actions were swapped mid-training, the alternate estimator adapted significantly faster than standard PG or entropy-regularized methods. Furthermore, the alternate estimator proved remarkably robust to large learning rates, maintaining stability where standard methods diverged.
Discussion and Limitations
The alternate estimator provides a simple yet powerful mechanism for overcoming policy saturation without modifying the underlying objective function. It effectively turns gradient noise—usually seen as a hindrance—into a tool for exploration.
However, limitations remain. The current formulation is restricted to discrete action spaces using softmax. Additionally, the "random walk" escape mechanism depends on the presence of reward noise; in purely deterministic environments with a perfect critic, the benefits may be less pronounced. Future work will explore scaling these insights to continuous action spaces and large-scale distributed deep RL frameworks.
Summary updated