Probabilistic Safety Guarantee for Stochastic Control Systems Using Average Reward MDPs

Saber Omidi, Marek Petrik, Se Young Yoon, Momotaz BegumarXiv 2025 · DOI

Abstract

Ensuring the safety of autonomous systems in stochastic environments is a critical challenge in control theory. Traditional methods often rely on overly conservative robust control or discounted Markov Decision Processes (MDPs) that use arbitrary discount factors, potentially compromising long-term safety guarantees. This paper presents a novel approach that reduces the safety problem to an Average Reward MDP. By formulating the problem as a Dual Linear Program, we provide a computationally efficient method to determine the maximum probability of a system remaining within a safe set indefinitely, eliminating the need for artificial discount parameters.

Introduction

In robotics and autonomous systems, safety is defined as the ability to avoid "unsafe" states, such as collisions or structural failures. However, real-world systems are inherently stochastic, influenced by random noise and unpredictable environmental disturbances. Current methodologies typically fall into two categories: Robust Control (e.g., Hamilton-Jacobi-Isaacs equations), which often results in excessive conservatism, and Discounted MDPs, which utilize a discount factor ($\lambda$) to manage future rewards. The latter approach is problematic because the discount factor is often arbitrary; a system might prioritize immediate safety while ignoring catastrophic failures in the distant future because they are heavily discounted.

This research addresses the gap by providing a framework for indefinite safety—staying safe forever—without the conservatism of worst-case assumptions or the mathematical artifacts of discounting.

Methods

The core of the proposed method is the reduction of the safety problem to an Average Reward MDP (AVR). The methodology follows several key steps:

  1. Transition Logic Modification: The system's dynamics are modified such that any transition out of the defined "safe set" leads to an absorbing "unsafe" state, representing a permanent failure.
  2. Reward Structure: A binary reward system is implemented where the agent receives a reward of 1 for every time step it remains within the safe set and 0 otherwise.
  3. Gain Equivalence: The authors mathematically demonstrate that the "optimal gain" ($g^*$) in this average-reward configuration is exactly equal to the maximum probability of the system maintaining safety over an infinite horizon.
  4. Linear Programming (LP) Formulation: To avoid the slow convergence of iterative methods like Value Iteration, the problem is solved using a Dual Linear Program. This allows for the use of high-performance solvers to find the optimal safety policy efficiently.

Results and Discussion

The algorithm was tested on benchmark physical systems, including a Double Integrator (modeling basic position and velocity) and an Inverted Pendulum (a non-linear balancing task).

Comparison of the proposed Average Reward (AVR) method against discounted MDR methods for the Double Integrator (left) and Inverted Pendulum (right). The AVR method (black line) represents the true safety limit as the discount factor approaches zero.

Accuracy and Convergence

As illustrated in Figure 1, the AVR method (black line) aligns perfectly with the theoretical limit of discounted methods (MDR) as the discount factor $\lambda$ approaches zero. This confirms that the AVR approach provides a "pure" safety guarantee, representing the actual probability of staying safe over an infinite horizon without the skewing effects of a discount factor.

Computational Efficiency

The shift to Linear Programming represents a significant advancement in scalability. In tests involving the Inverted Pendulum with up to 40,000 states, the LP-based AVR method maintained high efficiency, whereas traditional iterative methods showed steep increases in runtime. This efficiency allows for the generation of detailed "safety maps," enabling engineers to visualize the safe operating envelope of a system based on specific confidence thresholds.

Conclusion and Future Work

By eliminating arbitrary parameters and leveraging optimized LP solvers, this framework provides a rigorous and scalable tool for probabilistic safety assessment. While the current work focuses on pure safety, future research will explore multi-objective optimization to balance safety with performance goals (e.g., speed or energy efficiency) and the integration of these guarantees into Safe Reinforcement Learning algorithms for autonomous exploration in unknown environments.

Summary updated

Abstract

Safety in stochastic control systems, which are subject to random noise with a known probability distribution, aims to compute policies that satisfy predefined operational constraints with high confidence throughout the uncertain evolution of the state variables. The unpredictable evolution of state variables poses a significant challenge for meeting predefined constraints using various control methods. To address this, we present a new algorithm that computes safe policies to determine the safety level across a finite state set. This algorithm reduces the safety objective to the standard average reward Markov Decision Process (MDP) objective. This reduction enables us to use standard techniques, such as linear programs, to compute and analyze safe policies. We validate the proposed method numerically on the Double Integrator and the Inverted Pendulum systems. Results indicate that the average-reward MDPs solution is more comprehensive, converges faster, and offers higher quality compared to the minimum discounted-reward solution.
BibTeX
@misc{omidi2025probabilistic,
  author = {Saber Omidi and Marek Petrik and Se Young Yoon and Momotaz Begum},
  title = {{Probabilistic Safety Guarantee for Stochastic Control Systems Using Average Reward MDPs}},
  year = {2025},
  eprint = {2511.08419},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.08419},
}
Figure