betaFeedback

WorksMathematics

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

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.

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) [2] is useful, which iteratively synthesizes the largest weighted probability.

Specifically, for a chosen nonnegative weight vector ww, 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 [1, 7], and for infinite-state probabilistic programs invariant synthesis can certify its upper bound (see, e.g., Chakarov and Sankaranarayanan [3]; Chatterjee et al. [4]; ); Takisaka et al. [31]). Each query ww yields a certified bound u≥sup⁡σ∑iwipiσu \ge\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 \le 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 ww 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 [18], 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 \Longleftrightarrow h_U \le h_S [29]. 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\lVert w\rVert_2, and we recover the projection rule of Watanabe and Unno [32]. If EE is the unit cube [0,1]d[0,1]^d, the normalizer hE(w)h_E(w) equals ∥w∥1\lVert w\rVert_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. § 3 gives a self-contained introduction to probabilistic model checking, for those who are not familiar with this topic. In § 4, we give our general problem statement of the set containment test, which can be read without the context of probabilistic model checking. § 5 presents our query framework based on the support functions, and instantiates it with various choices of the error unit. In § 6, we evaluate different query strategies on a common oracle that relies on the existing probabilistic model checker Storm [17].

Notation. We write [⋅]+=max⁡{⋅,0}[\cdot]_+ = \max\{\cdot,0\}. For d≥1d \ge1, we write Δd:={p∈[0,1]d∣∑i=1dpi=1}\Delta_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}\Delta_d^{\le} := \{p \in[0,1]^d \mid\sum_{i=1}^d p_i \le1\} 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+dX\subseteq\mathbb{R}^d_+ is downward closed if x∈Xx\in X and 0≤y≤x0\le y\le x imply y∈Xy\in X, where the inequality is coordinatewise. For X⊆R+dX\subseteq\mathbb{R}^d_+, its downward closure is

