SPoRt -- Safe Policy Ratio: Certified Training and Deployment of Task Policies in Model-Free RL

Jacques Cloete, Nikolaus Vertovec, Alessandro Abate
4/8/2025
cs.LG

No official code found. Best implementation: JacquesCloete/sport (1 star, MIT, last commit 2025-06-15).

Abstract

To apply reinforcement learning to safety-critical applications, we ought to provide safety guarantees during both policy training and deployment. In this work, we present theoretical results that place a bound on the probability of violating a safety property for a new task-specific policy in a model-free, episodic setting. This bound, based on a maximum policy ratio computed with respect to a 'safe' base policy, can also be applied to temporally-extended properties (beyond safety) and to robust control problems. To utilize these results, we introduce SPoRt, which provides a data-driven method for computing this bound for the base policy using the scenario approach, and includes Projected PPO, a new projection-based approach for training the task-specific policy while maintaining a user-specified bound on property violation. SPoRt thus enables users to trade off safety guarantees against task-specific performance. Complementing our theoretical results, we present experimental results demonstrating this trade-off and comparing the theoretical bound to posterior bounds derived from empirical violation rates.

View on arXivView PDF

Code Implementations(1)

MIT

SPoRt - Safe Policy Ratio: Certified Training and Deployment of Task Policies in Model-Free RL.

10Python, Jupyter NotebookAug 5, 20241 years agoMIT

Similar Papers

Cite this paper

@article{cloete2025sport,
  title  = {SPoRt -- Safe Policy Ratio: Certified Training and Deployment of Task Policies in Model-Free RL},
  author = {Jacques Cloete and Nikolaus Vertovec and Alessandro Abate},
  year   = {2025},
  eprint = {2504.06386},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.06386v2}
}

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/2504.06386.svg)](https://codeofpaper.com/paper/2504.06386)

Discussion