MCP
arXivarXiv
Preprint
Published: August 4, 2026
cs.SE

Leveraging System-Level Observations to Inform Bayesian Learning of Model Parameters for Quantitative Verification

Abstract
Combining Bayesian learning and quantitative verification is a powerful toolset for analysing key quantitative properties of software systems, like reliability and response time. However, the accuracy and robustness of verification results strongly depend on the prior knowledge (PK) underlying Bayesian inference. This knowledge reflects original beliefs about the probability of events and typically depends on domain expertise. Using inaccurate or uninformative PK can negatively affect quantitative analysis, yielding incorrect verification results. Our EPIK approach tackles this important challenge by eliciting and embedding PK in quantitative verification equipped with Bayesian estimators. Unlike existing approaches that require PK on formal model transition parameters, EPIK leverages system-level properties that are directly observable and are linked to real-world semantics. EPIK formulates a twofold optimisation problem to derive the distributions of unknown transition parameters and then embeds these distributions to verify new or difficult-to-measure (elusive) properties. The detailed experimental evaluation using multiple variants of real-world case studies and diverse EPIK instantiations shows its effectiveness, flexibility and generality.
0
AI overview
Reviews
Citation graph
References · 94
Structured
This preview uses generator v1; v2 is available

Overview

Addressing the problem that inaccurate prior knowledge degrades the robustness of results in Bayesian quantitative verification, this paper proposes EPIK, a Bayesian parameter model checking method. It leverages expert prior knowledge of observable system-level properties to derive reasonable distributions of unknown transition parameters, supporting quantitative verification of elusive properties that are difficult to observe directly.

The Prior Knowledge Quality Problem in Bayesian Quantitative Verification

The combination of Bayesian learning and quantitative verification is an effective toolkit for analyzing core quantitative properties of software systems such as reliability and response time, with clear application value in scenarios involving analysis of critical system properties.

The accuracy and robustness of the outputs of such Bayesian-framework-based quantitative verification depend heavily on the prior knowledge underlying the Bayesian inference. Prior knowledge typically comes from domain experts' experience and carries initial judgments about the probability of events. Once inaccurate or information-poor priors are used, they directly and negatively affect the subsequent quantitative analysis, ultimately yielding erroneous verification conclusions.

The parameter estimation step of existing quantitative verification has long suffered from an under-addressed pain point: conventional quantitative verification presupposes that the model can accurately reproduce the runtime behavior of real software. This premise is usually satisfiable at the model structure level, but correctly estimating core parameters such as transition probabilities and transition rates is extremely difficult. Current mainstream approaches—relying on domain experts to provide point estimates, inferring parameters through model fitting, or dynamically updating parameters at runtime—all introduce estimation errors that cannot be quantified. These errors propagate and accumulate throughout the subsequent verification process; their actual impact cannot be explicitly traced, but is usually quite significant.

A Two-Way Classification of System-Level Properties

System-level properties are divided into two distinct categories. PK-informed properties are those for which domain experts possess extensive relevant prior knowledge, typically derived from long-term empirical observation of the property's value distribution in past runs of the same system or in other systems with similar behavioral characteristics. The other category is elusive properties: these are either rare, under-studied, entirely new types of properties, or their observation is extremely costly and entails unacceptable operational risk, leaving almost no reusable historical observational data to support prior knowledge accumulation.

The Core Design Positioning of the EPIK Framework

EPIK, proposed in the paper, is the first prior knowledge extraction and embedding framework for Bayesian learning in quantitative verification settings. Its core innovative idea departs from the traditional path of directly specifying priors for model transition parameters, instead using experts' knowledge of observable system-level properties to construct a bi-level optimization problem, achieving systematic extraction and embedding of prior knowledge.

EPIK takes as input past observations of system-level properties provided by domain experts—typically quantifiable PK-informed properties such as reliability and response time—each expressed as a probability distribution. On this basis it launches a multi-objective search-based knowledge extraction process, ultimately producing a Pareto-optimal approximate set of the unknown transition parameters. The resulting Pareto front can closely match expert expectations, supporting decision makers in quantitative analysis of rare, novel, or extremely costly-to-observe elusive system properties.

EPIK's Two-Stage Optimization Operating Mechanism

