Deterministic Policy Gradient Primal-Dual Methods for Continuous-Space Constrained MDPs

Sergio Rozada, Dongsheng Ding, Antonio G. Marques, Alejandro Ribeiro

Introduction

In Reinforcement Learning (RL), the goal is often to maximize a reward while strictly adhering to safety or resource constraints—such as a robot reaching a destination without exceeding a speed limit. These scenarios are modeled as Constrained Markov Decision Processes (CMDPs). While most CMDP research focuses on stochastic policies, real-world engineering applications in robotics and fluid control demand deterministic policies for predictability and safety. This paper introduces D-PGPD, the first deterministic policy gradient method designed specifically for CMDPs with continuous state and action spaces.

The Challenge of Deterministic Policies

Historically, deterministic policies faced two major hurdles in CMDP research:

  1. Theoretical Sub-optimality: In discrete state spaces, deterministic policies are known to be sub-optimal compared to stochastic ones.
  2. Computational Complexity: Finding optimal deterministic policies is generally NP-complete.

However, this paper identifies a "non-atomicity" loophole: in continuous spaces where the probability of landing on any single exact point is zero, deterministic policies are actually sufficient for optimality. This theoretical breakthrough allows for the development of model-free algorithms that don't sacrifice performance by ditching stochasticity.

Methodology: D-PGPD

The Deterministic Policy Gradient Primal-Dual (D-PGPD) algorithm is built on three pillars to ensure stable and safe learning:

  • Regularized Lagrangian: Standard primal-dual methods often suffer from oscillations where the policy over-corrects after violating constraints. D-PGPD adds quadratic regularization terms to both the policy (primal) and the Lagrange multiplier (dual) to smooth the optimization landscape.
  • Proximal Updates: Instead of standard gradient ascent, the primal update uses a proximal-point-type step. This maximizes a regularized version of the advantage function, helping the policy stay close to its previous iteration while improving.
  • Function Approximation: To handle high-dimensional continuous spaces, the authors utilize linear function approximation to estimate augmented action-value functions, providing a scalable model-free implementation.
Learning curves for the fluid velocity control task, comparing D-PGPD (orange) with the PGDual baseline (red). D-PGPD exhibits superior stability and last-iterate convergence.

Experimental Evaluation

The method was evaluated on two complex continuous control environments:

  1. Constrained Robot Navigation: A 2D task where an agent must reach the origin while keeping its velocity under a threshold.
  2. Fluid Velocity Control: A non-linear stochastic control problem based on the 1D Burgers’ equation. The goal is to drive fluid velocity to zero using external actuators while staying within a total control budget.
Visualizations of the evaluation environments: (Left) Trajectories for the constrained robot navigation task; (Right) Fluid velocity profiles over time and position for the Burgers' equation control task.

Key Results and Insights

  • Last-Iterate Convergence: Unlike most primal-dual methods that only guarantee the average of past policies is good, D-PGPD ensures the very last policy computed is optimal and feasible. This is critical for deployment in safety-critical systems.
  • Stability and Safety: In both navigation and fluid control tasks, D-PGPD outperformed standard dual methods (PGDual). While PGDual showed massive oscillations and frequent constraint violations during training, D-PGPD's oscillations were damped over time, leading to a stable, feasible solution with low variance.
  • Bridging Control Theory and RL: The paper successfully applies RL to classical control problems (like the Burgers' equation) that typically require heavy-duty partial differential equation (PDE) solvers.

Conclusion and Future Work

D-PGPD provides a theoretically grounded framework for safe, deterministic control in continuous spaces. While the current work relies on linear function approximation and has high theoretical sample complexity, it sets the stage for future extensions into deep neural networks and active online exploration strategies.

Summary updated

BibTeX
@inproceedings{rozada2025deterministic,
  author = {Sergio Rozada and Dongsheng Ding and Antonio G. Marques and Alejandro Ribeiro},
  title = {{Deterministic Policy Gradient Primal-Dual Methods for Continuous-Space Constrained MDPs}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i19.34225},
}
Figure