betaFeedback

WorksEngineering

DARSY: A Tool for Data-Driven Abstraction and Policy Synthesis for Stochastic Systems with Unknown Dynamics

Abstract

This paper presents DARSY: a software tool for abstraction-based verification and policy synthesis in discrete-time stochastic control systems with unknown dynamics and noise distributions. DARSY requires only a simulator of the system and a Lipschitz bound on its dynamics, and needs no knowledge of dynamics or noise distributions. The tool is fully automated and constructs a finite interval Markov decision process (IMDP) abstraction from sampled transitions, whose probability intervals are obtained via statistical techniques and Lipschitz reasoning. Robust dynamic programming on this IMDP then yields a policy together with a lower bound on the probability that the unknown system satisfies a desired specification. This lower bound holds with a user-specified confidence; that is, it is probably approximately correct (PAC). The tool is implemented in Python and supports general Lipschitz-continuous system dynamics and specifications expressed in syntactically co-safe LTL (scLTL), which includes reach-avoid and finite-horizon safety specifications as special cases. Beyond standard IMDPs, DARSY implements a two-layer IMDP (2IMDP) abstraction that also bounds the probability of transitioning to aggregated state blocks, yielding smaller abstraction errors than IMDP abstractions and, as a result, tighter satisfaction guarantees. We demonstrate DARSY's broad applicability across a variety of benchmarks and specifications.

CCS Concepts • Theory of computation → Markov decision processes; Abstraction; • Mathematics of computing → Markov processes; • Computing methodologies → Planning under uncertainty.

Introduction

The dynamics of many control systems, such as unmanned drones, mobile robots, and thermodynamic processes, are modeled by nonlinear stochastic difference equations [42, 49]. These systems often must satisfy strict requirements despite their stochastic dynamics. For example, a mobile robot may need to visit a sequence of target locations while avoiding obstacles, despite random disturbances such as wind or wheel slip. Such requirements, called specifications, are expressed formally in temporal logics, such as syntactically co-safe linear temporal logic (scLTL) [11, 33], which includes the ubiquitous reach-while-avoid task as a special case [20, 52]. Because of the randomness in the system’s dynamics, such a specification generally cannot be satisfied with certainty. The goal of formal policy synthesis [11] is therefore to compute a control policy that achieves a high probability of satisfying the specification, together with guaranteed (and tight) bounds on this probability.

A well-established approach to formal policy synthesis is to abstract the system into a finite Markov decision process (MDP) or variant thereof [8, 23, 26, 35, 37]. One can then synthesize an optimal strategy on this abstraction and refine it into a policy for the original system, such that guarantees on the abstraction carry over to the system [2, 41, 53]. A broad range of tools implement such approaches, including FAUST2 [50], StochHy [15], AMYTISS [36], SySCoRe [56], and IMPaCT [59]. Several of these tools are compared in the ARCH-Competition on stochastic models [1]. However, all of these tools are model-based: they require an explicit and exact model of the dynamics, often including the distribution of the stochastic noise. In practice, such a model is often unavailable because the dynamics may be too complex to model accurately, or the system may be accessible only through a simulator or experimental data.

Data-driven abstractions address this limitation by constructing abstractions from sampled transitions of the system, with guarantees that typically hold with a user-specified confidence [3, 8, 10, 17, 18, 22, 27, 30, 31, 38, 39, 40, 46, 48]. Some approaches only assume the stochastic noise distribution to be unknown [6, 7, 22, 25], while others assume completely unknown dynamics with only a known Lipschitz constant [43, 44]. Yet, despite this growing body of literature, tool support for data-driven abstractions is lacking. To the best of our knowledge, no general-purpose software tool exists for data-driven abstraction and formal policy synthesis for discrete-time stochastic systems. As a result, applying the developed methods to a new system requires substantial implementation effort, which limits adoption of the results and further development of data-driven abstraction-based policy synthesis.

DARSY: a tool for data-driven abstraction and policy synthesis

We present DARSY, a software tool for data-driven abstraction and policy synthesis for stochastic systems with unknown dynamics. The tool is implemented in Python with JAX [13], enabling just-in-time compilation and vectorized computation of the abstraction and policy. DARSY requires only a black-box, resettable simulator of the system and a Lipschitz constant of its dynamics, and needs no knowledge of the dynamics or the noise distribution.

Lipschitz continuity is a standard assumption in control theory [32] and is central to how DARSY extrapolates from observed transitions [4]. Such knowledge about the regularity of the dynamics is needed for a sound abstraction from finitely many observations (see Sect. 3). In practice, Lipschitz constants can be obtained from expert knowledge or worst-case reasoning in parametric models. Given a prior over the dynamics, statistical techniques [14] yield confidence intervals for the Lipschitz constant. If only observations are available, data-driven methods can robustly estimate Lipschitz constants under additional smoothness assumptions [28, 60].

Tool overview. As shown in Figure 1, DARSY uses sampled transitions from this simulator to construct an interval MDP (IMDP) abstraction [21, 29, 45], whose transition probability intervals are derived from the samples via Clopper-Pearson confidence intervals and the Lipschitz constant [43]. These imprecise transition probabilities account for discretization errors in the abstraction, which is thus sound and captures all behaviors of interest in the unknown system. In parallel, DARSY translates the scLTL specification into a deterministic finite automaton (DFA) using Spot [19]. Robust dynamic programming on the product of the IMDP and the DFA then yields an abstract strategy, which is refined into a finite-memory policy for the unknown system. This policy comes with formal bounds on the probability that the system satisfies the specification, which hold with a user-specified confidence; that is, the bound is probably approximately correct (PAC). Beyond standard IMDPs, DARSY also implements a data-driven variant of the two-layer IMDP (2IMDP) abstraction from [23], which additionally bounds the probability of transitioning into aggregated blocks of states and thereby yields tighter guarantees on synthesized policies.

DARSY tool overview showing sampled transitions, an scLTL specification, confidence parameter, and policy with PAC bounds

Figure 1. Based on sampled transitions (shown in blue) from a discrete-time stochastic system, DARSY computes a policy together with PAC bounds on the probability that the system satisfies a given scLTL specification (shown as automaton).

Benchmarks. We evaluate DARSY on an array of linear and nonlinear stochastic system benchmarks from the literature [23, 43, 55]. We synthesize policies for different scLTL, reach-avoid, and safety specifications. The evaluation shows the tool’s ability to synthesize policies with tight bounds on the satisfaction probabilities.

Contributions. Our main contributions are as follows:

  1. We present DARSY, a Python tool that synthesizes policies with PAC guarantees for stochastic systems with unknown dynamics against scLTL specifications. The tool supports both IMDP and 2IMDP abstractions, and is implemented in JAX, enabling just-in-time compilation and vectorized computation of abstractions and policies.

  2. DARSY integrates the data-driven abstraction and synthesis algorithms from [43] with a data-driven extension of [23], yielding tighter abstractions and guarantees on policies.

  3. We demonstrate the applicability of DARSY on a set of benchmarks with different dynamics and specifications. We emphasize the generality of the tool to unknown, nonlinear dynamics and temporal logic specifications in scLTL.

Outline. The remainder of the paper is organized as follows. In Sect. 2, we introduce the technical background and define the problem we solve. Sect. 3 describes the structure of DARSY and its algorithms, and Sect. 4 explains how to use the tool. Finally, in Sect. 5, we evaluate DARSY on a set of benchmarks.

Getting started with DARSY. The tool and its Python source code, as well as all benchmarks presented in Sect. 5, are available at https://github.com/tbadings/darsy.

Theoretical Underpinnings

In this section, we define the discrete-time stochastic systems, specifications, and data-driven policy synthesis problem we study.

Notation. We write the power set (the set of all subsets) over XX as 2X2^X. For the natural numbers, we write N≥0={0}∪N\mathbb{N}_{\ge0} = \{0\} \cup\mathbb{N}. A probability space (Ω,F,P)(\Omega, \mathcal{F}, \mathbb{P}) consists of a sample space Ω\Omega, a σ\sigma-algebra F\mathcal{F}, and a probability measure P ⁣:F→[0,1]\mathbb{P}\colon\mathcal{F} \to[0,1]. The set of all distributions over a set XX is written as Δ(X)\Delta(X). For a set ZZ, we write Z∗Z^* and ZωZ^\omega to denote the sets of finite and infinite sequences over ZZ, respectively.

Discrete-time stochastic systems

Consider a discrete-time stochastic dynamical control system S\mathcal{S}, defined for all time steps k∈N≥0k \in\mathbb{N}_{\ge0} by the difference equation

xk+1=f(xk,uk,ηk),(1)x_{k+1} = f(x_k, u_k, \eta_k), \tag*{(1)}

where xk∈Xx_k \in\mathcal{X} is the state at time kk, defined on a continuous state space X⊂Rn\mathcal{X} \subset\mathbb{R}^n, and uk∈Uu_k \in\mathcal{U} is the control input at time kk, selected from a finite set of inputs U={u1,…,um}⊂Rd\mathcal{U} = \{u_1, \ldots, u_m\} \subset\mathbb{R}^d. Moreover, {ηk}k∈N≥0\{\eta_k\}_{k \in\mathbb{N}_{\ge0}} is a sequence of i.i.d. random variables $\eta_k \colon \Omega \to \mathcal{W} \subset Rp\mathbb{R}^{p} defined on the probability space (Ω,F,P)(\Omega,\mathcal{F},\mathbb{P}). The dynamics function f:X×U×W→Xf:\mathcal{X}\times\mathcal{U}\times\mathcal{W}\to\mathcal{X} is a general, nonlinear function that we assume to be measurable and Lipschitz continuous.

Assumption 1 (Lipschitz continuity). The dynamics function f:X×U×W→Xf:\mathcal{X}\times\mathcal{U}\times\mathcal{W}\to\mathcal{X} is LXL_{\mathcal{X}}-Lipschitz continuous in xx (uniformly in uu and η\eta), i.e., there exists a constant LX∈R>0L_{\mathcal{X}}\in\mathbb{R}_{>0} such that

∣f(x1,u,η)−f(x2,u,η)∣≤LX⋅∣x1−x2∣\left|f(x_1,u,\eta)-f(x_2,u,\eta)\right|\leq L_{\mathcal{X}}\cdot\left|x_1-x_2\right|

for all x1,x2∈Xx_1,x_2\in\mathcal{X}, u∈Uu\in\mathcal{U}, and η∈W\eta\in\mathcal{W}, with ∣⋅∣|\cdot| being an appropriate norm on X\mathcal{X}.

