English

Formal Verification of Markov Processes with Learned Parameters

Machine Learning 2025-05-13 v2 Artificial Intelligence Optimization and Control

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.

Keywords

Cite

@article{arxiv.2501.15767,
  title  = {Formal Verification of Markov Processes with Learned Parameters},
  author = {Muhammad Maaz and Timothy C. Y. Chan},
  journal= {arXiv preprint arXiv:2501.15767},
  year   = {2025}
}

Comments

9 pages (main manuscript), 3 figures, 1 table

R2 v1 2026-06-28T21:18:53.883Z