Skip to content
Robotics.world

Research

Staying on Spec: Real-Time Monitoring under Uncertainty with a Maritime Case Study

Robots must satisfy complex task and safety rules while operating under uncertainty, but checking those rules in real time usually demands either large datasets or explicit uncertainty models that…

The paper’s first page · arXiv:2608.02811
arXiv
2608.02811 · Preprint · not peer-reviewed
Published
2026-08-03
Authors
Elizabeth Dietrich, Hanna Krasowski, Emir Cem Gezer, Roger Skjetne, Asgeir Johan Sørensen, Murat Arcak

In plain words

Robots must satisfy complex task and safety rules while operating under uncertainty, but checking those rules in real time usually demands either large datasets or explicit uncertainty models that are impractical to obtain.

AI summary

Overview

Research area: Formal methods for robotics and autonomous marine systems — specifically runtime monitoring of temporal-logic specifications under uncertainty, combined with data-driven reachability analysis.

Technical level: Advanced. The paper assumes familiarity with signal temporal logic (STL), probabilistic (PAC-style) guarantees, reachable-set computation, and 6-DOF vessel dynamics.

Scope (one sentence): The paper builds a real-time monitoring framework that evaluates complex maritime traffic-rule specifications against probabilistically guaranteed reachable sets derived from a small amount of real vessel data plus simulation, and validates it in simulation and on a physical two-vessel testbed under still-water and wave conditions.

What This Paper Is About

Robots must satisfy complex task and safety rules while operating under uncertainty, but checking those rules in real time usually demands either large datasets or explicit uncertainty models that are impractical to obtain. The authors address this by pairing pacSTL — a probabilistic version of signal temporal logic that evaluates specifications over reachable sets with PAC (probably approximately correct) guarantees — with a data-efficient procedure for building reachable sets that reflect real-world disturbances. They demonstrate the framework on maritime navigation, where the COLREGs traffic rules produce the specifications, and compare it against standard STL monitoring and the commonly used TCPA risk metric.