Policy. Let pathsfin:=X∗\mathrm{paths}^{\mathrm{fin}}:=\mathcal{X}^{*} and pathsinf:=Xω\mathrm{paths}^{\mathrm{inf}}:=\mathcal{X}^{\omega} be the sets of finite and infinite paths of the system S\mathcal{S}, respectively. The control inputs are selected by a policy π\pi, defined as a measurable function π:pathsfin→U\pi:\mathrm{paths}^{\mathrm{fin}}\to\mathcal{U}, and the set of all policies is ΠS\Pi^{\mathcal{S}}. Given a fixed policy π∈ΠS\pi\in\Pi^{\mathcal{S}} and initial state x0∈Xx_0\in\mathcal{X}, the state of the closed-loop system evolves according to xk+1=f(xk,π(x0,…,xk),ηk)x_{k+1}=f(x_k,\pi(x_0,\ldots,x_k),\eta_k), which induces a stochastic process over (infinite) paths (x0,x1,…)(x_0,x_1,\ldots). We denote the induced probability measure associated with this stochastic process over paths by Pπ,x0S\mathbb{P}^{\mathcal{S}}_{\pi,x_0} [12, 47], such that Pπ,x0S(X)\mathbb{P}^{\mathcal{S}}_{\pi,x_0}(X) is the probability that the closed-loop system generates a path in the measurable set of paths X⊆pathsinfX\subseteq\mathrm{paths}^{\mathrm{inf}}.

Labeling function. Let Y\mathcal{Y} be a finite set of labels. The system S\mathcal{S} is equipped with a measurable labeling function g:X→2Yg:\mathcal{X}\to2^{\mathcal{Y}} that maps each state to a (possibly empty) subset of Y\mathcal{Y}. Thus, the label at time step kk is

yk=g(xk).(2)y_k=g(x_k). \tag*{(2)}

Although the theory (see [25, 43]) that DARSY implements is sound for every measurable labeling function, for ease of implementation and without much loss of generality, we assume that for all ℓ∈Y\ell\in\mathcal{Y}, the region {x∈X:ℓ∈g(x)}\{x\in\mathcal{X}:\ell\in g(x)\} can be partitioned into axis-aligned hyperrectangles. A sequence of labels (y0,y1,…)(y_0,y_1,\ldots) is called a trace. Since any path (x0,x1,…)(x_0,x_1,\ldots) corresponds with a unique trace (g(x0),g(x1),…)(g(x_0),g(x_1),\ldots), we can use the probability measure Pπ,x0S\mathbb{P}^{\mathcal{S}}_{\pi,x_0} to assign the probability for any measurable set of traces Y⊆(2Y)ωY\subseteq(2^{\mathcal{Y}})^\omega.

Specifications

We consider specifications expressed in syntactically co-safe linear temporal logic (scLTL) [11, 33], the fragment of LTL [9] in which negation is only applied to atomic propositions, and in which only the temporal operators next (◯\bigcirc) and until (U\mathsf{U}) appear. We take the set of atomic propositions to be the labels Y\mathcal{Y} of system S\mathcal{S}.

Definition 1 (scLTL syntax). An scLTL formula φ\varphi over the set of labels Y\mathcal{Y} is generated by the grammar

φ::=True∣ℓ∣¬ℓ∣φ1∧φ2∣φ1∨φ2∣◯φ∣φ1Uφ2,\varphi::=\mathrm{True}\mid\ell\mid\neg\ell\mid\varphi_1\wedge\varphi_2\mid\varphi_1\vee\varphi_2\mid\bigcirc\varphi\mid\varphi_1\mathsf{U}\varphi_2,

where ℓ∈Y\ell\in\mathcal{Y} is a label and φ1,φ2\varphi_1,\varphi_2 are scLTL formulas.

The semantics of scLTL are defined over infinite traces y=(y0,y1,…)∈(2Y)ω\mathbf{y}=(y_0,y_1,\ldots)\in(2^{\mathcal{Y}})^\omega. Let yk:=(yk,yk+1,…)\mathbf{y}^{k}:=(y_k,y_{k+1},\ldots) be the suffix of y\mathbf{y} starting at time step k∈N≥0k\in\mathbb{N}_{\geq0}. The satisfaction relation ⊨\models is defined inductively as yk⊨True\mathbf{y}^{k}\models\mathrm{True} for all k∈N≥0k\in\mathbb{N}_{\geq0}, and

yk⊨ℓ⇔ℓ∈yk\mathbf{y}^{k}\models\ell\quad\Leftrightarrow\quad\ell\in y_k,

yk⊨¬ℓ⇔ℓ∉yk\mathbf{y}^{k}\models\neg\ell\quad\Leftrightarrow\quad\ell\notin y_k,

yk⊨φ1∧φ2⇔yk⊨φ1 and yk⊨φ2\mathbf{y}^{k}\models\varphi_1\wedge\varphi_2\quad\Leftrightarrow\quad\mathbf{y}^{k}\models\varphi_1\text{ and }\mathbf{y}^{k}\models\varphi_2,

yk⊨φ1∨φ2⇔yk⊨φ1 or yk⊨φ2\mathbf{y}^{k}\models\varphi_1\vee\varphi_2\quad\Leftrightarrow\quad\mathbf{y}^{k}\models\varphi_1\text{ or }\mathbf{y}^{k}\models\varphi_2,

yk⊨◯φ⇔yk+1⊨φ\mathbf{y}^{k}\models\bigcirc\varphi\quad\Leftrightarrow\quad\mathbf{y}^{k+1}\models\varphi,

yk⊨φ1Uφ2⇔∃j≥k:yj⊨φ2 and yi⊨φ1 ∀i∈{k,…,j−1}\mathbf{y}^{k}\models\varphi_1\mathsf{U}\varphi_2\quad\Leftrightarrow\quad\exists j\geq k:\mathbf{y}^{j}\models\varphi_2\text{ and }\mathbf{y}^{i}\models\varphi_1\ \forall i\in\{k,\ldots,j-1\}.

A trace y\mathbf{y} satisfies φ\varphi, written y⊨φ\mathbf{y}\models\varphi, if and only if y0⊨φ\mathbf{y}^{0}\models\varphi. As usual, the eventually operator is defined as ◊φ:=TrueUφ\Diamond\varphi:=\mathrm{True}\mathsf{U}\varphi. Common specifications include reachability (◊goal\Diamond\mathsf{goal}), reach-avoid (¬unsafeUgoal\neg\mathsf{unsafe}\mathsf{U}\mathsf{goal}), sequential reachability (e.g., ◊(goal1∧◊goal2)\Diamond(\mathsf{goal}_1\wedge\Diamond\mathsf{goal}_2)), and finite-horizon safety (⋀k=0K◯ksafe\bigwedge_{k=0}^{K}\bigcirc^k\mathsf{safe}, where ◯k\bigcirc^k denotes kk nested next operators).

Every satisfying trace of an scLTL specification has a good prefix, i.e., a finite prefix (y0,…,yk)(y_0,\ldots,y_k) such that every infinite extension of this prefix satisfies φ\varphi. The set of good prefixes of an scLTL formula is a regular language, and there exists a deterministic finite automaton (DFA) [11, 33, 34] that accepts it. As a result, the satisfaction of an scLTL formula is witnessed in finite time, enabling policy synthesis on the product of an abstraction with this DFA.

Definition 2 (Satisfaction probability). The probability that the system S\mathcal{S}, with policy π∈ΠS\pi\in\Pi^{\mathcal{S}} and initialized at x0∈Xx_0\in\mathcal{X}, satisfies the scLTL specification φ\varphi is

Prπ,x0S(φ):=Pπ,x0S({y∈(2Y)ω:y⊨φ}).\mathop{\mathrm{Pr}}\nolimits^{\mathcal{S}}_{\pi,x_0}(\varphi):=\mathbb{P}^{\mathcal{S}}_{\pi,x_0}\left(\left\{\mathbf{y}\in(2^{\mathcal{Y}})^\omega:\mathbf{y}\models\varphi\right\}\right).

Since the set of traces satisfying an scLTL formula is ω\omega-regular and thus measurable [9], and since gg is measurable, Prπ,x0S(φ)\mathop{\mathrm{Pr}}\nolimits^{\mathcal{S}}_{\pi,x_0}(\varphi) is well-defined. Moreover, to maximize Prπ,x0S(φ)\mathop{\mathrm{Pr}}\nolimits^{\mathcal{S}}_{\pi,x_0}(\varphi), it suffices to consider finite-memory policies [9, 54], which depend on the path (x0,…,xk)(x_0,\ldots,x_k) only through the current state xkx_k and the state qkq_k of the DFA after reading the trace prefix (y0,…,yk)(y_0,\ldots,y_k).

Policy synthesis under unknown dynamics

Given a system S\mathcal{S} and an scLTL specification φ\varphi, we aim to synthesize a policy π\pi with a high satisfaction probability Prπ,x0S(φ)\mathop{\mathrm{Pr}}\nolimits^{\mathcal{S}}_{\pi,x_0}(\varphi), together with certified bounds on this probability. Crucially, we assume that the dynamics of system S\mathcal{S} are unknown. Instead, we assume only access to sampled state-input-state triples (x,u,x+)(x,u,x^{+}), but the noise value η(ξ)\eta(\xi), ξ∈Ω\xi\in\Omega, that produced each x+x^{+} is unknown. These samples are captured in the following dataset.

Definition 3 (Dataset). Let xi+:=f(xi,ui,η(ξi))x_i^{+}:=f(x_i,u_i,\eta(\xi_i)) be the successor of state xix_i under input uiu_i and outcome ξi∈Ω\xi_i\in\Omega. A sampled dataset for system S\mathcal{S} of N∈NN\in\mathbb{N} state-input-state observations is defined as

DN={(xi,ui,xi+):i∈{1,…,N}},\mathcal{D}_N=\{(x_i,u_i,x_i^{+}):i\in\{1,\ldots,N\}\},

where each underlying ξ1,…,ξN\xi_1,\ldots,\xi_N is an i.i.d. sample from (Ω,F,P)(\Omega,\mathcal{F},\mathbb{P}).

Given the dataset DN\mathcal{D}_N, we consider the following problem.

