Relative Pearson Divergence PPO-RPE
- Relative Pearson Divergence (PPO-RPE) is a method that leverages relative density ratio estimation to achieve robust and symmetric policy regularization in reinforcement learning.
- It replaces traditional asymmetric density ratio penalties with an α-relative Pearson divergence, offering smoother behavior even with small or non-overlapping distribution supports.
- The technique enhances nonparametric estimation, adaptive thresholding, and stable policy updates, yielding improved performance in complex reinforcement learning tasks.
Relative Pearson Divergence (PPO-RPE) is a class of methods in reinforcement learning and statistical distribution comparison that leverages the relative Pearson f-divergence for robust, stable, and symmetric proximal regularization. The central concept is the replacement of standard density or policy ratio-based penalties with a divergence objective rooted in the relative density ratio between probability distributions, which exhibits smoother and more controlled behavior, especially under small or non-overlapping supports. Widely adopted under the rubric "PPO-RPE", this approach has demonstrable benefits in nonparametric estimation, regularized policy optimization, and adaptive thresholding in policy updates (Yamada et al., 2011, Kobayashi, 2020, Kobayashi, 2022).
1. Formulation of the Relative Pearson Divergence
Given two densities (target) and (reference) on , the -relative density ratio is defined as
where . For statistical comparison and policy analysis, interpolates between full reliance on () and (0). The relative ratio 1 is always bounded above by 2 for 3 and is strictly smoother than the ordinary density ratio 4, greatly improving numerical stability when 5 is small or vanishing.
The corresponding 6-relative Pearson divergence is
7
This formulation can be seamlessly transferred to policy distributions in reinforcement learning, where 8 may correspond to the updated policy and 9 to the baseline policy (Yamada et al., 2011, Kobayashi, 2020, Kobayashi, 2022).
2. Direct Relative Density-Ratio Estimation
Rather than decomposing density ratio estimation into separate estimates for 0 and 1, PPO-RPE and related procedures utilize direct fitting of 2 from samples, often via regularized least-squares in a reproducing kernel Hilbert space (RKHS).
Given two sample sets 3, 4, and a kernel function 5, the empirical risk is
6
where 7 parametrizes the relative density ratio. The optimization
8
has a closed-form solution in RKHS. The estimator 9 can be evaluated out-of-sample.
Empirical plug-in estimates for 0 include
- 1
- 2
This approach, referenced as RuLSIF within the literature, yields minimax-optimal nonparametric convergence rates and finite sample variances independent of model dimension in the parametric regime (Yamada et al., 2011).
3. Application to Policy Regularization: PPO-RPE
In Proximal Policy Optimization (PPO), the standard practice regularizes the updated policy 3 relative to a baseline 4 by constraining the density ratio 5 within a symmetric interval 6. However, 7 is inherently asymmetric, leading to unbalanced regularization and unclear minimization targets (Kobayashi, 2020, Kobayashi, 2022).
PPO-RPE introduces the RPE divergence in policy update objectives:
- The relative ratio for policies is 8, with 9.
- The RPE divergence between policies is
0
- The surrogate objective includes a penalty
1
yielding a regularized loss
2
This framework enables explicit control over update size, preserves symmetry in clipping thresholds with respect to 3, and yields a mathematically principled minimization target (Kobayashi, 2020).
4. Symmetry, Threshold Design, and Adaptive Tuning
A critical property is the symmetry of the relative ratio:
- For 4, 5 is symmetric about 6; 7.
- This symmetry allows clean, balanced regularization of excursions above and below 8, independent of the reference policy.
- The maximum possible deviation is 9; thus, the error scale is task- and algorithm-agnostic (Kobayashi, 2022).
Thresholds are set in the symmetric domain for 0, while the raw ratio threshold,
1
is asymmetric in 2 but consistent with the geometry of density changes. Adaptive thresholds may be computed as
3
where 4 tracks the observed maximal deviation in 5 and smoothing hyperparameters 6 provide numeric control (Kobayashi, 2022).
5. PPO-RPE Algorithmic Procedure
The iterative PPO-RPE algorithm proceeds as follows (Kobayashi, 2020, Kobayashi, 2022):
- Collect trajectories under the baseline policy 7.
- Compute advantage estimates 8 for each sample.
- For each 9:
- Calculate 0 and 1.
- Set the penalty coefficient 2 such that the regularized gradient vanishes at 3.
- Modify the surrogate advantage to incorporate RPE penalty.
- Apply gradient descent using the adjusted advantage.
- Adaptively update the baseline policy and the threshold 4.
Empirical loss curves and score statistics indicate that PPO-RPE matches or outperforms standard PPO, especially in tasks where standard PPO's symmetric clipping leads to instability or premature convergence (Kobayashi, 2020, Kobayashi, 2022).
6. Theoretical Guarantees and Empirical Results
PPO-RPE provides several theoretical and practical benefits over standard PPO:
- The update is always bound at the symmetric thresholds for 5; gradients unequivocally vanish there, giving explicit "proximal" control.
- The divergence minimization has well-defined analytic properties: in nonparametric domains, the sup-norm and rate of convergence are controlled, and in parametric regimes, the asymptotic variance does not depend on the number of model parameters (Yamada et al., 2011).
- The symmetric structure ensures balanced exploration and stability.
Empirical evaluation across control and robotic locomotion tasks has demonstrated:
- PPO-RPE achieves superior stability in both low- and high-dimensional settings.
- Adaptive thresholding further enhances learning on difficult, unstable tasks, exceeding the success rates of fixed-threshold or baseline PPO algorithms.
- No task-specific tuning of 6 is required for PPO-RPE-A (adaptive threshold), and the learned thresholds maintain policy divergence within safe bands (Kobayashi, 2022).
7. Applications and Extensions
Relative Pearson divergence methods underpin a range of statistical and learning machinery:
- Two-sample homogeneity testing via permutation tests, with lower type I and type II errors in medium 7 regimes.
- Inlier-based outlier detection using 8 as a statistic, providing improvements in area under curve (AUC) measures in high-dimensional settings.
- Transfer learning under covariate shift, where the use of relative instead of raw importance weights yields stabilized estimates and improved regression or classification performance.
Within reinforcement learning, the RPE divergence's unique properties facilitate more robust and explainable policy regularization, unifying f-divergence control with algorithm-adaptive constraints (Yamada et al., 2011, Kobayashi, 2020, Kobayashi, 2022).