PMD-mean is an approach that approximates mirror-descent updates by replacing the log-partition with the sample mean reward, addressing challenges in large-action-space settings.
The algorithm computes a baseline from expected rewards and uses the resultant advantage in a regression objective within log-policy space, leading to conservative yet robust policy updates.
Empirical results demonstrate that PMD-mean improves training stability and efficiency in language models, yielding effective policy enhancements even under sparse or noisy reward conditions.
The term PMD-mean typically refers to an approximation method for mirror-descent updates in KL-regularized policy optimization, particularly in large-action-space reinforcement learning (RL) for LLMs. The core methodology of PMD-mean is to replace the log-partition normalization (which is impractical to estimate in vast action spaces) with the sample mean reward under the sampling policy, thus inducing a specific regression objective in log-policy space. This construction leads to robust policy improvement dynamics, especially under limited or noisy reward signals (Xu et al., 5 Feb 2026).
1. Policy Mirror Descent and the Partition Function Challenge
Policy Mirror Descent (PMD) considers the regularized objective, for each context x: πt+1(⋅∣x)=argπ∈Δ(Y)max{Ey∼π[r(x,y)]−τKL(π∥πt)}
Its exact solution is the Boltzmann update: πt+1(y∣x)=Zt(x)πt(y∣x)exp(r(x,y)/τ),Zt(x)=Ey∼πt[er(x,y)/τ]
However, computing Zt(x) is infeasible in high-dimensional output spaces due to the expectation over exponentially many actions.
2. The PMD-mean Algorithm: Formulation and Implementation
PMD-mean circumvents the partition function calculation by using the mean reward as a surrogate. Specifically:
Compute the baseline b(x)=Ey∼πt[r(x,y)].
Use the "advantage" Δ(x,y)=r(x,y)−b(x) as the regression target.
The regression objective is: Lmean(π)=Ex∼DEy∼πt(⋅∣x)[21(logπt(y∣x)π(y∣x)−τΔ(x,y))2]
This selects log-ratios in policy space to match (in the squared sense) the scaled advantage, subject to the normalization constraint Ey∼πt[eu(y)]=1 for u(y)=log(πt(y)π(y)).
The closed-form population solution involves the Lambert-πt+1(⋅∣x)=argπ∈Δ(Y)max{Ey∼π[r(x,y)]−τKL(π∥πt)}0 function: πt+1(⋅∣x)=argπ∈Δ(Y)max{Ey∼π[r(x,y)]−τKL(π∥πt)}1
with πt+1(⋅∣x)=argπ∈Δ(Y)max{Ey∼π[r(x,y)]−τKL(π∥πt)}2 chosen to ensure normalization. In practice, models are trained using stochastic gradient-based regression on the log-policy ratios (Xu et al., 5 Feb 2026).
The statistical solution to this regression coincides with the optimizer of a mirror-descent subproblem using a mixed KL–πt+1(⋅∣x)=argπ∈Δ(Y)max{Ey∼π[r(x,y)]−τKL(π∥πt)}8 regularizer: πt+1(⋅∣x)=argπ∈Δ(Y)max{Ey∼π[r(x,y)]−τKL(π∥πt)}9
where πt+1(y∣x)=Zt(x)πt(y∣x)exp(r(x,y)/τ),Zt(x)=Ey∼πt[er(x,y)/τ]0.
This regularizer dynamically penalizes large changes in the policy distribution, especially when the average reward is low. In the binary reward setting, as the expected reward πt+1(y∣x)=Zt(x)πt(y∣x)exp(r(x,y)/τ),Zt(x)=Ey∼πt[er(x,y)/τ]1 becomes small (weak models or hard tasks), the effective πt+1(y∣x)=Zt(x)πt(y∣x)exp(r(x,y)/τ),Zt(x)=Ey∼πt[er(x,y)/τ]2 regularization coefficient πt+1(y∣x)=Zt(x)πt(y∣x)exp(r(x,y)/τ),Zt(x)=Ey∼πt[er(x,y)/τ]3 remains πt+1(y∣x)=Zt(x)πt(y∣x)exp(r(x,y)/τ),Zt(x)=Ey∼πt[er(x,y)/τ]4, producing conservative policy updates and improving robustness against estimation error in the normalization constant (Xu et al., 5 Feb 2026).
4. PMD-mean Versus Exact PMD and Practical Behavior
When compared with the partition-function ("PMD-part") update, PMD-mean is inherently less aggressive in its policy ratio updates, both on positive and negative actions—particularly early in training when rewards are sparse. The ideal Boltzmann update in PMD contracted policies faster but was far more susceptible to instability and policy collapse under finite-sample error in πt+1(y∣x)=Zt(x)πt(y∣x)exp(r(x,y)/τ),Zt(x)=Ey∼πt[er(x,y)/τ]5. In contrast, PMD-mean attains slower, more controlled contraction, yielding better stability and robustness in practical settings, as confirmed by both theoretical sample-complexity bounds and direct experiments (Xu et al., 5 Feb 2026).
5. Empirical Results and Stability Properties
Experiments on LLMs (Qwen2.5-7B, Qwen3-30B-A3B-Base) for binary-reward math reasoning (DAPO-Math-17k, AIME’24/’25) confirm the practical strengths of PMD-mean:
Achieves superior accuracy compared to PPO-style methods and even strong on-policy gradients, with overall improvements in pass@1 scores on math benchmarks.
Maintains training stability (avoids collapse) even for small πt+1(y∣x)=Zt(x)πt(y∣x)exp(r(x,y)/τ),Zt(x)=Ey∼πt[er(x,y)/τ]6 or large global batch sizes (high staleness), unlike PMD-part.
Enables efficient batching, tolerates larger rollout staleness without explicit importance weights, resulting in πt+1(y∣x)=Zt(x)πt(y∣x)exp(r(x,y)/τ),Zt(x)=Ey∼πt[er(x,y)/τ]7--πt+1(y∣x)=Zt(x)πt(y∣x)exp(r(x,y)/τ),Zt(x)=Ey∼πt[er(x,y)/τ]8 time speedup for token generation.
Policy ratio statistics match theoretical envelopes, confirming conservative update dynamics predicted by the mixed regularization effect (Xu et al., 5 Feb 2026).
6. Practical Recommendations and Implementation Guidance
Key recommendations for applying PMD-mean in large-model post-training include:
Use small πt+1(y∣x)=Zt(x)πt(y∣x)exp(r(x,y)/τ),Zt(x)=Ey∼πt[er(x,y)/τ]9 (e.g., Zt(x)0–Zt(x)1 for 7B, Zt(x)2 for 30B MoE), leveraging the adaptive Zt(x)3 penalty for stability.
Choose rollout budgets proportional to the inverse mean reward in early training (Zt(x)4), with Zt(x)5 or Zt(x)6 generally sufficient.
Allow large global batch sizes for efficiency; PMD-mean tolerates these without requiring importance corrections.
Apply explicit log-policy ratio clipping to enforce theoretical ratio bounds, ensuring stability.
Monitor policy ratio histograms during training to verify that updates remain within predicted conservative limits.
7. Broader Significance and Comparison to Related Methodologies
PMD-mean exemplifies a principled, sample-efficient approach to RL-based policy improvement for LLMs and other high-action-space generative models. Its primary advance lies in enabling stable, sample-efficient, and automatically adaptive KL-regularized policy optimization without the need for precise normalization over the action space. This stands in contrast to alternative approaches that either require expensive importance sampling, rely on variance-prone partition estimates, or lack the self-correcting implicit regularization property of PMD-mean (Xu et al., 5 Feb 2026).
The success of PMD-mean in LLM post-training suggests applicability to other structured decision-making settings, especially those exhibiting sparse rewards and prohibitive action spaces, highlighting a robust paradigm for scalable and stable RL in complex generative modeling tasks.