ConstrainedZero: Chance-Constrained POMDP Planning Using Learned Probabilistic Failure Surrogates and Adaptive Safety Constraints

Robert J. Moss, Arec L. Jamgochian, Johannes Fischer, Anthony Corso, Mykel J. Kochenderfer

Introduction

Safety-critical autonomous systems often operate in environments characterized by partial observability and significant uncertainty, typically modeled as Partially Observable Markov Decision Processes (POMDPs). Traditional safety approaches rely on augmenting reward functions with large penalties for failure. However, this often leads to a difficult tuning problem: penalties that are too small result in reckless behavior, while excessively large penalties can lead to agent "paralysis."

Chance-Constrained POMDPs (CC-POMDPs) offer a more intuitive alternative by explicitly constraining the probability of failure (e.g., $p(\text{failure}) \leq \Delta$). Despite their conceptual appeal, solving CC-POMDPs for large-scale, continuous, and long-horizon problems is computationally demanding. ConstrainedZero addresses these challenges by extending the AlphaZero/BetaZero framework with learned safety surrogates and adaptive constraints.

Methodology

ConstrainedZero is a policy iteration algorithm designed for safe planning in complex POMDPs. It integrates three core innovations: a multi-headed neural network surrogate, a constrained Monte Carlo Tree Search (MCTS), and an adaptive safety mechanism.

Overview of the ConstrainedZero framework, including the neural network surrogate, offline policy iteration loop, and online $\Delta$-MCTS planning.

1. Learned Probabilistic Failure Surrogates

The neural network architecture in ConstrainedZero extends standard actor-critic models. In addition to predicting the policy ($\mathbf{p}$) and value ($v$), it includes a dedicated third head that estimates the failure probability ($p = F_\theta(\tilde{b})$) for a given belief state representation $\tilde{b}$. This allows the agent to internalize safety risks directly from experience.

2. $\Delta$-MCTS and CC-PUCT

During online planning, ConstrainedZero employs a modified MCTS called $\Delta$-MCTS. It uses a selection criterion named Chance-Constrained Predictor Upper Confidence Bound for Trees (CC-PUCT). This criterion filters out actions predicted to exceed the safety budget $\Delta$, ensuring the search focuses on safe trajectories.

The online $\Delta$-MCTS planning process, incorporating safety-constrained selection and adaptive thresholding.

3. Adaptive Safety Constraints

Neural network estimates of failure probability can be inaccurate or overconfident. To mitigate this, ConstrainedZero utilizes Adaptive Conformal Inference (ACI). This mechanism dynamically adjusts the safety threshold $\Delta$ during the search based on the agent's recent performance, ensuring the target safety level is met even with an imperfect surrogate model.

Experimental Evaluation

The approach was evaluated on three safety-critical benchmarks:

  • LightDark: A classic localization task where failure occurs if the agent stops outside the goal region.
  • Aircraft Collision Avoidance (CAS): Modeled after the real-world ACAS X system, where the goal is to avoid Near Mid-Air Collisions (NMAC).
  • Spillpoint CCS: A carbon capture and storage problem requiring $CO_2$ injection without leakage.

Results and Discussion

ConstrainedZero demonstrated superior performance in maintaining safety constraints without sacrificing utility.

  • Precision Safety: In the LightDark task with a target failure rate of $\Delta_0 = 0.01$, ConstrainedZero achieved a rate of $0.01 \pm 0.01$. Standard baselines required extensive hyperparameter tuning to achieve similar safety, often with higher variance.
  • Zero-Failure Performance: In the CAS benchmark, the algorithm achieved a zero failure rate while maintaining higher returns than existing baselines.
  • Importance of Adaptation: Ablation studies revealed that the adaptive thresholding mechanism is critical. Without it, failure rates in the LightDark task jumped from $0.01$ to $0.66$, highlighting the necessity of self-correcting safety constraints when using learned models.

Conclusion

ConstrainedZero provides a robust framework for safe POMDP planning by decoupling safety from reward and leveraging learned surrogates. The combination of a failure-aware neural network and adaptive MCTS allows agents to operate safely in uncertain environments without manual reward tuning. Future work includes extending the framework to handle multiple failure modes and continuous action spaces.

Summary updated

BibTeX
@inproceedings{moss2024constrainedzero,
  author = {Robert J. Moss and Arec L. Jamgochian and Johannes Fischer and Anthony Corso and Mykel J. Kochenderfer},
  title = {{ConstrainedZero: Chance-Constrained POMDP Planning Using Learned Probabilistic Failure Surrogates and Adaptive Safety Constraints}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2024},
}
Figure