TL;DR
The paper introduces the Unified Markov Binary (UMB) format, a new low-level, explicit-state file format designed to seamlessly exchange probabilistic models between different model-checking tools. By replacing bloated, tool-specific textual formats with an efficient, extensible binary standard, UMB drastically reduces file sizes and parsing times, enabling researchers to build high-performance, multi-tool verification pipelines.
What Problem Does This Paper Address?
Probabilistic model checking (PMC) is a powerful technique for analyzing systems that exhibit stochastic behavior, such as randomized network protocols or autonomous robots. Over the years, the community has developed excellent tools (like PRISM, Storm, and mcsta), each with its own unique algorithmic strengths.
However, a major bottleneck remains: interconnectivity. While high-level modeling languages like JANI and PRISM exist for describing models conceptually, there has been no universal, efficient way to exchange low-level, explicit-state representations (the actual graph of states, choices, and probabilities). Instead, tools rely on ad-hoc, tool-specific textual formats. These text files blow up in size and are notoriously slow to parse, forcing developers to repeatedly re-explore state spaces or waste hours waiting for files to load.
Methods
The authors tackle this challenge by introducing a clean mathematical abstraction and a highly optimized binary layout:
- Annotated Transition Systems (ATS): The authors formalize a unified mathematical representation where transitions between states are layered into choices and branches. This structure is then augmented with annotations to capture model-specific details like transition probabilities, rewards, or atomic propositions.
- The UMB File Format: A
.umbfile is a standard tarball containing a single JSON metadata index (index.json) and a collection of binary files. The binary data relies on a small set of primitive data structures, notably aligning with the standard Compressed Sparse Row (CSR) matrix storage scheme. This allows tools to memory-map (mmap) the files directly into memory with zero transformation overhead. - The Ecosystem: Alongside the format, the authors developed
umbi, a lightweight Python library for creating, manipulating, and validating UMB files, and established the "UMB Observatory"—a continuous integration testbed ensuring cross-tool compatibility.
Datasets
The format was evaluated using 36 standard benchmark models (covering Discrete-Time Markov Chains, Continuous-Time Markov Chains, and Markov Decision Processes) sourced from the well-known Quantitative Verification Benchmark Set (QComp 2019 and 2020).
Key Insights and Ideas
- Orthogonal Extensibility: Because the core graph structure (states, choices, branches) is decoupled from the semantics via annotations, UMB can naturally support "exotic" or hybrid model classes (e.g., interval POMDPs or partially observable stochastic games) without needing to alter the underlying file format.
- Direct Memory Mapping: By matching the binary file layout to the internal data structures typically used by model checkers (like CSR), tools can "load" massive models almost instantaneously via memory mapping, bypassing traditional parsing pipelines entirely.
- Synergistic Toolchains: UMB enables a portfolio approach to model checking. For example, a user can use Storm's superior bisimulation minimization algorithms to shrink a massive state space, export it to UMB, and then use mcsta's highly efficient switch-step algorithm to verify the property—a pipeline that was previously impossible or highly inefficient.
Key Results
- Blazing Fast Loading: Loading a UMB file is significantly faster than generating explicit representations from high-level PRISM/JANI files or loading from older explicit textual formats like
.drn. - Faster Exports: Uncompressed UMB files export consistently and significantly faster than uncompressed textual formats across all tested tools.
- End-to-End Speedups: When looking at the entire model-checking pipeline, using UMB as an input format consistently outpaced high-level language inputs, sometimes by several orders of magnitude. For instance, in a Bitcoin majority attack case study, a multi-tool pipeline enabled by UMB completed verification in 16 seconds, whereas a single-tool approach timed out after 2 minutes.
Limitations and Future Work
The current iteration of UMB intentionally excludes models that require symbolic expressions, such as clock guards in probabilistic timed automata or rational polynomial probabilities in parametric MDPs.
The authors plan to address this in the next version of the format, potentially leveraging JSON-based annotations which UMB already structurally supports. Future extensions will also focus on standardizing the storage of generated policies/strategies and property specifications.
Summary updated