---
title: Policy Gradient Methods
url: https://www.emergentmind.com/topics/policy-gradient-method
type: topic
---

# Policy Gradient Methods

A policy gradient method is a class of optimization algorithms directly designed to optimize parameterized policies in Markov decision processes (MDPs) and related sequential decision problems via gradient ascent on expected return. These approaches exploit the differentiability of a policy $\pi_\theta$ and compute, or estimate, the gradient of the expected performance $J(\theta)$ with respect to $\theta$, ensuring compatibility with high-dimensional and continuous action spaces. Modern analysis reveals strong global convergence guarantees for exact-gradient policy gradient algorithms in tabular and certain structured domains, and establishes foundational results for both classical and risk/robust extensions.

## 1. Fundamental Definitions and Formulation

Consider a finite discounted MDP $(\mathcal S, \mathcal A, P, r, \gamma)$, where $\mathcal S$ is the state set, $\mathcal A$ the action set, $P(s'|s,a)$ the transition kernel, $r(s,a)$ the bounded immediate reward, and $\gamma\in[0,1)$ the discount factor. A stationary Markov policy $\pi$ is a mapping $\pi(\cdot \mid s)\in\Delta(\mathcal A)$. The policy performance objective is
\[
V^\pi(\rho) = \mathbb E_{s\sim\rho}\left[ V^\pi(s)\right]
\]
where $V^\pi(s)$ is the value function, and $\rho$ is the initial state distribution. The canonical goal is
\[
\pi^* = \arg\max_\pi V^\pi(\rho)
\]
for which the policy gradient approach seeks to compute or estimate $\nabla_\theta V^{\pi_\theta}(\rho)$—the gradient of the expected return with respect to differentiable parameters $\theta$ underlying the policy $\pi_\theta$.

Two widely used policy parameterizations are:
- **Direct (simplex)**: For each $s\in\mathcal S$, the action probabilities $\pi_s\in\Delta(\mathcal A)$ are treated as free variables.
- **Softmax**: With $\theta\in\mathbb R^{|\mathcal S|\times|\mathcal A|}$,
\[
\pi_\theta(a|s) = \frac{\exp(\theta_{s,a})}{\sum_{b} \exp(\theta_{s,b})}
\]
Updates and theoretical results differ according to parameterization [2404.03372].

## 2. Core Policy Gradient Algorithms and Update Rules

The standard policy gradient theorem states:
\[
\frac{\partial V^\pi(\rho)}{\partial\theta_{s,a}} 
= \frac{1}{1-\gamma} d_\rho^\pi(s) \pi(a|s) A^\pi(s,a)
\]
where $d_\rho^\pi$ is the $\gamma$-discounted state-occupancy measure and $A^\pi$ is the (state, action) advantage function.

**Key instantiated algorithms:**
- **Projected Policy Gradient (PPG) (direct/simplex)**:
\[
\pi^{k+1}_s = \mathrm{Proj}_\Delta \Big( \pi^k_s + \eta w_s^k Q^{\pi^k}(s,\cdot) \Big)
\]
with $w_s^k=(1-\gamma)^{-1}d_\mu^{\pi^k}(s)$, step size $\eta>0$.
- **Softmax Policy Gradient (PG)**:
\[
\pi^{k+1}(a|s) = \frac{ 
    \pi^k(a|s) \exp\left( \eta w_s^k \pi^k(a|s) A^k(s,a) \right)
}{ Z_s^k }
\]
where $A^k(s,a)$ is the current advantage function, and $Z_s^k$ normalizes.
- **Natural Policy Gradient (NPG)** (softmax):
\[
\pi^{k+1}(a|s) \propto \pi^k(a|s) \exp(\eta Q^k(s,a))
\]
arising from a mirror-ascent update in the Kullback-Leibler divergence geometry.

**Entropy-regularized** variants introduce explicit entropy terms, modifying both objective and update rules, e.g.,
\[
V^\pi_\tau(\rho) = V^\pi(\rho) - \tau \mathbb{E}[\log\pi]
\]
leading to softmax-PG and softmax-NPG steps with entropy terms in the exponent [2404.03372].

## 3. Non-Asymptotic Convergence Results

Theoretical understanding of policy gradient methods has progressed to include sharp iteration complexity and convergence rates for both direct and softmax parameterizations, with or without regularization.

### Main Convergence Results [2404.03372]:
- **PPG (direct-simplex): Global linear convergence** for any constant step size:
  \[
  \Delta_k \leq (1-\kappa_{PPG})^k \Delta_0
  \]
  Explicit expressions for the contraction constant $\kappa_{PPG}$ are given in terms of problem and algorithm parameters.
- **Softmax PG: Sublinear, $O(1/k)$ rate** for constant step size; **matching lower bounds** confirm tightness.
- **Softmax NPG: Global linear convergence** in $\|\cdot\|_\infty$ norm, depending on policy support and step size, and sublinear $O(1/k)$ bounds.
- **Entropy-regularized PG/NPG: Global linear rates** over a broad step size regime.
- **Soft Policy Iteration: Local quadratic convergence** for entropy-regularized setting without requiring optimal-policy stationary-distribution assumptions.

Global convergence and rate statements are grounded in direct performance-difference lemmas, state-wise improvement guarantees, and contraction analyses for the Bellman operator and its regularized variants.

## 4. Extensions: Structured Policies, Risk, and Robustness

### Ordinal Policy Gradients [2506.18614]
Standard softmax parametrization fails to exploit order structure in action spaces. An ordinal regression-based parametrization, with monotonic cutpoints and a single state scoring function, yields
\[
\pi_\theta(a=i|s) = \sigma(\gamma_i - g_\omega(s)) - \sigma(\gamma_{i-1} - g_\omega(s))
\]
with cutpoints $\gamma_i$ enforced to be strictly increasing. Policy gradient updates split across neural network parameters and cutpoint increments, with closed-form derivations for each [2506.18614].

Experiments demonstrate faster, lower-variance, and more stable learning in ordered discrete or discretized continuous domains, compared to softmax policies. These approaches inherit both global convergence guarantees and sample efficiency improvements attributable to the structural prior.

### Robust Policy Gradients
For robust MDPs with rectangular uncertainty in transitions and/or rewards, closed-form policy gradient algorithms have been developed that efficiently compute gradients with respect to the worst-case occupation measure and value functions [2301.13589, 2410.22114]. Explicit algorithms—e.g., Double-Loop Robust Policy Mirror Descent—combine an inner adversarial optimization over transitions (via mirror ascent) and an outer policy optimization (mirror descent), achieving provably global convergence for both direct and softmax policy classes.

### Risk-Sensitive and Distributional Extensions
Policy gradients have been generalized to coherent risk measures [1502.03919] and distortion risk measures [2107.04422], requiring only modest modifications to standard likelihood-ratio gradient estimators and, in the dynamic case, introducing robust Bellman evaluation critiquing via actor-critic structures. Non-asymptotic convergence to stationary points has been proven for distortion risk objectives.

## 5. Sample Efficiency, Off-Policy, and Variance Reduction

A longstanding challenge for policy gradient methods is the high variance of gradient estimators and the poor sample efficiency, especially under long horizons [1911.04817]. Recent advances include:

- **Parameter-based Exploration (PGPE)**: Policy randomness is transferred to parameter draws at the episode level, rendering within-episode gradient estimates deterministic and reducing variance accumulation. Efficient off-policy reuse is enabled by importance sampling over hyperparameters, with analytically optimal baselines to minimize estimator variance [1301.3966].
- **Off-policy Control via PG**: Incorporation of policy-gradient terms into off-policy mean-squared projected Bellman error (MSPBE) optimization enables provably convergent incremental updates for adapting policies in control (not just evaluation) settings [1512.04105].
- **Reward Profiling**: Adaptively accepting candidate policy updates only if performance improvement is statistically significant, as measured by Monte-Carlo rollouts, stabilizes learning and yields up to $\times$1.5 faster convergence and $\times$1.75 variance reduction across continuous-control benchmarks [2511.16629].

## 6. Policy Gradients Beyond Standard MDPs

Recent developments extend policy gradient algorithms to broader and more challenging domains:

- **Average-reward and bi-level gain-bias optimization**: Nearly-Blackwell-optimal policy gradients achieve fine control over both steady-state ("gain") and transient ("bias") performance in continuing tasks, with associated natural gradient preconditioning and logarithmic-barrier optimization for constraint enforcement [2105.13609].
- **Structured POMDPs and partial observability**: Novel identification and min-max estimation techniques enable offline, nonparametric policy gradient optimization over history-dependent stochastic policies in confounded POMDPs, with uniform finite-sample error bounds and global convergence [2305.17083].
- **Binary and combinatorial optimization**: Policy gradient approaches employing mean-field and MCMC-based variance reduction are now directly applied to large-scale binary optimization via KL divergence minimization and filter-based local search, with convergence rates linked to MCMC mixing and variance of gradient estimators [2307.00783].
- **Multi-agent games and Nash equilibria**: Regularized and iteratively referenced policy gradient schemes (NashPG) provide monotonic, robust, and scalable convergence in two-player zero-sum games, attaining state-of-the-art exploitability and Elo benchmarks on extensive-form domains [2510.18183].

## 7. Analysis Techniques and Implications

The convergence theory for policy gradient methods depends critically on several foundational analytic tools:

- **Performance difference lemmas** enable precise control of incremental improvement.
- **State-wise improvement bounds** yield strong contraction and rate results even when policies or value functions are not updated globally.
- **Covariance and variational identities** clarify the geometry of the update steps and connect standard and natural gradient algorithms.
- **Natural gradient preconditioning** (via Fisher information) is both theoretically beneficial (ensuring mirror ascent geometry) and practically effective (yielding larger step-size stability without sacrificing convergence).
- **Comparisons to policy iteration** and soft policy iteration yield quantifiable performance gaps, and entropy regularization widens the regime of step sizes supporting monotone improvement [2404.03372].

Collectively, these advances establish policy gradient methods as a principal tool for exact and approximate solution of sequential decision problems across standard, robust, risk-sensitive, and multi-agent settings, underpinned by non-asymptotic rate, sample complexity, and robustness guarantees.

Source: https://www.emergentmind.com/topics/policy-gradient-method