Constraint-Conditioned Policy Optimization for Versatile Safe Reinforcement Learning

Yi-Fan Yao, Zuxin Liu, Zhepeng Cen, Jiacheng Zhu, Wenhao Yu +2 more
2/12/2026

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Safe reinforcement learning (RL) focuses on training reward-maximizing agents subject to pre-defined safety constraints. Yet, learning versatile safe policies that can adapt to varying safety constraint requirements during deployment without retraining remains a largely unexplored and challenging area. In this work, we formulate the versatile safe RL problem and consider two primary requirements: training efficiency and zero-shot adaptation capability. To address them, we introduce the Conditioned Constrained Policy Optimization (CCPO) framework, consisting of two key modules: (1) Versatile Value Estimation (VVE) for approximating value functions under unseen threshold conditions, and (2) Conditioned Variational Inference (CVI) for encoding arbitrary constraint thresholds during policy optimization. Our extensive experiments demonstrate that CCPO outperforms the baselines in terms of safety and task performance while preserving zero-shot adaptation capabilities to different constraint thresholds data-efficiently. This makes our approach suitable for real-world dynamic applications.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yao2026constraintconditioned,
  title  = {Constraint-Conditioned Policy Optimization for Versatile Safe Reinforcement Learning},
  author = {Yi-Fan Yao and Zuxin Liu and Zhepeng Cen and Jiacheng Zhu and Wenhao Yu and Tingnan Zhang and Ding Zhao},
  year   = {2026},
  eprint = {2310.03718},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2310.03718},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.03718.svg)](https://codeofpaper.com/paper/2310.03718)

Discussion