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

Predictive Monitoring of Black-Box Dynamical Systems

Thomas A. Henzinger, Fabian Kresse, Kaushik Mallik, Emily Yu, Dorde ZikelicL4DC 2024 · DOI

TL;DR

This paper introduces Taylor-based Predictive Monitoring (TPM), a novel framework for predicting safety violations in black-box dynamical systems. TPM uses past observations to learn a system model and forecast future states, enabling early warnings and proactive intervention, outperforming traditional methods like Time-to-Collision (TTC).

What Problem Does This Paper Address?

Modern autonomous systems, particularly those employing AI like self-driving cars and robotic controllers, are increasingly complex and difficult to analyze. This "black-box" nature means their internal workings and exact dynamics are unknown. While traditional runtime monitoring checks for safety violations that have already occurred, this is insufficient for systems where early intervention is critical. The challenge is to predict future safety violations before they happen, allowing for corrective actions, without prior knowledge of the system's internal model.

Methods

The core of TPM is a two-phase approach:

  1. Learning Phase: TPM approximates the system's dynamics and controller using a Taylor polynomial. Since the derivatives required for Taylor expansion are unknown in a black-box setting, the paper employs the backward difference (BD) method to numerically estimate these derivatives from observed past states. This creates an approximate polynomial model of the system's behavior around the current time.
  2. Prediction Phase: The learned polynomial model is then used to predict future states of the system within a specified time horizon. These predicted future states are then evaluated against a safety property to forecast potential violations.

The method is designed to be computationally lightweight and can handle both qualitative and quantitative safety properties.

Datasets

Not discussed in the paper. The authors used simulated environments for evaluation.

Key Insights and Ideas

  • Predictive monitoring is crucial for safety: Traditional "reactive" monitoring is insufficient for systems needing proactive intervention. TPM offers a way to anticipate problems.
  • Taylor polynomials and backward differences are a powerful combination: This pairing allows for modeling unknown system dynamics from observed data, bridging a gap in black-box system analysis.
  • The trade-off between prediction horizon and accuracy: Longer prediction horizons generally lead to increased prediction error, suggesting a need for careful selection of the horizon or sampling rate.
  • Smoothness matters: The accuracy of TPM is correlated with the smoothness of the system's dynamics and controller. Jerky movements lead to higher prediction errors.

Key Results

  • TPM significantly outperforms the classical Time-to-Collision (TTC) metric in predicting safety violations across tested environments (F1Tenth racing car and F-16 fighter jet simulations).
  • TPM demonstrates higher True Positive Rate (TPR) and True Negative Rate (TNR), indicating better detection of actual violations and fewer false alarms.
  • The monitoring overhead for TPM is consistently low, remaining below 0.001 seconds per observation for typical configurations, highlighting its efficiency and suitability for real-time applications.
  • Ablation studies showed that the choice of Taylor polynomial degree (l) impacts performance, with l=2 often being optimal for F1Tenth and l=3 for F-16.

Limitations and Future Work

  • Assumptions: The formal error bound analysis relies on the assumption of (l+1)-times continuous differentiability of the system dynamics and controller. However, the numerical algorithm itself is well-defined even without this assumption.
  • Numerical Instabilities: The authors acknowledge that numerical instabilities could arise and suggest further study.
  • Higher-order approximations: While the paper focuses on first-order BD approximations for derivatives, exploring higher-order approximations is a direction for future work to potentially reduce error.
  • Alternative polynomial approximations: Investigating other polynomial approximation techniques beyond Taylor polynomials is also suggested.
  • Extensions: Future work includes extending TPM to stochastic dynamical systems, multi-agent scenarios, and applications beyond safety verification.

Summary updated

BibTeX
@inproceedings{henzinger2024predictive,
  author = {Thomas A. Henzinger and Fabian Kresse and Kaushik Mallik and Emily Yu and Dorde Zikelic},
  title = {{Predictive Monitoring of Black-Box Dynamical Systems}},
  booktitle = {L4DC},
  year = {2024},
  doi = {10.48550/arxiv.2412.16564},
}
Figure