Key Contributions

  1. An efficient pacSTL formulation for maritime monitoring and decision making. The authors adapt atomic propositions for traffic rules — position_halfplane (linear), collision_risk (quadratic), and orientation_halfplane (nonlinear) — into forms whose lower and upper robustness bounds can be computed quickly enough for real-time use, and encode head-on and crossing encounters as "always" specifications over a time interval.

  2. A data-driven reachability procedure that bridges the sim-to-real gap. Limited real-world trials are used only to characterize a disturbance support and distribution; that distribution is then inserted into a nominal simulation model to generate abundant trajectories for reachable-set construction. System invariances (invariance to global translation, equivariance under rotation) are exploited to reduce the number of reachable sets that must be computed offline.

  3. A real-time deployment pipeline with a concrete evasion trigger. On hardware, the ego vessel evaluates the pacSTL specification at an average of 1.4 Hz and initiates an evasive maneuver once the upper robustness bound becomes positive, using two generated waypoints.

  4. A hardware comparison against two baselines. The framework is compared with standard STL (using the centers of the data-driven reachable sets as the other vessel's predicted trajectory) and with an instantaneous TCPA-based monitor, across head-on and crossing configurations with ten trials each in still-water and wave conditions.

Main Findings

  • pacSTL detects encounters earlier than STL in every reported head-on condition. Average time to evasion was 4.70 s (no waves) and 5.54 s (waves) for pacSTL, versus 7.80 s and 8.64 s for STL.

  • pacSTL achieved zero collisions and full detection in the reported head-on results. Collision rate 0.00 and detection rate 1.00 in both still-water and waves, over 8 observed head-on encounters in each condition.

  • STL degraded sharply under wave disturbance. Collision rate rose from 0.00 (no waves) to 0.38 (waves), while detection rate was 0.50 and 0.75 respectively, over 6 and 8 observed encounters.

  • TCPA triggers earliest but is unreliable. Time to evasion was 4.00 s (no waves) and 2.95 s (waves), but collision rate was 0.00 and 0.10 and detection rate 1.00 and 0.90; the authors attribute this variability to sensitivity to the ego vessel's initial orientation, producing both premature triggers and delayed reactions.

  • Reachable sets met tight accuracy targets with modest data. With N = 1500 samples for construction, M = 1500 samples for the guarantee, and β = 10⁻⁹, tube accuracies were ε ∈ [0.026, 0.045] in still water and ε ∈ [0.029, 0.044] in waves; per-timestep reachable-set accuracies were ε ∈ [0.019, 0.039] and ε ∈ [0.018, 0.042] respectively, using a prediction horizon of T = 2.5 s.

  • The disturbance model came from roughly 100 physical trials. Randomly sampled control inputs were applied to the vessel in a pool, motion capture measured velocity and inputs, and the disturbance term was computed and bounded by component-wise extrema separately for still-water and wave conditions.

  • Designed configurations did not fully control the encounter type. Because of uncertainty in initial orientations, observed encounters skewed toward crossing; the authors note this follows from the narrow COLREGs sector defining head-on encounters (±10° from the ego vessel's orientation).

  • The evaluation is fast enough for online use. The average runtime for evaluating pacSTL specifications on hardware was 1.4 Hz.

  • Crossing-scenario numbers are only partly available in the supplied text. The table is truncated mid-row; only TCPA's crossing times to evasion (4.95 s without waves, 4.89 s with waves) appear, and the corresponding collision/detection rates and the STL and pacSTL crossing rows are not present in the excerpt.

Methodology in Plain English

The core idea is to separate what is expensive from what is cheap.

Offline, calibrating simulation with a little real data. Collecting enough independent real-world trials to make statistical claims about a vessel's behavior is slow and costly, so the authors do the opposite: they run about 100 pool trials with randomized control inputs, back out the unmodeled disturbance (the residual between applied forces and what the vessel actually did), and record the minimum and maximum of each disturbance component. With no prior knowledge of the shape of the distribution, they model it as uniform over that observed range. That disturbance range — plus a similar range representing uncertainty in the control input itself — is injected into a 6-DOF simulation model. The simulation then produces as many trajectories as needed, at negligible cost.

Because the vessel dynamics depend on relative orientation, velocity, inputs, and disturbances rather than absolute position, the results are reusable across locations and headings. The authors exploit this to compute only a handful of reachable tubes: the initial surge velocity is split into four intervals and one tube is built per interval, with prediction horizon 2.5 s.

Turning trajectories into probabilistic sets. From 1500 sampled trajectories they fit minimum-volume enclosing ellipsoids at each timestep and validate them with a holdout method, yielding the guarantee that, with confidence 1 − β, an unseen trajectory lies inside the set with probability at least 1 − ε. Vessel geometry is handled by expanding each reduced (x, y) center into four corner points.

Online, checking the rules. The other vessel's reachable tube is passed through the atomic propositions. For linear and quadratic robustness functions, the best and worst robustness values are found by minimizing and maximizing over the set — closed-form for the linear case, and a min/max over the other vessel's velocity for the quadratic collision-risk case. For the nonlinear orientation predicate, the key observation is that for convex sets the other vessel's orientation occupies a one-dimensional interval, so the robustness bounds can be computed case by case from that interval. These per-predicate intervals are then combined recursively using STL interval semantics to produce an interval for the whole specification, which inherits the probabilistic guarantee.

Deciding to act. The ego vessel follows a line-of-sight controller toward its goal at 0.1 m/s, repeatedly predicts its own future under constant speed and heading, and picks the reachable tube matching the other vessel's current state. When the upper robustness bound turns positive, it generates two waypoints — one 0.8 rad to the right at a distance set by a 30 s turning phase, and a second a further distance corresponding to a 15 s parallel phase — and reroutes.

Testing. Hardware experiments used a model tugboat as the ego vessel and a drillship as the other vessel, tracked by a Qualisys motion-capture system with roughly 4 m by 7 m coverage. Waves were generated with a JONSWAP spectrum (peak enhancement factor 3.5, peak period 1.03 s, wave height varied between 0.025 m and 0.035 m). Corresponding simulations replaced the physical vessels with the same dynamics model, neglecting wave and current effects.

Why This Matters

Impact on research. The paper shows that probabilistic temporal-logic monitoring can be deployed on real hardware without the large i.i.d. datasets that existing formulations require, by treating real data as a calibration signal for simulation rather than as the sole source of statistics. It also demonstrates that nonlinear robustness measures — usually the obstacle to fast specification evaluation — can be handled exactly for convex reachable sets when only one signal is involved, which is a reusable computational insight.

Real-world applications:

  • Collision avoidance for autonomous surface vessels in confined or congested waterways, where traffic rules such as COLREGs must be respected under wave and current disturbance.
  • Supervisory safety monitors layered on top of existing autopilots, flagging rule violations rather than replacing the controller.
  • Decision support on crewed vessels, where the monitor can warn of developing encounters before they are visually obvious.
  • More broadly, any robotic system whose safety specification concerns relative state with another agent (a drone near another aircraft, a mobile robot near a person) and where hardware data is scarce but simulation is cheap.

Industry relevance. Maritime autonomy faces a certification bottleneck: regulators and class societies want evidence that a vessel complies with traffic rules, and evidence derived only from simulation is easy to dismiss. A pipeline that ties simulation to measured disturbance ranges and attaches explicit confidence and accuracy parameters to its claims is a step toward auditable compliance monitoring. The 1.4 Hz evaluation rate is modest but sufficient for the vessel speeds used here, and it is a concrete datapoint for practitioners sizing computational budgets.

Future Directions

  • Extending coverage of the traffic rules. The COLREGs define three encounter types (crossing, head-on, overtaking) and two behaviors (give-way and stand-on); the paper's specifications cover only head-on and crossing for a pair of vessels. Overtaking and multi-vessel encounters are the natural next step.

  • Removing the no-distribution-shift assumption. The authors explicitly assume no shift between disturbance characterization and deployment. How the reachable sets and their guarantees degrade when the sea state, payload, or vessel differs from the calibration conditions is an open question — and one the paper says it probes in simulation ablations, though those results are not included in the supplied text.

  • Improving on the uniform-disturbance assumption. The uniform model over observed extrema is chosen for lack of distributional information. With more data, or with better-informed priors, tighter supports would directly tighten reachable sets and possibly improve detection timing.

  • Scaling beyond a laboratory pool. Motion capture coverage of roughly 4 m by 7 m constrains maneuvering and encounter geometry, and the time parameters in the specifications were shortened for the confined space. Validating the framework at full scale, with real sea states and longer horizons, remains to be done.

Target Audience

Researchers and graduate students working on formal methods for cyber-physical systems, runtime verification, and safe autonomy; maritime autonomy engineers and naval architects interested in verifiable COLREGs compliance; and practitioners in any robotics domain who need specification monitoring with statistical guarantees but cannot afford large-scale hardware data collection. Readers without a background in temporal logic or reachability analysis will find Sections I and III accessible but will need to consult the cited pacSTL reference for the semantics.

Note on source material: the provided paper text is truncated partway through Table II, so the crossing-scenario results for STL and pacSTL, and the simulation ablation studies announced in Section VI, are not reported here.

Authors’ 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 real-time monitoring framework that reduces data requirements by leveraging data-driven reachable sets for specification evaluation. We instantiate the framework for maritime…

The full abstract on arXiv
Read the original paper

Related papers