Formal Verification of Markov Processes with Learned Parameters
Muhammad Maaz, Timothy C. Y. Chan
TL;DR
Formally verify Markov processes whose transition and reward parameters derive from ML outputs by casting verification problems as bilinear programs. The authors develop a decomposition and bound-propagation scheme that delivers global optima far faster than generic solvers, enabling exact analysis in settings with ML-predicted parameters and large state spaces. They validate the approach on synthetic experiments and a healthcare case study, and release markovml to embed pretrained ML models, construct Markov processes, and verify reachability, hitting time, and total reward. The work advances safe and transparent deployment of ML in high-stakes domains by providing rigorous guarantees and a practical, extensible toolchain.
Abstract
We introduce the problem of formally verifying properties of Markov processes where the parameters are given by the output of machine learning models. For a broad class of machine learning models, including linear models, tree-based models, and neural networks, verifying properties of Markov chains like reachability, hitting time, and total reward can be formulated as a bilinear program. We develop a decomposition and bound propagation scheme for solving the bilinear program and show through computational experiments that our method solves the problem to global optimality up to 100x faster than state-of-the-art solvers. To demonstrate the practical utility of our approach, we apply it to a real-world healthcare case study. Along with the paper, we release markovml, an open-source tool for building Markov processes, integrating pretrained machine learning models, and verifying their properties, available at https://github.com/mmaaz-git/markovml.