Problem 1 (Data-driven synthesis). Let S\mathcal{S} be a system with a Lipschitz continuous dynamics function ff (Assumption 1), let x0∈Xx_0\in\mathcal{X} be an initial state, and let φ\varphi be an scLTL specification. Given a dataset DN\mathcal{D}_N and a confidence parameter β∈(0,1)\beta\in(0,1), compute a policy π∈ΠS\pi\in\Pi^{\mathcal{S}} and a lower bound λ∈[0,1]\lambda\in[0,1] such that

PN({(ξ1,…,ξN)∈ΩN:Prπ,x0S(φ)≥λ})≥1−β.(3)\mathbb{P}^{N}\left(\{(\xi_1,\ldots,\xi_N)\in\Omega^N:\mathop{\mathrm{Pr}}\nolimits^{\mathcal{S}}_{\pi,x_0}(\varphi)\geq\lambda\}\right)\geq1-\beta. \tag*{(3)}

Problem 1 asks for a policy π\pi together with a lower bound λ\lambda on its satisfaction probability. Since λ=0\lambda= 0 is a trivial solution, the goal is to find a policy for which λ\lambda is as large as possible. The outer probability accounts for the chance that we might (with probability at most β\beta) use a dataset that leads to an invalid solution, i.e., φ\varphi is satisfied with probability lower than λ\lambda. We note that this confidence probability is unavoidable with any finite-sample method and, regardless, the confidence can be selected to be remarkably close to 1.

Remark 1 (Upper bounds). Conversely, DARSY can also synthesize upper bounds on the satisfaction probability. For simplicity, we only consider lower bounds throughout this paper.

Data-driven IMDP abstraction

DARSY solves Problem 1 by learning a finite-state abstraction of the system SS based on the dataset DN\mathcal{D}_N. The tool supports two modeling formalisms for the abstraction, both of which are special cases of robust Markov decision processes (RMDPs) [51, 58].

Definition 4 (RMDP). A robust Markov decision process (RMDP) MM is a tuple (S,s0,A,P,Y,L)(S, s_0, \mathcal{A}, \mathcal{P}, \mathcal{Y}, L), where

  • SS is a finite set of states, with s0∈Ss_0 \in S the initial state,

  • A\mathcal{A} is a finite set of actions,

  • P:S×A→2Δ(S)\mathcal{P}: S \times\mathcal{A} \to2^{\Delta(S)} is an uncertain transition function with P(s,a)≠∅\mathcal{P}(s, a) \ne\varnothing for all (s,a)∈S×A(s, a) \in S \times\mathcal{A}, and

  • L:S→2YL: S \to2^{\mathcal{Y}} is a labeling function over the finite set of labels Y\mathcal{Y}, which is shared with system SS.

Intuitively, an RMDP defines a game between a strategy σ\sigma that chooses the actions a∈Aa \in\mathcal{A}, and an adversary that chooses the transition probability distributions in P(s,a)\mathcal{P}(s, a). Formally, a strategy σ:S∗→A\sigma: S^* \to\mathcal{A} maps finite paths to actions, and an adversary is a function τ:S∗×A→Δ(S)\tau: S^* \times\mathcal{A} \to\Delta(S) such that τ(s0⋯sk,a)∈P(sk,a)\tau(s_0 \cdots s_k, a) \in\mathcal{P}(s_k, a) for every finite path s0⋯sk∈S∗s_0 \cdots s_k \in S^* and action a∈Aa \in\mathcal{A}. Thus, the adversary may choose a different distribution from P(s,a)\mathcal{P}(s, a) each time the pair (s,a)(s, a) is visited. Together, a strategy σ\sigma and an adversary τ\tau induce a Markov chain with a unique probability measure Pσ,τM\mathbb{P}^{M}_{\sigma,\tau} over the infinite paths SωS^\omega starting in s0s_0. As for system SS, every path (s0,s1,…)(s_0, s_1, \ldots) corresponds with a unique trace (L(s0),L(s1),…)(L(s_0), L(s_1), \ldots), and the robust satisfaction probability of an scLTL specification φ\varphi under strategy σ\sigma is the worst case over all adversaries:

PσM(φ):=inf⁡τPσ,τM{y∈(2Y)ω:y⊨φ}.(4)\mathbb{P}^{M}_{\sigma}(\varphi) := \inf_{\tau} \mathbb{P}^{M}_{\sigma,\tau}\{y \in(2^{\mathcal{Y}})^\omega: y \models\varphi\}. \tag*{(4)}

Remark 2 (Policies vs. strategies). For clarity, we denote policies for the stochastic system SS by π\pi, while we refer to policies on the abstract models as strategies and use the symbol σ\sigma.

An RMDP is an interval MDP (IMDP) if there exist bounds Pˇ,P^:S×A×S→[0,1]\check{P}, \hat{P}: S \times\mathcal{A} \times S \to[0,1], with Pˇ≤P^\check{P} \le\hat{P}, such that for all (s,a)∈S×A(s,a) \in S \times\mathcal{A},

