[Paper Review] Accelerated Primal-Dual Policy Optimization for Safe Reinforcement Learning
APDO introduces an off-policy dual variable adjustment in a primal-dual CMDP framework, improving sample efficiency and convergence over PDO and CPO by a one-time off-policy dual update after a fixed adjustment epoch.
Constrained Markov Decision Process (CMDP) is a natural framework for reinforcement learning tasks with safety constraints, where agents learn a policy that maximizes the long-term reward while satisfying the constraints on the long-term cost. A canonical approach for solving CMDPs is the primal-dual method which updates parameters in primal and dual spaces in turn. Existing methods for CMDPs only use on-policy data for dual updates, which results in sample inefficiency and slow convergence. In this paper, we propose a policy search method for CMDPs called Accelerated Primal-Dual Optimization (APDO), which incorporates an off-policy trained dual variable in the dual update procedure while updating the policy in primal space with on-policy likelihood ratio gradient. Experimental results on a simulated robot locomotion task show that APDO achieves better sample efficiency and faster convergence than state-of-the-art approaches for CMDPs.
Motivation & Objective
- Motivate safe reinforcement learning under long-term cost constraints using CMDPs.
- Develop a more sample-efficient primal-dual optimization method for CMDPs.
- Enable faster convergence in constrained policy optimization by leveraging off-policy data for dual updates.
Proposed method
- Formulate CMDP via Lagrangian: L(pi, lambda) = R(pi) - sum_i lambda_i (C_i(pi) - d_i).
- Use a primal-dual loop with on-policy policy gradient updates for the primal, and dual gradient ascent for the dual in each iteration.
- Introduce an off-policy, one-time dual adjustment lambda_OFF after K_adj iterations using historical replay data.
- Compute lambda_OFF by an off-policy algorithm trained with a primal-dual objective on the replay buffer (primal-dual DDPG in supplementary material).
- Set the on-policy dual update as a standard dual gradient step; at K_adj, replace lambda with lambda_OFF for faster convergence.
Experimental results
Research questions
- RQ1Does incorporating an off-policy trained dual variable accelerate convergence to the optimal primal-dual solution in CMDPs?
- RQ2How does APDO compare to PDO and CPO in terms of sample efficiency and constraint satisfaction on a constrained control task?
- RQ3What is the impact of the dual adjustment epoch K_adj on performance and bias of the off-policy dual estimate?
Key findings
- APDO achieves better sample efficiency than state-of-the-art CMDP methods (PDO and CPO) on a simulated safety-constrained robot locomotion task.
- APDO enforces constraints as effectively as CPO while providing faster reward learning, e.g., achieving similar reward levels in about half the epochs in the reported task.
- The dual variable in APDO converges faster to the optimal value, with a notable jump after the off-policy dual adjustment.
- Using off-policy dual updates exploits historical data to accelerate dual optimization, reducing the need for large on-policy batches.
- APDO’s improvement stems from solving for a nearly optimal dual variable offline and then fine-tuning on-policy.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.