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:
- 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.
- 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.
- 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.
- 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).
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