P(s,a)={μ∈Δ(S):Pˇ(s,a,s′)≤μ(s′)≤P^(s,a,s′) ∀s′∈S}.\mathcal{P}(s,a) = \{\mu\in\Delta(S) : \check{P}(s,a,s') \le\mu(s') \le\hat{P}(s,a,s')\ \forall s' \in S\}.

A two-layer IMDP (2IMDP) imposes an additional layer of interval constraints on the transition function. Let B={B1,…,B∣B∣}\mathcal{B} = \{B_1,\ldots,B_{|\mathcal{B}|}\}, with each Bi⊆SB_i \subseteq S, be a partition of SS into blocks (and write μ(B):=∑s′∈Bμ(s′)\mu(B) := \sum_{s' \in B} \mu(s')). An RMDP is a 2IMDP with respect to B\mathcal{B} if there exist state-level bounds Pˇ,P^:S×A×S→[0,1]\check{P},\hat{P}: S \times\mathcal{A} \times S \to[0,1] and block-level bounds PˇB,P^B:S×A×B→[0,1]\check{P}_{\mathcal{B}},\hat{P}_{\mathcal{B}}: S \times\mathcal{A} \times\mathcal{B} \to[0,1] such that for all (s,a)∈S×A(s,a) \in S \times\mathcal{A},

P(s,a)={μ∈Δ(S):Pˇ(s,a,s′)≤μ(s′)≤P^(s,a,s′) ∀s′∈S, PˇB(s,a,B)≤μ(B)≤P^B(s,a,B) ∀B∈B}.\mathcal{P}(s,a)=\{\mu\in\Delta(S):\check{P}(s,a,s')\le\mu(s')\le\hat{P}(s,a,s')\ \forall s'\in S,\ \check{P}_{\mathcal{B}}(s,a,B)\le\mu(B)\le\hat{P}_{\mathcal{B}}(s,a,B)\ \forall B\in\mathcal{B}\}.

Tool Structure and Algorithms

Figure 2 shows the key modules in DARSY. The tool uses Spot [19] to translate the scLTL specification φ\varphi into a DFA. From the dataset DN\mathcal{D}_N, DARSY then constructs an IMDP or 2IMDP abstraction of the system SS (Sect. 3.1). The abstraction algorithm follows [43], extended with the 2IMDP abstraction and synthesis algorithm from [23]. On the product of the abstraction with this DFA, DARSY computes an abstract strategy by robust dynamic programming (Sect. 3.2). Finally, DARSY refines the abstract strategy into a finite-memory policy for SS, together with a lower bound on the satisfaction probability that holds with probability at least 1−β1-\beta (Sect. 3.3). As such, this refined policy solves Problem 1.

Modules within DARSY

Figure 2. Modules within DARSY. From a dataset DN\mathcal{D}_N generated by a simulator and an scLTL specification φ\varphi, DARSY computes a finite-memory policy π\pi together with a certified lower bound on the probability that the system satisfies φ\varphi.

Abstraction into an IMDP or 2IMDP

DARSY constructs the abstraction using the algorithm from [43]. Since X\mathcal{X} may be unbounded, we abstract only a compact hyperrectangular subset XC⊆X\mathcal{X}_{C}\subseteq\mathcal{X} of the state space, chosen by the user.

States, actions, and labels. DARSY partitions XC\mathcal{X}_{C} into a finite set of disjoint and nonempty hyperrectangles {Rs}s∈{s⋆}\{R_s\}_{s\in\{s_\star\}} (where each boundary point is assigned to one of the adjacent regions), such that the labeling function gg is constant on each region. The labeling of the abstraction is thus L(s)=g(x)L(s)=g(x) for any x∈Rsx\in R_s. By the assumptions on gg in Sect. 2.1, such a partition {Rs}s∈{s⋆}\{R_s\}_{s\in\{s_\star\}}, which we call Y\mathcal{Y}-respecting, can always be obtained. An absorbing sink state s⋆s_\star with region Rs⋆=R∖XCR_{s_\star}=\mathbb{R}\setminus\mathcal{X}_{C} and label L(s⋆)=∅L(s_\star)=\emptyset captures all transitions that leave XC\mathcal{X}_{C}, and the initial state s0s_0 is such that x0∈Rs0x_0\in R_{s_0}. Since the sink state is treated as violating φ\varphi (see Sect. 3.2), all regions labeled by the goal of the specification should lie within XC\mathcal{X}_{C}. Since the system SS has a finite input space U\mathcal{U}, we take these inputs directly as the IMDP actions, i.e., A=U\mathcal{A}=\mathcal{U}.

Reachable sets from data. Next, DARSY counts the number of transitions between abstract states present in the dataset DN\mathcal{D}_{N}. Fix a state s≠s⋆s \ne s_{\star} and action uu, and let DN(s,u)⊆DN\mathcal{D}_{N}(s,u) \subseteq\mathcal{D}_{N} be the M≤NM \le N samples (xi,ui,xi+)(x_i,u_i,x_i^{+}) with xi∈Rsx_i \in R_s and ui=uu_i=u. By Assumption 1, for every x∈Rsx \in R_s, the successor f(x,u,η(ξi))f(x,u,\eta(\xi_i)) under the same noise value that generated xi+x_i^{+} is contained in the ball

B^i={x′∈Rn:∥x′−xi+∥≤LX⋅sup⁡x^∈Rs∥x^−xi∥}.\widehat{B}_i = \left\{x' \in\mathbb{R}^{n}: \lVert x' - x_i^{+}\rVert\le L_X \cdot\sup_{\widehat{x}\in R_s}\lVert\widehat{x} - x_i\rVert\right\}.

Thus, for all x∈Rsx \in R_s simultaneously, the number of samples whose successor from xx lies in a region Rs′R_{s'} is at least M~=∣{i:B^i⊆Rs′}∣\widetilde{M}=|\{i:\widehat{B}_i \subseteq R_{s'}\}| and at most M^=∣{i:B^i∩Rs′≠∅}∣\widehat{M}=|\{i:\widehat{B}_i \cap R_{s'} \ne\varnothing\}|.2

Probability intervals. From these counts, and for a fixed confidence parameter β′∈(0,1)\beta' \in(0,1) (not to be confused with β\beta in Problem 1), DARSY computes the transition probability intervals using the Clopper-Pearson confidence bound [16] as

P~(s,u,s′)=Beta⁡−1(β′2;M~,M−M~+1),(5)\widetilde{P}(s,u,s') = \operatorname{Beta}^{-1}\left(\frac{\beta'}{2};\widetilde{M},M-\widetilde{M}+1\right), \tag*{(5)}
P^(s,u,s′)=Beta⁡−1(1−β′2;M^+1,M−M^),(6)\widehat{P}(s,u,s') = \operatorname{Beta}^{-1}\left(1-\frac{\beta'}{2};\widehat{M}+1,M-\widehat{M}\right), \tag*{(6)}

where Beta⁡−1(γ;c1,c2)\operatorname{Beta}^{-1}(\gamma;c_1,c_2) is the γ\gamma-quantile of the beta distribution with shape parameters c1,c2c_1,c_2, and with P~=0\widetilde{P}=0 if M~=0\widetilde{M}=0 and P^=1\widehat{P}=1 if M^=M\widehat{M}=M. With probability at least 1−β′1-\beta', it holds that

P~(s,u,s′)≤P{f(x,u,η)∈Rs′}≤P^(s,u,s′)∀x∈Rs.\widetilde{P}(s,u,s') \le\mathbb{P}\{f(x,u,\eta)\in R_{s'}\} \le\widehat{P}(s,u,s') \qquad\forall x\in R_s.

In other words, if we sample many different datasets DN\mathcal{D}_{N}, then for at least a (1−β′)(1-\beta')-fraction of them, the obtained probability interval [P~(s,u,s′),P^(s,u,s′)][\widetilde{P}(s,u,s'),\widehat{P}(s,u,s')] is correct [43].

Two-layer IMDP. To construct a 2IMDP, we group the regions into blocks B\mathcal{B}, which defines a coarser partition of X\mathcal{X} into regions RB=⋃s′∈BRs′R_B=\bigcup_{s'\in B}R_{s'}, with B∈BB\in\mathcal{B}. We let s⋆s_{\star} be in a block of its own and apply the same procedure to compute the probability intervals on the target sets RBR_B, yielding the block-level bounds P~B,P^B\widetilde{P}_{B},\widehat{P}_{B} [23]. These bounds can be much tighter than the state-level bounds for two reasons. First, a ball B^i\widehat{B}_i intersecting two regions in the same block is not fully contained in either region but can still be fully contained in the block. Second, since a single interval is computed per block, a block of regions that are rarely reached receives one small upper bound, instead of the sum of the upper bounds of all its regions. The following remark further mitigates this issue.

Remark 3 (Two-phase sampling). Since the Clopper-Pearson upper bound in Eq. (4b) is nonzero even if M^=0\widehat{M}=0, we would generally obtain a dense IMDP, i.e., every s′∈Ss' \in S can be reached from every state-action pair (s,u)∈S×A(s,u)\in S\times\mathcal{A} with nonzero probability. Because robust dynamic programming uses the worst-case transition distributions, this dense abstraction greatly increases conservatism [25] and can lead to poor synthesis outcomes. DARSY therefore determines, for each abstract state-action pair (s,u)(s,u), a set that contains the successor state with high probability and only computes transition probabilities to states in that set.

to states in that set. Specifically, DARSY leverages two independent batches of samples per state-action pair (s,u)(s,u), as visualized in Figure 3. The first (small) batch selects candidate successors Ss,u⊆SS_{s,u}\subseteq S as the regions that intersect the bounding box of the sampled successor states. The second batch yields the intervals for all s′∈Ss,us'\in S_{s,u}, and the probability of leaving Rs,u=⋃s′∈Ss,uRs′R_{s,u}=\bigcup_{s'\in S_{s,u}}R_{s'} is assigned to the sink s⋆s_{\star}, with the upper bound from Eq. (4b) for M^=∣{i:B^i⊈Rs,u}∣\widehat{M}=|\{i:\widehat{B}_i\not\subseteq R_{s,u}\}|. The abstraction remains sound, since the two batches are independent, the Clopper-Pearson bounds are valid for any choice of Ss,uS_{s,u}, and redirecting transitions to the sink can only decrease the satisfaction probability. Moreover, the abstraction is highly sparse, and since fewer intervals are computed, all probability bounds are tighter.

Two-phase sampling for a state-action pair

Figure 3. Two-phase sampling for a state-action pair (s,u)(s,u). (a) The successors of a first batch of samples from RsR_s, each inflated to a box using the Lipschitz constant, define a bounding box (dashed). The regions that intersect this bounding box are the candidate successors Ss,uS_{s,u} (in blue). (b) An independent second batch yields the probability intervals for all s′∈Ss,us' \in S_{s,u}. The boxes that leave Rs,uR_{s,u} (red) point towards the probability of transitioning to the sink state s⋆s_{\star}.

Soundness of the abstraction. By choosing β′=β/nint\beta'=\beta/n_{\mathrm{int}}, where nintn_{\mathrm{int}} is the total number of intervals (including the block-level intervals of a 2IMDP), a union bound ensures that all intervals hold simultaneously with probability at least 1−β1-\beta. In that case, the abstraction is sound, i.e., for every s≠s⋆s\ne s_{\star}, u∈Uu\in\mathcal{U}, and x∈Rsx\in R_s, the distribution over successor regions Rs′R_{s'} such that P{f(x,u,η)∈Rs′}\mathbb{P}\{f(x,u,\eta)\in R_{s'}\} to each s′∈Ss,us'\in S_{s,u} and the remaining mass P{f(x,u,η)∉Rs,u}\mathbb{P}\{f(x,u,\eta)\notin R_{s,u}\} to the sink s⋆s_{\star} (see Remark 3) is contained in P(s,u)\mathcal{P}(s,u). Moreover, every P(s,u)\mathcal{P}(s,u) is nonempty, as required by Definition 4: since P~≤M~/M\widetilde{P}\le\widetilde{M}/M and P^≥M^/M\widehat{P}\ge\widehat{M}/M (and similarly for the block-level and sink bounds), the fractions of samples whose successor from any x∈Rsx\in R_s lies in each region Rs′R_{s'}, s′∈Ss,us'\in S_{s,u}, or outside Rs,uR_{s,u} satisfy all constraints.

Robust dynamic programming

DARSY uses Spot [19] to translate the scLTL specification φ\varphi into a DFA Dφ=(Q,qI,2Y,δ,QF)\mathcal{D}_{\varphi}=(Q,q_I,2^{\mathcal{Y}},\delta,Q_F) that accepts its good prefixes, with states QQ, initial state qIq_I, transition function δ:Q×2Y→Q\delta:Q\times2^{\mathcal{Y}}\to Q, and accepting states QF⊆QQ_F\subseteq Q. The tool then performs graph synthesis on the product of the abstraction with Dφ\mathcal{D}_{\varphi}, whose states are pairs (s,q)∈S×Q(s,q)\in S\times Q. Under action uu, the product moves from (s,q)(s,q) to (s′,δ(q,L(s′)))(s',\delta(q,L(s'))) with probability μ(s′)\mu(s'), where μ∈P(s,u)\mu\in\mathcal{P}(s,u) is chosen by an adversary. We call (s,q)(s,q) accepting if s≠s⋆s\ne s_{\star} and q∈QFq\in Q_F, so satisfying φ\varphi amounts to reaching an accepting product state.

Dynamic programming. DARSY computes, via robust dynamic programming, a stationary abstract strategy σ:S×Q→A\sigma:S \times Q \to\mathcal{A}, i.e., its output only depends on the current product (s,q)(s,q). The returned strategy also maximizes the probability of reaching an accepting product state under the worst-case transition probabilities of the abstraction.4 Let V(0)(s,q)=1V^{(0)}(s,q)=1 if (s,q)(s,q) is accepting and zero otherwise. Accepting product states keep value one, and the states (s⋆,q)(s_\star,q) keep value zero for all q∈Qq \in Q, i.e., leaving XC\mathcal{X}_{\mathrm{C}} is treated as violating φ\varphi. This is conservative but sound: traces that satisfy φ\varphi only after leaving XC\mathcal{X}_{\mathrm{C}} are not counted, so the computed values can only underestimate the satisfaction probability. For all other product states (s,q)(s,q) and for all iterations j∈Nj \in\mathbb{N}, we consider the recursion

V(j+1)(s,q)=max⁡a∈Amin⁡μ∈P(s,a)∑s′∈Sμ(s′)V(j)(s′,δ(q,L(s′))).(7)V^{(j+1)}(s,q)=\max_{a\in\mathcal{A}}\min_{\mu\in\mathcal{P}(s,a)}\sum_{s'\in S}\mu(s')V^{(j)}(s',\delta(q,L(s'))). \tag*{(7)}

This max-min dynamic programming recursion can be solved efficiently for both IMDPs and 2IMDPs. The two only differ in the feasible set of distributions in the inner minimization in Eq. (7):

  • IMDP: The adversary is only constrained by the state-level bounds Pˇ,P^\check{P},\hat{P}. The inner minimization is solved exactly by the standard greedy approach [21, 51]: first assign each successor s′s' its lower bound Pˇ(s,a,s′)\check{P}(s,a,s'), and then distribute the remaining probability mass over the successors in increasing order of their values, up to their upper bounds.

  • 2IMDP: The adversary is additionally constrained by the block-level bounds PˇB(s,a,B)≤μ(B)≤P^B(s,a,B)\check{P}_{B}(s,a,B)\leq\mu(B)\leq\hat{P}_{B}(s,a,B). In particular, it cannot move more than P^B(s,a,B)\hat{P}_{B}(s,a,B) of the probability mass into a block BB, even if the successors in BB individually admit more. The greedy approach is extended accordingly [23]: an additional first phase assigns each block the mass needed to meet its lower bound, again in increasing order of value, and in the second phase, the remaining mass is capped by both the state- and block-level upper bounds.

