[Paper Review] Scalable Synthesis of Verified Controllers in Deep Reinforcement Learning
This paper proposes a scalable verification pipeline for deep reinforcement learning controllers by decoupling safety verification from neural network training. It synthesizes a verified linear controller family (VLCF) via probabilistic reachability analysis, which acts as a time-based shield during both training and deployment, enabling safe, high-dimensional control in stochastic linear time-invariant and time-variant systems with up to 800 dimensions—demonstrating superior scalability over prior methods.
There has been significant recent interest in devising verification techniques for learning-enabled controllers (LECs) that manage safety-critical systems. Given the opacity and lack of interpretability of the neural policies that govern the behavior of such controllers, many existing approaches enforce safety properties through shield, a dynamic monitoring-and-repairing mechanism that ensures a LEC does not emit actions that would violate desired safety conditions. These methods, however, have been shown to have significant scalability limitations because verification costs grow as problem dimensionality and objective complexity increase. In this paper, we propose a new automated verification pipeline capable of synthesizing high-quality safe controllers even when the problem domain involves hundreds of dimensions, or when the desired objective involves stochastic perturbations, liveness considerations, and other complex non-functional properties. Our key insight involves separating safety verification from neural controller training, and using pre-computed verified safety shields to constrain the training process. Experimental results over a range of high-dimensional benchmarks demonstrate the effectiveness of our approach in a range of stochastic linear time-invariant and time-variant systems.
Motivation & Objective
- To address the scalability limitations of existing verification techniques for learning-enabled controllers (LECs) in high-dimensional, stochastic, and time-variant systems.
- To decouple safety verification from performance-driven neural network training, enabling independent and scalable verification of safety properties.
- To develop a dynamic shielding mechanism based on a verified linear controller family (VLCF) that operates over time steps rather than spatial states.
- To integrate the verified shield into the training process, ensuring safety-aware policy learning without compromising performance.
- To achieve provable safety guarantees for deep RL controllers in complex, high-dimensional cyber-physical systems (CPS).
Proposed method
- The method constructs a family of linear controllers verified via probabilistic reachability analysis to ensure safety under stochastic disturbances.
- A time-based selector chooses a verified linear controller every k steps, enabling temporal composition of controllers rather than spatial composition.
- The verified linear controller family (VLCF) acts as a dynamic shield during both training and deployment, intervening when the neural policy would produce unsafe actions.
- The neural network controller is trained using a buffer of safe transitions (s_t, a_t, s_{t+1}, r_t) collected under shield supervision, ensuring safety during learning.
- Safety verification is performed independently of the neural network’s objective, allowing scalability with respect to performance complexity and dimensionality.
- The approach leverages discrete-time, linear, time-varying systems with stochastic disturbances, enabling formal verification of almost-sure reachability properties.
Experimental results
Research questions
- RQ1Can a verified linear controller family be synthesized efficiently for high-dimensional, stochastic, time-variant systems?
- RQ2Does temporal composition of verified controllers (every k steps) outperform spatial composition in terms of scalability and safety coverage?
- RQ3Can safety verification be decoupled from neural network training without sacrificing correctness or performance?
- RQ4How does integrating the verified shield into the training loop improve the quality and safety of the final controller compared to post-training shielding?
- RQ5To what extent can this pipeline scale to systems with over 800 state dimensions, beyond the limits of prior verification techniques?
Key findings
- The proposed pipeline successfully verified controllers in systems with over 800 state dimensions, significantly exceeding the scale of prior work.
- The method achieved full verification of the controller family within one hour for all benchmarks, while prior approaches failed to return feasible solutions within the same time limit for high-dimensional cases.
- The time-based controller selection strategy enabled effective shielding even in benchmarks where spatial composition was critical, demonstrating robustness across system types.
- The integration of the VLCF into the training process led to higher-quality, safer policies that outperformed non-verified counterparts in terms of both safety and performance.
- The decoupling of safety verification from the learning objective enabled scalable verification independent of the complexity of performance objectives or neural network architecture.
- The approach demonstrated superior scalability compared to prior shield-based methods, particularly in high-dimensional and stochastic settings, as shown by synthesis time comparisons across benchmarks like Pendulum, Cartpole, and Helicopter.
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.