Abstract: We propose a new robustness score for continuous-time Signal Temporal Logic (STL) specifications. Instead of considering only the most severe point along the evolution of the signal, we use average scores to extract more information from the signal, emphasizing robust satisfaction of all the specifications' subformulae over their entire time interval domains. We demonstrate the advantages of this new score in falsification and control synthesis problems in systems with complex dynamics and multi-agent systems.
Introduction
Signal Temporal Logic (STL) is a powerful formal language used to define complex requirements for autonomous systems, such as "the vehicle must remain within its lane while maintaining a safe distance from the car ahead for the next 30 seconds." To integrate these rules into automated design and testing, we rely on robustness scores. These scores quantify not just whether a specification is met, but the degree of satisfaction or violation.
Traditional robustness metrics typically rely on min and max operators to identify the single most critical point in a signal. While mathematically sound, this "worst-case" approach introduces two significant challenges:
- The Masking Effect: A single brief violation can dominate the score, ignoring the system's performance over the rest of the time interval.
- Optimization Difficulty: Point-wise metrics often result in non-differentiable, "jagged" landscapes that hinder gradient-based optimization algorithms.
Methodology: AGIM Robustness
To address these limitations, this research introduces Arithmetic-Geometric Integral Mean (AGIM) robustness. This new metric replaces point-wise snapshots with time-averaged integrals, providing a smoother and more informative signal for optimization.
Key Components
- Arithmetic Mean for Violations: When a specification is violated, the score calculates the "total mass" of the violation over time. This allows optimizers to understand the overall severity of the failure rather than focusing on a single peak.
- Geometric Integral Mean for Satisfaction: For satisfied specifications, a geometric mean is employed. Because geometric means are sensitive to low values, this approach rewards consistent performance and penalizes signals that drift dangerously close to violation boundaries.
- Continuous-Time Integration: A critical advantage of AGIM is its focus on continuous-time signals. Discrete-time checks can be deceptive; a system might appear safe at specific sampling points while violating constraints in between.
Experimental Evaluation
The authors evaluated AGIM robustness across two primary domains: falsification of automotive systems and control synthesis for multi-agent robots.
Falsification in Automotive Systems
Using a standard Automatic Transmission benchmark, the researchers attempted to find input sequences that break system requirements. AGIM robustness proved superior to traditional methods by providing more useful information to the optimizer. While calculating integrals adds a slight computational overhead (0.41ms vs 0.34ms per iteration), the resulting gradients allowed for the discovery of more severe system failures.
Multi-Agent Control Synthesis
In scenarios involving multiple agents with complex temporal goals (e.g., "Visit Region A, then Region B, while avoiding obstacles"), AGIM-based controllers produced more reliable behavior. Instead of merely staying within bounds, the agents were incentivized to maximize their average score, effectively pushing them toward the "center" of safe regions and providing a larger buffer against disturbances.
Conclusion and Future Work
AGIM robustness provides a more "informative" metric for designing and testing autonomous systems. By averaging performance over time, it creates smoother optimization landscapes and ensures that positive scores mathematically guarantee specification satisfaction. Future research aims to combine AGIM robustness with Control Barrier Functions (CBFs) to enable real-time, closed-form control for high-speed applications.
Summary updated