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

Quantitative Monitoring of Signal First-Order Logic

Marek Chalupa, Thomas A. Henzinger, N. Ege Saraç, Emily YuarXiv 2026

TL;DR

This paper introduces the first quantitative, robustness-based semantics and online monitoring algorithm for Signal First-Order Logic (SFO). By translating future-looking formulas into a past-time fragment and utilizing a novel polyhedral geometric approach, the authors deliver a practical, publicly available prototype capable of real-time property verification for complex cyber-physical systems.

What Problem Does This Paper Address?

Hybrid systems—such as autonomous drones, medical devices, and robotic systems—combine discrete software logic with continuous physical dynamics. To ensure these systems operate safely, researchers use runtime monitoring to check whether real-time execution traces satisfy formal specifications.

While Signal Temporal Logic (STL) is widely used for this purpose, it lacks the expressiveness needed for certain complex real-time properties, such as precise derivative constraints or relative timing durations across multiple distinct signals. Signal First-Order Logic (SFO) solves this expressiveness gap by supporting quantification over both time and value variables. However, SFO has historically been limited to binary (True/False) Boolean semantics and lacked tool support for online, streaming data. This paper addresses two major gaps: the lack of quantitative metrics (measuring how close a system is to violating a property) and the absence of efficient online monitoring algorithms for SFO.

Methods

The authors tackle these challenges through three core innovations:

  1. Quantitative Semantics: They define a signed robustness metric for full SFO. Instead of a simple binary verdict, the semantics return a real value indicating the distance to satisfaction or violation.
  2. Pastification Procedure: Online monitors must emit verdicts on the fly without waiting for infinite future data. The authors identify a past-time fragment of SFO (pSFO) and introduce a "pastification" operator ($\Pi_d$). This procedure calculates a formula's bounded future lookahead (forward horizon) and shifts the temporal frame of reference backward, systematically turning future signal reads into past lookbacks.
  3. Polyhedral Symbolic Monitoring: To compute robustness efficiently, the algorithm represents signals, terms, and formulas geometrically as collections of convex polyhedra. Using Parametric Linear Programming (PLP) maximization via the Parma Polyhedra Library, the monitor symbolically computes robustness values over piecewise-linear signal segments.

Datasets

The approach was evaluated using two simulated cyber-physical benchmarks, generating 100 randomized simulation traces for each:

  • Dynamic Obstacle Avoidance: A parcel delivery drone navigating an urban environment populated by 8 obstacle drones. The environment features an 8-dimensional state space and a 0.1-second control interval.
  • Altitude Control: A simplified F-16 fighter jet model executing ground collision avoidance maneuvers with a fixed sampling rate of 0.033 seconds.

Key Insights and Ideas

  • The Geometry of Logic: The core "aha!" moment is that quantitative logic monitoring can be framed as a geometric problem. By tracking robustness as an auxiliary variable alongside time and signal values within convex polyhedra, complex logical operations (like disjunctions and quantifiers) map directly to polyhedral case-splits, intersections, and projections.
  • Pastification Preserves Expressiveness: Engineers do not need to restrict their specifications to past-only operators from the outset. As long as the future lookahead is bounded, shifting the temporal reference frame allows online monitoring of complex future-dependent properties.

The practical application of these quantitative semantics on a bounded stabilization property is illustrated below:

Figure 1: Illustration of the quantitative semantics for the bounded stabilization prop- erty given in Example 1. For convenience, we use piecewise-linear interpolation. Upward arrows indicate rising edges at t1 = 1 and t2 = 12. Following t1, the signal f stabi- lizes rapidly within the ±0.5 tolerance band around r1 = 1. Conversely, following t2, the signal exhibits wide oscillations that violate the band. The quantitative evaluation considers all 8-unit windows starting within 10 units of t2, identifying the window with the minimum range to determine the maximal robustness value.

Key Results

The prototype implementation (written in Python) demonstrated high efficiency, particularly for properties with short history horizons:

  • Drone Avoidance Benchmark: The monitor computed robustness values in 0.002 to 0.021 seconds per segment. This is safely below the drone's 0.1-second control interval, proving that the monitor is fast enough to be integrated directly into an active control loop.
  • Altitude Control Benchmark: Simpler safety properties took a mere 0.002 seconds. A highly complex altitude recovery property featuring nested quantifiers and a long history horizon (requiring the monitor to remember over 600 past segments) took 0.210 seconds per segment. While this exceeds the strict 0.033-second control loop of the F-16, it remains entirely practical for raising real-time system warnings.

Limitations and Future Work

  • Dimensional Incompatibility: Like standard STL, when SFO combines predicates across different physical units (e.g., combining velocity and altitude), the resulting max/min robustness aggregations lack a direct physical interpretation. Users must manually normalize signals to mitigate this.
  • Scalability with Long Horizons: Complex formulas with nested quantifiers evaluated over long history horizons suffer from increased polyhedral complexity, which can push execution times past strict real-time control loop constraints.

For future work, the authors propose using SFO robustness values as reward signals in reinforcement learning for controller synthesis. They also aim to extend the framework to decentralized multi-agent settings and integrate the monitor with runtime enforcement loops (shielding) to actively steer systems away from violations.

Summary updated

BibTeX
@misc{chalupa2026quantitative,
  author = {Marek Chalupa and Thomas A. Henzinger and N. Ege Saraç and Emily Yu},
  title = {{Quantitative Monitoring of Signal First-Order Logic}},
  year = {2026},
  eprint = {2603.00728},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.00728},
}
Figure