dw⁡(X):={y∈R+d∣y≤x for some x∈X}.\operatorname{dw}(X):=\{y\in\mathbb{R}^d_+ \mid y\le x\text{ 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\ge0\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.

Related Work

We consider safety verification through the lens of the set containment problem. Its basic form is to ask whether a convex set KK (representing the system’s exact behavior) is a subset of another convex set SS (describing safety conditions), which has been studied from various angles. When KK is completely known, the containment test is relatively easy. Specifically, general polyhedral or quadratic set containment is well-characterized via duality [23, 19], and its computational complexity depends on the structures of KK and SS [10].

We usually need to estimate system’s behavior KK. While convex set estimation is common in statistical learning [24, 11, 13], it does not guarantee soundness, namely, the estimated K^\widehat{K} lacks the guarantee K⊆K^K\subseteq\widehat{K}, which is crucial for safety verification. The specificity of safety verification is the downward-closedness assumptions on KK and SS (see Definition 3.3), which enables soundness guarantee. In this line, sandwich algorithms for convex multi-objective optimization (Solanki et al., 1993; Rennen et al., 2011; Lammel and Küfer, 2023) are well-known: therein, we iteratively approximate a Pareto front (or the behavior set KK) by maintaining polyhedral inner and outer approximations. At each iteration, we solve a linearly scalarized problem, which yields a new supporting half-space to minimize the Hausdorff distance between the inner and outer approximations. Sandwich algorithms have been used for multi-objective probabilistic model checking of MDPs [8, 26, 16].

Whereas sandwich algorithms are common, it does not scale to higher dimensions, limited up to 2 or 3 dims. More severely, they estimate a Pareto front without leveraging structures of the safe region SS. Watanabe and Unno [32] solve these issues based on a CEGAR framework [2, 6] for safety verification of probabilistic programs. In particular, they refine the outer approximation by selecting a query with the largest Euclidean violation, effectively leveraging structures of the safe region SS. This is the closest work to ours, and we generalize their query selection from the convex-analytic viewpoint.

Formal Verification of Probabilistic Systems

Our study is motivated by verification of Markov decision processes (MDPs) [25]. While the set containment problem we study belongs to computational geometry and can be considered independently of formal verification, we summarize the context of formal verification to help the ML audience better understand our motivation. We specifically review the probabilistic model checking algorithm developed by Watanabe and Unno [32]. Readers may safely jump to § 4 if they are sufficiently motivated with the set containment problem.

Review of MDPs in Formal Verification

We recall basics of MDPs for formal verification; see Baier and Katoen [1] for probabilistic model checking of MDPs. A (fully observable, discrete-time, finite-state) MDP is a tuple M:=(Q,qi,T,A,P)\mathcal{M} := (Q, q_i, T, A, P), where (i) QQ is a finite state set, (ii) qi∈Qq_i \in Q is the initial state, (iii) T⊆QT \subseteq Q is the set of target states with d:=∣T∣d := |T|, (iv) AA is a finite action set, and (v) P:Q×A×Q→[0,1]P: Q \times A \times Q \to[0, 1] is a transition function satisfying the following conditions:

  • ∑q′∈QP(q,a,q′)∈{0,1}\sum_{q' \in Q} P(q, a, q') \in\{0, 1\} holds (∀(q,a)∈Q×A)(\forall(q, a) \in Q \times A).

  • Every target state is a sink state: for every t∈Tt \in T and a∈Aa \in A, we have ∑q′∈QP(t,a,q′)=0\sum_{q' \in Q} P(t, a, q') = 0.

In this work, we focus on reachability probabilities for individual target states t∈Tt \in T, instead of assigning a reward to each state. To this end, we introduce the reachability of MDP states. A scheduler (or policy) is a function σ:Q×(A×Q)∗→D(A)\sigma: Q \times(A \times Q)^* \to\mathcal{D}(A). We write Θ\Theta for the set of schedulers. For each history hh, let last⁡(h)\operatorname{last}(h) denote its final state. A scheduler σ\sigma for an MDP M\mathcal{M} induces a discrete-time Markov chain M[σ]\mathcal{M}[\sigma] with a countable state space, defined as follows.

  • The state space is the set of histories H:=Q×(A×Q)∗H := Q \times(A \times Q)^*, and the initial state is qiq_i.

  • The transition function Pσ:H×H→[0,1]P^\sigma: H \times H \to[0, 1] is

Pσ(h1,h2):=σ(h1)(a)⋅P(last⁡(h1),a,q),P^\sigma(h_1,h_2) := \sigma(h_1)(a) \cdot P(\operatorname{last}(h_1),a,q),

if h2=h1⋅(a,q)h_2=h_1\cdot(a,q) for some (a,q)∈A×Q(a,q)\in A\times Q, and Pσ(h1,h2):=0P^\sigma(h_1,h_2):=0 otherwise. Note that PP is the transition function of the original MDP M\mathcal{M}.

Given scheduler σ∈Θ\sigma\in\Theta and a target state t∈Tt \in T, a path ξ\xi on M[σ]\mathcal{M}[\sigma] to tt is a finite sequence (h1,…,hn)(h_1,\ldots,h_n) of histories such that h1=qih_1=q_i and last⁡(hn)=t\operatorname{last}(h_n)=t. We write Path⁡tσ\operatorname{Path}^{\sigma}_t for the set of paths to tt. Given a path ξ∈Path⁡tσ\xi\in\operatorname{Path}^{\sigma}_t, we define its path probability Pr⁡σ(ξ)\operatorname{Pr}^{\sigma}(\xi) by Pσ(ξ):=∏i=1n−1Pσ(hi,hi+1)P^\sigma(\xi) := \prod_{i=1}^{n-1} P^\sigma(h_i,h_{i+1}), where ξ=(h1,…,hn)\xi=(h_1,\ldots,h_n). The reachability probability RPr⁡tσ\operatorname{RPr}^{\sigma}_t to a target state tt under a scheduler σ\sigma is given by

RPr⁡tσ:=∑ξ∈Path⁡tσPσ(ξ).\operatorname{RPr}^{\sigma}_t := \sum_{\xi\in\operatorname{Path}^{\sigma}_t} P^\sigma(\xi).

Finally, we introduce the reachability objective.

Definition 3.1 (reachability objective). Given an MDP M\mathcal{M} and a function w∈D(T)w \in\mathcal{D}(T), the maximum weighted reachability WRPr⁡wmax⁡∈[0,1]\operatorname{WRPr}^{\max}_w \in[0,1] is defined by2

WRPr⁡wmax⁡=sup⁡σ∈Θ∑t∈Tw(t)⋅RPr⁡tσ.\operatorname{WRPr}^{\max}_w = \sup_{\sigma\in\Theta} \sum_{t \in T} w(t) \cdot\operatorname{RPr}^{\sigma}_t.

Although linear programming computes WRPr⁡wmax⁡\operatorname{WRPr}^{\max}_w in polynomial time, value iteration (Chatterjee and Henzinger [5]) is often efficient in practice and can be extended to compute both lower and upper bounds on WRPr⁡wmax⁡\operatorname{WRPr}^{\max}_w ([12, 27, 15, 33]).

Definition 3.2. An upper bound uu of WRPr⁡wmax⁡\operatorname{WRPr}^{\max}_w is a scalar u∈[0,1]u \in[0,1] such that WRPr⁡wmax⁡≤u\operatorname{WRPr}^{\max}_w \le u. Writing T={t1,…,td}T = \{t_1,\ldots,t_d\}, a componentwise lower bound ll of WRPr⁡wmax⁡\operatorname{WRPr}^{\max}_w is a vector l∈[0,1]dl \in[0,1]^d such that there exists a scheduler σ∈Θ\sigma\in\Theta satisfying li≤RPr⁡tiσl_i \le\operatorname{RPr}^{\sigma}_{t_i} for ∀i∈[d]\forall i \in[d].

Value iteration requires exponentially many iterations in the worst case ([12]), but it often outperforms general-purpose LP solvers on common verification benchmarks ([14]).

In what follows, we identify w∈D(T)w \in\mathcal{D}(T) with the vector in △d\triangle_d having coordinates wi:=w(ti)w_i := w(t_i) for i=1,…,di = 1,\ldots,d.

CEGAR Loop for Safety Verification

Watanabe and Unno [32] propose the following safety verification problem of MDPs:3

Definition 3.3 (safety verification). Given an MDP M\mathcal{M} with the target states T={t1,…,td}T = \{t_1,\ldots,t_d\} and a safe region S⊆[0,1]dS \subseteq[0,1]^d (that is nonempty closed convex, and moreover, downward closed), safety verification asks if the following set containment holds:

(RPr⁡t1σ,…,RPr⁡tdσ)∈S∀σ∈Θ.(\operatorname{RPr}^{\sigma}_{t_1},\ldots,\operatorname{RPr}^{\sigma}_{t_d}) \in S \quad\forall\sigma\in\Theta.

We say that M\mathcal{M} is safe (w.r.t. SS) if the above set containment holds, and otherwise unsafe.

Below we present an illustrative verification example.

Example 3.4. Consider the MDP in Figure 1, with state set Q:={qi,qok,t1,t2}Q := \{q_i,q_{\mathrm{ok}},t_1,t_2\}. The transition probabilities for action a1a_1 from the initial state qiq_i are given by P(qi,a1,t1):=0.005P(q_i,a_1,t_1) := 0.005, P(qi,a1,qok):=0.99P(q_i,a_1,q_{\mathrm{ok}}) := 0.99, and P(qi,a1,t2):=0.005P(q_i,a_1,t_2) := 0.005. The corresponding probabilities for action a2a_2 are 0.009, 0.99, and 0.001, respectively. The target states t1t_1 and t2t_2 represent two undesirable outcomes. Actions are selected by, e.g., user inputs.

An example MDP representing a toy probabilistic system

Figure 1. An example MDP representing a toy probabilistic system. Here t1t_1 and t2t_2 are failure states.

Algorithm 1 A CEGAR-Based Safety Verification Algorithm [32]

Require: An MDP M\mathcal{M} and a safe region SS.

  1. U0←△d≤U_0 \gets\triangle_d^{\le}; t←0t \gets0

  2. while Ut⊈SU_t \not\subseteq S do

  3. wt←Select⁡(Ut,S)w_t \gets\operatorname{Select}(U_t,S)

  4. (u,l)←Query⁡(M,wt)(u,l) \gets\operatorname{Query}(\mathcal{M},w_t)

  5. if l∉Sl \notin S then

  6. return unsafe (meaning that KM⊈SK_{\mathcal{M}} \not\subseteq S)

  7. else

  8. Ut+1←Ut∩{p∣⟨wt,p⟩≤u}U_{t+1} \gets U_t \cap\{p \mid\langle w_t,p\rangle\le u\}

  9. end if

  10. t←t+1t \gets t+1

  11. end while

  12. return safe (meaning that KM⊆SK_{\mathcal{M}} \subseteq S)

Suppose that we execute the system twice under the same fixed environmental choice with independent randomness. We require the probability that both executions reach the same target state to be at most a threshold θ>0\theta> 0, regardless of user inputs. This requirement is equivalent to safety verification with the safe region S:={(p1,p2)∈[0,1]2∣p12+p22≤θ}S := \{(p_1,p_2) \in[0,1]^2 \mid p_1^2+p_2^2 \le\theta\}.

We review a CEGAR-based solution to safety verification proposed by Watanabe and Unno [32]. Given an MDP M\mathcal{M}, we set the achievable set

KM:=dw⁡({(RPr⁡t1σ,…,RPr⁡tdσ)∈[0,1]d∣σ∈Θ}).K_{\mathcal{M}} := \operatorname{dw}(\{(\operatorname{RPr}_{t_1}^{\sigma},\ldots,\operatorname{RPr}_{t_d}^{\sigma}) \in[0,1]^d \mid\sigma\in\Theta\}).

The achievable set KMK_{\mathcal{M}} is a convex polytope [7]. Since the safe region SS is downward-closed, safety verification is equivalent to checking the inclusion KM⊆SK_{\mathcal{M}} \subseteq S. It is possible to test all vertices of the polytope KMK_{\mathcal{M}} to conclude KM⊆SK_{\mathcal{M}} \subseteq S, but intractable due to the existence of exponentially many deterministic memoryless schedulers.

To bypass the enumeration of schedulers, the CEGAR-based algorithm (Algorithm 1) maintains an outer approximation UtU_t of KMK_{\mathcal{M}} at each tt-th refinement step, ensuring that KM⊆UtK_{\mathcal{M}} \subseteq U_t.4 If Ut⊆SU_t \subseteq S, we conclude that M\mathcal{M} is safe. Since UtU_t is a convex polytope by its construction and SS is convex, this inclusion can be checked by testing whether every vertex of UtU_t lies in SS.

The key step is the refinement procedure. When Ut⊈SU_t \not\subseteq S, the algorithm selects a weight wtw_t according to a specified criterion (line 3). It then computes an upper bound u∈[0,1]u \in[0,1] and a componentwise lower bound l∈[0,1]dl \in[0,1]^d of WRPr⁡wtmax⁡\operatorname{WRPr}_{w_t}^{\max}. These can be computed using probabilistic model checkers such as Storm [17]. If l∉Sl \notin S, the algorithm returns unsafe (lines 5–6); otherwise, it refines the outer approximation UtU_t by uu (line 8). While an L2L^2-projection refinement has been proposed [32], we will see that the performance of Algorithm 1 depends strongly on weight selection of line 3. We generalize this weight selection step in Section 5.

Problem Setup

Motivated by safety verification in Section 3, here is our primary problem setup in this paper. For an unknown nonempty compact convex set K⊆△d≤K \subseteq\triangle_d^{\le} that is downward closed, our goal is to test K⊆SK \subseteq S, where S⊆△d≤S \subseteq\triangle_d^{\le} is a nonempty compact convex downward-closed safe region. Despite the lack of a priori access to KK, we can query in direction w∈△dw \in\triangle_d to ask an oracle, who returns a scalar uu satisfying hK(w)≤uh_K(w) \le u. Then, we maintain an outer approximation U⊆△d≤U \subseteq\triangle_d^{\le} satisfying K⊆UK \subseteq U. Beginning with U0:=△d≤U_0 := \triangle_d^{\le}, we refine it at every step by

Ut+1:=Ut∩{x∈Rd∣⟨wt,x⟩≤ut},(1)U_{t+1} := U_t \cap\{x \in\mathbb{R}^d \mid\langle w_t,x\rangle\le u_t\}, \tag*{(1)}

where (wt,ut)(w_t,u_t) is the query-oracle pair at step tt. This refinement maintains the outer approximation K⊆UtK \subseteq U_t for all tt, and we halt the refinement loop once Ut⊆SU_t \subseteq S is met, where the safety guarantee K⊆SK \subseteq S is obtained. The main focus in this paper is to synthesize an efficient query direction ww. The following geometric properties are assumed hereafter.

Assumption 4.1. The safe region S⊆△d≤S \subseteq\triangle_d^{\le} is nonempty, compact, convex, and downward closed. The outer approximation U⊆△d≤U \subseteq\triangle_d^{\le} is nonempty, compact, and convex.

Unified Query Selection

To test the set containment, we use support functions extensively. For nonempty compact convex U,S⊆RdU,S \subseteq\mathbb{R}^d, the containment U⊆SU \subseteq S is equivalent to hU(w)≤hS(w)h_U(w) \le h_S(w) for all w∈Rdw \in\mathbb{R}^d [29 Section 13]. Under our downward-closed assumption (Assumption 4.1), we need to only consider the normalized direction w∈△dw \in\triangle_d to determine the set containment.

Lemma 5.1. Let B⊆R+dB \subseteq\mathbb{R}^d_+ be nonempty, compact, convex, and downward closed in R+d\mathbb{R}^d_+, and let U⊆R+dU \subseteq\mathbb{R}^d_+ be nonempty and compact. Then U⊆BU \subseteq B holds if and only if hU(w)≤hB(w)h_U(w) \le h_B(w) holds for all w∈△dw \in\triangle_d.

Proof. The forward implication follows from the definition of the support function. For the reverse implication, let x∈U∖Bx \in U \setminus B and let qq be its Euclidean nearest point in BB. We have q≤xq \le x: lowering any coordinate of qq that exceeds the corresponding coordinate of xx preserves membership in BB and strictly decreases the distance. The projection inequality gives ⟨x−q,b−q⟩≤0\langle x-q,b-q\rangle\le0 for all b∈Bb \in B. Thus x−qx-q is nonzero and nonnegative, and w:=(x−q)/∥x−q∥1w := (x-q)/\lVert x-q\rVert_1 satisfies hB(w)=⟨w,q⟩<⟨w,x⟩≤hU(w)h_B(w) = \langle w,q\rangle< \langle w,x\rangle\le h_U(w), where the strict inequality follows by x≠qx \ne q. This is a contradiction.

By Lemma 5.1, a positive support gap hU(w)−hS(w)h_U(w)-h_S(w) identifies a direction w∈△dw \in\triangle_d in which the outer approximation UU violates the safe region SS. Subsequently, we introduce the normalized support gap to obtain a scale-invariant score for comparing violations across directions in a chosen geometry.

Direction Score

To take the underlying geometry into account, we introduce an error unit E⊆R+dE \subseteq\mathbb{R}^d_+, which is a nonempty compact convex downward-closed set and satisfies hE>0h_E > 0 over △d\triangle_d. For ϵ≥0\epsilon\ge0, we enlarge SS to S+ϵES + \epsilon E by allowing additive error vectors from the scaled error unit ϵE\epsilon E. The enlarged set S+ϵES + \epsilon E remains nonempty, compact, convex, and downward closed, which matters on applying Lemma 5.1. By additivity and homogeneity of support functions, we have hS+ϵE=hS+ϵhEh_{S+\epsilon E} = h_S + \epsilon h_E. Users are allowed to choose any EE suitable for their purposes. We study the following three choices:

E2:={z∈R+d∣∥z∥2≤1},E∞:=[0,1]d,E=S.(2)E_2 := \{z \in\mathbb{R}^d_+ \mid\lVert z\rVert_2 \le1\}, \quad E_\infty:= [0,1]^d, \quad E = S. \tag*{(2)}

The first two measure errors with respect to the Euclidean and L∞L^\infty geometries, respectively. The third choice respects the geometry of the safe region SS itself, leading to the proportional enlargement S+ϵS=(1+ϵ)SS + \epsilon S = (1+\epsilon)S thanks to the convexity of SS. The last one requires the safe region SS to satisfy hS>0h_S > 0. Table 1 summarizes the three choices of the error unit.

RuleError unit EEhE(w)h_E(w)
L2L^2E2E_2 in (2)∥w∥2\lVert w\rVert_2
L∞L^\inftyE∞=[0,1]dE_\infty= [0,1]^d∥w∥1=1\lVert w\rVert_1 = 1
gaugeSShS(w)h_S(w)

Table 1. Error units and normalizers for w∈△dw \in\triangle_d. The gauge choice (E=SE = S) requires hS>0h_S > 0 on this simplex.

Now, we introduce the following direction score, which is the normalized support gap, and its excess:

Direction scorevE(w):=hU(w)−hS(w)hE(w),ExcessVE(U,S):=[max⁡w∈△dvE(w)]+.(3)\begin{aligned} \text{Direction score}\quad v_E(w) &:= \frac{h_U(w)-h_S(w)}{h_E(w)},\\ \text{Excess}\quad V_E(U,S) &:= \left[\max_{w\in\triangle_d} v_E(w)\right]_+. \tag*{(3)} \end{aligned}

Due to the homogeneity of support functions, the scale of ww no longer affects the direction score vE(w)v_E(w). While the positive vE(w)v_E(w) means the violation U⊈SU \not\subseteq S in this direction ww, the excess measures the minimally necessary enlargement ϵE\epsilon E to uniformly ensure U⊆S+ϵEU \subseteq S+\epsilon E.

Theorem 5.2. Under Assumption 4.1, let E⊆R+dE\subseteq\mathbb{R}^{d}_{+} be a given error unit that is nonempty, compact, convex, downward closed, and satisfies hE>0h_E>0 over △d\triangle_d. For every ϵ≥0\epsilon\geq0, we have U⊆S+ϵEU\subseteq S+\epsilon E if and only if vE(w)≤ϵv_E(w)\leq\epsilon holds for all w∈△dw\in\triangle_d. Consequently, we have

VE(U,S)=min⁡{ϵ≥0∣U⊆S+ϵE}.(4)V_E(U,S)=\min\{\epsilon\geq0\mid U\subseteq S+\epsilon E\}. \tag*{(4)}

Proof. Apply Lemma 5.1 to B=S+ϵEB=S+\epsilon E. By hB=hS+ϵhEh_B=h_S+\epsilon h_E, the containment U⊆S+ϵEU\subseteq S+\epsilon E is equivalent to hU≤hS+ϵhEh_U\leq h_S+\epsilon h_E over △d\triangle_d. Dividing by hE(w)h_E(w) gives vE(w)≤ϵv_E(w)\leq\epsilon. Minimizing over ϵ≥0\epsilon\geq0 gives (4).

The largest direction score thus selects the direction in which the outer approximation UU violates the safe region SS most relative to the error unit EE. The excess is zero exactly when the safety condition U⊆SU\subseteq S holds.

Remark 5.3. From the convex-analytic viewpoint, the excess generalizes the directed Hausdorff distance from UU to SS. To see this, we introduce a distance function

dE(x):=(χS□γE)(x)=min⁡q∈SγE(x−q),d_E(x):=(\chi_S\square\gamma_E)(x)=\min_{q\in S}\gamma_E(x-q),

which is the infimal convolution between the indicator function of SS, χS\chi_S, and the gauge function of EE. Then S+ϵE={x∣dE(x)≤ϵ}S+\epsilon E=\{x\mid d_E(x)\leq\epsilon\} and VE(U,S)=max⁡x∈UdE(x)V_E(U,S)=\max_{x\in U}d_E(x) (Proposition A.1 in Appendix A). As seen later, dE2d_{E_2} and dE∞d_{E_\infty} correspond to the L2L^2 and L∞L^\infty point-to-set distances, respectively. Hence VEV_E is exactly the directed Hausdorff distance when E=E2E=E_2.5

This idea of the set distance by an error unit dates back to Hörmander [18]. For safety verification, we (i) focus on downward-closed sets and (ii) allow asymmetric error units EE. These points confine queries to △d\triangle_d (Lemma 5.1), enabling query direction synthesis. ⋄

Query Computation

To implement the refinement step (1), we use the maximizer of the direction score vEv_E as a query. Since the direction score vEv_E is not concave, its maximization is generally nontrivial. For each geometry in Table 1, we instead compute the query in the following three steps:

  1. Compute a “farthest” point x∗∈Ux_*\in U from SS;

  2. “Project” x∗x_* onto SS, denoted by q∗∈Sq_*\in S;

  3. Query a supporting normal w∗w_* at q∗q_*.

The nonconvexity remains only in Step 1: in all cases below, the “distance” to SS is convex in xx, so its maximization over UU is intractable in general. We typically consider polyhedral UU generated by the refinement step (1); then the maximum is attained at a vertex, so enumerating the vertices of UU suffices to find x∗x_*.

For p∈{2,∞}p\in\{2,\infty\} and x∈R+dx\in\mathbb{R}^{d}_{+}, let dist⁡p(x,S):=min⁡s∈S∥x−s∥p\operatorname{dist}_p(x,S):=\min_{s\in S}\lVert x-s\rVert_p, and write proj⁡Sp(x)\operatorname{proj}^{p}_{S}(x) for a chosen minimizer of this distance. All proofs of the formal claims in this subsection are deferred to Appendix A.

L2L^2 Score

For ϵ≥0\epsilon\ge0, S+ϵE2S + \epsilon E_2 is the closed Euclidean ϵ\epsilon-neighborhood of SS within R+d\mathbb{R}^d_+. A farthest point outside SS has a unique Euclidean projection thanks to the convexity of SS, and the normalized projection residual maximizes vE2v_{E_2}.

Proposition 5.4. Under Assumption 4.1, we have VE2(U,S)=max⁡x∈Udist⁡2(x,S)V_{E_2}(U, S) = \max_{x \in U} \operatorname{dist}_2(x, S). If this value is positive, let x∗x_* be a (non-unique) maximizer of the distance and let q∗:=proj⁡S2(x∗)q_* := \operatorname{proj}^{2}_{S}(x_*). Then

w∗:=x∗−q∗∥x∗−q∗∥1(5)w_* := \frac{x_* - q_*}{\lVert x_* - q_* \rVert_1} \tag*{(5)}

belongs to △d\triangle_d and maximizes vE2v_{E_2}.

Finding x∗x_* by vertex enumeration of UU recovers the refinement step of Watanabe and Unno [32]. After getting a farthest point x∗x_*, the query w∗w_* in (5) is computed by normalizing the projection residual.

L∞L^\infty Score

The set S+ϵ[0,1]dS + \epsilon[0, 1]^d allows an increase of at most ϵ\epsilon in each coordinate of a safe vector. With this choice E∞=[0,1]dE_\infty= [0, 1]^d, we have hE∞(w)=∥w∥1=1h_{E_\infty}(w) = \lVert w \rVert_1 = 1, which implies vE∞(w)=hU(w)−hS(w)v_{E_\infty}(w) = h_U(w) - h_S(w) for all w∈△dw \in\triangle_d. Thus, the L∞L^\infty unit measures the set containment by the unnormalized support gap, which is the absolute error of the support functions. Below, we characterize maximizers of vE∞v_{E_\infty}.

Proposition 5.5. Under Assumption 4.1, we have VE∞(U,S)=max⁡x∈Udist⁡∞(x,S)V_{E_\infty}(U, S) = \max_{x \in U} \operatorname{dist}_\infty(x, S). If this value is positive, let x∗x_* be a (non-unique) distance maximizer, δ:=dist⁡∞(x∗,S)\delta:= \operatorname{dist}_\infty(x_*, S), and q∗:=[x∗−δ1]+q_* := [x_* - \delta\mathbf{1}]_+, where 1\mathbf{1} is the all-ones vector. Then q∗q_* is an L∞L^\infty-nearest point in SS to x∗x_*. There exists w∗∈△dw_* \in\triangle_d satisfying

hS(w∗)=⟨w∗,q∗⟩,⟨w∗,x∗−q∗⟩=δ,(6)h_S(w_*) = \langle w_*, q_* \rangle,\qquad\langle w_*, x_* - q_* \rangle= \delta, \tag*{(6)}

and every such w∗w_* maximizes vE∞v_{E_\infty}.

Unlike the L2L^2 case, Proposition 5.5 gives the existence of w∗w_* only. Once x∗x_* is obtained by vertex enumeration, q∗q_* follows immediately. It remains to construct w∗w_*. Let

I:={i∈[d]∣x∗,i−q∗,i=δ}I := \{ i \in[d] \mid x_{*,i} - q_{*,i} = \delta\}

be the saturated coordinates, and let 1I\mathbf{1}_I be the indicator vector of II. The first condition in (6) says that w∗w_* is an outward normal of SS at q∗q_*, and the second says that w∗w_* puts weight only on II (Lemma A.4). For i∉Ii \notin I, we have q∗,i=0q_{\ast,i}=0, so the nonnegativity constraint xi≥0x_i\ge0 is active and can cancel the weight on such coordinates. Hence, a nonnegative outward normal can be masked by 1I\mathbf{1}_I, i.e., its coordinates outside II can be set to zero, while it remains an outward normal. When SS is given by a convex function, this yields the following closed-form w∗w_\ast.

Proposition 5.6. In the setting of Proposition 5.5, let S={x∈△≤d∣f(x)≤θ}S=\{x\in\triangle_{\leq}^{d}\mid f(x)\leq\theta\} for a differentiable convex ff that is nondecreasing in each coordinate and a threshold θ∈R\theta\in\mathbb{R} with f(0)<θf(0)<\theta. Then ∇f(q∗)⊙1I≠0\nabla f(q_\ast)\odot\mathbf{1}_I\ne0, and w∗:=∇f(q∗)⊙1I/∥∇f(q∗)⊙1I∥1w_\ast:=\nabla f(q_\ast)\odot\mathbf{1}_I/\lVert\nabla f(q_\ast)\odot\mathbf{1}_I\rVert_1 satisfies the certificate (6), where ⊙\odot denotes the coordinatewise product.

Thus, w∗w_\ast is available in closed form as a normalized masked gradient. Its complexity is subject to the gradient evaluation of ∇f(q∗)\nabla f(q_\ast).

Gauge Score

To use E=SE=S as an error unit, assume

hS(w)>0for all w∈△d.(7)h_S(w)>0\quad\text{for all }w\in\triangle_d. \tag*{(7)}

Under Assumption 4.1, this is equivalent to ρ△≤d⊆S\rho\triangle_{\leq}^{d}\subseteq S for some ρ>0\rho>0, i.e., SS does not require any failure probability to be exactly zero. Under the gauge choice E=SE=S, we have the proportional enlargement S+ϵS=(1+ϵ)SS+\epsilon S=(1+\epsilon)S. Now we see that the gauge excess is related to the gauge function of SS, γS\gamma_S.

Proposition 5.7. Under Assumption 4.1 and (7),

VS(U,S)=[max⁡x∈UγS(x)−1]+(8)V_S(U,S)=\left[\max_{x\in U}\gamma_S(x)-1\right]_+ \tag*{(8)}

holds. If (8) is positive, let x∗∈Ux_\ast\in U maximize γS\gamma_S, λ∗:=γS(x∗)\lambda_\ast:=\gamma_S(x_\ast), and q∗:=x∗/λ∗q_\ast:=x_\ast/\lambda_\ast. Then q∗q_\ast lies on the boundary of SS, and every w∗∈△dw_\ast\in\triangle_d satisfying hS(w∗)=⟨w∗,q∗⟩h_S(w_\ast)=\langle w_\ast,q_\ast\rangle also satisfies ⟨w∗,x∗⟩=hU(w∗)\langle w_\ast,x_\ast\rangle=h_U(w_\ast) and maximizes vSv_S.

Since the gauge function γS\gamma_S is convex, its maximization is again intractable. Thus, we obtain a gauge maximizer x∗x_\ast by vertex enumeration, as in the L2L^2 and L∞L^\infty cases. We can compute w∗w_\ast as a supporting hyperplane of SS at q∗q_\ast when SS is a smooth safe region, under the same assumption as Proposition 5.6.

Proposition 5.8. Let S={x∈△≤d∣f(x)≤θ}S=\{x\in\triangle_{\leq}^{d}\mid f(x)\leq\theta\} for a differentiable convex ff that is nondecreasing in each coordinate and a threshold θ∈R\theta\in\mathbb{R} with f(0)<θf(0)<\theta. Then (7) holds. Moreover, in the setting of Proposition 5.7, we have f(q∗)=θf(q_\ast)=\theta, and if ∇f(q∗)≠0\nabla f(q_\ast)\ne0, then w∗:=∇f(q∗)/∥∇f(q∗)∥1w_\ast:=\nabla f(q_\ast)/\lVert\nabla f(q_\ast)\rVert_1 belongs to △d\triangle_d and maximizes vSv_S.

Unlike the L∞L^\infty case (Proposition 5.6), the gradient masking is unnecessary: every supporting normal at q∗q_\ast is optimal by Proposition 5.7, and q∗q_\ast lies off the face ⟨1,x⟩=1\langle\mathbf{1},x\rangle=1 since ⟨1,q∗⟩≤1/λ∗<1\langle\mathbf{1},q_\ast\rangle\leq1/\lambda_\ast<1. Here, λ∗=min⁡{λ≥1∣f(x∗/λ)≤θ}\lambda_\ast=\min\{\lambda\geq1\mid f(x_\ast/\lambda)\leq\theta\} is obtained by bisection.

Remark 5.9. The pair (x∗,w∗)(x_\ast,w_\ast) in Proposition 5.7 admits a dual interpretation via the polar set of SS:

S∘:={y∈Rd∣⟨y,x⟩≤1 ∀x∈S}.S^\circ:=\{y\in\mathbb{R}^{d}\mid\langle y,x\rangle\leq1\ \forall x\in S\}.

Since 0∈S0\in S by downward closedness, we have γS=hS∘\gamma_S=h_{S^\circ} by the duality [29 Theorem 14.5], and hence max⁡x∈UγS(x)=max⁡y∈S∘hU(y)\max_{x\in U}\gamma_S(x)=\max_{y\in S^\circ}h_U(y). In Proposition 5.7, y∗:=w∗/hS(w∗)y_\ast:=w_\ast/h_S(w_\ast) belongs to S∘S^\circ and satisfies ⟨y∗,x∗⟩=hU(y∗)=hS∘(x∗)\langle y_\ast,x_\ast\rangle=h_U(y_\ast)=h_{S^\circ}(x_\ast). That is, x∗x_\ast is a supporting point of UU in direction y∗y_\ast, and y∗y_\ast is a supporting point of S∘S^\circ in direction x∗x_\ast; the query w∗w_\ast is the ℓ1\ell_1-normalization of the latter.

:::

Comparison of the Three Rules

Computationally, the three rules differ in the projection q∗q_\ast. The L2L^2 rule requires a dd-dimensional Euclidean projection onto SS, which calls for an iterative convex solver for general SS. In contrast, downward closedness reduces the L∞L^\infty distance to the scalar search dist⁡∞(x,S)=min⁡{δ≥0∣[x−δ1]+∈S}\operatorname{dist}_{\infty}(x,S)=\min\{\delta\geq0\mid[x-\delta\mathbf{1}]_+\in S\} (Proposition 5.5), and positive homogeneity reduces the gauge to γS(x)=inf⁡{λ>0∣x/λ∈S}\gamma_S(x)=\inf\{\lambda>0\mid x/\lambda\in S\}; both are computed by bisection. This leads to cheaper queries than the L2L^2 rule, as we will see in Section 6.

Example of Selected Queries

The following example shows how the three error units lead to different query directions for the same safe region and outer approximation, illustrated in Figure 2. The score calculations are given in Appendix § 9.

Different error units select different query directions

Figure 2. Different error units select different query directions for the same safe region SS (dark gray) and outer approximation UU (light gray). The violet regions show the smallest enlargements S+ϵES + \epsilon E containing UU: ϵ=5/4\epsilon= \sqrt{5}/4 for E=E2E = E_2, 1/21/2 for E=E∞E = E_\infty, and 33 for E=SE = S. At x∗=(3/4,1/4)x_* = (3/4, 1/4), the teal arrows are outward normals to these enlargements, giving the normalized weights w∗=(2/3,1/3)w_* = (2/3, 1/3), (1,0)(1, 0), and (1/2,1/2)(1/2, 1/2). The dashed segments join x∗x_* to the common nearest point q∗=(1/4,0)q_* = (1/4, 0) for the L2L^2 and L∞L^\infty cases.

Example 5.10. Consider S={x∈R+2∣x1+x2≤1/4}S = \{x \in\mathbb{R}_{+}^{2} \mid x_1 + x_2 \le1/4\} and U=[0,3/4]×[0,1/4]U = [0, 3/4] \times[0, 1/4]. The safe region bounds the sum of the two failure probabilities by 1/41/4. The vertex x∗=(3/4,1/4)x_* = (3/4, 1/4) is farthest from SS in Euclidean distance, with projection q∗=(1/4,0)q_* = (1/4, 0) and residual (1/2,1/4)(1/2, 1/4). Thus the L2L^2 rule selects w∗=(2/3,1/3)w_* = (2/3, 1/3). In the L∞L^\infty distance, x∗x_* is again a farthest point, with δ=1/2\delta= 1/2 and q∗=(x∗−δ1)+q_* = (x_* - \delta\mathbf{1})_+. The direction w∗=(1,0)w_* = (1, 0) satisfies (6). For the gauge, γS(x)=4(x1+x2)\gamma_S(x) = 4(x_1 + x_2) is maximized at x∗x_* with λ∗=4\lambda_* = 4, and the gauge rule selects w∗=(1/2,1/2)w_* = (1/2, 1/2) supporting SS at q∗=x∗/4q_* = x_*/4. ⋄

Experiments

We evaluate how the choice of error unit affects safety verification by preliminary experiments.6

Methods and benchmarks. We implement the L2L^2, L∞L^\infty, and gauge rules of § 5.2. The two baselines approximate the achievable set KMK_M by the sandwich algorithm (Forejt et al. [8]), iteratively selecting directions with the epsilon indicator or polyhedral gauge of Lammel and Küfer [22]. We denote them by LK-ϵ\epsilon and LK-γ\gamma, respectively, and the detail is summarized in Appendix § 11. All methods share the same oracle on top of Storm 1.13.0 (Hensel et al. [17]).

We create three families of MDP benchmarks: gridworld, robot-mission, and network-routing. The models are written in the PRISM language (Kwiatkowska et al. [21]).7 Gridworld models an exploration task under uncertainty, with hazardous cells represented by target states. Robot-mission models a robot attempting to complete a sequence of tasks, with potential failures during each task. Network-routing is a simplified model of packet transmission, with different transmission failures represented by target states.

For each benchmark family, we construct MDPs with d∈{4,6,8,10}d \in\{4, 6, 8, 10\} target states to test the scalability in the dimension dd. For each MDP, we specify two safe regions, one expected to yield a SAFE verdict and the other an UNSAFE verdict. This gives eight verification instances per family and 24 instances in total, with 12 expected to be SAFE and 12 expected to be UNSAFE. All safe regions have the form S={x∈Δ≤d∣f(x)≤θ}S = \{x \in\Delta_{\leq}^{d} \mid f(x) \leq\theta\}, where ff is quadratic and θ∈R\theta\in\mathbb{R} is a threshold. Specifically, we use the following common family of convex quadratic safety specifications across all benchmarks:

f(x)=12m∑j=1m[(ajTxbj)2+ajTxbj].f(x) = \frac{1}{2m}\sum_{j=1}^{m}\left[\left(\frac{a_j^{\mathsf{T}}x}{b_j}\right)^2+\frac{a_j^{\mathsf{T}}x}{b_j}\right].

For each benchmark, we set the limit of query selection steps as 50, and if the algorithm cannot decide within the limit, it returns UNKNOWN.

Results. Table 2 summarizes the results. The L∞L^\infty and gauge rules mostly outperform the L2L^2 rule in runtime. In our implementation, the former compute boundary points by bisection and then obtain query directions using explicit gradient formulas (Propositions 5.6 and 5.8, respectively), whereas the latter solves a dd-dimensional convex projection problem numerically; this difference may explain the performance difference. The sandwich baselines, LK-ϵ\epsilon and LK-γ\gamma, select query directions to approximate the achievable set without using the safe region. In contrast, the CEGAR methods use the safe region to guide refinement. This difference may explain why the sandwich baselines often underperform the CEGAR methods. Note that UNSAFE cases tend to halt earlier than SAFE cases, since it suffices to find a scheduler whose reachability-probability vector lies outside the safe region. We also observe occasional numerical difficulties during refinement, specifically in outer-polytope vertex enumeration and safe-region support computations; see Table 3 in Appendix § 10 for details.

ExpectedMethodDD (↑)UU (↓)NN (↓)WW (sec)TT (sec)
SAFEL2L^2 [32]1022473044.8793316.6
L∞L^\infty93284606.262893.7
Gauge1207839.046105.3
LK-ϵ\epsilon [22]574414242.4464880.7
LK-γ\gamma [22]933123608.9694161.0
UNSAFEL2L^2 [32]1205836.11288.7
L∞L^\infty1205811.14863.1
Gauge120248.63335.0
LK-ϵ\epsilon [22]932091569.3231949.5
LK-γ\gamma [22]931901528.7241895.5

Table 2. All 24 model/specification pairs, grouped by expected label (12 cases per group). D and U count decisive and UNKNOWN results. NN, WW, TT sum queries, query selection time, and runtime over all 12 runs in each row.

BenchmarkExpectedddL2L^2L∞L^\inftyGaugeLK-ϵ\epsilonLK-γ\gamma
GridworldSAFE48113146
GridworldSAFE616163499
GridworldSAFE83850†50^{\dagger}650†50^{\dagger}16
GridworldSAFE1023†23^{\dagger}42†42^{\dagger}450†50^{\dagger}26
Robot missionSAFE455466
Robot missionSAFE677677
Robot missionSAFE899850†50^{\dagger}37
Robot missionSAFE1011111150†50^{\dagger}50†50^{\dagger}
Network routingSAFE491351515
Network routingSAFE62523750†50^{\dagger}40
Network routingSAFE84647950†50^{\dagger}50†50^{\dagger}
Network routingSAFE1050†50^{\dagger}50†50^{\dagger}1250†50^{\dagger}50†50^{\dagger}
GridworldUNSAFE411111
GridworldUNSAFE611111
GridworldUNSAFE811111
GridworldUNSAFE1011111
Robot missionUNSAFE45521616
Robot missionUNSAFE677150†50^{\dagger}50†50^{\dagger}
Robot missionUNSAFE899450†50^{\dagger}50†50^{\dagger}
Robot missionUNSAFE101111150†50^{\dagger}50†50^{\dagger}
Network routingUNSAFE411111
Network routingUNSAFE633333
Network routingUNSAFE89913415
Network routingUNSAFE1099711

Table 3. Oracle calls on all 24 benchmark cases. The dimension dd is the number of target states in MDPs. A dagger (†\dagger) marks an UNKNOWN result.

Conclusion

We studied a convex-analytic formulation to synthesize a query to test set containment, in particular for downward-closed sets. Empirically, the gauge rule exhibits clear benefits over the L2L^2 rule. We conjecture that the condition number of SS affects the query selection, and it is an interesting future work to investigate how it affects the choice of an error unit EE.

Acknowledgments

HB is supported by JST PRESTO (JPMJPR24K6) and JST BOOST (JPMJBY24E8). SS is supported by JST BOOST (JPMJBY24D1). KW is supported by the JST PRESTO (JPMJPR25KD).

AI use statement

In this work, we used generative AI tools for generating synthetic data sets; assisting in the proof writing; implementing methods. We have not used generative AI tools for helping develop theoretical models or conceptual frameworks; formulating mathematical claims; designing or providing feedback on research methodology or experiments; assisting with translation; interpreting results. Other tasks including proposing hypotheses and supporting qualitative and thematic data analysis are not applicable to this work. Additionally, we used generative AI tools for identifying relevant literature, creating figures (Figure 2), and drafting the initial version of the paper. We have reviewed all AI-assisted work by substantially rewriting the initially generated draft by the authors themselves, reorganizing the paper structure, and reviewing the generated programs and datasets. We take responsibility for the final content of this work, including text, claims, or artifacts produced with the aid of generative AI.

References

Proofs

Auxiliary claims

Throughout this appendix, for an error unit EE, we use the distance function,

dE(x):=(χS□γE)(x)=min⁡q∈SγE(x−q),x∈R+d,d_E(x) := (\chi_S \mathbin{\Box} \gamma_E)(x) = \min_{q \in S} \gamma_E(x-q), \qquad x \in\mathbb{R}^{d}_{+},

where χS\chi_S is the indicator function of SS and γE\gamma_E is the gauge function of EE. The following proposition, referred from Remark 5.3, shows that the excess VE(U,S)V_E(U,S) can be regarded as a generalized directed Hausdorff distance. Later, this yields the three query rules as the Hausdorff distance maximization, combined with Lemma A.3 below.

Proposition A.1. Under Assumption 4.1, let E⊆R+dE \subseteq\mathbb{R}^{d}_{+} be an error unit that is nonempty, compact, convex, downward closed, and satisfies hE>0h_E>0 over Δd\Delta_d. For every x∈R+dx \in\mathbb{R}^{d}_{+} and ϵ≥0\epsilon\geq0, we have x∈S+ϵEx \in S+\epsilon E if and only if dE(x)≤ϵd_E(x) \leq\epsilon, and

dE(x)=[max⁡w∈Δd⟨w,x⟩−hS(w)hE(w)]+.(9)d_E(x) = \left[\max_{w \in\Delta_d} \frac{\langle w,x\rangle-h_S(w)}{h_E(w)}\right]_{+}. \tag*{(9)}

Consequently, dEd_E is finite and continuous on R+d\mathbb{R}^{d}_{+}, and VE(U,S)=max⁡x∈UdE(x)V_E(U,S)=\max_{x \in U}d_E(x). Moreover, under hS>0h_S>0 on Δd\Delta_d assumed in (7), we have dS(x)=[γS(x)−1]+d_S(x)=[\gamma_S(x)-1]_{+} for every x∈R+dx \in\mathbb{R}^{d}_{+}.

Proof. To characterize the sublevel of dEd_E, we first characterize the sublevel set of γE\gamma_E. Since EE is nonempty and downward closed, we have 0∈E0 \in E, so μE⊆λE\mu E \subseteq\lambda E for 0≤μ≤λ0 \leq\mu\leq\lambda by convexity. For λ>0\lambda>0, closedness of EE then gives γE(z)≤λ\gamma_E(z) \leq\lambda if and only if z∈λEz \in\lambda E; for λ=0\lambda=0, γE(z)≤0\gamma_E(z) \leq0 if and only if z∈λE={0}=0Ez \in\lambda E=\{0\}=0E by boundedness of EE. Thus {z∣γE(z)≤ϵ}=ϵE\{z \mid\gamma_E(z) \leq\epsilon\}=\epsilon E for all ϵ≥0\epsilon\geq0. In particular, s↦γE(x−s)s \mapsto\gamma_E(x-s) has closed sublevel sets, so it is lower semicontinuous and attains its minimum (possibly +∞+\infty) on the compact set SS, and dEd_E is well-defined.

If dE(x)≤ϵd_E(x) \leq\epsilon, a minimizer s∈Ss \in S satisfies x−s∈ϵEx-s \in\epsilon E, so x∈S+ϵEx \in S+\epsilon E. Conversely, x=s+ϵtx=s+\epsilon t with s∈Ss \in S and t∈Et \in E gives dE(x)≤γE(ϵt)≤ϵd_E(x) \leq\gamma_E(\epsilon t) \leq\epsilon. This proves the first claim: x∈S+ϵEx \in S+\epsilon E if and only if dE(x)≤ϵd_E(x) \leq\epsilon. Applying Lemma 5.1 with U={x}U=\{x\} and B=S+ϵEB=S+\epsilon E, together with hB=hS+ϵhEh_B=h_S+\epsilon h_E, shows that x∈S+ϵEx \in S+\epsilon E if and only if ⟨w,x⟩−hS(w)≤ϵhE(w)\langle w,x\rangle-h_S(w) \leq\epsilon h_E(w) for all w∈Δdw \in\Delta_d, that is, ϵ≥M(x):=max⁡w∈Δd(⟨w,x⟩−hS(w))/hE(w)\epsilon\geq M(x):=\max_{w \in\Delta_d}(\langle w,x\rangle-h_S(w))/h_E(w). This maximum exists because the ratio is continuous in ww and Δd\Delta_d is compact. Combined with the first claim, dE(x)≤ϵd_E(x) \leq\epsilon if and only if [M(x)]+≤ϵ[M(x)]_{+} \leq\epsilon for every ϵ≥0\epsilon\geq0, so dE(x)=[M(x)]+d_E(x)=[M(x)]_{+}. This dE(x)d_E(x) is finite.

Next, we show that dEd_E is continuous. The support function hEh_E is continuous because EE is compact, so it attains its minimum μ\mu on the compact set Δd\Delta_d, which is positive because of the assumption hE>0h_E>0. For each w∈Δdw \in\Delta_d and x,y∈R+dx,y \in\mathbb{R}^{d}_{+}, Hölder’s inequality gives ∣⟨w,x⟩−⟨w,y⟩∣≤∥x−y∥∞|\langle w,x\rangle-\langle w,y\rangle| \leq\|x-y\|_{\infty}, so the function x↦(⟨w,x⟩−hS(w))/hE(w)x \mapsto(\langle w,x\rangle-h_S(w))/h_E(w) is (1/μ)(1/\mu)-Lipschitz in ∥⋅∥∞\|\cdot\|_{\infty}. The pointwise maximum MM of these functions over w∈Δdw \in\Delta_d is again (1/μ)(1/\mu)-Lipschitz, and so is dE=[M]+d_E=[M]_{+}. In particular, dEd_E is continuous on R+d\mathbb{R}^{d}_{+}.

Since UU is compact and dEd_E is continuous, max⁡x∈UdE(x)\max_{x \in U}d_E(x) exists, and interchanging the two maxima, together with the monotonicity of [⋅]+[\cdot]_{+}, gives max⁡x∈UdE(x)=VE(U,S)\max_{x \in U}d_E(x)=V_E(U,S) by the definition of the excess in (3).

Finally, we focus on the case E=SE=S. The convexity gives S+ϵS=(1+ϵ)SS+\epsilon S=(1+\epsilon)S, and the gauge property above, applied to SS with λ=1+ϵ>0\lambda=1+\epsilon>0, gives x∈(1+ϵ)S⟺γS(x)≤1+ϵx \in(1+\epsilon)S \Longleftrightarrow\gamma_S(x) \leq1+\epsilon. Hence dS(x)≤ϵ⟺[γS(x)−1]+≤ϵd_S(x) \leq\epsilon\Longleftrightarrow[\gamma_S(x)-1]_{+} \leq\epsilon for all ϵ≥0\epsilon\geq0, and the two values coincide. □\square

The L2L^2 and L∞L^\infty rules both rest on the following common fact, which reduces the one-sided distance dEpd_{E_p} to the usual pp-distance to SS. Note that SS is a safe region, and its geometric properties are introduced in Assumption 4.1.

Lemma A.2. Under Assumption 4.1, let p∈{2,∞}p \in\{2,\infty\} and x∈R+dx \in\mathbb{R}^{d}_{+}. Then there is a point q∈Sq \in S nearest to xx in ∥⋅∥p\|\cdot\|_p with q≤xq \leq x coordinatewise, and dEp(x)=dist⁡p(x,S)d_{E_p}(x)=\operatorname{dist}_p(x,S).

Proof. Compactness of SS ensures the existence of a nearest point s∗s_* . Replacing s∗s_* by its coordinatewise minimum with xx preserves membership in SS by downward closedness, and cannot increase the distance because each coordinate of x−s∗x-s_* either stays the same or becomes zero. Since γEp(z)=∥z∥p\gamma_{E_p}(z)=\|z\|_p if z≥0z \geq0 and γEp(z)=+∞\gamma_{E_p}(z)=+\infty otherwise (which is basic), we have dEp(x)=min⁡{∥x−q∥p∣q∈S, q≤x}d_{E_p}(x)=\min\{\|x-q\|_p \mid q \in S,\ q \leq x\}, which equals dist⁡p(x,S)\operatorname{dist}_p(x,S) by the first claim. □\square

All three rules (L2L^2, L∞L^\infty, and gauge) certify the optimality of a direction ww in the same way. The following lemma characterizes a sufficient condition of ww to maximize the direction score vEv_E.

Lemma A.3. Under Assumption 4.1, let E⊆R+dE \subseteq\mathbb{R}_{+}^{d} be an error unit that is nonempty, compact, convex, downward closed, and satisfies hE>0h_E > 0 over Δd\Delta_d. Let x∗∈Ux_* \in U maximize dEd_E over UU, and let w∈Δdw \in\Delta_d satisfy

⟨w,x∗⟩−hS(w)≥dE(x∗)hE(w).(10)\langle w, x_* \rangle- h_S(w) \ge d_E(x_*) h_E(w). \tag*{(10)}

Then we have hU(w)=⟨w,x∗⟩h_U(w) = \langle w, x_* \rangle, the inequality (10) holds with equality, and ww maximizes vEv_E.

Proof. We have hU(w)≥⟨w,x∗⟩h_U(w) \ge\langle w, x_* \rangle by definition of the support function. This together with the assumption (10) and Proposition A.1 leads to

vE(w)=hU(w)−hS(w)hE(w)≥⟨w,x∗⟩−hS(w)hE(w)≥dE(x∗)=VE(U,S)≥vE(w),\begin{aligned} v_E(w) &= \frac{h_U(w)-h_S(w)}{h_E(w)} \ge\frac{\langle w, x_* \rangle-h_S(w)}{h_E(w)} \ge d_E(x_*) = V_E(U,S) \ge v_E(w), \end{aligned}

where the last inequality follows from the definition of the excess (3). Hence all inequalities are equalities, which gives VE(U,S)=vE(w)V_E(U,S) = v_E(w), or equivalently, ww maximizes vEv_E.

Proofs for L2L^2 score

Proof of Proposition 5.4. By Proposition A.1 and Lemma A.2, we have the reduction of the excess to the directed Hausdorff distance: VE2(U,S)=max⁡x∈UdE2(x)=max⁡x∈Udist⁡2(x,S)V_{E_2}(U,S) = \max_{x \in U} d_{E_2}(x) = \max_{x \in U} \operatorname{dist}_2(x,S).

Let this value be positive and fix a maximizer x∗x_*. Since the Euclidean projection q∗=proj⁡S2(x∗)q_* = \operatorname{proj}^{2}_{S}(x_*) is the unique nearest point, it coincides with the nearest point below x∗x_* given by Lemma A.2, that is, q∗≤x∗q_* \leq x_*. Moreover, x∗≠q∗x_* \ne q_* because ∥x∗−q∗∥2=VE2(U,S)>0\lVert x_* - q_* \rVert_2 = V_{E_2}(U,S) > 0. Thus x∗−q∗x_* - q_* is a nonzero nonnegative vector, and its ℓ1\ell_1-normalization w∗w_* in (5) belongs to Δd\Delta_d. The projection inequality gives ⟨x∗−q∗,s−q∗⟩≤0\langle x_* - q_*,s-q_* \rangle\leq0 for all s∈Ss \in S, and dividing both sides by ∥x∗−q∗∥1\lVert x_* - q_* \rVert_1 gives hS(w∗)=⟨w∗,q∗⟩h_S(w_*) = \langle w_*,q_* \rangle. Since w∗w_* and x∗−q∗x_* - q_* are parallel, and we have hE2(w∗)=∥w∗∥2h_{E_2}(w_*) = \lVert w_* \rVert_2, we obtain

⟨w∗,x∗⟩−hS(w∗)=⟨w∗,x∗−q∗⟩=∥w∗∥2∥x∗−q∗∥2=hE2(w∗)dE2(x∗),\langle w_*,x_* \rangle-h_S(w_*) = \langle w_*,x_* - q_* \rangle= \lVert w_* \rVert_2 \lVert x_* - q_* \rVert_2 = h_{E_2}(w_*)d_{E_2}(x_*),

so w∗w_* maximizes the direction score vE2v_{E_2} by Lemma A.3.

Proofs for L∞L^\infty score

Proof of Proposition 5.5. By Proposition A.1 and Lemma A.2, we have the reduction of the excess to the directed Hausdorff distance: VE∞(U,S)=max⁡x∈UdE∞(x)=max⁡x∈Udist⁡∞(x,S)V_{E_\infty}(U,S) = \max_{x \in U} d_{E_\infty}(x) = \max_{x \in U} \operatorname{dist}_\infty(x,S).

We check that q∗:=[x∗−δ1]+q_* := [x_*-\delta\mathbf{1}]_+ lies in SS and is a nearest point to x∗x_* in the L∞L^\infty sense. By Lemma A.2, some nearest point q≤x∗q \leq x_* exists, and q∗≤qq_* \leq q holds coordinatewise because q∗,i=max⁡{x∗,i−δ,0}≤qiq_{*,i} = \max\{x_{*,i}-\delta,0\} \leq q_i follows from qi≥0q_i \geq0 and x∗,i−qi≤∥x∗−q∥∞=δx_{*,i}-q_i \leq\lVert x_* - q \rVert_\infty= \delta. Downward closedness then gives q∗∈Sq_* \in S. Since x∗,i−q∗,i=min⁡{x∗,i,δ}≤δx_{*,i}-q_{*,i} = \min\{x_{*,i},\delta\} \leq\delta for every ii, we have ∥x∗−q∗∥∞≤δ=dist⁡∞(x∗,S)\lVert x_* - q_* \rVert_\infty\leq\delta= \operatorname{dist}_\infty(x_*,S), so q∗q_* is also a nearest point.

Next, we show the existence of a direction w∗∈Δdw_* \in\Delta_d satisfying the certificate (6). By the choice of x∗x_*, the excess equals δ\delta; additionally, δ>0\delta> 0 holds by assumption. Since hE∞=1h_{E_\infty} = 1 on Δd\Delta_d and δ>0\delta> 0, (9) at x∗x_* reads δ=dE∞(x∗)=max⁡w∈Δd(⟨w,x∗⟩−hS(w))\delta= d_{E_\infty}(x_*) = \max_{w \in\Delta_d}(\langle w,x_* \rangle-h_S(w)), and we let w∗∈Δdw_* \in\Delta_d attain this maximum. Since q∗∈Sq_* \in S, the definition of the support function and Hölder’s inequality give

δ=⟨w∗,x∗⟩−hS(w∗)≤⟨w∗,x∗−q∗⟩≤∥w∗∥1∥x∗−q∗∥∞=δ.\delta= \langle w_*,x_* \rangle-h_S(w_*) \leq\langle w_*,x_* - q_* \rangle\leq\lVert w_* \rVert_1 \lVert x_* - q_* \rVert_\infty= \delta.

Both inequalities are therefore equalities, which gives the two conditions in the certificate (6).

Conversely, every w∗∈Δdw_* \in\Delta_d satisfying (6) has ⟨w∗,x∗⟩−hS(w∗)=⟨w∗,x∗−q∗⟩=δ=hE∞(w∗)dE∞(x∗)\langle w_*,x_* \rangle-h_S(w_*) = \langle w_*,x_* - q_* \rangle= \delta= h_{E_\infty}(w_*)d_{E_\infty}(x_*), where the last identity follows from hE∞=1h_{E_\infty} = 1 and δ=dE∞(x∗)\delta= d_{E_\infty}(x_*). Therefore it maximizes vE∞v_{E_\infty} by Lemma A.3.

Unlike the L2L^2 case in Proposition 5.4, we do not have w∗w_* in closed form, which is defined implicitly through the maximization problem in (9). Subsequently, we consider a smooth safe region to get a concise form of w∗w_* in Proposition 5.6. To this end, we need the following lemma to reduce the certificate (6) to a condition on the normal cone of SS at q∗q_*. Throughout, I:={i∣x∗,i−q∗,i=δ}I := \{i \mid x_{*,i}-q_{*,i} = \delta\} and 1I∈{0,1}d\mathbf{1}_I \in\{0,1\}^d is its indicator vector, as in Section 5.2.

Lemma A.4. In the setting of Proposition 5.5, the set II is nonempty and q∗,i=0q_{\ast,i}=0 for every i∉Ii\notin I. Moreover, w∈△dw\in\triangle_d satisfies (6) if and only if hS(w)=⟨w,q∗⟩h_S(w)=\langle w,q_{\ast}\rangle and wi=0w_i=0 for every i∉Ii\notin I.

Proof. By the definition of q∗q_{\ast}, we have x∗,i−q∗,i=min⁡{x∗,i,δ}≤δx_{\ast,i}-q_{\ast,i}=\min\{x_{\ast,i},\delta\}\le\delta for every ii, with equality exactly on II. Since ∥x∗−q∗∥∞=δ\lVert x_{\ast}-q_{\ast}\rVert_{\infty}=\delta, the set II is nonempty. For i∉Ii\notin I, we have x∗,i<δx_{\ast,i}<\delta and hence q∗,i=0q_{\ast,i}=0. For w∈△dw\in\triangle_d, we have ⟨w,x∗−q∗⟩=∑iwi(x∗,i−q∗,i)≤δ∑iwi=δ\langle w,x_{\ast}-q_{\ast}\rangle=\sum_i w_i(x_{\ast,i}-q_{\ast,i})\le\delta\sum_i w_i=\delta, with equality if and only if wi=0w_i=0 for every i∉Ii\notin I.

Since q∗∈Sq_{\ast}\in S, the condition hS(w)=⟨w,q∗⟩h_S(w)=\langle w,q_{\ast}\rangle means that ww belongs to the normal cone

NS(q∗):={w∈Rd∣⟨w,s−q∗⟩≤0 ∀s∈S}.N_S(q_{\ast}):=\{w\in\mathbb{R}^d\mid\langle w,s-q_{\ast}\rangle\le0\ \forall s\in S\}.

By Lemma A.4, the directions w∗w_{\ast} in Proposition 5.5 are exactly the elements of NS(q∗)∩△dN_S(q_{\ast})\cap\triangle_d supported on II: w∗∈NS(q∗)w_{\ast}\in N_S(q_{\ast}) corresponds to the first certificate in (6), and w∗,i=0w_{\ast,i}=0 for every i∉Ii\notin I corresponds to the second certificate in (6). With this lemma, we have a closed form of w∗w_{\ast} for smooth SS, as shown below.

Proof of Proposition 5.6. Based on Lemma A.4, we consider the characterization of w∗w_{\ast} by the normal cone NSN_S. By definition, w∈NS(q∗)w\in N_S(q_{\ast}) if and only if q∗q_{\ast} solves

max⁡s∈Rd ⟨w,s⟩subject tof(s)≤θ,⟨1,s⟩≤1,si≥0 (i∈[d]).(11)\max_{s\in\mathbb{R}^d}\ \langle w,s\rangle\quad\text{subject to}\quad f(s)\le\theta,\quad\langle\mathbf{1},s\rangle\le1,\quad s_i\ge0\ (i\in[d]). \tag*{(11)}

All constraint functions in (11) are convex and differentiable, and the point η1\eta\mathbf{1} satisfies all of them strictly for small η>0\eta>0 by f(0)<θf(0)<\theta and continuity; that is, Slater’s condition holds for (11). Hence the KKT conditions are necessary and sufficient for the optimality of q∗q_{\ast}, which gives

NS(q∗)={λ∇f(q∗)+ν1−∑i∈Zμiei∣λ,ν≥0, μ≥0},N_S(q_{\ast})=\left\{\lambda\nabla f(q_{\ast})+\nu\mathbf{1}-\sum_{i\in Z}\mu_i e_i\mathrel{\Big|}\lambda,\nu\ge0,\ \mu\ge0\right\},

where ei∈Rde_i\in\mathbb{R}^d is the ii-th standard basis vector and Z:={i∣q∗,i=0}Z:=\{i\mid q_{\ast,i}=0\}. By complementary slackness, λ=0\lambda=0 if f(q∗)<θf(q_{\ast})<\theta, and ν=0\nu=0 if ⟨1,q∗⟩<1\langle\mathbf{1},q_{\ast}\rangle<1. Since ff is nondecreasing in each coordinate, ∇f(q∗)≥0\nabla f(q_{\ast})\ge0.

We first show that the simplex constraint is inactive at q∗q_{\ast}. By definition, q∗≤x∗q_{\ast}\le x_{\ast}, and q∗,i=x∗,i−δ<x∗,iq_{\ast,i}=x_{\ast,i}-\delta<x_{\ast,i} for i∈Ii\in I, where II is nonempty by Lemma A.4. Since x∗∈U⊆△≤dx_{\ast}\in U\subseteq\triangle_{\le}^{d}, we obtain ⟨1,q∗⟩<⟨1,x∗⟩≤1\langle\mathbf{1},q_{\ast}\rangle<\langle\mathbf{1},x_{\ast}\rangle\le1, and thus ν=0\nu=0.

Next, we show ∇f(q∗)⊙1I≠0\nabla f(q_{\ast})\odot\mathbf{1}_I\ne0. Take ww from Proposition 5.5 and write w=λ∇f(q∗)−∑i∈Zμieiw=\lambda\nabla f(q_{\ast})-\sum_{i\in Z}\mu_i e_i with λ,μ≥0\lambda,\mu\ge0. By Lemma A.4, ww is supported on II, so

1=∑i∈Iwi≤λ∑i∈I∇if(q∗).1=\sum_{i\in I}w_i\le\lambda\sum_{i\in I}\nabla_i f(q_{\ast}).

Hence ∇f(q∗)⊙1I≠0\nabla f(q_{\ast})\odot\mathbf{1}_I\ne0. In particular, λ>0\lambda>0, so f(q∗)=θf(q_{\ast})=\theta and ∇f(q∗)∈NS(q∗)\nabla f(q_{\ast})\in N_S(q_{\ast}). Since {1,…,d}∖I⊆Z\{1,\ldots,d\}\setminus I\subseteq Z by Lemma A.4, we have

∇f(q∗)⊙1I=∇f(q∗)−∑i∉I∇if(q∗)ei∈NS(q∗),\nabla f(q_{\ast})\odot\mathbf{1}_I=\nabla f(q_{\ast})-\sum_{i\notin I}\nabla_i f(q_{\ast})e_i\in N_S(q_{\ast}),

with ∇if(q∗)≥0\nabla_i f(q_{\ast})\ge0. Hence w∗w_{\ast} belongs to NS(q∗)∩△dN_S(q_{\ast})\cap\triangle_d and is supported on II, and Lemma A.4 gives (6).

Proofs for gauge score

As in the L∞L^{\infty} case (Proposition 5.5), we first show the existence of the direction score maximizer.

Proof of Proposition 5.7. Let g(x):=max⁡w∈△+⟨w,x⟩/hS(w)g(x):=\max_{w\in\triangle_+}\langle w,x\rangle/h_S(w) for x∈Rdx\in\mathbb{R}^d. Since hE=hSh_E=h_S for E=SE=S, (9) and Proposition A.1 give [γS(x)−1]+=dS(x)=[g(x)−1]+[\gamma_S(x)-1]_+=d_S(x)=[g(x)-1]_+, so γS(x)=g(x)\gamma_S(x)=g(x) whenever either exceeds 11. Both functions are positively homogeneous and positive at every x≠0x\ne0, because SS is bounded and hS>0h_S>0 on △d\triangle_d; hence scaling xx gives γS=g\gamma_S=g on R+d\mathbb{R}_+^d. As in the proof of Proposition A.1, gg is Lipschitz continuous, so γS\gamma_S attains its maximum over the compact set UU, and VS(U,S)=max⁡x∈UdS(x)=[max⁡x∈UγS(x)−1]+V_S(U,S)=\max_{x\in U}d_S(x)=[\max_{x\in U}\gamma_S(x)-1]_+ by Proposition A.1. This proves (8).

If the excess is positive, then λ∗=γS(x∗)>1\lambda_{\ast}=\gamma_S(x_{\ast})>1 and dS(x∗)=λ∗−1d_S(x_{\ast})=\lambda_{\ast}-1. By positive homogeneity, γS(q∗)=γS(x∗)/λ∗=1\gamma_S(q_{\ast})=\gamma_S(x_{\ast})/\lambda_{\ast}=1, so dS(q∗)=0d_S(q_{\ast})=0 and q∗∈Sq_{\ast}\in S by Proposition A.1. For t>1t>1, γS(tq∗)=t>1\gamma_S(tq_{\ast})=t>1 gives tq∗∉Stq_{\ast}\notin S; letting t↓1t\downarrow1 shows that q∗q_{\ast} lies on the boundary of SS.

Every w∈Δdw \in\Delta_d satisfying hS(w)=⟨w,q∗⟩h_S(w)=\langle w,q_\ast\rangle obeys, by x∗=λ∗q∗x_\ast=\lambda_\ast q_\ast,

⟨w,x∗⟩−hS(w)=(λ∗−1)hS(w)=dS(x∗)hS(w),\langle w,x_\ast\rangle-h_S(w)=(\lambda_\ast-1)h_S(w)=d_S(x_\ast)h_S(w),

so Lemma A.3 with E=SE=S gives ⟨w,x∗⟩=hU(w)\langle w,x_\ast\rangle=h_U(w) and the maximality of ww.

Next, we consider a smooth safe region SS to get a closed form of the direction score maximizer w∗w_\ast.

Proof of Proposition 5.8. Continuity and f(0)<θf(0)<\theta give ρΔd≤⊆S\rho\Delta_d^{\leq}\subseteq S for some ρ>0\rho>0, so (7) holds. By Proposition 5.7, q∗∈Sq_\ast\in S, and ∑iq∗,i=λ∗−1∑ix∗,i<1\sum_i q_{\ast,i}=\lambda_\ast^{-1}\sum_i x_{\ast,i}<1. If f(q∗)<θf(q_\ast)<\theta, continuity gives a number η>1\eta>1 sufficiently close to one that ηq∗∈Δd≤\eta q_\ast\in\Delta_d^{\leq} and f(ηq∗)<θf(\eta q_\ast)<\theta. Then ηq∗∈S\eta q_\ast\in S and x∗∈(λ∗/η)Sx_\ast\in(\lambda_\ast/\eta)S, contradicting the definition of λ∗\lambda_\ast. Thus f(q∗)=θf(q_\ast)=\theta.

Monotonicity of ff gives ∇f(q∗)≥0\nabla f(q_\ast)\geq0. For each x∈Sx\in S and t∈[0,1]t\in[0,1], convexity of SS implies f(q∗+t(x−q∗))≤θ=f(q∗)f(q_\ast+t(x-q_\ast))\leq\theta=f(q_\ast). Taking the right derivative at t=0t=0 yields ⟨∇f(q∗),x−q∗⟩≤0\langle\nabla f(q_\ast),x-q_\ast\rangle\leq0. If the gradient is nonzero, its normalization therefore belongs to Δd\Delta_d and supports SS at q∗q_\ast. The conclusion follows from Proposition 5.7.

Computations for the Example

For the sets in Example 5.10 and w∈Δ2w\in\Delta_2, the support functions are

hU(w)=3w1+w24,hS(w)=max⁡{w1,w2}4.(12)h_U(w)=\frac{3w_1+w_2}{4},\qquad h_S(w)=\frac{\max\{w_1,w_2\}}{4}. \tag*{(12)}

The score in (3) divides their difference by ∥w∥2\lVert w\rVert_2, 11, or hS(w)h_S(w) for the three units in (2), respectively. Since max⁡{w1,w2}≥w1\max\{w_1,w_2\}\geq w_1, (12) gives hU(w)−hS(w)≤(2w1+w2)/4h_U(w)-h_S(w)\leq(2w_1+w_2)/4. The Cauchy–Schwarz inequality therefore yields vE2(w)≤5/4v_{E_2}(w)\leq\sqrt{5}/4, with equality at w=(2/3,1/3)w=(2/3,1/3). Since w1+w2=1w_1+w_2=1, the same support-gap bound gives vE∞(w)≤1/2v_{E_\infty}(w)\leq1/2, with equality at w=(1,0)w=(1,0). Finally, (12) gives hU(w)≤4hS(w)h_U(w)\leq4h_S(w), so vS(w)≤3v_S(w)\leq3, with equality at w=(1/2,1/2)w=(1/2,1/2).

The point q∗=(1/4,0)q_\ast=(1/4,0) is the Euclidean projection of x∗=(3/4,1/4)x_\ast=(3/4,1/4) because ⟨x∗−q∗,s−q∗⟩=(2s1+s2)/4−1/8≤0\langle x_\ast-q_\ast,s-q_\ast\rangle=(2s_1+s_2)/4-1/8\leq0 for every s∈Ss\in S. Its distance from x∗x_\ast is 5/4\sqrt{5}/4, matching the maximal distance in Proposition 5.4. The L∞L^\infty distance from x∗x_\ast to SS is 1/21/2: every s∈Ss\in S satisfies s1≤1/4s_1\leq1/4, and q∗q_\ast attains this bound. This matches the maximal distance in Proposition 5.5, and q∗=[x∗−(1/2)1]+q_\ast=[x_\ast-(1/2)\mathbf{1}]_+. For w=(1/2,1/2)w=(1/2,1/2), we have hS(w)=⟨w,q∗⟩=1/8h_S(w)=\langle w,q_\ast\rangle=1/8, so ww supports SS at q∗q_\ast, but vE∞(w)=1/2−1/8=3/8<1/2v_{E_\infty}(w)=1/2-1/8=3/8<1/2.

Omitted Details of Experiments

In Table 3, we report the number of oracle calls made for each benchmark–method pair. For the safe Gridworld instances, the L2L^2 and L∞L^\infty methods return unknown at dimension d=10d=10, before reaching the refinement-iteration limit. These early terminations reflect numerical limitations of our current implementation. In the former case, a safe-region support computation failed the numerical optimality check. In the latter, outer-polytope vertex enumeration encountered a numerical failure, and the combinatorial fallback was not attempted because the problem exceeded its configured size limit.

Relation to Quality Indicator

We relate the quality indicators introduced by Lammel and Küfer [22], Definitions 2.1 and 2.2, and § 5.2 to our excess VE(U,S)V_E(U,S) in (3). Their quality indicators measure the difference of outer and inner approximations of a Pareto front, while our excess is used to measure the difference of an outer approximation and a safe region. Let I⊆OI\subseteq O be inner and outer convex polytopes satisfying Assumption 4.1 with S=IS=I and U=OU=O.

In this convention, the epsilon indicator is δϵ(I,O):=min⁡{ϵ≥0:O⊆I+ϵ[0,1]d}\delta_\epsilon(I,O):=\min\{\epsilon\geq0:O\subseteq I+\epsilon[0,1]^d\}. Thus, by Theorem 5.2, we have δϵ(I,O)=V[0,1]d(O,I)\delta_\epsilon(I,O)=V_{[0,1]^d}(O,I). For the polyhedral gauge, additionally assume that II satisfies (7), and define

γI(z):=min⁡{λ≥0:z∈λI}\gamma_I(z) := \min\{\lambda\ge0 : z \in\lambda I\}. The associated approximation quality indicator [22 Section 5.2] is

δγ(I,O):=[max⁡z∈OγI(z)−1]+.\delta_\gamma(I,O) := \left[\max_{z\in O}\gamma_I(z)-1\right]_+.

Since I+ϵI=(1+ϵ)II+\epsilon I=(1+\epsilon)I, we obtain

δγ(I,O)=min⁡{ϵ≥0:O⊆(1+ϵ)I}=VI(O,I)\delta_\gamma(I,O)=\min\{\epsilon\ge0: O\subseteq(1+\epsilon)I\}=V_I(O,I)

by Theorem 5.2.

References

  1. [1]Baier, C. and Katoen, J.-P. (2008). Principles of Model Checking. MIT Press.
  2. [2]Ball, T. and Rajamani, S. K. (2002). The SLAM project: debugging system software via static analysis. In POPL, pages 1–3. ACM.
  3. [3]Chakarov, A. and Sankaranarayanan, S. (2013). Probabilistic program analysis with martingales. In CAV, volume 8044 of Lecture Notes in Computer Science, pages 511–526. Springer.DOI
  4. [4]Chatterjee, K., Fu, H., and Novotný, P. (2020). Termination analysis of probabilistic programs with martingales. In Foundations of Probabilistic Programming, pages 221–258. Cambridge University Press.DOI
  5. [5]Chatterjee, K. and Henzinger, T. A. (2008). Value iteration. In 25 Years of Model Checking, volume 5000 of Lecture Notes in Computer Science, pages 107–138. Springer.DOI
  6. [6]Clarke, E. M., Grumberg, O., Jha, S., Lu, Y., and Veith, H. (2003). Counterexample-guided abstraction refinement for symbolic model checking. J. ACM, 50(5):752–794.DOI
  7. [7]Etessami, K., Kwiatkowska, M., Vardi, M. Y., and Yannakakis, M. (2008). Multi-objective model checking of Markov decision processes. Logical Methods in Computer Science, 4(4). Article 8.
  8. [8]Forejt, V., Kwiatkowska, M., and Parker, D. (2012). Pareto curves for probabilistic model checking. In Automated Technology for Verification and Analysis (ATVA 2012), volume 7561 of Lecture Notes in Computer Science, pages 317–332. Springer.
  9. [9]Forejt, V., Kwiatkowska, M. Z., Norman, G., and Parker, D. (2011). Automated verification techniques for probabilistic systems. In SFM, volume 6659 of Lecture Notes in Computer Science, pages 53–113. Springer.
  10. [10]Gritzmann, P. and Klee, V. (1994). On the complexity of some basic problems in computational convexity: I. containment problems. Discrete Mathematics, 136(1-3):129–174.
  11. [11]Guntuboyina, A. (2012). Optimal rates of convergence for convex set estimation from support functions. The Annals of Statistics, 40:385–411.
  12. [12]Haddad, S. and Monmege, B. (2018). Interval iteration algorithm for MDPs and IMDPs. Theor. Comput. Sci., 735:111–131.DOI
  13. [13]Hannah, L. A. and Dunson, D. B. (2013). Multivariate convex regression with adaptive partitioning. Journal of Machine Learning Research, 14:3261–3294.
  14. [14]Hartmanns, A., Junges, S., Quatmann, T., and Weininger, M. (2023). A practitioner’s guide to MDP model checking algorithms. In TACAS (1), volume 13993 of Lecture Notes in Computer Science, pages 469–488. Springer.arxiv.org/abs/2301.10197
  15. [15]Hartmanns, A. and Kaminski, B. L. (2020). Optimistic value iteration. In CAV (2), volume 12225 of Lecture Notes in Computer Science, pages 488–511. Springer.arxiv.org/abs/1910.01100
  16. [16]Hartmanns, A., Quatmann, T., and van Wijk, M. (2026). Tools and algorithms for sound multi-objective probabilistic model checking. In Formal Methods (FM 2026), volume 16556 of Lecture Notes in Computer Science, pages 189–210. Springer.DOI
  17. [17]Hensel, C., Junges, S., Katoen, J., Quatmann, T., and Volk, M. (2022). The probabilistic model checker Storm. Int. J. Softw. Tools Technol. Transf., 24(4):589–610.
  18. [18]Hörmander, L. (1955). Sur la fonction d’appui des ensembles convexes dans un espace localement convexe. Arkiv för Matematik, 3(2):181–186.DOI
  19. [19]Jeyakumar, V. (2003). Characterizing set containments involving infinite convex constraints and reverse-convex constraints. SIAM Journal on Optimization, 13(4):947–959.DOI
  20. [20]Kamenev, G. K. (1994). Analysis of an algorithm for approximating convex bodies. Computational Mathematics and Mathematical Physics, 34(4):521–528.
  21. [21]Kwiatkowska, M. Z., Norman, G., and Parker, D. (2004). Probabilistic symbolic model checking with PRISM: a hybrid approach. Int. J. Softw. Tools Technol. Transf., 6(2):128–142.
  22. [22]Lammel, I. and Küfer, K.-H. (2023). The convergence rate of the sandwiching algorithm for convex bounded multiobjective optimization. Optimization Online preprint.
  23. [23]Mangasarian, O. L. (2002). Set containment characterization. Journal of Global Optimization, 24(4):473–480.
  24. [24]Prince, J. L. and Willsky, A. S. (1990). Reconstructing convex sets from support line measurements. IEEE Transactions on Pattern Analysis and Machine Intelligence, 12(4):377–389.DOI
  25. [25]Puterman, M. L. (1994). Markov Decision Processes: Discrete Stochastic Dynamic Programming. Wiley Series in Probability and Statistics. Wiley.
  26. [26]Quatmann, T. (2023). Verification of Multi-objective Markov Models. PhD thesis, RWTH Aachen University, Germany.DOI
  27. [27]Quatmann, T. and Katoen, J. (2018). Sound value iteration. In CAV (1), volume 10981 of Lecture Notes in Computer Science, pages 643–661. Springer.arxiv.org/abs/1804.05001
  28. [29]Rockafellar, R. T. (1970). Convex Analysis. Princeton University Press.
  29. [31]Takisaka, T., Oyabu, Y., Urabe, N., and Hasuo, I. (2021). Ranking and repulsing supermartingales for reachability in randomized programs. ACM Trans. Program. Lang. Syst., 43(2):5:1–5:46.DOI
  30. [32]Watanabe, K. and Unno, H. (2026). Automated safety verification of posterior distributions of probabilistic programs. In IJCAI, pages 807–816. Main Track.DOI
  31. [33]Watanabe, K., van der Vegt, M., Junges, S., and Hasuo, I. (2024). Compositional value iteration with Pareto caching. In CAV (3), volume 14683 of Lecture Notes in Computer Science, pages 467–491. Springer.

Paper details

vlnc:W_jj37qa6c
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY-SA 4.0
Usage

views · 4

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

generative AI tools

View statement
Looking for related papers…
Contents