← Latest papers
💻 computer science

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

The paper introduces EPIK, a novel approach that enhances Bayesian learning for quantitative verification by leveraging directly observable system-level properties to elicit and embed prior knowledge, thereby overcoming the limitations of relying on inaccurate or uninformative assumptions about formal model parameters.

Original authors: Simos Gerasimou, Xingyu Zhao

Published 2026-08-05
📖 7 min read🧠 Deep dive

Original authors: Simos Gerasimou, Xingyu Zhao

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to predict the future of a complex machine, like a self-driving car or a robot that picks fruit. To do this, engineers use a "map" of probabilities called a Markov model. Think of this map as a giant board game where every square is a state the machine can be in, and the dice rolls determine how it moves from one square to the next. The problem is, to play the game correctly, you need to know exactly how likely the dice are to land on each number. In the real world, these "dice" are the transition probabilities—like the chance a robot's arm slips or a server crashes.

Traditionally, to fill in these numbers, experts have to guess the exact odds of every single tiny move the machine might make. It's like asking a chef to guess the exact temperature of every single grain of rice in a pot just to know when dinner is ready. This is incredibly hard, and if the guess is even slightly off, the whole prediction about the machine's reliability or speed can be wrong. This is where Bayesian learning comes in. It's a mathematical way of updating your guesses as you get new information, but it still needs a starting point, or a "prior," to work. If that starting guess is bad, the final answer will be bad too.

Enter EPIK, a new approach introduced by Simos Gerasimou and Xingyu Zhao. Instead of forcing experts to guess the tiny, invisible dice rolls inside the machine, EPIK asks them to describe the big, observable results they can actually see. It's like asking the chef, "How long does the rice usually take to cook?" or "How often does the pot boil over?" rather than asking for the temperature of every grain. The researchers found that by using these high-level, real-world observations, they could work backward to figure out the hidden dice rolls with much greater accuracy. They tested this on a fruit-picking robot and a foreign exchange trading system, showing that this method not only works but also helps predict tricky, hard-to-measure things like energy consumption or rare failures that no one has data on yet.

The Big Idea: Guessing the Dice by Watching the Game

The paper tackles a tricky problem in software engineering: how do we make sure our computer models of complex systems are accurate? When we build a model of a robot or a cloud service, we use math to predict things like "Will it crash?" or "How fast will it finish?" But these predictions are only as good as the numbers we feed into them. Usually, those numbers are the probabilities of the system moving from one state to another.

The authors argue that asking human experts to guess these specific, low-level probabilities is like asking a person to guess the exact wind speed at every single leaf on a tree just to predict if a kite will fly. It's too much detail, and experts often get it wrong or don't have the data. If the starting numbers are wrong, the whole verification process fails, leading to bad engineering decisions.

EPIK: The "Backwards Detective"

The paper introduces EPIK (Eliciting Prior Knowledge), a clever tool that flips the script. Instead of asking experts, "What is the probability of the robot failing to pick a fruit?", EPIK asks, "Based on your experience, how often does the robot successfully finish a mission, and how long does it usually take?"

These are system-level properties. They are the big-picture outcomes that experts actually understand and have data for. EPIK treats these known outcomes as clues. It uses a mathematical process called Bayesian learning to work backward from these big clues to figure out the hidden, tiny probabilities that caused them.

Here is how the process works, step-by-step:

  1. The Setup: Imagine a robot picking fruit. It has a "state" where it positions itself, a state where it picks, and a state where it decides to retry or give up. The exact chance of it failing to pick a fruit is unknown (let's call this the "hidden dice").
  2. The Clues: Experts tell EPIK: "We know from 200 past missions that the robot succeeds 80% of the time and takes about 4.75 seconds on average." These are the PK-informed properties (Prior Knowledge-informed).
  3. The Reverse Engineering: EPIK runs a complex search (using evolutionary algorithms, which are like digital versions of natural selection) to find the set of hidden dice rolls that would best produce those 80% success and 4.75-second results. It doesn't just find one answer; it finds a whole family of possible answers that fit the clues.
  4. The Payoff: Once EPIK has figured out the hidden dice rolls based on the known clues, it can use them to predict things we don't know yet. These are called elusive properties. For example, no one has ever measured the robot's battery usage for this specific task. But now that EPIK knows how the robot moves, it can calculate the likely battery usage, even though no one ever recorded it before.

What the Experiments Showed

The researchers tested EPIK on two real-world scenarios: the fruit-picking robot and a foreign exchange trading system. They created different versions of these systems with varying levels of complexity and unknown variables.

  • Accuracy: When they compared EPIK's predictions against the "ground truth" (the actual mathematically correct values), the results were incredibly close. The difference between EPIK's guess and the real answer was tiny (less than 0.00389 in the test cases). This suggests that EPIK can reliably reverse-engineer the hidden mechanics of a system just by looking at the big picture.
  • The "Conflict" Test: The team also tested what happens if experts give conflicting advice (e.g., one expert says the robot is very reliable, another says it's slow). They found that when the clues were contradictory, EPIK struggled to find a perfect fit, and the "error" in its guesses went up. This is a good thing, because it acts as a warning light: if the clues don't match, the model knows something is wrong with the input data.
  • The "Elusive" Victory: The most exciting part was verifying the "elusive" properties. In the fruit-picking robot test, they had data on success rates and time, but no data on energy consumption. EPIK used the known data to estimate the energy usage. The resulting distribution of energy usage was a reasonable, well-reasoned guess that decision-makers could actually use, whereas without EPIK, they would have had to make a blind guess or ignore the problem entirely.

Why This Matters

The paper doesn't claim to have solved every problem in software verification, but it offers a powerful new way to start the conversation. It suggests that we don't need to be experts in the microscopic details of a system to build a good model; we just need to be experts in the outcomes of the system.

By shifting the focus from "guessing the dice" to "observing the game," EPIK makes it easier to build trustworthy models for complex systems like self-driving cars, medical devices, and cloud services. It turns the difficult task of defining every single probability into a more manageable task of describing what we already know about how the system behaves in the real world. And for the things we don't know yet, it gives us a mathematically sound way to make an educated guess, rather than a blind one.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →