Synthesizing Efficient and Permissive Programmatic Runtime Shields for Neural Policies
Jieke Shi, Junda He, Zhou Yang, {\DJ}or{\dj}e \v{Z}ikeli\'c, and David Lo

TL;DR
Aegis is a new framework that synthesizes lightweight, permissive runtime shields for neural policies, ensuring safety with less overhead and fewer interventions by using a novel program synthesis approach.
Contribution
Aegis introduces a sketch-based synthesis method leveraging counterexample-guided inductive synthesis and Bayesian optimization for efficient shield generation.
Findings
Ensures safety by correcting all unsafe commands.
Reduces time overhead by 2.2× compared to state-of-the-art.
Cuts memory usage by 3.9× and interventions by 1.5×.
Abstract
With the increasing use of neural policies in control systems, ensuring their safety and reliability has become a critical software engineering task. One prevalent approach to ensuring the safety of neural policies is to deploy programmatic runtime shields alongside them to correct their unsafe commands. However, the programmatic runtime shields synthesized by existing methods are either computationally expensive or insufficiently permissive, resulting in high overhead and unnecessary interventions on the system. To address these challenges, we propose Aegis, a novel framework that synthesizes lightweight and permissive programmatic runtime shields for neural policies. Aegis achieves this by formulating the seeking of a runtime shield as a sketch-based program synthesis problem and proposing a novel method that leverages counterexample-guided inductive synthesis and Bayesian…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNeural Networks and Applications