Since the block-level constraints shrink the uncertainty sets, a 2IMDP yields worst-case values that are at least as high as those of an IMDP with the same state-level bounds, i.e., less conservative lower bounds, at a somewhat higher computational cost, since both approaches are dominated by sorting the successors by value.

Termination and strategy extraction. DARSY runs robust dynamic programming until the maximal change between two iterates V(j)V^{(j)} and V(j+1)V^{(j+1)} is below a prescribed tolerance. Upon termination, the tool extracts an optimal strategy σ\sigma corresponding to the value function Vσ:=V(J)V_{\sigma}:=V^{(J)} at the final iteration JJ. Since the value function is initialized conservatively, this final value function VσV_{\sigma} soundly lower bounds the worst-case probability that σ\sigma reaches an accepting product state (modulo floating-point errors).

Policy refinement

The abstract strategy σ\sigma is refined into a finite-memory policy π\pi for the system SS. Let R(x)\mathcal{R}(x) be the abstract state whose region contains xx, i.e., x∈RR(x)x\in R_{\mathcal{R}(x)}, so that R(x)=s⋆\mathcal{R}(x)=s_\star for all x∉XCx\notin\mathcal{X}_{\mathrm{C}}, and let σ(s⋆,q)\sigma(s_\star,q) be an arbitrary fixed input for all q∈Qq\in Q. The DFA state is tracked along the path as q0=δ(ql,g(x0))q_0=\delta(q_l,g(x_0)) and qk+1=δ(qk,g(xk+1))q_{k+1}=\delta(q_k,g(x_{k+1})), and the control input at time kk is

uk=π(x0,…,xk):=σ(R(xk),qk).u_k=\pi(x_0,\ldots,x_k):=\sigma(\mathcal{R}(x_k),q_k).

Since A=U\mathcal{A}=\mathcal{U}, the action selected by σ\sigma is applied directly as the input, and since gg is constant on each region, the DFA tracks the same labels on the system as on the abstraction. Algorithm 1 summarizes the behavior of the resulting closed-loop system.

The policy π\pi only depends on the current state xkx_k and the DFA state qkq_k, as discussed in Sect. 2.2. The following result, which combines the union bound from Sect. 3.1 with the abstraction-based guarantees in [43], shows that for any λ=Vσ(s0,q0)\lambda=V_{\sigma}(s_0,q_0) solve Problem 1.

Theorem 1 (Soundness). Let π\pi be the refinement of the abstract strategy σ\sigma computed by DARSY, and let q0=δ(ql,g(x0))q_0=\delta(q_l,g(x_0)). Then,

PN({(ξ1,…,ξN)∈QN:Prπ,x0(φ)≥Vσ(s0,q0)})≥1−β.\mathbb{P}^{N}\left(\left\{(\xi_1,\ldots,\xi_N)\in\mathbb{Q}^{N}:\mathop{\mathrm{Pr}}\nolimits_{\pi,x_0}(\varphi)\geq V_{\sigma}(s_0,q_0)\right\}\right)\geq1-\beta.

Intuitively, with probability at least 1−β1-\beta, all probability intervals of the abstraction are correct, so the abstraction is sound. The adversary in the abstraction can then mimic the system until it leaves XC\mathcal{X}_{\mathrm{C}}, after which the abstraction assigns value zero, so the robust value Vσ(s0,q0)V_{\sigma}(s_0,q_0) is a lower bound on the satisfaction probability of the system. In particular, if x0∉XCx_0\notin\mathcal{X}_{\mathrm{C}}, then s0=s⋆s_0=s_\star and the theorem holds trivially with Vσ(s0,q0)=0V_{\sigma}(s_0,q_0)=0.

Using DARSY: Operating Instructions

In this section, we describe a typical usage of DARSY. Using a specific benchmark, namely, the Pendulum one, as a running example, we describe the most important features for defining models and specifications, and how to run the algorithms from Sect. 3.

Structure of the codebase

Figure 4 shows the high-level codebase structure, which has two main entry points: one for IMDP and another for the 2IMDP abstraction.

Key files and folders in the codebase of DARSY

Figure 4. Key files and folders in the codebase of DARSY, highlighting the section that describes each module.

Each benchmark and specification is contained in a single file in benchmarks/, while the underlying system simulators (which can be shared across benchmarks) are all in benchmarks/models.py. This structure makes it easy to create different benchmark variants, for example, two different specifications for the same system.

All algorithms live in core/, with the main abstraction algorithms in core/abstraction/ and the automaton-to-DFA translation in core/automaton/. Both the IMDP and 2IMDP entry points run the same pipeline (core/pipeline.py), which builds the abstraction, solves it, and reports the results. Finally, the codebase contains several validation and plotting functionalities.

Defining models

Taking the Pendulum benchmark [55] as an example, its model is written as a discrete-time stochastic system SS, as per Sect. 2.1. At its core, its dynamics are defined by a step function representing the dynamics function ff. This step function is defined inside the class PendulumDynamics, found in benchmarks/models.py:

def step(self, state, action, noise):

    new_velo = (1-self.b) * state[1] + \
        (3*self.G / (2*self.l) * jnp.sin(state[0])) * self.tau + \
        (3.0 / (self.m * self.l**2) * action[0]) * self.tau
    new_angle = wrap_theta(state[0] + self.tau * new_velo + \
        noise[0])
    new_velo = new_velo + noise[1]

    return jnp.array([new_angle, new_velo])

The noise distribution is defined in benchmarks/Pendulum.py and is by default a triangular distribution with halfwidths [0.03, 0.1]:

self.noise = TriangularDistr(np.array([0.03, 0.1]))

This stochastic noise and its properties are specified as the class TriangularDistr, which can be found inside the file benchmarks/dynamics/distributions.py. Currently, DARSY supports Gaussian, truncated Gaussian, and triangular distributions, but can be extended to support other noise distributions.

The subset XC\mathcal{X}_{C} of the state space to partition is specified as the attribute partition['boundary'] of the class Pendulum in benchmarks/Pendulum.py. For example, the following line sets XC=[−π,π]×[−8,8]\mathcal{X}_{C} = [-\pi, \pi] \times[-8, 8], which stands for an angle component in the range [−π,π][-\pi, \pi] and an angular velocity in [−8,8][-8, 8]:

self.partition['boundary'] = np.array([[-np.pi, -8], [np.pi, 8]])

Currently, DARSY only supports hyperrectangular XC\mathcal{X}_{C}.

The state-space of Pendulum is periodic in its angle (the first state dimension), which is specified in the PendulumDynamics class in benchmarks/models.py by setting the state wrapping:

self.wrap = jnp.array([True, False], dtype=bool)

While our problem formulation in Sect. 2 is defined for a finite input set U\mathcal{U}, our implementation actually supports hyperrectangular input sets U\mathcal{U}, which are discretized via a uniform gridding. In the case of the Pendulum class, this hyperrectangle as well as the size of its discretization are set as the following attributes:

self.uMin = [-2]
self.uMax = [2]
self.num_actions = [3]

Remark 4 (Unknown dynamics). Although the step function above contains the system dynamics, the data-driven abstraction algorithms in DARSY to solve Problem 1 use only sampled transitions from these dynamics, together with a precomputed Lipschitz constant LXL_X of the dynamics. For our Pendulum benchmark, the latter is stored as the following array attribute of the PendulumDynamics class found in benchmarks/models.py:

self.lipschitz = np.array([[1.15, 0.1],[1.5, 1.0]])

Abstraction settings. For the abstraction, we set a desired resolution for the state-space partition used for abstraction. For example, the Pendulum benchmark uses a partition of 200×200200 \times200 cells, which is specified as an attribute of the Pendulum class:

self.partition['number_per_dim'] = np.array([200, 200])

When generating a 2IMDP abstraction, we additionally set the option --coarse_factor to the number of grid cells (per dimension) contained in the same block. For example, --coarse_factor 3 means every block contains 3n3^n grid cells (within the state dimension), so the blocks together again define a partition.

Defining specifications

Specifications are defined by the label set Y\mathcal{Y} and the labeling function g ⁣:X→2Yg\colon\mathcal{X} \to2^{\mathcal{Y}}. Both are stored as dictionaries and later translated into a DFA using Spot. For example, the reach-avoid specification for the Pendulum benchmark has the atomic propositions "goal" and "unsafe", which are set as attributes of the Pendulum class:

self.atomic_propositions = ["goal", "unsafe"]

For each label, we define the subset of the state space where it holds as a set of hyperrectangles, also inside the Pendulum class. For example, the following attributes assign the labels {goal} and {unsafe} to the regions r_goal and r_unsafe, respectively, and define r_goal as the single rectangle [−0.1π,0.1π]×[−1,1][-0.1\pi, 0.1\pi] \times[-1, 1] and r_unsafe as an empty set:

self.labels = {
    "r_goal": {"goal"},
    "r_unsafe": {"unsafe"}
}

self.regions = {
    "r_goal": np.array([
        [[-0.1*np.pi, -1], [0.1*np.pi, 1]]
    ], dtype=float),

    "r_unsafe": np.array([
    ], dtype=float)
}

Finally, the scLTL formula, which for Pendulum is reach-avoid, is also set in the Pendulum class:

self.specification = ("(!unsafe) U (goal)")

Thanks to the integration of Spot to translate specifications into DFAs, DARSY supports general scLTL formulas.

Non-uniform state partitions. To ensure soundness of the abstraction, all states x,x′x, x' within the same partition element must have the same labels. For example, in the case of Pendulum, all states x∈rgoalx \in r_{\mathrm{goal}} must satisfy g(x)={goal}g(x) = \{\mathrm{goal}\}. However, the grid requested by the user may not align with this label-preserving requirement. To this end, the tool adapts the user-requested grid into a non-uniform grid, as illustrated in Figure 5. Specifically, the faces of all labeled regions (which are hyperrectangles) become grid lines, and the intervals between consecutive grid lines are split uniformly so that no cell is wider than in a user-specified nominal grid. By construction, this procedure yields a non-uniform grid that is label-preserving and thus suited for abstraction.

An example non-uniform state partition generated by DARSY

Figure 5. An example (non-uniform) state partition generated by DARSY. The user-requested 6×66 \times6 grid is not aligned with the right face of the unsafe region and the bottom face of the goal region. Thus, the tool creates additional slices through these faces and normalizes the cells within each region of interest (shown as dashed blue lines) so that all cells in the same region of interest (goal and unsafe) have the same size.

Synthesizing abstractions and strategies

