arXiv:2610.17541math.OCOct 2026

Manuscript Offprint

arXiv:2610.17541

Convex-Analytic View of Query Selection for Safety Verification of Markov Decision Processes

Han Bao, Shinsaku Sakaue, Kazuki Watanabe

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Abstract

Safety verification of a Markov decision process (MDP) asks whether the probabilities of reaching several failure states jointly lie in a convex safe region under every scheduler. Watanabe and Unno (2026) prove safety by refining an outer approximation of the failure probabilities, where each query bounds a nonnegative weighted sum of the probabilities. Their rule selects weights by the largest Euclidean violation. We present a unified framework to measure violation in an explicitly chosen error unit: directions are scored by the support-function gap between the outer approximation and the safe region, normalized by the support function of the unit. We show that the maximal score, when positive, equals the smallest enlargement of the safe region in multiples of that unit that contains the outer approximation. The Euclidean unit recovers the earlier rule; two new rules are generated by the unit cube and the safe region itself. We experimentally evaluate how the choice of measurement rule affects the performance of safety verification for MDPs.

1 Introduction

Consider a robot that carries out a mission consisting of several tasks. At each step it chooses a route or an operating mode, the environment changes at random, and each task may end in a catastrophe of one of dd kinds, such as a collision, a fall, or a loss of communication; the mission ends when all tasks are completed or when a catastrophe occurs. A safety requirement constrains the probabilities p1,…,pdp_1, \ldots, p_d of the dd catastrophes jointly: each pip_i may be at most a threshold θi\theta_i, or a severity-weighted total ∑iwipi\sum_i w_i p_i may be at most a threshold θ\theta. The permissible vectors (p1,…,pd)(p_1, \ldots, p_d) then form a safe region, represented by a nonempty compact convex set. The requirement has to hold not only for one chosen control policy but for every way of resolving the choices, because the choices may be taken by a component whose behavior is unknown or adversarial.

The robot and environment form a Markov decision process, and a scheduler resolves the choices; then we aim to ensure that the vector of failure probabilities of every scheduler lies in the safe region. The exact set of failure probabilities is unavailable a priori due to infinitely many schedulers and the huge state space. Here, counterexample-guided abstraction refinement (CEGAR) (Ball and Rajamani, 2002) is useful, which iteratively synthesizes the largest weighted probability.

Specifically, for a chosen nonnegative weight vector w, the largest weighted probability sup⁡σ∑iwipiσ\sup_{\sigma} \sum_i w_i p_i^\sigma over all schedulers σ\sigma is a single-objective problem: for a finite process it is an optimal reachability problem that standard algorithms can solve (Baier and Katoen, 2008; Etessami et al., 2008), and for infinite-state probabilistic programs invariant synthesis can certify its upper bound (see, e.g., Chakarov and Sankaranarayanan (2013);

∗^{*}Authors are listed in alphabetical order.

Chatterjee et al. (2020); Takisaka et al. (2021)). Each query ww yields a certified bound u≥sup⁡σ∑iwipiσu \geq \sup_{\sigma} \sum_i w_i p_i^\sigma. Every attainable vector is in the corresponding half-space {p∣∑iwipi≤u}\{p \mid \sum_i w_i p_i \leq u\}. We form an outer approximation by intersecting an initial set containing all attainable vectors with the returned half-spaces. A new bound removes points precisely when the current approximation contains pp with ∑iwipi>u\sum_i w_i p_i > u. Once the approximation lies inside the safe region, the requirement is proved for every scheduler.

In the above CEGAR approach, each query w requires a full analysis of the process and therefore is often expensive, and a query in a direction in which the approximation is already tight brings nothing. We therefore seek query directions that reveal violations of the safe region by the current outer approximation.

Using convex analysis, we develop a framework for quantifying these violations and choosing the next query direction. By reincarnating the idea of Hörmander (1955), we measure the set difference by the difference of the support functions of two convex sets: writing the support functions of two nonempty compact convex sets UU and SS by hUh_U and hSh_S respectively, the basic course of convex analysis teaches us the equivalence U⊆S  ⟺  hU≤hSU \subseteq S \iff h_U \leq h_S (Rockafellar, 1970). Imagine UU and SS are the outer approximation and safe region, respectively. Among nonnegative weight vectors whose entries sum to one, a natural query is a maximizer of hU(w)−hS(w)h_U(w) - h_S(w). To compare violations across directions in a chosen geometry, we normalize the support gap to consider (hU−hS)/hE(h_U - h_S)/h_E, where EE is a user-chosen convex set, called an error unit. If EE is the nonnegative part of the Euclidean unit ball, the normalizer hE(w)h_E(w) equals ∥w∥2\|w\|_2, and we recover the projection rule of Watanabe and Unno (2026). If EE is the unit cube [0,1]d[0,1]^d, the normalizer hE(w)h_E(w) equals ∥w∥1\|w\|_1, which is one whenever the entries of ww sum to one. If E=SE = S, the normalizer is the support function hSh_S of the safe region itself, and the largest value of the normalized support gap is expressed through the gauge function of SS. We show that the query based on E=[0,1]dE = [0,1]^d and E=SE = S can typically be computed more efficiently, which actually accelerates safety verification empirically.

The paper is organized as follows. Section 3 gives a self-contained introduction to probabilistic model checking, for those who are not familiar with this topic. In Section 4, we give our general problem statement of the set containment test, which can be read without the context of probabilistic model checking. Section 5 presents our query framework based on the support functions, and instantiates it with various choices of the error unit. In Section 6, we evaluate different query strategies on a common oracle that relies on the existing probabilistic model checker Storm (Hensel et al., 2022).

Notation. We write [⋅]+=max⁡{⋅,0}[\cdot]_{+} = \max\{\cdot, 0\}. For d≥1d \geq 1, we write △d:={p∈[0,1]d∣∑i=1dpi=1}\triangle_d := \{p \in [0,1]^d \mid \sum_{i=1}^d p_i = 1\} for the probability simplex and △d≤:={p∈[0,1]d∣∑i=1dpi≤1}\triangle_d^\leq := \{p \in [0,1]^d \mid \sum_{i=1}^d p_i \leq 1\} for the subdistribution simplex. Given a finite set AA, we write D(A)\mathcal{D}(A) for the set of distributions ν:A→[0,1]\nu: A \to [0,1] over AA, that is, ∑a∈Aν(a)=1\sum_{a \in A} \nu(a) = 1. A set X⊆R+X \subseteq \mathbb{R}_+ is downward closed if x∈Xx \in X and 0≤y≤x0 \leq y \leq x imply y∈Xy \in X, where the inequality is coordinatewise. For X⊆R+X \subseteq \mathbb{R}_+, its downward closure is

dw(X):={y∈R+d∣y≤xforsomex∈X}.\mathrm{d}w(X):=\{y\in\mathbb{R}_{+}^{d}\mid y\leq x for some x\in X\}.

For compact nonempty A⊆RdA \subseteq \mathbb{R}^d and w∈Rdw \in \mathbb{R}^d, the support function is hA(w):=max⁡x∈A⟨w,x⟩∈Rh_A(w) := \max_{x \in A} \langle w, x \rangle \in \mathbb{R}; the gauge function is γA(x):=inf⁡{λ≥0∣x∈λA}\gamma_A(x) := \inf\{\lambda \geq 0 \mid x \in \lambda A\}. Support functions are convex and positively homogeneous, and hA+B=hA+hBh_{A+B} = h_A + h_B holds for the Minkowski sum A+BA + B.

References (48)