Skip to content
DraconiticResearch
Search Sources API
203,234 studies31 sourcesUpdated 15 min ago
PreprintCC BY 4.0arXiv

Anytime-Valid Runtime Monitoring of Learned Barrier Certificates

Abstract

Learned barrier certificates provide a principled mechanism for establishing safety of stochastic systems, but their validity may deteriorate during deployment when the underlying dynamics differ from those used for training. We propose an anytime-valid runtime monitor that audits a learned barrier certificate using observed closed-loop trajectories. The monitor is intended to detect loss of statistical support for the deployed barrier condition; it does not by itself guarantee detection before unsafe entry or safety of a subsequent intervention. Specifically, the conditional barrier-drift condition is formulated as an episode-wise sequential hypothesis test, and observed barrier increments are transformed into a nonnegative test supermartingale, yielding finite-sample false-alarm control under arbitrary stopping times. Inspired by finite-horizon safety verification, we further introduce a deterministic temporal shaping of the monitoring boundary, making the monitor more conservative early in a prescribed deployment horizon while preserving anytime-validity. The monitor is designed to detect statistical evidence that the safety certificate is no longer consistent with the observed dynamics, rather than to predict unsafe entry. To assess the monitor empirically, we evaluate empirical alarm behavior under valid and invalid certificates. Code and data are available at https://github.com/FormalCert-AI/runtime-barrier-monitor.

Related

  1. Certified Adaptive Refresh: Anytime-Valid Monitoring for Federated Conformal RAG
    Prasanjit Dubey, Xiaoming Huo
    arXivPreprintarXiv licenceFull textStatisticsarXiv
  2. Reinforcement Learning Under Runtime Confounding: Policy Learning and Off-Policy Evaluation
    Raphael Kim, Michele Santacatterina, Ramin Zabih +1
    arXivPreprintCC BY 4.0Full textStatisticsarXiv
  3. Anytime-Valid Inference in Linear Models with Applications to Regression-Adjusted Causal Inference
    Michael Lindon, Dae Woong Ham, Martin P. Tingley +1
    Journal of the American Statistical AssociationPeer-reviewedLicence not statedFull text15 citedStatisticsOpenAlex
  4. Separating Statistical Inference from Experimental Runtime: An Architecture for Sequential Scientific Analysis
    Alexander Stepanov, Andrej Novikov
    arXivPreprintCC BY 4.0Full textStatisticsarXiv
  5. Asymptotic Anytime-Valid Quantile Inference under Local Differential Privacy
    Leheng Cai, Qirui Hu, Shuyuan Wu
    arXivPreprintarXiv licenceFull textStatisticsarXiv
BibTeX
@misc{cao2026anytimevalid,
  title = {{Anytime-Valid Runtime Monitoring of Learned Barrier Certificates}},
  author = {Zhipeng Cao and Taoran Wu and Weiru Cui and Luke Ong and Bai Xue},
  howpublished = {arXiv},
  year = {2026},
  month = oct,
  doi = {10.48550/arxiv.2610.27726},
  eprint = {2610.27726},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.27726},
  note = {CC BY 4.0},
}
RIS
TY  - UNPB
TI  - Anytime-Valid Runtime Monitoring of Learned Barrier Certificates
AU  - Zhipeng Cao
AU  - Taoran Wu
AU  - Weiru Cui
AU  - Luke Ong
AU  - Bai Xue
PY  - 2026
DA  - 2026/10/20
PB  - arXiv
DO  - 10.48550/arxiv.2610.27726
UR  - https://arxiv.org/abs/2610.27726
AB  - Learned barrier certificates provide a principled mechanism for establishing safety of stochastic systems, but their validity may deteriorate during deployment when the underlying dynamics differ from those used for training. We propose an anytime-valid runtime monitor that audits a learned barrier certificate using observed closed-loop trajectories. The monitor is intended to detect loss of statistical support for the deployed barrier condition; it does not by itself guarantee detection before unsafe entry or safety of a subsequent intervention. Specifically, the conditional barrier-drift condition is formulated as an episode-wise sequential hypothesis test, and observed barrier increments are transformed into a nonnegative test supermartingale, yielding finite-sample false-alarm control under arbitrary stopping times. Inspired by finite-horizon safety verification, we further introduce a deterministic temporal shaping of the monitoring boundary, making the monitor more conservative early in a prescribed deployment horizon while preserving anytime-validity. The monitor is designed to detect statistical evidence that the safety certificate is no longer consistent with the observed dynamics, rather than to predict unsafe entry. To assess the monitor empirically, we evaluate empirical alarm behavior under valid and invalid certificates. Code and data are available at https://github.com/FormalCert-AI/runtime-barrier-monitor.
ER  -