Adaptive Aggregation for Safety-Critical Control

Huiliang Zhang, Di Wu, Benoit BouletarXiv 2023 · DOI

Abstract

Reinforcement learning (RL) in safety-critical environments faces a dual challenge: the need for efficient exploration and the requirement for strict safety guarantees. This paper introduces Adaptive Aggregation for Safety-Critical Control (AASC), a framework that leverages an attention-based mechanism to reuse prior knowledge from source tasks while employing a robust safeguard module to prevent violations during training. Our results demonstrate that AASC significantly improves learning efficiency and maintains near-zero safety violations compared to existing safe RL methods.

Introduction

Deploying RL in real-world scenarios like autonomous driving or robotics is hindered by the "exploration problem." Agents must explore to learn, but unconstrained exploration can lead to catastrophic failures. Traditional safe RL methods often suffer from extreme data inefficiency or "negative transfer" when adapting knowledge from previous tasks. AASC addresses these issues by adaptively aggregating source policies and decoupling performance optimization from safety constraints.

The AASC Framework

The AASC architecture is built on two pillars: adaptive knowledge aggregation and a dedicated safety shield.

Overview of the AASC architecture, including the adaptive aggregation 'brain' and the safeguard evaluation 'shield'.

1. Adaptive Aggregation

Instead of a monolithic policy, AASC utilizes an Attention Network to dynamically weight inputs from multiple Source Policies and an Auxiliary Network. The source policies provide pre-trained expertise from related tasks, while the auxiliary network learns task-specific residuals. The attention mechanism operates at the state level, allowing the agent to switch between source policies depending on the immediate environmental context (e.g., prioritizing a "cornering" policy over a "straightaway" policy).

2. Safeguard Evaluation

To ensure safety during exploration, a Safeguard Module monitors the actions proposed by the learning actor. It employs a Risk Value Estimator to predict the likelihood of future constraint violations. If an action is deemed unsafe, the system overrides it with a conservative Backup Policy.

Conceptual illustration of the safeguard mechanism: (a) shows a standard policy entering an unsafe state, while (b) shows the safeguard redirecting the agent to maintain safety.

Experimental Evaluation

AASC was evaluated in two complex simulated environments:

  • Circle Environment: A point-mass agent must navigate a circular path while remaining within a narrow safe boundary.
  • Constrained Half-Cheetah: A locomotion task requiring the robot to maximize forward speed while keeping its torso within a specific height range.

To test transferability, 25 distinct environment instances were created for each task by varying physical parameters such as mass and friction.

Key Insights and Results

  • Efficiency and Safety: AASC reached target reward levels faster than baselines like CPO or training from scratch. Crucially, it maintained cumulative safety violations near zero, whereas other methods incurred thousands.
  • Robustness to Negative Transfer: The attention mechanism successfully identifies and ignores irrelevant source policies. If source knowledge is poor, the network shifts weight to the auxiliary network, avoiding the performance degradation typical of brittle transfer methods.
  • Decoupled Objectives: By separating reward maximization from safety enforcement, AASC avoids the sub-optimal behaviors often caused by conflicting objectives in standard safe RL.

Conclusion

AASC provides a robust framework for safe and efficient RL by combining state-level adaptive aggregation with a proactive safeguard. While it currently relies on a predefined "safe set" and incurs some inference overhead, it represents a significant step toward deploying RL in real-world, safety-critical applications. Future work will focus on automating safe set discovery and distilling aggregated policies for faster inference.

Summary updated

BibTeX
@misc{zhang2023adaptive,
  author = {Huiliang Zhang and Di Wu and Benoit Boulet},
  title = {{Adaptive Aggregation for Safety-Critical Control}},
  year = {2023},
  eprint = {2302.03586},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2302.03586},
}
Figure