Black-box Testing Liveness Properties of Partially Observable Stochastic Systems
Javier Esparza, Vincent Grande
TL;DR
This work addresses black-box testing of finite-state probabilistic systems against ω-regular specifications under partial observability. It introduces restart-based strategies that guarantee termination and violation-tail detection when violations have positive probability, and proves asymptotically optimal bounds on the time to the last restart via progress radius and progress probability. A key contribution is reducing general ω-regular testing to Rabin languages and delivering a memory-efficient strategy 𝔖[f] parameterized by a growth function with limsup f(n)=∞, achieving logarithmic memory. Empirically, the approach scales to large benchmarks, often surpassing fully observable strategies and enabling violation discovery in systems where prior methods fail.
Abstract
We study black-box testing for stochastic systems and arbitrary $ω$-regular specifications, explicitly including liveness properties. We are given a finite-state probabilistic system that we can only execute from the initial state. We have no information on the number of reachable states, or on the probabilities; further, we can only partially observe the states. The only action we can take is to restart the system. We design restart strategies guaranteeing that, if the specification is violated with non-zero probability, then w.p.1 the number of restarts is finite, and the infinite run executed after the last restart violates the specification. This improves on previous work that required full observability. We obtain asymptotically optimal upper bounds on the expected number of steps until the last restart. We conduct experiments on a number of benchmarks, and show that our strategies allow one to find violations in Markov chains much larger than the ones considered in previous work.