Constructing the abstraction and synthesizing an abstract strategy for a desired benchmark can be done by running a single Python file with the desired arguments. For example, a minimal IMDP run for Pendulum with the default arguments amounts to:

python RunIMDP.py --model Pendulum

Similarly, a minimal run for the equivalent 2IMDP abstraction with default arguments amounts to:

python Run2IMDP.py --model Pendulum

To avoid materializing the full dataset before constructing the abstraction, DARSY generates the MM samples (xi,ui,xi+)(x_i, u_i, x_i^+) in DN(s,u)D_N(s,u) for every state-action pair (s,u)(s,u) separately within the abstraction construction loop. From these samples, the tool constructs the abstract IMDP (or 2IMDP) and synthesizes an optimal abstract strategy, using the techniques from Sects. 3.1 and 3.2, respectively.

Remark 5. While the current tool supports datasets DND_N obtained by sampling from a system simulator, our techniques can readily be used on a fixed dataset, for example, obtained from experimental system data (as long as the data forms a valid DND_N as per Def. 3).

Dedicated solver paths. For two common classes of specifications, namely safety and reach-(while)-avoid, the general product construction with a DFA is unnecessary. For these specifications, DARSY bypasses DFA construction and calls a dedicated solver instead, which reduces both memory usage and runtime.

  • Safety: A finite-horizon safety specification is defined by the formula G(safe)\mathrm{G}(\mathrm{safe}),5 a horizon KK, and a union of safe hyperrectangles. A safety specification is interpreted as ⋀k=0K◯ksafe\bigwedge_{k=0}^{K} \bigcirc^{k}\mathrm{safe} (see Sect. 2.2) and solved by KK steps of robust dynamic programming. For instance, the Temperature2D class defines the specification and horizon as

self.specification = "G(safe)"
self.horizon = 15

Synthesis yields a time-varying strategy σ:{1,…,K}×S→A\sigma: \{1,\ldots,K\} \times S \to\mathcal{A}, in which the number of remaining steps replaces the role of the DFA state, such that the policy refinement in Sect. 3.3 and Theorem 1 apply analogously.

  • Reach-avoid: If the provided specification is the reach-avoid formula (!unsafe) U (goal), with the labels (exactly) named unsafe and goal, then DARSY solves the recursion in Eq. (7) directly on the abstraction, i.e., without the DFA component. The solver assigns values of one and zero to goal and unsafe (including s+s_+) states, respectively. The resulting strategy is memoryless, i.e., σ:S→A\sigma: S \to\mathcal{A}.

Similarly, DARSY can compute an upper bound on the satisfaction probability of the synthesized strategy by evaluating it against the most favorable distributions in P(s,a)\mathcal{P}(s,a). All other scLTL specifications are handled by the DFA-based procedure from Sect. 3.2.

Options. Various options can be passed to the RunIMDP.py and Run2IMDP.py entry points to choose the benchmark to run, the confidence parameter β\beta, the number of samples per state-action pair used to compute probability intervals, and so on. A full overview of these options is provided in the documentation.

Simulating synthesized policies

DARSY can simulate a system under a synthesized policy and plot results of interest. The tool contains a Monte Carlo simulator that runs Algorithm 1 a specified number of times. This functionality lets the user obtain an empirical estimate of the probability of satisfying the specification under the synthesized policy, which is helpful for the validation of the certified lower bounds on the satisfaction probability. Furthermore, the tool includes general plotting functions for heatmaps (e.g., satisfaction probabilities over the state space) and state trajectory plots (e.g., a set of Monte Carlo simulations), as well as tailored plotting functions for specific benchmarks, such as animating a Pendulum trajectory.

Evaluation of DARSY

We perform numerical experiments on a variety of benchmarks (see Table 1) to answer the following questions about DARSY:

SystemnnDynamicsNoiseDistributionOrigin
Temp1D1LinearAdditiveGaussian[24]
Temp2D2LinearMultiplicativeTrunc. Gaussian[23]
Temp3D3LinearMultiplicativeTrunc. Gaussian[23]
Temp4D4LinearMultiplicativeTrunc. Gaussian[23]
DoubleInt2LinearAdditiveTriangular[8]
MountainCar2NonlinearAdditiveTriangular[55]
Pendulum-T2NonlinearAdditiveTriangular[55]
Pendulum-G2NonlinearAdditiveGaussian[55]
Dubins2D2NonlinearAdditiveTriangular[25]
Dubins3D3NonlinearAdditiveTriangular[5]

Table 1. Benchmark overview (nn is the state space dimension).

Q1: Can DARSY effectively synthesize policies for systems with unknown dynamics from sampled transitions?

Q2: How does the number of samples used to estimate each abstract probability interval affect the results?

Q3: Can richer abstractions such as 2IMDPs produce tighter bounds on satisfaction probabilities than conventional IMDPs?

Reproducibility. All experiments ran with Python 3.13.13 and JAX 0.12.0.1 on an Apple MacBook Pro with an M5 chip and 24 GB of RAM. The source code is available at https://github.com/tbadings/darsy, including a script to run all benchmarks and generate Table 2.

BenchmarkMethod∣S∣|S|∣A∣|\mathcal{A}|#Trans.\multicolumn{4}{c}{1 000 samples}\multicolumn{4}{c}{10 000 samples}\multicolumn{4}{c}{100 000 samples}
Temp1D (reach-avoid)IMDP1 00227.41⋅1057.41 \cdot10^{5}1.50.40.0000.0006.90.60.0000.00084.31.40.0000.994
Temp1D (reach-avoid)2IMDP1 00229.87⋅1059.87 \cdot10^{5}1.91.00.0000.9969.44.20.2510.996107.92.70.7380.996
Temp1D (safety)IMDP10227.88⋅1037.88 \cdot10^{3}0.80.30.0210.9931.00.30.3020.9932.20.30.5480.993
Temp1D (safety)2IMDP10221.05⋅1041.05 \cdot10^{4}0.90.30.2460.9931.10.30.6960.9932.60.30.8000.993
Temp2D (safety)IMDP14542.13⋅1042.13 \cdot10^{4}1.20.30.7681.0001.30.30.9731.0002.40.30.9971.000
Temp2D (safety)2IMDP14542.36⋅1042.36 \cdot10^{4}1.30.30.7671.0001.50.30.9731.0003.10.30.9971.000
Temp3D (safety)IMDP1 72983.00⋅1063.00 \cdot10^{6}2.20.60.7121.0004.70.60.9661.00043.80.60.9961.000
Temp3D (safety)2IMDP1 72983.11⋅1063.11 \cdot10^{6}2.52.10.7121.0007.22.00.9661.00071.82.20.9961.000
Temp4D (safety)IMDP20 737164.30⋅1084.30 \cdot10^{8}18.769.60.6171.000103.871.40.9581.0001381.070.80.9951.000
Temp4D (safety)2IMDP20 737164.36⋅1084.36 \cdot10^{8}25.5490.60.6331.000171.3504.00.9591.0004988.3495.50.9951.000
DoubleInt (reach-avoid)IMDP2 705211.19⋅1061.19 \cdot10^{6}1.90.40.9171.0006.40.40.9911.00041.80.40.9991.000
DoubleInt (reach-avoid)2IMDP2 705211.42⋅1061.42 \cdot10^{6}2.50.80.9161.00012.00.80.9911.000113.40.90.9991.000
DoubleInt (scLTL φ2\varphi_2)IMDP2 809211.24⋅1061.24 \cdot10^{6}1.80.90.7941.0006.51.00.9781.00042.80.80.9971.000
DoubleInt (scLTL φ2\varphi_2)2IMDP2 809211.36⋅1061.36 \cdot10^{6}2.42.60.7941.00011.92.60.9781.000115.02.50.9971.000
MountainCar (reach-avoid)IMDP250 50133.23⋅1073.23 \cdot10^{7}27.8242.20.0551.00093.7210.70.7701.0001037.1202.30.9741.000
MountainCar (reach-avoid)2IMDP250 50133.53⋅1073.53 \cdot10^{7}28.91112.30.0591.000175.11118.30.7721.0001750.01159.10.9741.000
Pendulum-T (reach-avoid)IMDP40 20135.19⋅1065.19 \cdot10^{6}5.610.10.4161.00018.510.30.9251.000212.98.80.9921.000
Pendulum-T (reach-avoid)2IMDP40 20135.67⋅1065.67 \cdot10^{6}5.857.60.4191.00032.248.40.9261.000324.143.50.9921.000
Pendulum-G (reach-avoid)IMDP40 20132.36⋅1072.36 \cdot10^{7}7.63.30.0000.10822.269.20.0000.967224.5166.30.6221.000
Pendulum-G (reach-avoid)2IMDP40 20132.60⋅1072.60 \cdot10^{7}8.823.70.0000.99738.4338.50.1461.000349.6250.80.7431.000
Dubins2D (scLTL φ1\varphi_1)IMDP901409.36⋅1059.36 \cdot10^{5}1.31.00.4741.0003.10.90.9371.00025.00.90.9931.000
Dubins2D (scLTL φ1\varphi_1)2IMDP901409.72⋅1059.72 \cdot10^{5}1.33.00.4951.0003.42.70.9391.00028.12.90.9931.000
Dubins3D (reach-avoid)IMDP127 50191.16⋅1081.16 \cdot10^{8}48.439.30.3561.000294.636.20.9181.0003272.034.10.9911.000
Dubins3D (reach-avoid)2IMDP127 50191.18⋅1081.18 \cdot10^{8}66.4559.60.3671.000501.4502.10.9181.0005534.3465.60.9911.000
Dubins3D (scLTL φ1\varphi_1)IMDP127 50191.16⋅1081.16 \cdot10^{8}48.4175.40.3301.000291.8155.10.9151.0003364.2146.90.9911.000
Dubins3D (scLTL φ1\varphi_1)2IMDP127 50191.18⋅1081.18 \cdot10^{8}66.5906.20.3411.000493.9803.60.9151.0005547.6746.10.9911.000

