NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Adaptive Risk Sensitive Model Predictive Control with Stochastic Search

Ziyi Wang, Oswin So, Keuntaek Lee, Evangelos A. Theodorou

Abstract

We present a general framework for optimizing the Conditional Value-at-Risk for dynamical systems using stochastic search. The framework is capable of handling the uncertainty from the initial condition, stochastic dynamics, and uncertain parameters in the model. The algorithm is compared against a risk-sensitive distributional reinforcement learning framework and demonstrates improved performance on a pendulum and cartpole with stochastic dynamics. We also showcase the applicability of the framework to robotics as an adaptive risk-sensitive controller by optimizing with respect to the fully nonlinear belief provided by a particle filter on a pendulum, cartpole, and quadcopter in simulation.

1. Introduction

In standard Reinforcement Learning (RL) and Stochastic Optimal Control (SOC), the objective is typically to minimize the expected cost. While this approach works well for average performance, it often fails to account for rare but catastrophic events—the "long tail" of the cost distribution. In safety-critical robotics applications, such as drone flight or autonomous navigation, minimizing the average cost is insufficient if the system has a non-negligible probability of failure.

To address this, researchers utilize risk measures like Conditional Value-at-Risk (CVaR), which focuses on the expected cost in the worst-case scenarios (e.g., the top 10% of high-cost outcomes). However, CVaR is notoriously "time-inconsistent" in dynamical systems: a plan that is optimal at the start may no longer be optimal as the system evolves, requiring complex state-space augmentation in traditional dynamic programming approaches.

2. Risk-Sensitive Stochastic Search (RS3)

We introduce Risk-Sensitive Stochastic Search (RS3), a framework that optimizes CVaR directly by treating the control problem as a black-box optimization. By using stochastic search instead of the Bellman equation, RS3 bypasses the time-inconsistency problem entirely, as it optimizes the risk of the entire trajectory at once.

The algorithm operates in a Model Predictive Control (MPC) fashion, sampling thousands of control sequences and evaluating their risk using a "shape function" $S$. This function allows for weighting different cost levels, effectively tuning the controller's risk sensitivity. To handle model uncertainty (e.g., unknown mass or drag), RS3 is integrated with a particle filter that provides a fully nonlinear belief over system parameters, allowing the controller to adapt online.

3. Experimental Evaluation

The framework was evaluated on three simulated benchmarks: an inverted pendulum, a cartpole, and a quadcopter. We compared RS3 against Sample-based Distributional Policy Gradients (SDPG), a state-of-the-art risk-sensitive RL baseline.

Cost histograms for Pendulum (left) and Cartpole (right) showing RS3 (blue) vs SDPG (orange). RS3 demonstrates "sharper" tails, effectively eliminating high-cost failure modes.

4. Results and Discussion

RS3 consistently outperformed SDPG across all risk metrics, particularly as system noise increased. As shown in the cost histograms, while standard methods may have a lower average cost in some cases, they often exhibit "fat tails"—occasional very high costs representing system failures. RS3 produces "sharp tails," successfully clipping off these dangerous modes.

Quantitative comparison of RS3 and SDPG performance across varying noise levels for Pendulum and Cartpole tasks.

In the Cartpole task with high noise (variance = 2.0), SDPG's CVaR cost exploded to 659.6, indicating frequent failures. In contrast, RS3 maintained a CVaR of 326.9. Furthermore, in quadcopter simulations with a 500% error in initial drag estimates, the adaptive particle filter allowed RS3 to converge to the target position safely, whereas non-adaptive versions suffered from massive overshooting.

5. Conclusion

RS3 provides a robust, mathematically simpler alternative to traditional risk-sensitive control methods. By leveraging stochastic search and GPU parallelization, it achieves superior safety and performance in uncertain environments. Future work will focus on reducing computational intensity for low-power hardware and scaling the approach to high-dimensional state spaces using deep neural network policies.

Summary updated

BibTeX
@inproceedings{wang2021adaptive,
  author = {Ziyi Wang and Oswin So and Keuntaek Lee and Evangelos A. Theodorou},
  title = {{Adaptive Risk Sensitive Model Predictive Control with Stochastic Search}},
  booktitle = {L4DC},
  year = {2021},
  url = {https://openreview.net/forum?id=Xv0PJJxPnW},
}
Figure