Search papers, labs, and topics across Lattice.
This paper addresses the problem of verifying the safety of learned policies in sequential decision-making under non-determinism. It identifies a weakness in the state-of-the-art TarjanSafe algorithm, demonstrating its exponential worst-case runtime. To overcome this, the authors introduce a new policy-iteration algorithm, iPI, which combines the practical efficiency of TarjanSafe with a guaranteed polynomial worst-case runtime, validated through experiments.
A new policy iteration algorithm, iPI, closes the gap between existing safety verification methods by matching the best-case runtime of TarjanSafe while guaranteeing polynomial worst-case scaling.
Learned action policies are increasingly popular in sequential decision-making, but suffer from a lack of safety guarantees. Recent work introduced a pipeline for testing the safety of such policies under initial-state and action-outcome non-determinism. At the pipeline's core, is the problem of deciding whether a state is safe (a safe policy exists from the state) and finding faults, which are state-action pairs that transition from a safe state to an unsafe one. Their most effective algorithm for deciding safety, TarjanSafe, is effective on their benchmarks, but we show that it has exponential worst-case runtime with respect to the state space. A linear-time alternative exists, but it is slower in practice. We close this gap with a new policy-iteration algorithm iPI, that combines the best of both: it matches TarjanSafe's best-case runtime while guaranteeing a polynomial worst-case. Experiments confirm our theory and show that in problems amenable to TarjanSafe iPI has similar performance, whereas in ill-suited problems iPI scales exponentially better.