Neural predictive monitoring and a comparison of frequentist and Bayesian approaches
Neural predictive monitoring and a comparison of frequentist and Bayesian approaches
复制标题
DOI:
10.1007/s10009-021-00623-1
复制
发表时间:
2021-05
影响因子:
1.5
通讯作者:
L. Bortolussi;Francesca Cairoli;Nicola Paoletti;S. Smolka;S. Stoller
中科院分区:
文献类型:
--
作者:
L. Bortolussi;Francesca Cairoli;Nicola Paoletti;S. Smolka;S. Stoller
Neural state classification (NSC) is a recently proposed method for runtime predictive monitoring of hybrid automata (HA) using deep neural networks (DNNs). NSC trains a DNN as an approximatereachability predictorthat labels an HA statexaspositiveif an unsafe state is reachable fromxwithin a given time bound, and labelsxasnegativeotherwise. NSC predictors have very high accuracy, yet are prone to prediction errors that can negatively impact reliability. To overcome this limitation, we presentneural predictive monitoring(NPM), a technique that complements NSC predictions with estimates of the predictive uncertainty. These measures yield principled criteria for the rejection of predictions likely to be incorrect, without knowing the true reachability values. We also present an active learning method that significantly reduces the NSC predictor’s error rate and the percentage of rejected predictions. We develop two versions of NPM based, respectively, on the use of frequentist and Bayesian techniques to learn the predictor and the rejection rule. Both versions are highly efficient, with computation times on the order of milliseconds, and effective, managing in our experimental evaluation to successfully reject almost all incorrect predictions. In our experiments on a benchmark suite of six hybrid systems, we found that the frequentist approach consistently outperforms the Bayesian one. We also observed that the Bayesian approach is less practical, requiring a careful and problem-specific choice of hyperparameters.