In its first stage, EPIK invokes the ParaMC tool to derive closed-form rational functions fif_i and gjg_j for the PK-informed property Y and the elusive property Z respectively, so that the values of all properties can be expressed as explicit algebraic mappings of the unknown transition parameters. Extracting these algebraic formulas provides the basis for accelerating subsequent EPIK stages: by transforming the knowledge induction and knowledge embedding steps into independently solvable optimization problems, EPIK avoids repeatedly invoking the PMC module within the optimization loop, reducing the computational cost of the pipeline. You can combine this with the figure that follows to fully trace the output form of this stage and the dependencies across the whole pipeline.

Fig. 1: EPIK's high-level workflow, showing the core stages of extracting algebraic formulas of system-level properties via parametric model checking, and performing knowledge induction and embedding by solving multi-objective optimization problems

In the knowledge induction stage, EPIK's optimization goal is to find hyperparameter values for the distributions of all unknown model parameters such that the distance between the property distributions given by domain experts and the property distributions generated under the current hyperparameters is minimized. For the unknown transition parameters commonly modeled as Beta distributions in such scenarios, the optimizable hyperparameters consist of the two shape parameters of the corresponding Beta distribution.

The knowledge embedding stage takes the Pareto-optimal solution set output by the knowledge induction stage as input, constructs the verification results for the elusive properties, and finally selects the parameter solution that best meets the requirements from the solution set. If there is only 1 elusive property in the scenario, this stage's optimization problem is single-objective; if the number of elusive properties is greater than 1, it becomes multi-objective, ultimately yielding a smaller Pareto subset filtered from the original Pareto-optimal solution set. The type of estimator chosen in this stage and the specific strategy for solving the optimization problem must both be consistent with the decision makers' expectations.

Experimental Validation Results of EPIK Across Multiple Scenarios

Because the actual Pareto fronts of the real systems used in the experimental evaluation are unknown and cannot be computed exactly, the research follows a commonly used statistical analysis convention in the field: for each system variant, a reference front is composed of the non-dominated Pareto front approximations extracted from all runs of all EPIK instances, then Pareto front quality indicators are used to quantify the goodness of fit of EPIK's output Pareto front approximations, with box plots finally used to display the central tendency and distribution characteristics of each indicator.

Under compliant scenarios and low prior-conflict scenarios, the distributions of results generated by EPIK closely approximate the PK-informed property distributions given by domain experts. As the prior conflict level rises, the distributional deviation of the generated results increases in step; this divergence is especially pronounced in medium- and high-conflict scenarios, where such conflicting knowledge prevents EPIK from further reducing the overall KL divergence value. Please refer to the figure that follows to intuitively understand how well the generated distributions match the expert prior distributions under different prior conflict levels, and how the degree of conflict affects the result deviation.

Fig. 2: Distributions of EPIK results under different levels of PK-informed property conformance (prior conflict levels)

EPIK's Design Characteristics and Boundaries of Applicability

EPIK treats parameter non-identifiability as a design characteristic: the Pareto set it synthesizes is not a single "correct" parameter recovery result, and no parameter in the Pareto set is the absolute ground truth; rather, the set represents the collection of all acceptable priors consistent with both the formal model and the domain knowledge.

EPIK's verification reliability for elusive properties is strictly conditional: this capability holds only if the PK-informed properties are accurate and the underlying model structure itself is correct; direct verification of such properties cannot be accomplished at design time from the missing prior data.

The research mitigated internal validity threats that could interfere with causal inference by performing 30 independent repeated runs per experiment and using statistical tests to confirm the statistical significance of the results; it also specifically designed research questions targeting EPIK's ability to cope with inaccurate and conflicting prior knowledge, and all experimental results are publicly available to support reproducibility.

The research controlled external validity threats that could reduce EPIK's generalizability by constructing PK-informed properties based on domain expert knowledge. The confidence strength of prior knowledge can be conveniently encoded into the PK-informed properties, and integrating multiple experts' prior knowledge into the parameters of the corresponding distributions is also supported. The current evaluation uses established, mature case studies; experiments in more domains and application scenarios with different characteristics from this evaluation are needed to further validate EPIK's applicability and scalability.

Rating
No ratings yet
Rate
Community rating
—
/ 5
No ratings yet
Rating
—
Soundness
—
Presentation
—
Contribution
—
Confidence
—
Discussion
Top
Newest
Questions
Replication
Author
No comments yet — be the first