Context-Aware Safe Reinforcement Learning for Non-Stationary Environments
Not on the map. Why?
Abstract (arXiv)
Safety is a critical concern when deploying reinforcement learning agents for realistic tasks. Recently, safe reinforcement learning algorithms have been developed to optimize the agent's performance while avoiding violations of safety constraints. However, few studies have addressed the non-stationary disturbances in the environments, which may cause catastrophic outcomes. In this paper, we propose the context-aware safe reinforcement learning (CASRL) method, a meta-learning framework to realize safe adaptation in non-stationary environments. We use a probabilistic latent variable model to achieve fast inference of the posterior environment transition distribution given the context data. Safety constraints are then evaluated with uncertainty-aware trajectory sampling. The high cost of safety violations leads to the rareness of unsafe records in the dataset. We address this issue by enabling prioritized sampling during model training and formulating prior safety constraints with domain knowledge during constrained planning. The algorithm is evaluated in realistic safety-critical environments with non-stationary disturbances. Results show that the proposed algorithm significantly outperforms existing baselines in terms of safety and robustness.
Key facts. Cited by 33 papers in the map (data through 7 Oct 2026). Builds on 34 of its 48 references that are in the map. First posted on arXiv 2 Jan 2021.
Builds on
34 of 48 references.
References · 34
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
- 2013Auto-Encoding Variational Bayescited by 3,980
- 2015Continuous control with deep reinforcement learningcited by 3,279
- 2019Dream to Control: Learning Behaviors by Latent Imaginationcited by 1,598
- 2017Domain Randomization for Transferring Deep Neural Networks from Simulation to the Real Worldcited by 1,401
- 2015Prioritized Experience Replaycited by 1,070
- 2017Constrained Policy Optimizationcited by 928
- 2018Deep Reinforcement Learning in a Handful of Trials using Probabilistic Dynamics Modelscited by 748
- 2020Overfitting in adversarially robust deep learningcited by 504
- 2016RL2: Fast Reinforcement Learning via Slow Reinforcement Learningcited by 490
- 2017Robust Adversarial Reinforcement Learningcited by 439
22 more
- 2019Learning agile and dynamic motor skills for legged robotscited by 402
- 2018Neural Processescited by 307
- 2019Attentive Neural Processescited by 280
- 2018A Lyapunov-based Approach to Safe Reinforcement Learningcited by 278
- 2018Learning to Adapt in Dynamic, Real-World Environments Through Meta-Reinforcement Learningcited by 270
- 2018Safe Exploration in Continuous Action Spacescited by 237
- 2020Projection-Based Constrained Policy Optimizationcited by 195
- 2019Lyapunov-based Safe Policy Optimization for Continuous Controlcited by 140
- 2019Convolutional Conditional Neural Processescited by 139
- 2018Learning-based Model Predictive Control for Safe Explorationcited by 116
- 2020Safe Reinforcement Learning in Constrained Markov Decision Processescited by 109
- 2014Optimizing the CVaR via Samplingcited by 98
- 2015Gaussian Processes for Data-Efficient Learning in Robotics and Controlcited by 97
- 2017Cautious Model Predictive Control using Gaussian Process Regressioncited by 91
- 2018Deep Online Learning via Meta-Learning: Continual Adaptation for Model-Based RLcited by 80
- 2020Learning to Collide: An Adaptive Safety-Critical Scenarios Generating Methodcited by 74
- 2017OptLayer - Practical Constrained Optimization for Deep Reinforcement Learning in the Real Worldcited by 64
- 2018Meta Reinforcement Learning with Latent Variable Gaussian Processescited by 44
- 2019Assistive Gym: A Physics Simulation Framework for Assistive Roboticscited by 44
- 2020Delay-Aware Model-Based Reinforcement Learning for Continuous Controlcited by 33
- 2020Task-Agnostic Online Reinforcement Learning with an Infinite Mixture of Gaussian Processescited by 23
- 2019Recurrent Attentive Neural Process for Sequential Datacited by 15
Built on by
Citing papers per year: 2021: 3; 2022: 5; 2023: 10; 2024: 1; 2025: 7; 2026: 7.
33 papers.
Sort:
By area:
- 2022Constrained Variational Policy Optimization for Safe Reinforcement Learningcited by 69
- 2022A Survey on Model-based Reinforcement Learningcited by 65
- 2023Constrained Decision Transformer for Offline Safe Reinforcement Learningcited by 65
- 2023Datasets and Benchmarks for Offline Safe Reinforcement Learningcited by 58
- 2023TAIL: Task-specific Adapters for Imitation Learning with Large Pretrained Modelscited by 48
- 2022On the Robustness of Safe Reinforcement Learning under Observational Perturbationscited by 38
- 2022Trustworthy Reinforcement Learning Against Intrinsic Vulnerabilities: Robustness, Safety, and Generalizabilitycited by 32
- 2023Constraint-Conditioned Policy Optimization for Versatile Safe Reinforcement Learningcited by 17
- 2023Safety-aware Causal Representation for Trustworthy Offline Reinforcement Learning in Autonomous Drivingcited by 16
- 2023RiskBench: A Scenario-based Benchmark for Risk Identificationcited by 12
- 2025A Survey of Safe Reinforcement Learning and Constrained MDPs: A Technical Survey on Single-Agent and Multi-Agent Safetycited by 12
- 2025Out-of-Distribution Generalization with a SPARC: Racing 100 Unseen Vehicles with a Single Policycited by 4
21 more
- 2021Model-Based Safe Reinforcement Learning with Time-Varying State and Control Constraints: An Application to Intelligent Vehiclescited by 3
- 2021Scalable Safety-Critical Policy Evaluation with Accelerated Rare Event Samplingcited by 2
- 2025On the Design of Safe Continual RL Methods for Control of Nonlinear Systemscited by 2
- 2025Adaptive Shielding for Safe Reinforcement Learning under Hidden-Parameter Dynamics Shiftscited by 2
- 2025PNAct: Crafting Backdoor Attacks in Safe Reinforcement Learningcited by 2
- 2022Variational Meta Reinforcement Learning for Social Roboticscited by 1
- 2023Life-inspired Interoceptive Artificial Intelligence for Autonomous and Adaptive Agentscited by 1
- 2023Learning to Recover for Safe Reinforcement Learningcited by 1
- 2023C-Procgen: Empowering Procgen with Controllable Contextscited by 1
- 2024Robust Model Based Reinforcement Learning Using L1 Adaptive Controlcited by 1
- 2025Safe Continual Domain Adaptation after Sim2Real Transfer of Reinforcement Learning Policies in Roboticscited by 1
- 2026Safe Continual Reinforcement Learning Methods for Nonstationary Environments. Towards a Survey of the State of the Artcited by 1
- 2021Robustifying Reinforcement Learning Policies with L1 Adaptive Controlcited by 0
- 2023Adaptive Aggregation for Safety-Critical Controlcited by 0
- 2025UACER: An Uncertainty-Adaptive Critic Ensemble Framework for Robust Adversarial Reinforcement Learningcited by 0
- 2026Safe Continual Reinforcement Learning in Non-stationary Environmentscited by 0
- 2026BAPR: Bayesian amnesic piecewise-robust reinforcement learning for non-stationary continuous controlcited by 0
- 2026Safe Continual Reinforcement Learning under Nonstationarity via Adaptive Safety Constraintscited by 0
- 2026Latent Q-Barrier Shielding for Safe In-Context Reinforcement Learningcited by 0
- 2026Adjustment Speed as a Safety Constraint for Nonstationary Reinforcement Learningcited by 0
- 2026Proactive Context-Forecasted Safety Constraints for Nonstationary Reinforcement Learningcited by 0
- 2026Proactive Context-Forecasted Safety Constraints for Nonstationary Reinforcement Learning8 Sep 2026
- 2026Adjustment Speed as a Safety Constraint for Nonstationary Reinforcement Learning21 Jul 2026
- 2026Latent Q-Barrier Shielding for Safe In-Context Reinforcement Learning24 May 2026
- 2026BAPR: Bayesian amnesic piecewise-robust reinforcement learning for non-stationary continuous control15 May 2026
- 2026Safe Continual Reinforcement Learning under Nonstationarity via Adaptive Safety Constraints13 May 2026
- 2026Safe Continual Reinforcement Learning in Non-stationary Environments21 Apr 2026
- 2026Safe Continual Reinforcement Learning Methods for Nonstationary Environments. Towards a Survey of the State of the Art8 Jan 2026
- 2025UACER: An Uncertainty-Adaptive Critic Ensemble Framework for Robust Adversarial Reinforcement Learning11 Dec 2025
- 2025Out-of-Distribution Generalization with a SPARC: Racing 100 Unseen Vehicles with a Single Policy12 Nov 2025
- 2025PNAct: Crafting Backdoor Attacks in Safe Reinforcement Learning1 Jul 2025
- 2025A Survey of Safe Reinforcement Learning and Constrained MDPs: A Technical Survey on Single-Agent and Multi-Agent Safety22 May 2025
- 2025Adaptive Shielding for Safe Reinforcement Learning under Hidden-Parameter Dynamics Shifts20 May 2025
21 more
- 2025Safe Continual Domain Adaptation after Sim2Real Transfer of Reinforcement Learning Policies in Robotics13 Mar 2025
- 2025On the Design of Safe Continual RL Methods for Control of Nonlinear Systems21 Feb 2025
- 2024Robust Model Based Reinforcement Learning Using L1 Adaptive Control21 Mar 2024
- 2023RiskBench: A Scenario-based Benchmark for Risk Identification4 Dec 2023
- 2023C-Procgen: Empowering Procgen with Controllable Contexts13 Nov 2023
- 2023Safety-aware Causal Representation for Trustworthy Offline Reinforcement Learning in Autonomous Driving31 Oct 2023
- 2023TAIL: Task-specific Adapters for Imitation Learning with Large Pretrained Models9 Oct 2023
- 2023Constraint-Conditioned Policy Optimization for Versatile Safe Reinforcement Learning5 Oct 2023
- 2023Learning to Recover for Safe Reinforcement Learning21 Sep 2023
- 2023Life-inspired Interoceptive Artificial Intelligence for Autonomous and Adaptive Agents12 Sep 2023
- 2023Datasets and Benchmarks for Offline Safe Reinforcement Learning15 Jun 2023
- 2023Constrained Decision Transformer for Offline Safe Reinforcement Learning14 Feb 2023
- 2023Adaptive Aggregation for Safety-Critical Control7 Feb 2023
- 2022Trustworthy Reinforcement Learning Against Intrinsic Vulnerabilities: Robustness, Safety, and Generalizability16 Sep 2022
- 2022A Survey on Model-based Reinforcement Learning19 Jun 2022
- 2022Variational Meta Reinforcement Learning for Social Robotics7 Jun 2022
- 2022On the Robustness of Safe Reinforcement Learning under Observational Perturbations29 May 2022
- 2022Constrained Variational Policy Optimization for Safe Reinforcement Learning28 Jan 2022
- 2021Model-Based Safe Reinforcement Learning with Time-Varying State and Control Constraints: An Application to Intelligent Vehicles18 Dec 2021
- 2021Scalable Safety-Critical Policy Evaluation with Accelerated Rare Event Sampling19 Jun 2021
- 2021Robustifying Reinforcement Learning Policies with L1 Adaptive Control4 Jun 2021
- 2022A Survey on Model-based Reinforcement Learningcited by 65
- 2022A Survey on Model-based Reinforcement Learning19 Jun 2022
- 2022Constrained Variational Policy Optimization for Safe Reinforcement Learningcited by 69
- 2022On the Robustness of Safe Reinforcement Learning under Observational Perturbationscited by 38
- 2022Trustworthy Reinforcement Learning Against Intrinsic Vulnerabilities: Robustness, Safety, and Generalizabilitycited by 32
- 2023Constraint-Conditioned Policy Optimization for Versatile Safe Reinforcement Learningcited by 17
- 2023RiskBench: A Scenario-based Benchmark for Risk Identificationcited by 12
- 2025A Survey of Safe Reinforcement Learning and Constrained MDPs: A Technical Survey on Single-Agent and Multi-Agent Safetycited by 12
- 2025Out-of-Distribution Generalization with a SPARC: Racing 100 Unseen Vehicles with a Single Policycited by 4
- 2021Model-Based Safe Reinforcement Learning with Time-Varying State and Control Constraints: An Application to Intelligent Vehiclescited by 3
- 2021Scalable Safety-Critical Policy Evaluation with Accelerated Rare Event Samplingcited by 2
- 2025On the Design of Safe Continual RL Methods for Control of Nonlinear Systemscited by 2
- 2025Adaptive Shielding for Safe Reinforcement Learning under Hidden-Parameter Dynamics Shiftscited by 2
- 2025PNAct: Crafting Backdoor Attacks in Safe Reinforcement Learningcited by 2
12 most cited of 28 All 28 (JSON)
- 2026Proactive Context-Forecasted Safety Constraints for Nonstationary Reinforcement Learning8 Sep 2026
- 2026Adjustment Speed as a Safety Constraint for Nonstationary Reinforcement Learning21 Jul 2026
- 2026Latent Q-Barrier Shielding for Safe In-Context Reinforcement Learning24 May 2026
- 2026BAPR: Bayesian amnesic piecewise-robust reinforcement learning for non-stationary continuous control15 May 2026
- 2026Safe Continual Reinforcement Learning under Nonstationarity via Adaptive Safety Constraints13 May 2026
- 2026Safe Continual Reinforcement Learning in Non-stationary Environments21 Apr 2026
- 2026Safe Continual Reinforcement Learning Methods for Nonstationary Environments. Towards a Survey of the State of the Art8 Jan 2026
- 2025UACER: An Uncertainty-Adaptive Critic Ensemble Framework for Robust Adversarial Reinforcement Learning11 Dec 2025
- 2025Out-of-Distribution Generalization with a SPARC: Racing 100 Unseen Vehicles with a Single Policy12 Nov 2025
- 2025PNAct: Crafting Backdoor Attacks in Safe Reinforcement Learning1 Jul 2025
- 2025A Survey of Safe Reinforcement Learning and Constrained MDPs: A Technical Survey on Single-Agent and Multi-Agent Safety22 May 2025
- 2025Adaptive Shielding for Safe Reinforcement Learning under Hidden-Parameter Dynamics Shifts20 May 2025
12 newest of 28 All 28 (JSON)