TL;DR
Central Path Proximal Policy Optimization (C3PO) brings the stability of interior point barrier methods into standard PPO by using an exact, receding ReLU penalty. By keeping policy updates close to the "central path" of the constrained optimization problem, C3PO reliably satisfies safety budgets without sacrificing final reward or requiring the heavy computation of trust-region methods.
What Problem Does This Paper Address?
In Constrained Markov Decision Processes (CMDPs), an agent must maximize task reward while keeping expected costs below specified safety thresholds. Current model-free safe RL algorithms face a difficult trade-off:
- Lagrangian primal-dual methods (like PPO-Lagrangian) adaptively scale constraint penalties via dual variables, but frequently suffer from severe oscillations, overshoot, and unstable convergence.
- Fixed barrier and penalty methods introduce regularization bias—meaning the penalized objective's optimum does not match the true constrained optimum—leading to degraded performance.
- Geometry-based trust-region methods (like C-TRPO) follow the "central path" (the smooth trajectory of regularized solutions in interior-point methods), eliminating bias and oscillations. However, C-TRPO relies on second-order TRPO updates that scale poorly, are sample-inefficient, and break down if the policy ever drifts outside the feasible set.
Moreover, there is a common belief in reinforcement learning that enforcing constraints during training inherently reduces final policy returns. C3PO aims to disprove this by providing a scalable, first-order, PPO-style method that maintains feasibility throughout training while achieving high final reward.
Methods
C3PO develops a first-order approximation to C-TRPO that preserves its central path geometry while leveraging PPO's scalability:
-
Exact Linear Penalty Formulation: Milosevic et al. (2025) augmented trust-region divergence with a log-barrier divergence $D_B(\pi, \pi_k) \le \delta_B$. The authors prove (via Lambert's $W$-function) that for positive cost advantages, this nonlinear barrier constraint defines the exact same boundary as a receding linear threshold: $$\hat{A}_c^{\pi_k}(\pi) \le w \cdot b$$ where $b = d - C(\pi_k)$ is the remaining cost budget, and $w \in (0, 1)$ is a rate hyperparameter directly mapped to $\delta_B$.
-
C3PO Loss: To handle infeasible states ($b < 0$) without crashing or needing heuristic recovery phases, the algorithm incorporates a $\min\{b, w \cdot b\}$ term: $$\mathcal{L}^{\text{C3PO}}(\theta) = \text{ReLU}\left(\alpha_{\text{clipped}}(\theta) - \min\{b, w \cdot b\}\right)$$ where $\alpha_{\text{clipped}}(\theta)$ applies standard PPO-style ratio clipping to the generalized cost advantage estimates.
-
Policy Update: The policy is updated using standard minibatch gradient descent minimizing $\mathcal{L}^{\text{PPO}} + \kappa_k \mathcal{L}^{\text{C3PO}}$, where $\kappa_k$ is a penalty parameter that can follow a simple linear schedule. When $w=1$, C3PO reduces to Penalized PPO (P3O); for $w < 1$, it acts as an adaptively receding barrier that guides updates along the central path.
Datasets
The authors evaluate C3PO on 8 continuous control benchmarks from Safety Gymnasium (Ji et al., 2023):
- 4 Locomotion tasks: Ant, HalfCheetah, Humanoid, and Hopper.
- 4 Navigation/Control tasks: CarButton, PointGoal, RacecarCircle, and PointPush.
Each task is run for 10 million environment steps across 5 random seeds, using a standardized cumulative cost threshold of $d = 25.0$.
Key Insights and Ideas
- Guiding along the Central Path Prevents Suboptimal Trapping: Approaching constraint boundaries too rapidly or oscillating across them in non-convex neural network policy landscapes often traps policies in poor local optima. Staying near the central path guides policies smoothly along the interior toward high-reward boundary solutions.
- Barrier Divergence Simplification: A complex barrier divergence constraint can be mathematically transformed into a moving ReLU threshold with equivalent solution sets (Proposition 3.2), sidestepping matrix inversions and second-order Hessian approximations.
- Feasibility During Training Helps Return: Contrary to the belief that safety constraints strictly harm reward learning, maintaining feasibility from early in training actually stabilizes representation learning and leads to higher final returns than methods that oscillate around the threshold.
Key Results
- Aggregate Performance: Across all 8 tasks, aggregated via Interquartile Mean (IQM) using the
rliablebenchmark, C3PO achieved the highest overall normalized reward among all strictly feasible methods, while consistently keeping final costs below the 25.0 limit. - Superiority over First-Order Baselines: Compared to prior PPO-penalty algorithms (P3O, P2BPO) and Lagrangian baselines (PPO-Lag, CPPO-PID), C3PO achieved significantly tighter constraint satisfaction and higher returns. For instance, in RacecarCircle, CPPO-PID oscillated and finished with an inadmissible cost of $33.3 \pm 5.9$ (reward $8.1 \pm 4.3$), whereas C3PO safely converged with a cost of $5.0 \pm 1.7$ and reward of $25.9 \pm 5.1$.
- Admissible SOTA on Individual Benchmarks: C3PO obtained the highest admissible reward on Hopper (reward $1674 \pm 35$, cost $9.9 \pm 1.7$) and PointPush (reward $4.5 \pm 2.6$, cost $20.2 \pm 10.0$).
- Competitiveness with Trust-Region Methods: C3PO matched or approached the performance of second-order C-TRPO without requiring conjugate gradient steps or specialized constraint-recovery phases.
Limitations and Future Work
- Evaluation Scope: Experiments were conducted only on continuous control simulations with a single constraint per environment.
- Hyperparameter Scheduling: While simpler than dual-variable tuning, the penalty coefficient $\kappa$ and rate $w$ require selection or linear scheduling to balance exploration in the safe-convergence regime.
- Future Directions: Extending C3PO to multi-constraint settings, high-dimensional observation spaces, providing theoretical finite-time convergence guarantees, and applying the method to large-scale safe RLHF alignment for Large Language Models.
Summary updated