Table 2. Results for different numbers of sampled transitions per abstract state-action pair, showing the number of abstract states (∣S∣|S|) and actions (∣A∣|\mathcal{A}|), the number of transitions (s,a,s′s,a,s') in the abstraction (Trans.), the wall-clock time for the abstraction (Abs.) and abstract policy synthesis (Syn.), the lower bound satisfaction probability (λ\lambda), and its empirical estimate (Emp.).

Benchmarks. We consider the 10 systems from Table 1, covering a broad range of dynamics classes (linear and nonlinear, additive and multiplicative stochastic noise, and different noise distributions). We consider different scLTL, reach-avoid, and safety specifications, yielding 13 benchmarks in total. For each benchmark, we run DARSY for an IMDP and a 2IMDP abstraction, with 1 000, 10 000, and 100 000 sampled transitions per abstract state-action pair. For example, 1 000 samples means that, for every pair (s,a)(s, a), we generate 1 000 triples (x,u,x+)(x, u, x^{+}), where xx is the center of the cell RsR_s of abstract state ss and u=au = a. We then compute the probability intervals for all (s,a,s′)(s, a, s') from these 1 000 samples. We run all benchmarks with β=0.001\beta= 0.001, i.e., each abstraction, and thus the satisfaction probability, is correct with confidence at least 99.9%.

Overview of results. Table 2 shows the results for all benchmarks, including abstraction sizes, abstraction and synthesis runtimes, lower bounds on satisfaction probability, and the empirical satisfaction over 1 000 Monte Carlo simulations. Although sampling from the system simulator is random, we observed negligible differences across random seeds and therefore report results for a single seed.

Q1: Synthesis performance. DARSY successfully generates abstractions and synthesizes policies for all benchmarks, and all bounds λ\lambda indeed lower-bound the empirical estimates. The abstract models have up to roughly 250k states and 436 million transitions (i.e., edges in the underlying graph). Figure 6 shows the lower bound on the satisfaction probability (as a heatmap over initial states x0∈XCx_0 \in X_{\mathcal{C}}) together with simulated closed-loop trajectories. For Dubins2D, the scLTL specification requires reaching goal while avoiding unsafe,

Lower bounds on the satisfaction probability and simulated trajectories for two benchmarks

Figure 6. Lower bounds on the satisfaction probability (top) and simulated trajectories (bottom) for two benchmarks, using IMDP abstractions with 10k samples per state-action pair.

with the additional constraint that if wet is entered, then carpet must be visited before reaching goal [57]. Since the initial state lies in wet, the policy indeed steers the system to carpet first. MountainCar, in contrast, has a plain reach-avoid specification (reaching the top of the hill [55]). Its main difficulty is that reaching the goal takes many steps, thus requiring a fine-grained discretization and many samples to obtain a tight bound on the satisfaction probability (with the IMDP, λ=0.770\lambda= 0.770 for 10k samples, improving to λ=0.974\lambda= 0.974 for 100k). The benchmark DoubleInt is also run with an scLTL representing a sequential reachability task.

Role of number of sampled transitions

The lower bound λ\lambda on the satisfaction probability increases strongly with the number of sampled transitions. This is as expected, because the tightness of the probability intervals obtained from the Clopper-Pearson confidence bound (see Eq. (4)) is directly determined by the number of samples. At the same time, the time to generate abstraction also increases with the number of samples, roughly proportionally, since sampling transitions and counting them is the dominant factor in the abstraction construction. One exception is Temperature4D, where the 2IMDP abstraction time increases from 171.3 (10k samples) to 4988.3 seconds (100k samples); an increase of almost 30 times. The reason for this larger increase is likely that this benchmark required more memory than the available 24 GB of RAM, so the machine additionally used the SSD as (slower) swap memory. Overall, each benchmark shows a sweet spot for the number of sampled transitions, where the bound on the satisfaction probability saturates. Beyond this point, the gain in satisfaction probability is marginal while abstraction time continues to increase.

abstraction gives a much better bound of λ=0.738\lambda= 0.738. Similarly, Pendulum-G with 100k samples improves from λ=0.622\lambda= 0.622 (IMDP) to λ=0.743\lambda= 0.743 (2IMDP). The improvement for Pendulum-G with 10k samples is shown in Figure 7. These results show the benefits of 2IMDPs for obtaining much tighter bounds on satisfaction probabilities on benchmarks that are too challenging for IMDP abstractions.

Figure 7. Lower bounds on the satisfaction probability for Pendulum-G (reach-avoid), using an IMDP (left) and a 2IMDP (right) abstraction (10k samples per state-action pair).

Q3: IMDP vs 2IMDP abstractions. We explore the conservatism of 2IMDP abstractions w.r.t. IMDPs. From Table 2, we observe that only Temperature1D and Pendulum-G show a much better bound for 2IMDPs, whereas the improvement for most other benchmarks is smaller, typically a few percent or less. In some cases, the 2IMDP even shows a marginally smaller satisfaction probability, e.g., for Temperature2D, which is due to the union bound being taken over both state and block-level bounds (thus yielding slightly weaker probability intervals for the same overall confidence). Nevertheless, the IMDP abstractions for Temperature1D and Pendulum-G yield poor bounds, whereas the 2IMDP bounds are significantly better. For example, an IMDP abstraction of Temperature1D (reach-avoid) with 100 000 samples yields λ=0.000\lambda= 0.000, whereas the 2IMDP

Conclusion

We present DARSY, a new Python tool for verification and policy synthesis for stochastic systems via data-driven abstractions. Unlike existing abstraction tools, DARSY does not require knowledge of the system dynamics and instead constructs abstractions from sampled transitions. DARSY is automated and sound, providing probably approximately correct guarantees on synthesized policies. Our experiments on a variety of benchmarks and specifications have shown the tool’s generality and broad applicability.

In the future, we plan to extend DARSY to gray-box settings, where structural assumptions and partial knowledge of the dynamics can improve performance and data efficiency. Furthermore, since our JAX implementation vectorizes both the abstraction and dynamic programming, we plan to evaluate DARSY on GPUs to scale to higher-dimensional systems and finer partitions.

References

References

  1. [1]Alessandro Abate, Omid Akbarzadeh, Henk A. P. Blom, Sofie Haesaert, Sina Hassani, Abolfazl Lavaei, Frederik Baymler Mathiesen, Rahul Misra, Amy Nejati, Mathis Niehage, Fie Ørum, Anne Remke, Behrad Samari, Ruohan Wang, Rafal Wisniewski, Ben Wooding, and Madhieh Zaker. 2025. ARCH-COMP25 Category Report: Stochastic Models. CoRR abs/2506.17602 (2025).arxiv.org/abs/2506.17602
  2. [2]Alessandro Abate, Maria Prandini, John Lygeros, and Shankar Sastry. 2008. Probabilistic reachability and safety for controlled discrete time stochastic hybrid systems. Autom. 44, 11 (2008), 2724–2734.DOI
  3. [3]Daniel Aleksejevs, Abolfazl Lavaei, and Majid Zamani. 2023. Data-Driven Controller Synthesis via Finite Abstractions With Formal Guarantees. IEEE Control. Syst. Lett. 7 (2023), 3453–3458.
  4. [4]Arm Alarwan, Anne Koch, Frank Allgöwer, and Karl Henrik Johansson. 2023. Data-Driven Reachability Analysis From Noisy Data. IEEE Trans. Autom. Control. 68, 5 (2023), 3054–3069.
  5. [5]Thom Badings and Alessandro Abate. 2025. Probabilistic Alternating Simulations for Policy Synthesis in Uncertain Stochastic Dynamical Systems. In CDC. IEEE, 3919–3924.
  6. [6]Thom Badings, Alessandro Abate, Nils Jansen, David Parker, Hasan A. Poonawala, and Mariëlle Stoelinga. 2022. Sampling-Based Robust Control of Autonomous Systems with Non-Gaussian Noise. In AAAI. AAAI Press, 9669–9678.
  7. [7]Thom S. Badings, Licio Romao, Alessandro Abate, and Nils Jansen. 2023. Probabilities Are Not Enough: Formal Controller Synthesis for Stochastic Dynamical Models with Epistemic Uncertainty. In AAAI. AAAI Press, 14701–14710.
  8. [8]Thom S. Badings, Licio Romao, Alessandro Abate, David Parker, Hasan A. Poonawala, Mariëlle Stoelinga, and Nils Jansen. 2023. Robust Control for Dynamical Systems with Non-Gaussian Noise via Formal Abstractions. J. Artif. Intell. Res. 76 (2023), 341–391.DOI
  9. [9]Christel Baier and Joost-Pieter Katoen. 2008. Principles of model checking. MIT Press.
  10. [10]Adrien Banse, Licio Romao, Alessandro Abate, and Raphaël M. Jungers. 2023. Data-driven Abstractions via Adaptive Refinements and a Kantorovich Metric. In CDC. IEEE, 6038–6043.DOI
  11. [11]Calin A. Belta, Boyan Yordanov, and Ebru Aydin Gol. 2018. Formal methods for discrete-time dynamical systems. Springer.
  12. [12]Dimitri P. Bertsekas and Steven E. Shreve. 1978. Stochastic Optimal Control: The Discrete-time Case. Athena Scientific.
  13. [13]James Bradbury, Roy Frostig, Peter Hawkins, Matthew James Johnson, Chris Leary, Dougal Maclaurin, George Necula, Adam Paszke, Jake VanderPlas, Skye Wanderman-Milne, and Qiao Zhang. 2018. JAX: Composable transformations of Python+NumPy programs. http://github.com/google/jax
  14. [14]George Casella and Roger L. Berger. 2002. Statistical Inference. Duxbury Press.
  15. [15]Nathalie Cauchi and Alessandro Abate. 2019. StoChy: Automated Verification and Synthesis of Stochastic Processes. In TACAS (2) (LNCS). Springer, 247–264.arxiv.org/abs/1901.10287
  16. [16]Charles J Clopper and Egon S Pearson. 1934. The use of confidence or fiducial limits illustrated in the case of the binomial. Biometrika 24, 6 (1934), 404–413.DOI
  17. [17]Rudi Coppola, Andrea Peruffo, and Manuel Mazo Jr. 2023. Data-Driven Abstractions for Verification of Linear Systems. IEEE Control. Syst. Lett. 7 (2023), 2737–2742.DOI
  18. [18]Alex Devonport, Adnane Saoud, and Murat Arcak. 2021. Symbolic Abstractions From Data: A PAC Learning Approach. In CDC. IEEE, 599–604.arxiv.org/abs/2104.13901
  19. [19]Alexandre Duret-Lutz, Etienne Renault, Maximilien Colange, Florian Renkin, Alexandre Gbaguidi Aisse, Philipp Schlehuber-Caissier, Thomas Medioni, Antoine Miné, Jérôme Dubois, Clément Gillard, and Henrich Lauko. 2022. From Spot 2.0 to Spot 2.0: What’s New? In CAV (2) (LNCS, Vol. 13372). Springer, 174–187.
  20. [20]Chuchan Fan, Umang Mathur, Sayan Mitra, and Mahesh Viswanathan. 2018. Controller Synthesis Made Real: Reach-Avoid Specifications and Linear Dynamics. In CAV (1) (LNCS, Vol. 10981). Springer, 347–366.
  21. [21]Robert Givan, Sonia M. Leach, and Thomas L. Dean. 2000. Bounded-parameter Markov decision processes. Artif. Intell. 122, 1–2 (2000), 71–109.
  22. [22]Ibon Gracia, Dimitris Boskos, Luca Laurentii, and Morteza Lahijanian. 2024. Data-driven strategies for stochastic systems with unknown nonlinear disturbances. In L4DC (PMLR, Vol. 242). 1633–1645.arxiv.org/abs/2406.09704
  23. [23]Ibon Gracia and Morteza Lahijanian. 2025. Beyond Interval MDPs: Tight and Efficient Abstractions of Stochastic Systems. CoRR abs/2507.02213 (2025).arxiv.org/abs/2507.02213
  24. [24]Ibon Gracia and Morteza Lahijanian. 2026. On the Optimality of Uncertain MDP Abstractions. CoRR abs/2604.13377 (2026).arxiv.org/abs/2604.13377
  25. [25]Ibon Gracia, Luca Laurentii, Manuel Mazo Jr., Alessandro Abate, and Morteza Lahijanian. 2024. Temporal Logic Control for Nonlinear Stochastic Systems Under Unknown Disturbances. CoRR abs/2412.11343 (2024).arxiv.org/abs/2412.11343
  26. [26]Sofie Haesaert and Sadegh Soudjani. 2021. Robust Dynamic Programming for Temporal Logic Control of Stochastic Systems. IEEE Trans. Autom. Control. 66, 6 (2021), 2496–2511.arxiv.org/abs/1811.11445
  27. [27]Kazumune Hashimoto, Adnane Saoud, Masako Kishida, Toshimitsu Ushio, and Dimos V. Dimarogonas. 2022. Learning-based symbolic abstractions for nonlinear control systems. Autom. 146 (2022), 110646.arxiv.org/abs/2004.01879
  28. [28]Julien Walden Huang, Stephen J. Roberts, and Jan-Peter Calliess. 2023. On the Sample Complexity of Lipschitz Constant Estimation. Trans. Mach. Learn. Res. 2023 (2023).
  29. [29]Garud N. Iyengar. 2005. Robust Dynamic Programming. Math. Oper. Res. 30, 2 (2005), 257–280.DOI
  30. [30]John Jackson, Luca Laurenti, Eric W. Frew, and Morteza Lahijanian. 2021. Strategy synthesis for partially-known switched stochastic systems. In HSCC. ACM, 6:1–6:11.DOI
  31. [31]Milad Kazemi, Rupak Majumdar, Mahmoud Salamati, Sadegh Soudjani, and Ben Wooding. 2024. Data-driven abstraction-based control synthesis. Nonlinear Analysis: Hybrid Systems 52 (2024), 101467.arxiv.org/abs/2206.08069
  32. [32]Hassan K Khalil. 2002. Nonlinear systems (3rd ed.). Prentice hall.
  33. [33]Orna Kupferman and Moshe Y. Vardi. 2001. Model Checking of Safety Properties. Formal Methods Syst. Des. 19, 3 (2001), 291–314.
  34. [34]Bruno Lacerda, Fatma Faruq, David Parker, and Nick Hawes. 2019. Probabilistic planning with formal performance guarantees for mobile service robots. Int. J. Robotics Res. 38, 9 (2019).DOI
  35. [35]Morteza Lahijanian, Sean B. Andersson, and Calin Belta. 2015. Formal Verification and Synthesis for Discrete-Time Stochastic Systems. IEEE Trans. Autom. Control. 60, 8 (2015), 2031–2045.DOI
  36. [36]Abolfazl Lavaei, Mahmoud Khaled, Sadegh Soudjani, and Majid Zamani. 2020. AMYTISS: Parallelized Automated Controller Synthesis for Large-Scale Stochastic Systems. In CAV (LNCS, Vol. 12225). Springer, 461–474.
  37. [37]Abolfazl Lavaei, Sadegh Soudjani, Alessandro Abate, and Majid Zamani. 2022. Automated verification and synthesis of stochastic hybrid systems: A survey. Autom. 146 (2022), 110617.arxiv.org/abs/2101.07491
  38. [38]Abolfazl Lavaei, Sadegh Soudjani, and Emilio Frazzoli. 2023. A Compositional Dissipativity Approach for Data-Driven Safety Verification of Large-Scale Dynamical Systems. IEEE Trans. Autom. Control. 68, 12 (2023).
  39. [39]Abolfazl Lavaei, Sadegh Soudjani, Emilio Frazzoli, and Majid Zamani. 2023. Constructing MDP Abstractions Using Data With Formal Guarantees. IEEE Control. Syst. Lett. 7 (2023), 460–465.
  40. [40]Ana Madeski, Antoine Girard, and Laurent Fribourg. 2021. Efficient Data-Driven Abstraction of Monotone Systems with Disturbances. In ADHS (IFAC-PapersOnLine, Vol. 54). Elsevier, 49–54.
  41. [41]Frederik Baymler Mathiesen, Sofie Haesaert, and Luca Laurenti. 2025. Scalable control synthesis for stochastic systems via structural IMDP abstractions. In HSCC. ACM, 14:1–14:12.DOI
  42. [42]Ali Meshbah. 2016. Stochastic model predictive control: An overview and perspectives for future research. IEEE Control Systems Magazine 36, 6 (2016), 30–44.
  43. [43]Mahdi Nazeri, Thom Badings, Anne-Kathrin Schmuck, Sadegh Soudjani, and Alessandro Abate. 2025. Data-Driven Abstraction and Synthesis for Stochastic Systems with Unknown Dynamics. In CDC. IEEE, 6754–6759.
  44. [44]Mahdi Nazeri, Thom Badings, Sadegh Soudjani, and Alessandro Abate. 2025. Data-Driven Let Formal Policy Synthesis for Stochastic Nonlinear Dynamical Systems. In L4DC (Proceedings of Machine Learning Research, Vol. 283). PMLR, 1550–1564.arxiv.org/abs/2501.01191
  45. [45]Amran Nabil and Laurent El Ghaoui. 2005. Robust Control of Markov Decision Processes with Uncertain Transition Matrices. Oper. Res. 53, 5 (2005), 780–798.
  46. [46]Andrea Peruffo and Manuel Mazo. 2023. Data-Driven Abstractions With Probabilistic Guarantees for Linear PETC Systems. IEEE Control. Syst. Lett. 7 (2023), 115–120.arxiv.org/abs/2203.05522
  47. [47]Martin L. Puterman. 2014. Markov Decision Processes: Discrete Stochastic Dynamic Programming. John Wiley & Sons.
  48. [48]Oliver Schön, Shammakh Naseer, Ben Wooding, and Sadegh Soudjani. 2024. Data-Driven Abstractions via Binary-Tree Gaussian Processes for Formal Verification. IFAC-PapersOnLine 58, 11 (2024), 115–122.arxiv.org/abs/2407.21029
  49. [49]Torsten Söderström. 2002. Discrete-time stochastic systems: Estimation and control. Springer.
  50. [50]Sadegh Esmaeil Zadeh Soudjani, Caspar Gevaerts, and Alessandro Abate. 2015. FAUST 2 : Formal Abstractions of Uncountable-STate Stochastic Processes. In TACAS (LNCS, Vol. 9035). Springer, 272–286.arxiv.org/abs/1403.3286
  51. [51]Marnix Suilen, Thom S. Badings, Eline M. Bovy, David Parker, and Nils Jansen. 2024. Robust Markov Decision Processes: A Place Where AI and Formal Methods Meet. In Principles of Verification (3) (LNCS, Vol. 15262). Springer, 126–154.
  52. [52]Sean Summers and John Lygeros. 2010. Verification of discrete time stochastic hybrid systems: A stochastic reach-avoid decision problem. Autom. 46, 12 (2010), 1951–1961.DOI
  53. [53]Paulo Tabuada. 2009. Verification and Control of Hybrid Systems - A Symbolic Approach. Springer.DOI
  54. [54]Ilya Tkachev, Alexandru Mereacre, Joost-Pieter Katoen, and Alessandro Abate. 2017. Quantitative model-checking of controlled discrete-time Markov processes. Inf. Comput. 253 (2017), 1–35.arxiv.org/abs/1407.5449
  55. [55]Mark Towers, Ariel Kwiatkowski, John U. Balis, Gianluca De Cola, Tristan Deleu, Manuel Gouëllo, Andreas Kallionitis, Markus Krimmel, Arjun KG, Rodrigo Perezc-Vicente, J. K. Terry, Andrea Pierré, Sander Schulhoff, Jun Jet Tai, Hannah Tan, and Omar G. Younis. 2025. Gymnasium: A Standard Interface for Reinforcement Learning Environments. In NeurIPS.
  56. [56]Birgit van Huijgevoort, Oliver Schön, Sadegh Soudjani, and Sofie Haesaert. 2023. SySCoRe: Synthesis via Stochastic Coupling Relations. In HSCC. ACM, 13:1–13:11.arxiv.org/abs/2302.12294
  57. [57]Marcell Vazquez-Chanlatte, Susmit Jha, Ashish Tiwari, Mark K Ho, and Sanjit Seshia. 2018. Learning task specifications from demonstrations. Advances in neural information processing systems 31 (2018).
  58. [58]Wolfram Wiesemann, Daniel Kuhn, and Melvyn Sim. 2014. Distributionally Robust Convex Optimization. Oper. Res. 62, 6 (2014), 1358–1376.DOI
  59. [59]Ben Wooding and Abolfazl Lavaei. 2024. ImPaCT: Interval MDP Parallel Construction for Controller Synthesis of Large-Scale Stochastic Systems. In QEST+FORMATS (LNCS). Springer, 249–267.
  60. [60]Zhi Zhang, Chenyu Ma, Saleh Soudijani, and Sadegh Soudjani. 2024. Formal Verification of Unknown Stochastic Systems via Non-parametric Estimation. In AISTATS (Proceedings of Machine Learning Research, Vol. 238). PMLR, 3277–3285.arxiv.org/abs/2403.05350

Paper details

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

views · 9

downloads · 0

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

  • Engineering

Not recorded for this paper

View statement
Looking for related papers…
Contents