Runtime Monitoring of Supermartingale Certificates

cs.AI cs.SY eess.SY Mirco Giacobbe, Thomas A. Henzinger, Konstantin Kueffner, Emily Yu, \DJ{}or\dj{}e \v{Z}ikeli\'{c} · Oct 14, 2026
Local to this browser
What it does
Supermartingale certificates guarantee temporal properties of stochastic dynamical systems, but their validity depends on a design-time model that may not match the black-box deployment environment. This paper introduces a runtime...
Why it matters
This paper introduces a runtime monitoring framework that observes a single live trajectory and uses betting-based sequential testing to raise an alarm when statistical evidence suggests the certificate has been violated. By applying...
Main concern
The paper presents a conceptually clean and theoretically grounded framework for closing the sim-to-real gap in stochastic certificate verification. By framing monitoring as a betting game and using Ville’s inequality, the authors obtain...
Community signal
0
0 up · 0 down
Sign in to vote with arrows
AI Review AI reviewed
Plain-language introduction

Supermartingale certificates guarantee temporal properties of stochastic dynamical systems, but their validity depends on a design-time model that may not match the black-box deployment environment. This paper introduces a runtime monitoring framework that observes a single live trajectory and uses betting-based sequential testing to raise an alarm when statistical evidence suggests the certificate has been violated. By applying Ville’s inequality, the method provides a user-specified bound on the probability of ever raising a false alarm, closing the sim-to-real gap for probabilistic certificates.

Critical review
Verdict
Bottom line

The paper presents a conceptually clean and theoretically grounded framework for closing the sim-to-real gap in stochastic certificate verification. By framing monitoring as a betting game and using Ville’s inequality, the authors obtain an elegant uniform false-alarm guarantee. However, practical detection power is heavily contingent on violation magnitude and spatial locality, and several strong assumptions—such as knowable loss bounds and, in continuous time, martingale generator regularity—limit the black-box applicability that the introduction advertises. The empirical evaluation is promising but selective, and the lack of visible code or data availability weakens the reproducibility claim.

“Our framework is agnostic to the temporal property being certified, applies to both discrete- and continuous-time stochastic systems, and encompasses the existing supermartingale certificates”
paper · Section 1
“Overall this shows that even persistent violations can remain undetected when their effect is too small to distinguish reliably from stochastic fluctuations within the observed trajectory.”
paper · Section 4, RQ1
What holds up

The strongest part of the paper is the rigorous statistical core. The authors correctly reduce certificate monitoring to constructing a nonnegative supermartingale via normalized scores, and Theorem 2 proves that any admissible betting strategy preserves the false-alarm guarantee. The spatial and temporal weighting strategies are natural and empirically effective on localised violations, and the continuous-time extension via absorbed processes and extended generators is handled with care.

“For every admissible choice of stakes, expert weights, and funding, the monitor satisfies ... if the expected-decrease condition holds for the deployed process, then $\mathbb{P}(\tau_{\delta}<\infty)\leq\delta$.”
paper · Theorem 2
“On the control benchmarks, S-L achieves 83.8%, compared with 29.7% for U-L and 28.2% for T-L.”
paper · Section 4, Table 3
Main concerns

Several assumptions limit real-world deployment. The monitor needs conservative bounds on certificate values and drift, or exact dynamics to compute loss bounds $B_n$, neither of which is generally available in a black-box environment. The detection-power result additionally requires scores bounded above by $1$, which the general construction does not ensure.\nEmpirically, the method misses many violations: on neural benchmarks with expected nonincrease, the best monitor alarms on only $43.1\%$ of runs, and on LQR with $5\%$ feedback loss the spatial monitor detects merely $16$ of $50$ runs. The paper also claims to be first in this space without adequately addressing how its scope differs from prior martingale-based distribution-shift monitors that operate on similar processes.

“Concrete conservative bounds can be obtained if we know a lower bound on the certificate value $f(x) \geq f_{\min}$ and an upper bound on the allowed drift $l(x) \leq l_{\max}$ for all reachable states.”
paper · Section 3.1
“The neural benchmarks show a similar advantage under expected nonincrease ($\epsilon=0$), where S-L raises alarms on 43.1% of runs, compared with approximately 11% for either baseline.”
paper · Section 4, RQ1
Evidence and comparison

The evidence supports the claim that spatial weighting improves detection of local violations, but internal comparisons also reveal trade-offs that the narrative underplays. Table 2 shows that no single scale dominates across benchmark families, and the spatial monitor is sometimes slower than temporal or uniform alternatives. The theoretical detection guarantee is valuable but rests on persistence and boundedness assumptions that are only partially reflected in the experiments. Related-work comparisons are fair: the authors clearly distinguish deterministic Lyapunov monitoring and finite-horizon predictive approaches from their unbounded-horizon stochastic setting.

“The correct scaling depends on the system, i.e., no uniformly best scaling is observed. However, mixing over scales can retain some of the benefits of the respective scales, being often only slightly worse than the best for the respective benchmark.”
paper · Section 4, RQ2
Reproducibility

Reproducibility is weakened by missing artifacts. While the paper states that details are in the appendix, no code repository or dataset URL appears in the provided text, and the appended experimental setup sections are not included in the excerpt. Hyperparameters are described only at a high level, leaving exact configurations unspecified. Averaging over $50$ runs per setting is statistically reasonable, but without code and complete appendices an independent reproduction would require substantial guesswork. The extensive disclosed use of ChatGPT for proofs, code, and writing further complicates reproducibility auditing.

“Full configurations and implementation details are provided in the Appendix.”
paper · Section 4
“We used ChatGPT to assist with writing, literature search, theoretical development, and the design and implementation of experiments.”
paper · AI use statement
Abstract

Supermartingale certificates formally guarantee temporal properties of discrete and continuous-time stochastic dynamical systems. However, these guarantees rely on a mathematical model of the world, leaving a sim-to-real gap that can invalidate them for the deployed system. We formulate the runtime monitoring problem for supermartingale certificates, in which a monitor observes a single system trajectory and raises an alarm when there is sufficient statistical evidence that the supermartingale certificate has been violated during execution. We present an algorithm to automatically construct a monitor using betting-based sequential tests that bound the probability of ever raising a false alarm at a user-specified level. Within this betting framework, we formulate strategies that allow the monitor to exploit spatial regularity to improve detection power while preserving this statistical guarantee. We demonstrate the efficacy of our approach on supermartingale certificate benchmarks from the literature.

Challenge the Review

Pick a starting point or write your own. Challenges run in the background, so you can keep reading while the AI investigates.

No challenges yet. Disagree with the review? Ask the AI to revisit a specific claim.