# A Universal Framework for Generalized Run Time Assurance with JAX Automatic Differentiation

arXiv: https://arxiv.org/abs/2209.01120 · HTML: https://mlsanity.com/paper/2209.01120/

## Key facts

- Cited by 3 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 2 Sep 2022.

## Built on by (most cited first, 3 of 3)

- [Run Time Assured Reinforcement Learning for Six Degree-of-Freedom Spacecraft Inspection](https://mlsanity.com/paper/2406.11795/) (2024)
- [Searching for Optimal Runtime Assurance via Reachability and Reinforcement Learning](https://mlsanity.com/paper/2310.04288/) (2023)
- [Space Processor Computation Time Analysis for Reinforcement Learning and Run Time Assurance Control Policies](https://mlsanity.com/paper/2405.06771/) (2024)

## Abstract (arXiv)

With the rise of increasingly complex autonomous systems powered by black box AI models, there is a growing need for Run Time Assurance (RTA) systems that provide online safety filtering to untrusted primary controller output. Currently, research in RTA tends to be ad hoc and inflexible, diminishing collaboration and the pace of innovation. The Safe Autonomy Run Time Assurance Framework presented in this paper provides a standardized interface for RTA modules and a set of universal implementations of constraint-based RTA capable of providing safety assurance given arbitrary dynamical systems and constraints. Built around JAX, this framework leverages automatic differentiation to populate advanced optimization based RTA methods minimizing user effort and error. To validate the feasibility of this framework, a simulation of a multi-agent spacecraft inspection problem is shown with safety constraints on position and velocity.
