NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Online monitoring of spatio-temporal properties for imprecise signals

Ennio Visconti, Ezio Bartocci, Michele Loreti, Laura Nenzi

TL;DR

This paper introduces the first online monitoring algorithm for Spatio-Temporal Reach and Escape Logic (STREL), a formal language used to verify the behavior of distributed systems like sensor networks or smart cities. Crucially, the approach handles "imprecise signals"—data that is noisy, missing, or arrives out of order—by using interval-based semantics to provide partial guarantees about system safety in real-time.

What Problem Does This Paper Address?

As we move toward a world of "Collective Adaptive Systems" (like fleets of autonomous drones) and "Cyber-Physical Systems" (like smart power grids), we need ways to ensure these systems behave correctly. Monitoring these systems is hard because they are spread out in space and evolve over time.

Existing tools often fall short in two ways:

  1. They are "offline": They analyze data logs after the system has finished running. For safety-critical systems, we need "online" monitoring that can trigger an immediate alert or intervention.
  2. They assume perfect data: Real-world sensors are messy. They produce noise, they fail, and their data packets often arrive at the central monitor out of chronological order.

The authors tackle the challenge of performing real-time, spatio-temporal verification while explicitly accounting for the uncertainty and "imprecision" inherent in real-world data.

Methods

The researchers built their solution on STREL, a logic that represents a system as a dynamic graph where nodes generate signals (like temperature or pollution levels).

Key technical innovations include:

  • Interval Semantics: Instead of a single "robustness" value, the monitor calculates an interval $[lower, upper]$. If the entire interval is above zero, the property is satisfied; if below, it's violated. If zero is inside the interval, the monitor honestly reports that the status is "unknown" given the current data.
  • The "Ripple Effect" Algorithm: To make online monitoring efficient, the algorithm doesn't recompute everything when new data arrives. It identifies the "ripple effect"—the specific window of time and space affected by a new data point—and only updates those parts of the logic formula.
  • Out-of-Order Processing: The algorithm is designed to handle "refinements." As more precise data arrives (even if it's for a past time-stamp), the monitor narrows its uncertainty intervals.
  • Parallelization: The spatial operators are designed to be computed in parallel across different locations, taking advantage of modern multi-core processors.

Datasets

The authors evaluated their approach using three distinct scenarios:

  1. Air Pollution Monitoring: Real-world data from over 80 sensor stations in Lombardy, Italy, measuring Nitrogen Dioxide ($NO_2$) levels. This dataset specifically highlighted how the tool handles missing sensor readings.
  2. Abstract Fuel Control (AFC): A standard industry benchmark for engine air-fuel ratio control, used to compare speed against existing tools like Breach.
  3. ZigBee Protocol Simulation: A simulated network of moving devices (like a mobile ad-hoc network) to test the spatial reachability features of the logic.

Key Insights and Ideas

  • Embracing Uncertainty: Most monitors try to "guess" missing values (e.g., through linear interpolation). This paper argues that it is safer to maintain an "Unknown" state until enough data arrives to prove a property true or false.
  • Spatial Context Matters: In the air pollution case study, the authors showed that even if one sensor fails, data from nearby sensors can sometimes provide enough information to determine if a pollution threshold was likely exceeded.
  • Efficiency through Scoping: By mathematically defining the "update ripple," the authors prove that online monitoring doesn't have to be computationally expensive, even for complex spatio-temporal properties.

Key Results

  • Massive Speedups: In the fuel control benchmark, their "in-order" implementation was nearly 120x faster than the state-of-the-art Breach tool (0.113s vs 13.730s for 10,000 samples).
  • Real-Time Viability: Even when data was randomly shuffled (simulating extreme out-of-order arrival), the monitor processed 10,000 samples in about 45 seconds. This averages to ~4.5ms per sample, which is well within the requirements for real-time systems with typical 100ms sampling rates.
  • Effective Parallelism: The "Online(Parallel)" version showed significant performance gains as the number of spatial nodes increased, provided the number of nodes stayed within the limits of the CPU's physical cores.

Limitations and Future Work

The current implementation relies on a "space-synchronization" hypothesis, meaning it assumes all locations provide data on the same time intervals. While this allows for high-speed parallelization, the authors acknowledge that real-world systems are often asynchronous.

Future work aims to:

  • Relax the synchronization requirement to handle truly heterogeneous sensor networks.
  • Incorporate error correction: Currently, the monitor assumes new data is always a "refinement" (more accurate). Future versions should handle cases where a sensor provides a flat-out wrong value that needs to be retracted and corrected later.
  • Explore hardware acceleration (like FPGAs) to further push the boundaries of real-time verification.

Summary updated

BibTeX
@inproceedings{visconti2021online,
  author = {Ennio Visconti and Ezio Bartocci and Michele Loreti and Laura Nenzi},
  title = {{Online monitoring of spatio-temporal properties for imprecise signals}},
  booktitle = {MEMOCODE},
  year = {2021},
  doi = {10.1145/3487212.3487344},
}

Loading related content...

Figure