Abstract
Robotic systems must operate under uncertainty while satisfying complex task and safety specifications. Monitoring such specifications under uncertainty remains challenging, as existing formulations typically require extensive data or explicit uncertainty distributions. In this paper, we propose a realtime monitoring framework that reduces data requirements by leveraging data-driven reachable sets for specification evaluation. We instantiate the framework for maritime navigation, where complex specifications arise from traffic rules. We develop a dataefficient pipeline for constructing reachable sets and derive a monitoring formulation suitable for real-time deployment. Simulation and hardware experiments demonstrate robust monitoring under realistic disturbances, achieving improved risk detection compared to state-of-the-art metrics.
Overview
Assessing temporal logic specification compliance under unbounded uncertainty is typically data-intensive. This is especially challenging for multi-agent relative states, as in maritime navigation. We build on pacSTL to enable specification monitoring under uncertainty for maritime navigation. Deploying pacSTL in the real world requires two key capabilities: (i) PAC-bounded reachable sets representative of real-world behavior, and (ii) a specification formulation that enables real-time evaluation. We address these challenges by developing a sim-to-real calibration procedure that aligns simulated trajectories with the real-world distribution using limited experimental data, and by introducing efficiently evaluatable atomic propositions for maritime navigation. These contributions facilitate real-time monitoring of complex temporal logic specifications under uncertainty using offline-computed reachable sets, without requiring a symbolic model of the system.
Data-Driven Reachability Analysis with Real-World Disturbances
We propose a data-driven reachability framework that combines data-driven disturbance modeling with sufficiently high-fidelity simulations. Although data-driven methods can, in principle, be applied directly to real-world data, doing so presents significant practical challenges. Collecting sufficient i.i.d. samples to obtain meaningful statistical guarantees is time- and resource-intensive and ensuring the i.i.d. assumption holds across varying environmental and platform conditions may be infeasible. Additionally, the probability distributions required by data-driven reachability techniques are rarely known for complex systems. Conversely, while simulations provide abundant data, they typically suffer from a sim-to-real gap. To address these challenges, we use limited experimental data to characterize a disturbance distribution and incorporate it into a nominal simulation model to generate trajectories for reachable set computation.
Maritime Navigation
We demonstrate our framework in autonomous maritime navigation governed by the Convention on the International Regulations for Preventing Collisions at Sea (COLREG). These rules specify how vessels should respond to different encounter situations, including crossing, head-on, and overtaking encounters, and distinguish between give-way and stand-on behavior.
We focus on crossing and head-on encounters between an autonomous ego vessel and another traffic vessel. A head-on or crossing encounter is present when another vessel approaches the ego vessel from a specified sector and poses a risk of collision in the near future. A head-on encounter corresponds to an approach within the front sector (i.e., $\pm 10^\circ$ from the orientation of the ego vessel), whereas a crossing encounter corresponds to an approach from the right.
The maritime use case illustrates a realistic setting for evaluating different robustness measures as optimization objectives and demonstrates that efficient algorithms can be developed for nonlinear robustness measures.
pacSTL specifications are constructed to determine whether an evasion maneuver is required.
First, we define predicates that determine whether the other vessel will occupy the relative position or orientation sector corresponding to each encounter.
The relative position and orientation specifications are defined using position_halfplane and orientation_halfplane:
$$
\begin{align}
&\mathtt{pos\_encounter} := \\
&\quad \mathtt{position\_halfplane}(\underline{\gamma^{p,e}}, \underline{\sigma}, \delta_t^E, \delta_t^O, v_\mathrm{max}) \land \notag \\
&\quad \mathtt{position\_halfplane}(\overline{\gamma^{p,e}}, \overline{\sigma}, \delta_t^E, \delta_t^O, v_\mathrm{max}), \notag \\[8pt]
&\mathtt{ori\_encounter} := \\
&\quad \mathtt{orientation\_halfplane}(\underline{\gamma^{\psi,e}}, \underline{\sigma}, [\underline{\psi}_t^O, \overline{\psi}_t^O], \psi_t^E, r_\mathrm{max}) \land \notag \\
&\quad \mathtt{orientation\_halfplane}(\overline{\gamma^{\psi,e}}, \overline{\sigma}, [\underline{\psi}_t^O, \overline{\psi}_t^O], \psi_t^E, r_\mathrm{max}). \notag
\end{align}
$$
Then, we formalize each encounter specification as a conjunction of $\mathtt{pos\_encounter}$, $\mathtt{ori\_encounter}$, and $\mathtt{collision\_risk}$. To trigger an evasive maneuver, we require these encounters to persist over a specified time interval $[t_\mathrm{start}, t_\mathrm{end}]$: Specifically, for a head-on encounter: $$ \mathrm{G}_{[t_\mathrm{start}, t_\mathrm{end}]} (\mathtt{pos\_head\_on} \land \mathtt{ori\_head\_on} \land \mathtt{collision\_risk}) $$ and for a crossing encounter: $$ \mathrm{G}_{[t_\mathrm{start}, t_\mathrm{end}]} (\mathtt{pos\_crossing} \land \mathtt{ori\_crossing} \land \mathtt{collision\_risk}), $$ where $\mathrm{G}$ is the temporal operator for always.
These specifications are evaluated using pacSTL, which accounts for uncertainty in the traffic vessel’s future behavior through data-driven reachable sets. During experimentation, the ego vessel uses a line-of-sight (LOS) controller to steer towards a specified goal at a desired velocity while continuously monitoring for potential encounters (see below). Once the upper bound on robustness $\mathrm{\overline{h}}$ becomes positive, indicating that an encounter is possible among the behaviors captured by the reachable set, the ego vessel initiates an evasive maneuver by modifying its desired path.
This case study demonstrates the use of pacSTL when combining formalized traffic rules with data-driven predictions of uncertain system behabior to enable real-time, uncertainty-aware collision avoidance.
Qualitative Comparisons