[Paper Review] Neurosymbolic Reinforcement Learning with Formally Verified Exploration
Revel is a neurosymbolic reinforcement learning framework that enables formally verified exploration in continuous state and action spaces by combining neural policy learning with symbolically verified safety shields. It uses mirror descent over neurosymbolic policies, safely lifting and projecting between symbolic and neural components without verifying neural networks directly, achieving provable safety and improved performance over prior methods like Constrained Policy Optimization.
We present Revel, a partially neural reinforcement learning (RL) framework for provably safe exploration in continuous state and action spaces. A key challenge for provably safe deep RL is that repeatedly verifying neural networks within a learning loop is computationally infeasible. We address this challenge using two policy classes: a general, neurosymbolic class with approximate gradients and a more restricted class of symbolic policies that allows efficient verification. Our learning algorithm is a mirror descent over policies: in each iteration, it safely lifts a symbolic policy into the neurosymbolic space, performs safe gradient updates to the resulting policy, and projects the updated policy into the safe symbolic subset, all without requiring explicit verification of neural networks. Our empirical results show that Revel enforces safe exploration in many scenarios in which Constrained Policy Optimization does not, and that it can discover policies that outperform those learned through prior approaches to verified exploration.
Motivation & Objective
- To address the challenge of provably safe exploration in continuous control environments where neural network verification is computationally infeasible.
- To enable safe, deep reinforcement learning with modern policy gradient methods while maintaining worst-case safety guarantees.
- To overcome the limitations of static safety shields that restrict exploration unnecessarily in complex environments.
- To develop a learning framework that dynamically updates safety monitors and shields during training, improving policy performance.
- To combine neurosymbolic policy representations with formal verification for scalable, safe RL in safety-critical applications.
Proposed method
- Revel uses a neurosymbolic policy representation: a symbolic shield for safety and a neural component for policy optimization.
- It performs mirror descent in the space of neurosymbolic policies, alternating between lifting, updating, and projecting.
- The learning algorithm safely lifts a symbolic shield into the neural policy space, applies approximate gradient updates, and projects back into the safe symbolic space.
- The projection step uses imitation learning to preserve safety, avoiding direct verification of neural networks.
- The framework relies on a formal verifier to check symbolic shields, which are efficiently verifiable, while neural components remain unverified during training.
- It assumes a closed-form worst-case dynamics model $P^\#$ for verification, ensuring all actions remain safe under adversarial environment behavior.
Experimental results
Research questions
- RQ1Can we achieve formally verified exploration in continuous control tasks using deep neural policies without incurring prohibitive verification costs?
- RQ2How can we dynamically improve safety shields during learning to avoid the performance limitations of static shields?
- RQ3Can a neurosymbolic policy representation enable both efficient gradient-based learning and efficient verification of safety constraints?
- RQ4Does a mirror descent-based learning algorithm over neurosymbolic policies lead to safer and higher-performing policies than existing constrained RL methods?
- RQ5To what extent can dynamic shielding improve exploration efficiency and safety in continuous action spaces compared to static or probabilistic safety approaches?
Key findings
- Revel enforces safe exploration in continuous control environments where Constrained Policy Optimization (CPO) fails due to unsafe actions during training.
- The framework discovers policies that outperform those learned with static safety shields, particularly in scenarios requiring rapid response and precise control.
- In the obstacle2 and acc (adaptive cruise control) environments, Revel’s policy avoids crashes by safely closing the gap to a lead vehicle, unlike CPO policies that crash due to delayed or insufficient deceleration.
- The method avoids the need for repeated neural network verification by relying on efficient symbolic verification of shields, making it scalable to complex domains.
- Empirical results show that Revel’s dynamic shielding mechanism allows for more aggressive and effective exploration while maintaining worst-case safety.
- Theoretical analysis confirms convergence guarantees for the mirror descent-based learning algorithm in the neurosymbolic policy space.
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.