10
0

Runtime Safety through Adaptive Shielding: From Hidden Parameter Inference to Provable Guarantees

Main:8 Pages
16 Figures
Bibliography:3 Pages
2 Tables
Appendix:13 Pages
Abstract

Variations in hidden parameters, such as a robot's mass distribution or friction, pose safety risks during execution. We develop a runtime shielding mechanism for reinforcement learning, building on the formalism of constrained hidden-parameter Markov decision processes. Function encoders enable real-time inference of hidden parameters from observations, allowing the shield and the underlying policy to adapt online. The shield constrains the action space by forecasting future safety risks (such as obstacle proximity) and accounts for uncertainty via conformal prediction. We prove that the proposed mechanism satisfies probabilistic safety guarantees and yields optimal policies among the set of safety-compliant policies. Experiments across diverse environments with varying hidden parameters show that our method significantly reduces safety violations and achieves strong out-of-distribution generalization, while incurring minimal runtime overhead.

View on arXiv
@article{kwon2025_2506.11033,
  title={ Runtime Safety through Adaptive Shielding: From Hidden Parameter Inference to Provable Guarantees },
  author={ Minjae Kwon and Tyler Ingebrand and Ufuk Topcu and Lu Feng },
  journal={arXiv preprint arXiv:2506.11033},
  year={ 2025 }
}
Comments on this paper