TL;DR
Standard chance-constrained control minimizes costs across all outcomes, inadvertently incentivizing systems to fail if crashing is "cheap" (e.g., a crashed drone stops consuming battery). This paper introduces Safe-Optimal Control, a framework that exclusively optimizes the cost of successful, safe trajectories. By reformulating the problem as an augmented constrained Markov Decision Process (MDP), the authors eliminate this perverse incentive to fail and provide robust solution methods using both dynamic programming and reinforcement learning.
What Problem Does This Paper Address?
In stochastic optimal control, we often want to minimize financial or operational costs while ensuring a system stays safe with a high probability (e.g., $\ge 90\%$). This is typically framed as a Joint Chance Constrained (JCC) problem.
However, standard JCC algorithms minimize the total expected cost across all trajectories—both safe and unsafe. If a constraint violation is catastrophic and irreversible (like a robot crashing), its post-failure cost is often zero or irrelevant. Standard JCC math treats these low-cost, unsafe trajectories as a benefit. As a result, the controller will intentionally "give up" on safety in a fraction of its runs to exploit these cheap, failing paths.
This paper addresses this flaw by introducing a formulation that only cares about the cost of trajectories that actually remain safe, completely disregarding the cost of failed runs.
Methods
The authors modify the standard JCC objective by introducing a trajectory weighting function, $a(h_N)$, which assigns a weight of zero to unsafe trajectories and optimizes only the safe ones.
Because this weighting function depends on the entire history of the system, the problem becomes non-Markovian (history-dependent), making standard Dynamic Programming (DP) inapplicable. To fix this, the authors introduce two key innovations:
- State Augmentation: They add an artificial state variable, $c_k$, to track accumulated costs over time, and introduce a virtual final time-step ($N+1$) to apply the trajectory weights. This successfully casts the problem back into a standard constrained MDP.
- Gridding Abstraction & Error Bounds: For continuous state spaces, they approximate the MDP using a discrete grid. Crucially, they derive a theoretical safety error bound to guarantee that a policy found on the grid will still satisfy safety thresholds when deployed in the continuous world.
As an alternative to grid-based DP (which suffers from the curse of dimensionality), they also implement a Reinforcement Learning (RL) baseline using the Soft Actor-Critic (SAC) algorithm within a lexicographic learning framework to handle the highly sparse rewards of safe reach-avoid tasks.
Datasets
The approach is evaluated on a simulated 2D unicycle system subject to additive disturbances and steering actuation noise. The authors test the system across four cluttered reach-avoid environments: Simple, Simple-Slit, Zigzag, and Balls.
Key Insights and Ideas
- The "Giving Up" Phenomenon: Standard JCC doesn't just tolerate failure; it actively exploits it if failure paths are cheap. Safe-optimal control aligns the mathematical objective with human intuition: if an asset is lost, the resources "saved" after the crash do not matter.
- Resolving Ambiguity: Disregarding unsafe trajectories introduces mathematical ambiguity—if a trajectory is going to fail anyway, any random action looks equally good to the optimizer. The authors resolve this by adding a secondary optimization step that selects the safest policy among those that achieve the optimal safe cost.
- DP vs. RL Trade-offs: While RL scales better to high-dimensional spaces, it struggles heavily with the sparse rewards of safety constraints. In environments with narrow passages (like the Simple-Slit environment), RL often gets trapped in local optima and fails to discover risky but highly efficient shortcuts that DP easily finds.
Key Results
- Lower Costs for Success: In a simulated delivery robot scenario, optimizing exclusively for safe trajectories lowered the actuation cost for successful runs from 21.8 (standard JCC) to 19.7 (Safe-Optimal).
- Clearer Trade-offs: As shown in the Pareto front below, standard JCC gains no performance benefit on safe trajectories by taking more risks. In contrast, the proposed safe-optimal approach allows operators to cleanly trade off safety against safe-trajectory performance using the Lagrange multiplier $\lambda$.
- Algorithmic Performance: Dynamic Programming consistently outperformed Reinforcement Learning in terms of solution quality, finding paths that better exploited environmental shortcuts, though it required a discretized state space.
Limitations and Future Work
The primary limitation of the grid-based DP approach is the curse of dimensionality; the number of grid partitions scales exponentially with the state space, making it intractable for complex, high-dimensional systems.
For future work, the authors plan to extend this framework to more general temporal logic constraints, explore mathematical connections to Conditional Value-at-Risk (CVaR) optimization, and validate the safe-optimal controller on physical robotic hardware.
Summary updated