Parametric verification of linear temporal properties for stochastic models can be expressed as computing the satisfaction probability of a certain property as a function of the parameters of the model. Smoothed model checking (smMC) aims at inferring the satisfaction function over the entire parameter space from a limited set of observations obtained via simulation. As observations are costly and noisy, smMC is framed as a Bayesian inference problem so that the estimates have an additional quantification of the uncertainty. In smMC the authors use Gaussian Processes (GP), inferred by means of the Expectation Propagation algorithm. This approach provides accurate reconstructions with statistically sound quantification of the uncertainty. However, it inherits the well-known scalability issues of GP. In this paper, we exploit recent advances in probabilistic machine learning to push this limitation forward, making Bayesian inference of smMC scalable to larger datasets and enabling its application to models with high dimensional parameter spaces. We propose Stochastic Variational Smoothed Model Checking (SV-smMC), a solution that exploits stochastic variational inference (SVI) to approximate the posterior distribution of the smMC problem. The strength and flexibility of SVI make SV-smMC applicable to two alternative probabilistic models: Gaussian Processes (GP) and Bayesian Neural Networks (BNN). The core ingredient of SVI is a stochastic gradient-based optimization that makes inference easily parallelizable and that enables GPU acceleration. In this paper, we compare the performances of smMC against those of SV-smMC by looking at the scalability, the computational efficiency and the accuracy of the reconstructed satisfaction function.
翻译:线性时间属性的参数验证可被表达为计算某一属性满足概率关于模型参数的函数。平滑模型检查(smMC)的目标是从通过仿真获得的观察结果的有限集合中推断整个参数空间上满足函数。由于观察结果昂贵且有噪声,因此将平滑模型检查界定为贝叶斯推断问题,以便进行有关不确定性的估计。在smMC中,作者使用期望传播算法推断的高斯过程(GP)。这种方法提供了准确的重建和具有统计学上明确不确定性的估计。然而,它继承了GP的众所周知的可扩展性问题。在本文中,我们利用概率机器学习的最新进展将这个限制推向前进,使smMC的贝叶斯推断可扩展至更大的数据集,并使其适用于具有高维参数空间的模型。我们提出了随机变分平滑模型检查(SV-smMC)的解决方案,该解决方案利用随机变分推断(SVI)来逼近smMC问题的后验分布。SVI的优点和灵活性使SV-smMC适用于两种替代的概率模型:高斯过程(GP)和贝叶斯神经网络(BNN)。SVI的核心元素是基于随机梯度的优化,使推断易于并行化,并实现了GPU加速。在本文中,我们通过考察重建满足函数的可扩展性、计算效率和准确性,比较了smMC和SV-smMC的性能。