{"title":"Safe reinforcement learning via adaptive robust model predictive shielding","authors":"Hilde Gerold, Sergio Lucia","doi":"10.1016/j.compchemeng.2025.109521","DOIUrl":null,"url":null,"abstract":"<div><div>Ensuring constraint satisfaction during the deployment of reinforcement learning (RL) controllers remains a key challenge for safety-critical systems. Model predictive shielding addresses this by verifying proposed actions through predictive models and replacing unsafe ones with a backup policy, but existing approaches can be overly conservative, computationally demanding, and difficult to design for nonlinear systems with uncertainty.</div><div>We propose Adaptive Robust Model Predictive Shielding to overcome these limitations. First, we employ an approximate robust nonlinear model predictive controller as the backup policy, trained offline from multi-stage robust model predictive control data. This robust model predictive shielding approach retains safety under uncertainty while enabling real-time applicability. Second, we introduce an adaptive safety parameter in the RL observation space, allowing the agent to dynamically adjust its conservativeness. Our adaptive model predictive shielding method thus enhances safety and adapts to current uncertainty levels while avoiding excessive conservatism. When deployed with a safe backup policy, adaptive robust model predictive shielding retains safety under uncertainty and reduces unnecessary backup interventions. Simulation results for a nonlinear continuous stirred tank reactor with parametric uncertainty show that the proposed adaptive robust model predictive shielding approach reduces interventions of backup policies while still guaranteeing safety. This framework can be especially beneficial for safe RL of chemical processes where a combination of safety guarantees, high performance, and real-time feasibility is critical.</div></div>","PeriodicalId":286,"journal":{"name":"Computers & Chemical Engineering","volume":"206 ","pages":"Article 109521"},"PeriodicalIF":4.9000,"publicationDate":"2026-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers & Chemical Engineering","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0098135425005241","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/12/10 0:00:00","PubModel":"Epub","JCR":"Q2","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0
Abstract
Ensuring constraint satisfaction during the deployment of reinforcement learning (RL) controllers remains a key challenge for safety-critical systems. Model predictive shielding addresses this by verifying proposed actions through predictive models and replacing unsafe ones with a backup policy, but existing approaches can be overly conservative, computationally demanding, and difficult to design for nonlinear systems with uncertainty.
We propose Adaptive Robust Model Predictive Shielding to overcome these limitations. First, we employ an approximate robust nonlinear model predictive controller as the backup policy, trained offline from multi-stage robust model predictive control data. This robust model predictive shielding approach retains safety under uncertainty while enabling real-time applicability. Second, we introduce an adaptive safety parameter in the RL observation space, allowing the agent to dynamically adjust its conservativeness. Our adaptive model predictive shielding method thus enhances safety and adapts to current uncertainty levels while avoiding excessive conservatism. When deployed with a safe backup policy, adaptive robust model predictive shielding retains safety under uncertainty and reduces unnecessary backup interventions. Simulation results for a nonlinear continuous stirred tank reactor with parametric uncertainty show that the proposed adaptive robust model predictive shielding approach reduces interventions of backup policies while still guaranteeing safety. This framework can be especially beneficial for safe RL of chemical processes where a combination of safety guarantees, high performance, and real-time feasibility is critical.
期刊介绍:
Computers & Chemical Engineering is primarily a journal of record for new developments in the application of computing and systems technology to chemical engineering problems.