Manuscript Offprint
arXiv:2611.02218Beyond Ensemble Disagreement: Predictive STL Monitoring of RL Locomotion under Distribution Shift
Qurban Ali , Badaruddin Chachar , Maqsood Ali , Sajjad Ali Rajper
-
Sindh Madressatul Islam University, Karachi, Pakistan
-
Shah Abdul Latif University, Ghotki, Pakistan
-
University of Camerino, Camerino, Italy
-
Institute of Biophysics, CNR, Palermo, Italy
-
University of Mirpurkhas, Mirpurkhas, Pakistan
qurban@smiu.edu.pk ; badaruddin.chachar@salu.edu.pk
maqsoodali@cnr.it ; sajjadali@umpk.edu.pk
Abstract: RL locomotion policies trained under nominal simulation conditions may encounter distribution shifts that compromise safety. Predictive monitors could anticipate violations, but their world-model forecasts may become unreliable under shift, and ensemble disagreement is not calibrated. We evaluate predictive Signal Temporal Logic (STL) monitoring for frozen Ant-v5 and HalfCheetah-v5 policies using closed-loop world-model rollouts and a three-model ensemble. Across external-force, observation-noise, and mass shifts, predicted robustness ranks HalfCheetah's future STL violations strongly, whereas disagreement does not reliably track observation prediction error or violations. Under severe noise, violations remain common (64.2 ± 24.4% at K=20 across three PPO seeds), yet current-state robustness without prediction comes within 0.03 AUROC of predictive robustness. Penalizing predicted robustness by disagreement does not consistently improve ranking. Ant provides complementary per-specification evidence, but its composite target has no positive violations and its any-violation target is single-class in most evaluated seed-condition slices. Overall, predictive robustness provides useful STL-specific ranking but little demonstrated additional ranking value over the current state; these findings caution against treating ensemble disagreement as a reliable indicator of safety uncertainty.
Keywords: Signal Temporal Logic, runtime verification, world models, ensemble disagreement, distribution shift, predictive safety
1 Introduction
Reinforcement learning (RL) has become a powerful approach for learning locomotion policies in simulated robotic environments [1]. However, policies trained under fixed simulation conditions often encounter distribution shifts during deployment, such as external disturbances, observation noise, changes in physical parameters, or variations in terrain properties, which can compromise safety. These shifts can cause degraded locomotion, loss of balance, or entry into states that violate safety requirements.
To address this challenge, runtime safety monitoring complements policy training: a monitor evaluates a frozen policy against explicit safety specifications during deployment. Signal Temporal Logic (STL) suits this purpose because quantitative robustness values continuously measure satisfaction or violation [2]. Runtime monitors can be broadly classified as reactive or predictive. Reactive monitors assess observed states after the fact—including interpretable STL-based retrospective monitoring [3, 4] and simpler threshold- or barrier-style checks—whereas predictive monitors anticipate future violations. Learned world models enable predictive monitoring by rolling the policy
10th Conference on Robot Learning (CoRL 2026), Austin TX, USA.

Figure 1: Predictive STL monitoring pipeline. The current observation feeds the frozen PPO policy and the world-model ensemble, whose members each generate a -step closed-loop rollout by repeatedly querying the policy on predicted observations. Predicted trajectories are evaluated with STL and aggregated into predictive robustness and STL disagreement ; independently, is evaluated on the observed trajectory , and penalizes by .
forward in closed loop and evaluating safety specifications on forecasted states before they are reached [5] (distinct from model-based RL planning and learning). We instantiate the world model as a lightweight feedforward latent-dynamics ensemble (not a recurrent/stochastic Dreamer-class model), so conclusions about disagreement informativeness are scoped to this architecture class (see Sec. 8). A key challenge is that prediction quality may degrade under distribution shift, so a monitor that ignores model uncertainty may make confident but incorrect safety assessments.
Deep ensembles provide a practical measure of predictive disagreement [6], but whether disagreement reliably indicates prediction error or future safety violations under distribution shift remains unclear. In particular, disagreement is not equivalent to calibrated predictive uncertainty or safety risk. Three gaps motivate this study: (i) predictive STL monitoring has received less attention than retrospective monitoring [3, 4, 7, 8, 9]; (ii) the reliability of ensemble disagreement under distribution shift remains insufficiently understood [6, 10, 11]; and (iii) its usefulness for downstream safety-failure prediction has not been systematically compared across observation, latent, and STL representations using failure-prediction and selective prediction metrics [12, 7, 13].
To address these gaps, this paper asks: when a learned world model predicts that a future trajectory is safe, can ensemble disagreement identify situations in which that prediction is unreliable under distribution shift? Let denote predicted STL robustness and the robustness of the corresponding observed trajectory. We empirically examine (H1) and (H2) . We develop and evaluate a predictive monitoring framework on Ant-v5 [14] and HalfCheetah-v5 [15] under external forces, observation noise, and mass variation. We report quantitative window-level failure-prediction results for HalfCheetah-v5; Ant-v5 serves primarily as a per-specification complement (Sec. 7.1). Across the evaluated settings, we find no consistent evidence that disagreement reliably predicts error or future violations. Predicted robustness ranks failures more strongly, but a current-state robustness baseline recovers most of that ranking, so the evidence for predictive (as opposed to reactive) monitoring is modest.
The contributions of this paper are as follows:
-
Framework. We develop a predictive STL monitoring framework for frozen RL locomotion policies based on closed-loop, policy-conditioned world-model rollouts, using ensemble variation in predicted STL robustness as an empirical disagreement measure (not a calibrated estimate; Section 5.2).
-
Evaluation. We evaluate on Ant-v5 and HalfCheetah-v5 using independently trained PPO policies and a primary multi-seed evaluation over three PPO seeds. We compare retrospective and predictive STL monitoring under external forces, observation noise, and mass variation, with failure-prediction, association, and horizon analyses. We add a current-state robustness baseline and a safe-at-start analysis that separates early warning from detection of already-unsafe states.
-
Replication. To support reproducibility, we provide the replication package at [16].
Our work uses learned world models to generate policy-conditioned future trajectories and deep ensembles to measure variation in predicted STL robustness [5, 6]. Unlike approaches that aim to provide calibrated uncertainty or formal guarantees, we empirically investigate whether ensemble disagreement ranks prediction errors and future safety violations under distribution shift. We compare disagreement in observation, latent, and STL representations on common downstream failure-prediction tasks.
3 Problem Formulation
We consider a frozen reinforcement learning policy deployed in an environment that may differ from the training conditions. The policy maps observations to actions but has no explicit mechanism for detecting or adapting to distribution shift, which motivates the need for an independent safety monitor that operates alongside the policy.
3.1 Policy and Environment
At time , environment state produces observation , the frozen policy selects action , and the state evolves as . Here, is the observation function, is the policy, is the environment transition function, and captures stochasticity and unmodelled effects [1]. Observations may also include noise or partial information. Under distribution shift, the effective dynamics differ from those seen during training, while the policy continues to act as if nominal conditions hold.
3.2 Learned World Model
To predict whether future trajectories will satisfy safety specifications, we employ a learned world model that approximates the environment dynamics in observation space [5]. The world model consists of three components: an encoder that maps observations to a latent state, a latent dynamics model that predicts the next latent state given the current latent state and action, and a decoder that reconstructs observations from the latent state:
where is the observation at time , its encoded latent state, the predicted next latent state given action , the decoded next-observation prediction, and denotes their learned parameters. The complete observation-prediction model is . We independently train copies of this model to form the ensemble.
3.3 Closed-Loop Predictive Rollout
For predictive monitoring at time , we perform a -step closed-loop rollout in which the frozen policy acts on each latest predicted observation, rather than propagating the dynamics open-loop:
(5) where is the action selected by the policy from predicted observation , and is the corresponding next-observation prediction. Feeding each predicted observation back to the policy captures policy-induced feedback absent from open-loop prediction. The safety-variable mapping used to extract STL signals is detailed in Appendix A.
4 STL Monitoring
Signal Temporal Logic provides a formal framework for specifying temporal safety requirements over continuous-valued signals [2, 3]. Each specification constrains the evolution of safety variables over a temporal window, and its quantitative robustness value indicates the degree of satisfaction (positive) or violation (negative). We use STL in two complementary modes: retrospective evaluation of observed trajectories and predictive evaluation of model-generated future trajectories. Appendix A provides the complete set of episode-level specifications.
4.1 Predictive Horizon Formulation
For horizons , we evaluate the instantaneous properties using truncated specifications
where is the bounded “always” operator over the inclusive interval , and property denotes the th instantaneous safety predicate. The interval contains observations connected by transitions. The recovery property requires a 50-step response interval and is therefore excluded from the predictive composite at the evaluated horizons. Its truncated pastified robustness is nevertheless retained in per-specification diagnostics and the any-violation target. These truncated values describe the available trace prefix, not satisfaction of the complete recovery obligation (Appendix A).
The predictive composite score combines the remaining properties:
where is the set of applicable specifications for environment at horizon , and is the robustness of property over the window starting at time ; is the aggregation weight assigned to specification . For Ant-v5, five properties contribute; for HalfCheetah-v5, pitch, height, and contact contribute, with contact providing no within-environment discrimination.
Where we report a common-structure composite, it is secondary to per-specification binary violation prediction, the primary evaluation (Sec. 7). Specifications and the windowing stride (, with boundary exclusions) are hand-authored design choices, and all reported experiments use equal weights. The tested height-threshold variation leaves the ranking unchanged (Tab. 12); sensitivity to alternative specifications, recovery thresholds, aggregation weights, strides, and unit-normalized composites remains untested.
4.2 Retrospective versus Predictive Monitoring
The retrospective observed-trajectory reference score evaluates the trajectory that actually occurred over the corresponding K-step window:
where is the observed trajectory, and returns their composite robustness. Evaluating this score requires the full future trajectory; it serves as a reference for predictive scores. We evaluate model-generated trajectories through closed-loop policy rollouts and average their robustness across ensemble members, yielding by construction:
(9) where is the ensemble size, indexes its members, and is member 's predicted trajectory. The term is the mean predicted robustness across members. We use the difference between and to characterize predictive bias in the world model.
5 Ensemble Disagreement for World-Model Monitoring
We use independently trained world models to measure predictive disagreement and test whether this disagreement identifies unreliable safety predictions under distribution shift. We refer to the main measure as STL robustness disagreement rather than calibrated uncertainty.
5.1 Ensemble Dynamics
We train an ensemble of independently initialized world models [6], each using the observation-prediction model defined in Sec. 3. Each model independently generates a -step closed-loop prediction using the rollout procedure described in Sec. 3. All models are trained on nominal locomotion data collected under standard conditions and are not adapted to shifted test trajectories. This allows us to examine disagreement under distribution shift without introducing test-time adaptation effects.
5.2 Prediction Error and STL Robustness Disagreement
We compare prediction error with disagreement in predicted STL robustness. For each ensemble member, prediction error is the mean distance over the predicted future observations; the initial observation is the known rollout input and is not included:
where indexes an ensemble member, is its predicted observation, and is the corresponding observed future observation with ensemble mean error . This provides an empirical reference for prediction accuracy, rather than a direct measure of safety. Our primary disagreement measure is the standard deviation of predicted STL robustness across ensemble members:
where is the predicted STL robustness from member , and .
High indicates variation in predicted STL robustness, whereas low disagreement does not imply correctness: ensemble members may share a common prediction bias. Thus, is an empirical disagreement measure, not calibrated uncertainty or a safety-risk estimate. For comparison, we also evaluate observation-space and latent-space disagreement, denoted by and , respectively. These measures quantify ensemble variation in the corresponding representations and are computed on the same predicted rollouts. Their precise definitions are given in Appendix B.6.
5.3 Disagreement-Penalized Robustness Score
To examine whether disagreement can improve robustness-based failure detection, we define the penalized score
where controls the disagreement penalty. In our implementation, corresponds to the ensemble-mean robustness score , so that when . This is an empirical penalty, not a formal probabilistic confidence bound. We evaluate without tuning it on test conditions, and flag a window when .
5.4 Evaluation Protocol
We evaluate (i) AUROC/AUPRC for per-specification and any-violation labels, (ii) association between disagreement and (Pearson, descriptive), and (iii) risk-coverage under disagreement-based abstention.
6 Experimental Setup
6.1 Environments
For experiments we use MuJoCo [17] Ant-v5, a 3D quadruped with eight actuated joints, and HalfCheetah-v5, a 2D planar locomotion system with six actuated joints.
6.2 PPO Training
We train PPO [1] policies with Stable-Baselines3 [18] for 200,000 timesteps using five random seeds. The primary analysis uses three of these seeds, , with 10 evaluation episodes per condition. We report descriptive means and standard deviations to summarize the observed seed-to-seed spread. We initialize each world-model ensemble member independently and train it on nominal trajectories. Appendix A gives the full PPO and environment configurations.
6.3 Distribution Shift and Prediction Horizons
We evaluate external forces of 5 and 15 N, Gaussian observation noise (), mass scaling (), friction scaling (), and compound shifts involving mass, noise, and force. All shifts are absent from policy and world-model training. We evaluate horizons , using windows within each episode with stride , so windows do not overlap in transitions. Early episode termination leads to variable sample counts. Window-level correlations are descriptive because observations within episodes are temporally dependent. Further configuration and window-count details are given in Appendix C.
6.4 Baselines
The threshold and barrier-style monitors are retrospective references only (App. B); the barrier-style baseline is not a formal CBF. Predictive experiments compare world-model predictions with observed-trajectory scores, using disagreement baselines on identical rollouts: (B0) none, ; (B1) ; (B2) ; (B3) . Conformal calibration is future work. Error is reported as mean (within-environment), normalized RMSE, safety-variable error, and .
7 Results
We report predictive bias, failure prediction (robustness vs. disagreement), and horizon/shift sensitivity. The primary multi-seed failure-prediction analysis uses the window-level any-violation target; per-specification analyses diagnose the sources of these aggregate failures. Appendix B reports the legacy single-seed analyses.
7.1 Failure Prediction: Disagreement vs. Predicted Robustness
The primary target is the window-level any-violation label,
where indexes the evaluated STL specifications, is the quantitative robustness of specification on the observed segment, is that trajectory segment, is the specification truncated to horizon , and is the indicator function. Thus, when at least one evaluated specification has negative robustness over the window. This target differs from the composite label : for example, the seed-0 severe-noise slice has 35.6% composite-label prevalence but 95.6% any-violation prevalence. At , recovery contributes through its truncated per-specification label but is excluded from the predictive composite, as described in Sec. 4. Thus, AUROC for measures how well predicted STL margins rank violations of the corresponding observed STL specifications; it is not an independent assessment of general physical safety. We use as a continuous failure-ranking score, whereas is a binary target.
We also evaluate observation- and latent-space disagreement, per-specification metrics, AUROC/AUPRC, risk-coverage, ensemble size, additional shifts, and a noise-model ablation. These experiments follow the protocol in Sec. 6 (3 PPO seeds, 10 episodes per condition, , and with ablations). The replication package [16] contains the per-window results and trained ensembles.
For HalfCheetah, at recovery is excluded from the predictive composite and the contact predicate is constant, contributing no within-environment discrimination (Sec. 4). Per-specification diagnostics show observed failures concentrating in height and recovery; the latter contributes to the any-violation target through its truncated robustness, although it is excluded from the predictive composite.
Table 1: Failure prediction at for the HalfCheetah any-violation target (meanstd of per-seed metrics over 3 PPO seeds, 10 episodes per seed). Viol% is multi-seed any-violation prevalence, not comparable to seed-0 per-spec rates in Appendix C. Ant-v5 is not reported in this multi-seed table because its any-violation target is single-class (79–100% positive) in 21 of 24 evaluated seed-condition slices (8 conditions 3 seeds); the three slices admitting both classes give AUROC() 0.98–1.00 (Tab. 9). Its composite target has no positive violations at all. Predicted robustness () substantially outperforms the evaluated disagreement measures.
| Condition | Viol% | AUROC | AUPRC | ||
|---|---|---|---|---|---|
| baseline | 5625 | 0.500.08 | 0.920.08 | 0.590.26 | 0.970.02 |
| noise 0.05 | 5729 | 0.500.07 | 0.810.25 | 0.640.24 | 0.950.05 |
| noise 0.15 | 5629 | 0.560.18 | 0.980.00 | 0.610.28 | 0.970.03 |
| mass 0.8x | 5524 | 0.470.09 | 0.960.05 | 0.630.19 | 0.980.02 |
| mass 1.6x | 6328 | 0.470.03 | 0.940.01 | 0.470.04 | 0.920.03 |
| friction 0.5x | 5629 | 0.580.13 | 0.880.14 | 0.610.28 | 0.960.04 |
| compound | 6426 | 0.450.02 | 0.970.01 | 0.510.06 | 0.970.00 |
| force 5N | 5224 | 0.510.07 | 0.960.04 | 0.580.23 | 0.970.02 |
| force 15N | 4927 | 0.520.07 | 0.950.03 | 0.540.26 | 0.930.06 |
The alternative observation- and latent-space disagreement measures also show weak discrimination (AUROC 0.44–0.54 in the reported conditions). At under severe noise, , , and achieve AUROC , , and , respectively, compared with for . In the single-seed (seed-0) composite-label horizon analysis, longer horizons expose more violations without consistently strengthening disagreement as a failure-ranking signal (Fig. 5 and Tab. 10 in Appendix C); the multi-seed any-violation result at is given above.
Predicted robustness is more informative than disagreement. A low predicted robustness margin already provides useful safety information, and disagreement does not reliably add to it. The evaluated observation- and latent-space disagreement measures also perform inconsistently, so the lack of reliable failure discrimination is not specific to STL-space disagreement.
Current-state baseline and early warning. Instantaneous robustness (no prediction) reaches AUROC 0.79–0.97, within 0.03 of (0.81–0.98; Tab. 1). Among windows whose initial state satisfies all pointwise predicates (60–70% of windows), future violations still occur in 30–45%, yet stays within 0.02 AUROC of there, while is weaker and less consistent (0.30–0.67; Tab. 11, App. C). Prediction thus adds little ranking information beyond the initial state in these


Figure 2: HalfCheetah any-violation failure prediction (descriptive mean±std over 3 seeds). Left (K=10, Tab. 1): stays near chance (0.47–0.56) while ranks failures strongly (0.92–0.98); are likewise near chance (0.44–0.54). Right (K=20, severe noise, prevalence): give 0.65/0.47/0.46 versus 0.99 for . Dashed line marks chance.
settings. Ant-v5 provides limited early-warning evidence because few windows in its four originally evaluated conditions are safe at the start.
Reliability, ensemble size, and noise-model checks. Risk-coverage curves remain essentially flat under severe noise, with -based abstention failing to reduce retained violation risk; increasing the ensemble size (ablations over ) largely stabilizes the magnitude of without consistently improving failure discrimination; and matching the deployment noise process in rollout resolves neither the predictive bias nor disagreement-based failure detection (full numbers in Appendix C).
Disagreement penalization does not improve failure ranking. On the composite-label target, increasing reduces AUROC from 0.88 to 0.84 under severe noise while increasing the flag rate. On the any-violation target, penalization produces only small AUROC changes ( to at ), which we do not interpret as a robust improvement. Risk-coverage abstention also produces little reduction in retained violation rate (55.9% to 53.4% at 70% coverage). The flag rule uses the composite boundary, not the any-violation label, so its recall is at most about 9% (5.2% flag rate vs. 55.9% prevalence); we do not present it as a calibrated operating point (App. C). Thus, neither penalization nor disagreement-based abstention consistently improves failure detection; complete sweeps are reported in Appendix C.
8 Discussion
Retrospective STL evaluates robustness on observed trajectories, predictive STL estimates near-future robustness under the policy's closed-loop behavior, and ensemble STL disagreement measures the variation among predicted robustness values.
Predictive STL exhibits environment-dependent bias. Predictive scores are mildly pessimistic for Ant-v5 ( 0.04 below at ) but systematically optimistic for HalfCheetah-v5 ( exceeds by 0.01–0.06; Tab. 4 in Appendix B). Neither sensing-vs-rollout mismatch nor matched-noise rollout ablation fully explains the bias (noise 0.15 bias ), suggesting additional model-mismatch sources (Fig. 3 in Appendix B).
STL disagreement does not reliably predict either prediction error or future violations. Across the three evaluated PPO seeds, single-seed correlations with prediction error flip sign at small ; the seed-averaged correlation is negative or near zero (HC at baseline and under noise 0.15). On the HalfCheetah any-violation target, despite a substantial violation prevalence (64.2±24.4% at under noise), AUROC is 0.45–0.65 across conditions, with AUPRC near prevalence. An above-chance exception appears in the Ant per-specification disagreement analysis (Appendix C), where reaches AUROC 0.73–0.83 in two small-sample conditions (baseline and mass 1.6x). These small-sample results are descriptive and do not constitute a stable counterexample; they qualify the headline claim: disagreement is unreliable as a general safety signal, but not uniformly uninformative in every slice.
Predicted robustness outperforms disagreement, and penalization does not improve ranking. On the HalfCheetah any-violation target at , substantially outperforms the evaluated disagreement measures (Tab. 1); disagreement penalization yields no robust improvement on either evaluation target (Sec. 7.1). The relevant question is whether disagreement provides additional information about when the predicted robustness margin is unreliable.
We train world models only on nominal trajectories and do not adapt them at test time; the results therefore characterize disagreement under shift in this fixed-model setting. Here, is a condition-and horizon-dependent measure that does not provide a generally reliable indication of predictive reliability or safety. This finding is scoped to lightweight feedforward ensembles, whose independently initialized members may still exhibit correlated errors or shared bias; whether recurrent or stochastic-latent (Dreamer-style) ensembles yield more informative disagreement remains for future work. The ensemble quantity measures STL robustness disagreement, not aleatoric uncertainty; estimating the latter requires explicit conditional-variance predictions.
9 Limitations
The current study has several limitations. First, evaluation is restricted to two MuJoCo environments and manually defined STL specifications. The specifications are more naturally aligned with Ant-v5, while quantitative failure-prediction analysis is centered on HalfCheetah-v5. Sensitivity to alternative specification sets, aggregation weights, and windowing strides remains untested. Second, the world model is a lightweight feedforward predictor, and ensemble disagreement is an empirical measure rather than calibrated uncertainty or a formal safety guarantee. Evaluation uses three PPO seeds, and the disagreement estimate may remain sensitive to ensemble composition despite the reported ensemble-size analysis. Because evaluates predicted states against the same STL predicates used to construct the observed-trajectory label, its advantage over the unsigned spread is partly structural; we do not test whether adds information conditional on . Finally, simulation does not capture real-world state-estimation, actuation, contact-model, or latency effects. Predictive monitoring also incurs additional computation because it requires multiple model rollouts.
10 Conclusion
This study evaluated predictive STL monitoring of frozen locomotion policies under distribution shift using closed-loop world-model rollouts and ensemble disagreement. Across the evaluated settings, disagreement did not reliably predict model error or future STL violations, whereas predicted robustness provided stronger failure ranking. However, instantaneous current-state robustness already captured much of this information, limiting the additional ranking benefit of prediction. Penalizing robustness by disagreement also failed to consistently improve failure ranking. These findings caution against treating ensemble disagreement alone as a reliable indicator of safety-relevant uncertainty in the evaluated settings. The evaluation is limited to two simulated MuJoCo environments and three PPO seeds (Sec. 9). Future work will investigate conformal calibration and extend predictive monitoring to real-world robotic systems.
References
[1] J. Schulman, F. Wolski, P. Dhariwal, A. Radford, and O. Klimov. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017.
[2] O. Maler and D. Nickovic. Monitoring temporal properties of continuous signals. In Formal Modeling and Analysis of Timed Systems (FORMATS), 2004.
[3] A. Donzé and O. Maler. Robust satisfaction of temporal logic over real-valued signals. In Formal Modeling and Analysis of Timed Systems (FORMATS), volume 6246 of Lecture Notes in Computer Science, pages 92–106, 2010.
[4] T. Yamaguchi, B. Hoxha, and D. Ničković. RTAMT — runtime robustness monitors with application to CPS and robotics. International Journal on Software Tools for Technology Transfer, 2023.
[5] D. Hafner, T. Lillicrap, J. Ha, and M. Norouzi. Mastering diverse domains through world models. arXiv preprint arXiv:2301.04104, 2023.
[6] B. Lakshminarayanan, A. Pritzel, and C. Blundell. Simple and scalable predictive uncertainty estimation using deep ensembles. In Advances in Neural Information Processing Systems (NeurIPS), 2017.
[7] L. Lindemann, X. Qin, J. V. Deshmukh, and G. J. Pappas. Conformal prediction for STL runtime verification. arXiv preprint arXiv:2211.01539, 2022.
[8] Y. Meng and C. Fan. Signal temporal logic neural predictive control. IEEE Robotics and Automation Letters, 2023.
[9] T. Han, S. Li, and X. Yin. Model predictive online monitoring of dynamical systems for nested signal temporal logic specifications. arXiv preprint arXiv:2505.19703, 2025.
[10] Y. Zhao, B. Hoxha, G. Fainekos, J. V. Deshmukh, and L. Lindemann. Robust conformal prediction for STL runtime verification under distribution shift. In ACM/IEEE International Conference on Cyber-Physical Systems (ICCCPS), 2024.
[11] K. Cobbe, C. Hesse, J. Hilton, and J. Schulman. Quantifying generalization in reinforcement learning. In International Conference on Machine Learning (ICML), 2020.
[12] F. Cairoli, T. Kuipers, L. Bortolussi, and N. Paoletti. Conformal quantitative predictive monitoring of stochastic systems with conditional validity. Nonlinear Analysis: Hybrid Systems, 2025.
[13] H. Beirami and M. M. M. Islam. Conformal signal temporal logic for robust reinforcement learning control: A case study. In ICASSP 2026: IEEE International Conference on Acoustics, Speech and Signal Processing, pages 5881–5885. IEEE, 2026.
[14] Farama Foundation. Gymnasium MuJoCo v5 environments: Ant, 2024. URL https://farama.org/Gymnasium-MuJoCo-v5_Environments. Accessed: 2026-09-11.
[15] Farama Foundation. Half cheetah: Gymnasium MuJoCo environment, 2024. URL https://gymnasium.farama.org/environments/mujoco/half_cheetah/. Accessed: 2026-09-11.
[16] GitHub. Replication package, 2026. URL https://github.com/lakhanqurban/stl-monitor-rl. Accessed: 2026-11-01.
[17] E. Todorov, T. Erez, and Y. Tassa. MuJoCo: A physics engine for model-based control. In IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2012.
[18] A. Raffin, A. Hill, M. Ernestus, T. Berber, A. Gleave, A. Kanervisto, and N. Dormann. Stable-Baselines3: Reliable reinforcement learning implementations. Journal of Machine Learning Research, 2021.
A Supplementary Experimental Details
A.1 Safety-Variable Mapping
The STL predicates are evaluated on a safety-variable representation derived from the environment observation. The function extracts or computes the physical variables required by the STL specifications from the raw observation vector. For Ant-v5, extracts body height from the position components, computes roll and pitch angles from the torso quaternion, and extracts forward velocity from the linear velocity components. For HalfCheetah-v5, extracts the variables required by the applicable specifications; height and pitch come from the observation, roll is set to zero because the environment is planar, and the airborne count is fixed at 2.
The mapping is implemented using the MuJoCo observation definitions for each environment and is applied identically to observed and predicted observations. This ensures that retrospective and predictive robustness are evaluated in the same safety-variable space, making the two quantities directly comparable.
A.2 Episode-Level Specifications
The retrospective specifications used for full-episode evaluation are defined over a 500-transition episode, represented by up to 501 state observations under the inclusive interval notation, and capture the safety requirements for locomotion:
Specifications and constrain body orientation to prevent excessive tilting. Specification ensures the body remains above a minimum height to prevent ground contact. Specification limits the number of airborne contacts to maintain stable locomotion. Specification bounds forward velocity to prevent destabilizing speeds. Specification encodes a recovery property: if the body drops below a threshold, it must recover within 50 steps.
For online evaluation, the specifications are converted to past-time form. Under truncated -step evaluation with , the recovery robustness is computed using the available trace segment and the corresponding past-time semantics. Such a value characterizes the observed prefix and does not establish whether the complete 50-step recovery obligation has been met. Accordingly, truncated recovery values are retained as per-specification diagnostics, but should not be interpreted as evaluations of the complete 50-step obligation. A complete evaluation requires the trace to cover the entire response interval under the implementation's discrete-time indexing. If the response interval starts at the initial state and spans 50 transitions, this corresponds to ; the exact boundary must be checked against the past-time recurrence and the indexing used by the evaluator (Sec. 4). The -step rollout contains transitions and state observations when both its initial and final states are included.
These specifications are designed primarily around Ant-v5; cross-environment interpretation should be treated cautiously. For HalfCheetah-v5, the applicable specifications are pitch, height, contact, and recovery (roll is omitted because the environment is planar and forward velocity is excluded as non-safety-critical). Under the adopted HalfCheetah mapping, the airborne count is fixed at 2, so the contact predicate () has constant positive robustness and provides no within-environment discrimination. Nevertheless, retaining this term in an arithmetic composite contributes a constant positive offset and can therefore shift the composite's zero boundary. HalfCheetah composite violation rates should consequently be interpreted with this constant contribution in mind. A positive composite robustness score does not imply that every individual specification is satisfied: positive robustness contributions from some predicates can offset negative contributions from others.
Composite weights are for the six retrospective properties and for the five Ant-v5 predictive properties. Raw robustness values have incompatible physical units (m, rad, m/s), so composites are environment-specific monitoring indices, not absolute safety quantities.
A.3 PPO Configuration
PPO policies are trained with Stable-Baselines3 for 200,000 timesteps using seeds : learning rate , rollout length 2048, batch size 64, 10 epochs, GAE 0.95, discount 0.99, clip range 0.2, with VecNormalize for observations and rewards. The primary evaluation aggregates seeds (10 episodes per condition); the remaining two seeds are not included in the primary aggregate. Reported meanstd values are descriptive spread over the three seeds (not standard errors; with three points, e.g. reports range-like variability, not a sampling distribution).
A.4 World-Model Training
We train an ensemble of lightweight learned world models per environment as the main configuration (a feedforward latent dynamics model used as a predictive world model, not a full-scale Dreamer system), extended to and with identically trained additional members (Sec. 7.1; Ant final evaluation MSE 0.031–0.040, HalfCheetah 0.0018–0.0032). Each member is a feedforward network: an encoder maps the 105-dimensional (Ant) or 17-dimensional (HalfCheetah) observation to a 128-dimensional latent state, a dynamics model with two hidden layers of 256 units (LayerNorm, SiLU) predicts the next latent state given the current latent state and action, and a decoder reconstructs the observation. A reward head is included as an auxiliary prediction task, though reward is not used by the safety monitor.
Models are trained on up to 25,000 nominal transitions from 50 episodes of up to 500 steps each collected from a trained PPO policy. The training loss combines observation reconstruction and auxiliary reward prediction [5]:
where is the number of training transitions, indexes a transition, and indexes an ensemble member. The quantities , , and are the observed observation, action, and reward; is the predicted reward. The predicted latent state is , and is the decoded observation. The parameter weights the reward prediction term. Training uses 30 epochs, learning rate , and batch size 256, with ensemble members using different random seeds. Training loss (MSE) and evaluation error ( observation error across closed-loop rollouts) are reported under different aggregation and are not directly comparable; final training losses are 0.017, 0.022, and 0.037 for Ant-v5 and 0.002, 0.002, and 0.004 for HalfCheetah-v5.
B Supplementary Legacy Single-Seed Results
The results in this section use a single-seed (seed-0) evaluation protocol retained from the original analysis and are provided for descriptive comparison; quantitative claims in the main text and in Appendix C are based on the multi-seed protocol, and numerical values from the two protocols are not interchangeable.
B.1 Retrospective Baseline
The retrospective evaluation reported an Ant-v5 composite STL score of +0.027 nominally and -0.202 under severe observation noise, evaluated over full 500-step episodes using all six specifica-
Table 2: Legacy single-seed predictive monitoring summary at (closed-loop, environment-dependent property composite). : retrospective reference score evaluated on the actually observed future trajectory. : predictive score evaluated on the world-model trajectory. : mean . : mean STL robustness disagreement. : Pearson correlation between STL robustness disagreement and prediction error ( denotes monitoring windows; small values result from early episode termination in shifted conditions). Viol%: future violation rate.
| Condition | Composite STL | () | Viol% | ||||
|---|---|---|---|---|---|---|---|
| Ant-v5 | |||||||
| baseline | +0.75 | +0.71 | 0.04 | 0.049 | -0.75 (3) | — | 0.0 |
| force 5N | +0.75 | +0.73 | 0.02 | 0.056 | +0.49 (3) | — | 0.0 |
| force 15N | +0.74 | +0.72 | 0.07 | 0.043 | -0.36 (19) | — | 0.0 |
| noise 0.05 | +0.66 | +0.70 | 0.05 | 0.035 | -0.95 (5) | — | 0.0 |
| noise 0.15 | +0.60 | +0.70 | 0.10 | 0.037 | +0.06 (9) | — | 0.0 |
| mass 0.8x | +0.77 | +0.74 | 0.04 | 0.052 | -0.72 (3) | — | 0.0 |
| mass 1.6x | +0.66 | +0.69 | 0.05 | 0.038 | -0.47 (10) | — | 0.0 |
| HalfCheetah-v5 | |||||||
| baseline | +0.11 | +0.14 | 0.04 | 0.015 | -0.28 (27) | -0.20 | 7.4 |
| force 5N | +0.12 | +0.17 | 0.06 | 0.017 | -0.15 (27) | -0.26 | 7.4 |
| force 15N | +0.08 | +0.13 | 0.06 | 0.009 | -0.12 (27) | -0.08 | 7.4 |
| noise 0.05 | +0.18 | +0.20 | 0.07 | 0.015 | -0.16 (27) | -0.14 | 11.1 |
| noise 0.15 | +0.03 | +0.15 | 0.12 | 0.010 | -0.09 (27) | +0.27 | 37.0 |
| mass 0.8x | +0.12 | +0.18 | 0.06 | 0.021 | +0.00 (27) | +0.08 | 3.7 |
| mass 1.6x | +0.05 | +0.15 | 0.10 | 0.012 | +0.18 (27) | -0.23 | 11.1 |
tions. The nominal episode-level composite STL violation rate was about 40%, compared with about 6% for the threshold and barrier-style monitors. This rate is computed over full-episode trajectories and is not directly comparable to the per-window violation rates reported below. These episode-level mean robustness values are continuous averages and should not be interpreted as episode-level violation rates; in particular, a negative mean composite robustness does not imply that every episode violates the composite specification.
B.2 Predictive Monitoring
Table 2 summarizes the key predictive monitoring metrics across conditions at , using closed-loop policy-conditioned world-model rollouts. The predictive composite excludes the recovery property () because it requires a 50-step temporal interval, which is longer than the evaluated prediction horizon. Ant-v5 uses five predictive properties. HalfCheetah-v5 primary evaluation uses the applicable predictive properties available at each horizon; the constant contact predicate is retained in the composite sum but excluded from failure-prediction targets (a constant predicate cannot discriminate), so the HalfCheetah predictive composite comprises pitch, height, and contact. Per-specification violation rates are primary; composites are secondary.
B.3 World-Model Prediction Accuracy
Table 3 reports the ensemble mean observation prediction errors averaged across all conditions for each horizon, using closed-loop rollouts. Training loss (MSE) and evaluation error ( observation error across the -step closed-loop rollout) are reported under different aggregation and are not directly comparable.
Ant-v5 prediction error grows gradually from 0.30 () to 0.32 (), consistent with modest error accumulation, though is reported only for the subset of conditions with sufficient valid monitoring windows (force 15N, noise 0.15, mass 1.6x). HalfCheetah-v5 exhibits errors roughly larger than Ant-v5, while the error stays relatively stable across horizons. Absolute errors
Table 3: Mean observation prediction error () by prediction horizon, closed-loop rollouts, averaged over all conditions. *Ant-v5 is reported only for the subset of conditions with sufficient valid monitoring windows.
| Environment | ||||
|---|---|---|---|---|
| Ant-v5 | 0.30 | 0.31 | 0.32 | 0.34* |
| HalfCheetah-v5 | 2.52 | 2.49 | 2.48 | 2.50 |
Table 4: Retrospective () versus predictive () composite STL score at each horizon, nominal condition, closed-loop. Ant-v5 uses five predictive properties; HalfCheetah-v5 uses three (pitch, height, contact; recovery excluded at ).
| Environment | Horizon | ||||
|---|---|---|---|---|---|
| Metric | |||||
| Ant-v5 | +0.82 | +0.77 | +0.75 | — | |
| +0.82 | +0.78 | +0.71 | — | ||
| HalfCheetah-v5 | +0.17 | +0.13 | +0.11 | +0.10 | |
| +0.18 | +0.16 | +0.14 | +0.16 | ||
should be interpreted within each environment rather than compared across environments, due to differences in state-space scale.
B.4 Retrospective versus Predictive STL
Table 4 compares retrospective and predictive composite STL scores at each horizon for the nominal condition, using the environment-dependent predictive composite. The results reveal environment-dependent differences between retrospective and predictive scores. For Ant-v5 at , retrospective and predictive scores are nearly identical, as expected for a single-step prediction, while at , is 0.04 below , indicating a mildly pessimistic predictive robustness estimate. For the nominal HalfCheetah-v5 condition, the predictive score exceeds the retrospective score by 0.01–0.06 across the evaluated horizons (Tab. 4), indicating an optimistic difference in this configuration.
Under distribution shift, the gap between retrospective and predictive scores can increase. For HalfCheetah-v5 under noise , the retrospective score at drops to +0.01 while the predictive score remains at +0.15 (bias , Fig. 3; Tab. 7 reports the same +0.15 predictive score). This illustrates substantial optimistic difference between the predictive and retrospective scores under severe observation noise. The world model receives the noisy observation at the start of the rollout, but subsequent predicted observations are generated by the learned dynamics model rather than by the deployment-time observation-noise process. The closed-loop rollout may therefore fail to reproduce the persistent sensing-induced action perturbations present in the actual trajectory.
B.5 STL Disagreement versus Prediction Error
Table 5 reports the Pearson correlation between STL robustness disagreement and prediction error by condition and horizon. Correlations are computed over monitoring windows; these windows are temporally dependent within episodes and should be interpreted descriptively rather than as tests of statistical significance. In particular, several Ant-v5 correlations are based on only 3–5 windows; their magnitude and sign are highly sensitive to individual observations and should be treated as illustrative rather than representative of a condition-level relationship.
Several Ant-v5 conditions exhibit negative associations between STL robustness disagreement and prediction error at and . Larger STL-robustness disagreement is associated with lower mean prediction error in these conditions. One possible interpretation is that ensemble disagreement reflects variation in local dynamical complexity rather than prediction error itself. However, the


Figure 3: Predictive bias () versus prediction horizon for representative conditions. Ant-v5 exhibits mixed bias directions: predictive robustness is mildly pessimistic under the 15N force shift but increasingly optimistic under severe observation noise. HalfCheetah-v5 is consistently optimistic, with the predictive–retrospective gap increasing with horizon and becoming largest under observation noise.
Table 5: Pearson correlation () between STL robustness disagreement and observation prediction error, closed-loop. All values are descriptive; correlations with small sample sizes () should be interpreted with particular caution.
| Condition | Horizon | |||
|---|---|---|---|---|
| Ant-v5 | ||||
| baseline | +0.10 | -0.58 | -0.75 | — |
| force 5N | +0.13 | -0.85 | +0.49 | — |
| force 15N | -0.12 | -0.29 | -0.36 | -0.39 |
| noise 0.05 | +0.12 | -0.05 | -0.95 | — |
| noise 0.15 | -0.13 | -0.38 | +0.06 | +0.39 |
| mass 0.8x | -0.09 | -0.56 | -0.72 | — |
| mass 1.6x | -0.07 | -0.28 | -0.47 | -0.98 |
| HalfCheetah-v5 | ||||
| baseline | -0.14 | -0.05 | -0.28 | -0.55 |
| force 5N | -0.14 | +0.01 | -0.15 | -0.59 |
| force 15N | -0.04 | +0.06 | -0.12 | -0.38 |
| noise 0.05 | -0.11 | +0.01 | -0.16 | -0.07 |
| noise 0.15 | -0.05 | +0.14 | -0.09 | +0.65 |
| mass 0.8x | -0.08 | +0.11 | +0.00 | -0.02 |
| mass 1.6x | +0.04 | +0.26 | +0.18 | -0.04 |
present experiments do not directly test this explanation. Within-episode temporal dependence limits the interpretation of these correlations, and the observed sign changes should not be treated as evidence of horizon-dependent effects.
For conditions with more monitoring windows, including force 15N (), mass 1.6x (), and HalfCheetah (), the observed correlations show heterogeneity across shift type, environment, and horizon (e.g. nominal, under 5N force, and under observation noise at ). The two quantities capture different aspects of predictive mismatch: measures discrepancy in the full observation representation, whereas measures disagreement after mapping predictions into the safety-variable representation and STL robustness space.
B.6 Disagreement Measures and Evaluation Details
Prediction error. For each ensemble member , we calculate the mean observation-space prediction error over the -step rollout:
where indexes an ensemble member, and are its predicted and the observed future observations, respectively, and is the number of predicted steps. The per-member errors are averaged across the ensemble:
where is the number of ensemble members and is their mean observation-space prediction error. This quantity serves as an empirical reference for prediction accuracy. It is not a safety metric because it measures discrepancy in observation space rather than in the safety-variable space specified by STL.
Alternative disagreement representations. In addition to STL robustness disagreement , we compute observation-space disagreement and latent-space disagreement on the same predicted rollouts:
where indexes ensemble members, indexes observation or latent components, is the rollout horizon, and denotes the standard deviation across ensemble members. The component-wise standard deviations are averaged over representation dimensions and rollout time steps. These measures allow us to examine whether the observed failure-prediction behavior is specific to the STL representation or is also present in observation and latent spaces.
Disagreement-penalized robustness. The disagreement-penalized score is
where controls the penalty strength. In our implementation, is the ensemble mean of the per-member composite robustness scores, and therefore at . We evaluate to examine sensitivity to the penalty strength. The values are fixed across test conditions and are not tuned using shifted test data. A window is flagged when , using the STL satisfaction boundary as a common threshold across conditions and prediction horizons.
The penalty should not be interpreted as a formal probabilistic confidence bound. It reduces the predicted robustness margin in proportion to ensemble disagreement, but a lower score does not, by itself, establish improved failure detection.
Failure prediction. We evaluate the ability of the disagreement and robustness scores to rank future violations using AUROC and AUPRC. The evaluated scores are , and . We consider both per-specification labels and the any-violation label , as defined in the main paper.
Error association. To examine whether disagreement reflects prediction error, we analyze the relationship between disagreement and absolute STL robustness prediction error. In particular, we examine the conditional mean error across disagreement buckets. If disagreement is informative about prediction error, this error should generally increase with disagreement. Pearson's correlation coefficient is reported as a secondary descriptive diagnostic.
Table 6: Correlation () between STL robustness disagreement and future STL violation, and legacy single-seed window-level composite violation rate (%) by horizon, closed-loop. The Ant-v5 violation rates refer to the predictive composite and are zero at all reported horizons. The legacy single-seed runs used 3 episodes per condition ( windows at ), whereas the seed-0 horizon analysis in Appendix C (Tab. 10) uses 10 episodes (); the composite-label rates for noise at (37.0% vs. 35.6%) therefore differ by sampling, not by definition.
| Condition | Horizon | |||
|---|---|---|---|---|
| Ant-v5: violation rate (%) | ||||
| All conditions | 0.0 | 0.0 | 0.0 | 0.0 |
| HalfCheetah-v5: correlation () | ||||
| baseline | -0.07 | -0.04 | -0.20 | -0.37 |
| force 5N | -0.01 | -0.14 | -0.26 | -0.57 |
| force 15N | -0.07 | +0.04 | -0.08 | -0.15 |
| noise 0.05 | -0.13 | -0.16 | -0.14 | -0.20 |
| noise 0.15 | -0.09 | +0.06 | +0.27 | +0.27 |
| mass 0.8x | +0.03 | -0.06 | +0.08 | +0.00 |
| mass 1.6x | -0.07 | -0.15 | -0.23 | -0.35 |
| HalfCheetah-v5: violation rate (%) | ||||
| baseline | 1.0 | 3.5 | 7.4 | 16.7 |
| force 5N | 0.7 | 3.5 | 7.4 | 8.3 |
| force 15N | 1.0 | 3.5 | 7.4 | 8.3 |
| noise 0.05 | 1.7 | 7.0 | 11.1 | 16.7 |
| noise 0.15 | 7.7 | 29.8 | 37.0 | 66.7 |
| mass 0.8x | 0.7 | 1.8 | 3.7 | 0.0 |
| mass 1.6x | 1.3 | 5.3 | 11.1 | 16.7 |
Selective prediction. We evaluate disagreement-based abstention by rejecting windows whose STL disagreement exceeds a threshold:
where is the empirical disagreement threshold selected to achieve the specified coverage level. We report the retained violation rate at coverage levels of 100%, 90%, 80%, and 70%. This analysis examines whether removing windows with high disagreement reduces the violation rate among the retained predictions.
B.7 Future STL Violation: Legacy Correlations and Horizon Illustration
Under the selected Ant-v5 specifications, none of the evaluated monitoring windows produced a negative composite robustness score. This result does not contradict the 40% episode-level violation rate reported in Appendix B, because the predictive-window analysis uses shorter -step windows and excludes the recovery specification from the composite, whereas the episode-level analysis evaluates full 500-step trajectories using all six specifications. Moreover, horizon-dependent analysis for Ant-v5 is limited because several shifted conditions terminate before 20 steps, leaving insufficient data for reliable estimates at .
For HalfCheetah-v5, the fraction of windows containing at least one violation increases with the prediction horizon, with the strongest effect under observation noise (e.g., in this legacy single-seed analysis the rate rises from 7.7% at to 66.7% at under noise , Tab. 6; the seed-0 horizon analysis gives 10.2% to 67.5%, Tab. 10, and the multi-seed aggregate is at ). Some individual conditions exhibit moderate associations between ensemble STL robustness disagreement and future violations, but this association varies in both direction and magnitude across shifts and horizons, providing no consistent evidence that distinguishes windows containing future violations from those without them. Consistent with this, the main analysis finds that the
HalfCheetah-v5: Future violations at

Disagreement–violation alignment is inconsistent

Figure 4: Left: Future violation rate for HalfCheetah-v5 at across representative distribution shifts. Severe observation noise produces the highest violation rate (66.7%). Right: Point-biserial correlation between ensemble STL robustness disagreement and future violation across the same conditions. The correlations vary in both magnitude and direction; notably, the condition with the highest violation rate has only a moderate positive correlation (), while several lower-violation conditions exhibit negative correlations. These condition-level results provide no consistent evidence that ensemble STL robustness disagreement reliably identifies future STL violations.
disagreement–violation correlation is weak and that does not reliably indicate when predictions are trustworthy (Section 7). A concrete illustration of optimistic predictive bias arises under noise at , where the predictive score stays at +0.15 while the retrospective score drops to +0.01 and 66.7% of windows contain violations in this legacy single-seed slice, yet the disagreement–violation correlation is only +0.27.
B.8 Disagreement-Penalized Score
We evaluate for . Table 7 reports the components for the Ant-v5 force 15N condition and HalfCheetah-v5 noise at , the latter chosen because it has the lowest mean robustness among conditions with data. The same disagreement penalty produces a similar relative reduction in both examples (32% for Ant-v5 and 33% for HalfCheetah-v5), but its absolute decision impact is greater when the mean robustness has a smaller positive margin to the zero boundary. In the HalfCheetah-v5 case, the score approaches zero without crossing it. These examples demonstrate sensitivity of the reported robustness margin to disagreement penalization, not an improvement in safety-detection performance. Neither example crosses the violation boundary.
Although neither example crosses the violation boundary, a sufficiently large penalty could push a small positive margin below zero. A limitation of this construction is that the penalized score
Table 7: components, , closed-loop. Ant-v5 under force 15N; HalfCheetah-v5 under noise .
| Ant-v5 (force 15N) | |||
| +0.72 | 0.000 | +0.72 | |
| +0.72 | 0.045 | +0.67 | |
| +0.72 | 0.090 | +0.63 | |
| +0.72 | 0.226 | +0.49 | |
| HalfCheetah-v5 (noise ) | |||
| +0.15 | 0.000 | +0.15 | |
| +0.15 | 0.010 | +0.14 | |
| +0.15 | 0.020 | +0.13 | |
| +0.15 | 0.050 | +0.10 | |
Table 8: Per-specification (binary, each spec alone) violation rate (%) at , seed 0 (10 episodes). Recovery robustness is computed on the truncated -step window; the full 50-step interpretation is available only at . These per-spec rates use their own single-spec targets and are not comparable to the composite-label rate in Tab. 10 or the any-violation rate in Tab. 1 (same seed-0 windows under noise 0.15: height 95.6%, composite 35.6%, any-violation 95.6%). Composite masks per-spec failures: Ant composite 0% while no_falls/recovery violate frequently; HalfCheetah violations concentrate in no_falls/recovery while stability_pitch/contact_safety are near-constant.
| Condition | Ant-v5 | HalfCheetah-v5 | ||
|---|---|---|---|---|
| no_falls | recovery | no_falls | recovery | |
| baseline | 88.9 | 88.9 | 90.0 | 64.4 |
| noise 0.15 | 100 | 100 | 95.6 | 50.0 |
| mass 1.6x | 79.2 | 75.0 | 98.9 | 76.7 |
| friction 0.5x | 100 | 100 | 95.6 | 66.7 |
| compound | 100 | 100 | 98.9 | 75.6 |
conflates model disagreement with safety; when the baseline robustness is already close to zero, this conflation has practical consequences.
C Supplementary Primary-Analysis Details
C.1 Per-Specification Violation Details
Two distinct operations are applied to the recovery property throughout the evaluation. First, it is excluded from the predictive composite robustness because its 50-step temporal obligation is longer than the -step prediction windows considered here. Second, when recovery robustness is reported per specification, it is computed with pastified online semantics on the available -step trace. The resulting value summarizes the available trace prefix rather than establishing whether the original 50-step recovery obligation has been satisfied; the full interpretation requires a sufficiently long trace (). Although recovery is excluded from the predictive composite at , its truncated robustness remains part of the per-specification any-violation target (Sec. 4). The per-specification results below use this truncated computation and should be interpreted accordingly.
The Ant predictive composite has no observed negative-robustness windows (0% composite-label prevalence across all evaluated conditions and seeds, –49 windows per slice at ); the weighted mean is dominated by the large positive velocity_tracking contribution (), which can offset negative height and recovery robustness. The three reported rates measure different targets on the same windows and are not interchangeable: per-specification binary rates (Tab. 8; e.g. height 95.6% under noise 0.15, seed 0, ), the composite-label rate (Tab. 10; 35.6% for that slice, corresponding to negative observed composite robustness), and the any-violation rate (Tab. 1;
Table 9: Ant-v5 any-violation target: the three seed-condition slices () whose labels admit both classes; all other evaluated slices are 100% positive (single class). AUROC is undefined for the remaining slices. The any-violation label is the union of all evaluated per-specification labels, including truncated recovery labels. Seeds are PPO training seeds .
| Condition | seed | n | Viol% | |||
|---|---|---|---|---|---|---|
| baseline | 0 | 36 | 88.9 | 1.00 | 0.76 | 0.81 |
| mass 1.6x | 0 | 24 | 79.2 | 0.98 | 0.83 | 0.87 |
| friction 0.5x | 42 | 44 | 95.5 | 1.00 | 0.42 | 1.00 |
95.6% for seed 0 and 55.9±28.6% across seeds, based on the union of the evaluated per-specification labels).
HalfCheetah composite-score violations occur in 10.4±6.0% of windows at baseline and 26.3±7.7% under noise 0.15 at (49.2±13.6% at ), whereas the broader any-specification violation target in Tab. 1 occurs in 56±25% and 56±29% of windows, respectively. Per-specification diagnostics attribute failures almost entirely to no_falls (85–99%) and recovery (50–77%; truncated-window interpretation at ); stability_pitch is approximately 0% (2.2% under severe noise) and contact_safety is 0%. Per-specification binary prediction is therefore primary; composites are secondary indices. Ant per-specification failure ranking, where AUROC is defined (baseline and mass 1.6x; remaining conditions have 100% per-specification violation rates), gives AUROC 0.75–0.86 on no_falls and 1.0 on recovery, with partially informative (0.73–0.83). Alternative representations on the same multi-seed any-violation target () give AUROC 0.45±0.06/0.54±0.06 at baseline, 0.51±0.11/0.48±0.01 under noise 0.15, and 0.45±0.09/0.44±0.04 at mass 1.6x.
C.2 Ant Any-Violation Target
The Ant any-violation label is the union of the evaluated per-specification window labels:
where contains all per-specification labels produced by the evaluation for environment and horizon , indexes those evaluated specifications, and is the indicator function. For Ant-v5, this includes the truncated recovery label when , even though recovery is excluded from the predictive composite at those horizons. The any-violation target is therefore not restricted to the five properties included in the predictive composite. The recovery label represents the available trace prefix and must not be interpreted as establishing whether the complete 50-step recovery obligation has been satisfied. The results use the same monitoring windows as the per-specification rates in Tab. 8.
Across 8 evaluated conditions and 3 seeds (24 seed-condition slices at ), any-violation prevalence is 79–100%. Twenty-one of the 24 slices are 100% positive, so AUROC is undefined there because no negative class exists (not because no positives exist). The three slices admitting both classes are listed in Tab. 9. In all three, ranks violations near-perfectly while ranges from near chance (0.42) to partially informative (0.83); with as low as 2, these slices are descriptive only. These results provide per-specification evidence about the evaluated safety properties, but they do not establish a broadly usable Ant-v5 any-violation discrimination benchmark: the strong label imbalance makes AUROC undefined in most seed-condition slices. Ant therefore contributes per-specification violation rates (Tab. 8), the three both-class slices in Tab. 9, and evidence that composite-level and any-violation targets can exhibit very different prevalence. This distinction is why the quantitative failure-prediction analysis in the main text is centered on HalfCheetah-v5.
C.3 Horizon Sensitivity (Severe Noise)
Table 10 and Fig. 5 give the full multi-metric numbers and trend underlying the main-text horizon summary.

Figure 5: Horizon sensitivity under severe noise (HalfCheetah noise , seed 0; values from Tab. 10). Longer horizons expose more violations (10.2% at to 67.5% at ), yet AUROC climbs only from 0.15 toward 0.41 while degrades gracefully from 0.90 to 0.71. Dashed gray line marks chance (0.5). Single-seed illustration of the pattern reported multi-seed at in Sec. 7.1 (Tab. 6 reports 66.7% at on the legacy single-seed windowing).
Table 10: Horizon sensitivity under severe noise (HalfCheetah noise , seed 0). Viol% is the composite-label rate (fraction of windows with negative observed composite), not the per-specification or any-violation rates of Tab. 8/Tab. 1; on the same windows the any-violation rate is higher (e.g. 95.6% at ). ranks failures across horizons while remains at or below chance. Baseline shows the same pattern at lower prevalence.
| Viol% | AUROC() | AUROC() | AUPRC() | AUPRC() | ||
|---|---|---|---|---|---|---|
| 1 | 990 | 10.2 | 0.15 | 0.90 | 0.06 | 0.74 |
| 5 | 190 | 23.7 | 0.29 | 0.79 | 0.17 | 0.67 |
| 10 | 90 | 35.6 | 0.36 | 0.73 | 0.28 | 0.63 |
| 20 | 40 | 67.5 | 0.41 | 0.71 | 0.64 | 0.82 |
C.4 Current-State Baseline and Safe-at-Start Analysis
The instantaneous composite is
where is the safety-variable vector extracted from the current observation, is the pointwise robustness of specification , and contains the pointwise-applicable specifications and excludes response properties such as recovery, which are not defined at a single instant. It evaluates the same safety variables, thresholds, and predicates as the predictive monitor, but without a future rollout. In the evaluation implementation, both and the predictive composite are computed as unweighted means of the applicable per-specification robustness values. The weighted expression in Sec. 4 is the general formulation; the reported experiments use equal aggregation weights. Thus, the two scores use the same aggregation principle and pointwise-applicable predicates, and differ in their temporal evaluation: reads the current observation, whereas evaluates a policy-conditioned world-model rollout.
Table 11 compares their failure-ranking performance and reports the pointwise-safe-at-start analysis at (multi-seed; pointwise-safe-at-start means that all pointwise predicates are satisfied at the query time). Across all windows, achieves AUROCs close to those of , with differences of at most 0.03 across the reported conditions. Among windows satisfying all pointwise predicates at their start, future violations remain frequent (30–45%, depending on the condition). However, and again exhibit similar ranking performance (safe-at-start AUROC differences at most 0.02), whereas provides weaker and less consistent discrimination (0.30–0.67). Thus, future violations can occur after an initially predicate-satisfied state, but these results do not establish a substantial ranking advantage from the world-model rollout over instantaneous robustness; ensemble disagreement contributes little additional information about future violations in this setting. Ant-v5 has very few pointwise-safe-at-start windows: (baseline), 0% (force 15N),
Table 11: Current-state baseline and safe-at-start analysis, HalfCheetah-v5, , mean±std over 3 seeds (any-violation target). : instantaneous robustness at time (no prediction). Safe: all pointwise predicates satisfied at ; “safe viol.%” is the future any-violation rate within that subset. SAFE columns: AUROC restricted to safe-at-start windows with the future-only label.
| Condition | All windows (AUROC) | Safe-at-start | ||||||
|---|---|---|---|---|---|---|---|---|
| Safe% | viol% | |||||||
| baseline | ||||||||
| noise 0.05 | ||||||||
| noise 0.15 | ||||||||
| mass 0.8x | ||||||||
| mass 1.6x | ||||||||
| friction 0.5x | ||||||||
| compound | ||||||||
| force 5N | ||||||||
| force 15N | ||||||||
Table 12: Height-threshold sensitivity (no_falls ), HalfCheetah-v5, , mean±std over 3 seeds, any-violation target.
| baseline | noise 0.15 | |||||
|---|---|---|---|---|---|---|
| viol% | viol% | |||||
| 0.08 | ||||||
| 0.10 | ||||||
| 0.12 | ||||||
(noise 0.15), and (mass 1.6x; driven by a 25% seed-0 slice), i.e. its any-violation windows are almost all already unsafe at the monitor’s query time.
C.5 Height-Threshold Sensitivity
Table 12 varies the no_falls height threshold around the default (HalfCheetah, , multi-seed). The default was selected manually as a rounded safety margin below the observed 1st percentile of nominal body height (0.116 m); the tested range brackets this default, with the upper end slightly exceeding the nominal 1st percentile but remaining far below nominal running heights, so all three thresholds still mark the vast majority of nominal steps as safe. Any-violation prevalence and AUROC shift only marginally, and holds at every tested threshold. The observed ranking is therefore robust across the three tested height thresholds. This check addresses threshold choice only; unit-normalized composite variants (rescaling heterogeneous robustness quantities before averaging) remain untested.
C.6 Ensemble-Size Sensitivity (Full Detail)
-ablation over . gives (AUROC N/A). The magnitude of stabilizes for (HC noise s0: ), while increasing ensemble size does not consistently improve failure discrimination:
| HC s0 | ||||
|---|---|---|---|---|
| baseline AUROC | 0.15 | 0.69 | 0.65 | 0.51 |
| noise 0.15 AUROC | 0.36 | 0.36 | 0.34 | 0.33 |
| mass 1.6x AUROC | 0.18 | 0.72 | 0.66 | 0.58 |
At noise 0.15: AUROC for (near chance throughout). increases with in this ablation ( at noise ), reflecting the
Table 13: Disagreement-penalized score and risk-coverage on the HalfCheetah any-violation target (noise , meanstd over 3 seeds). Flag rate is the fraction of windows with (the fixed STL satisfaction boundary, applied uniformly across conditions and horizons). Penalization is flat () while flag rate rises; abstention shows little change across coverage levels.
| AUROC() | Flag rate % | |
|---|---|---|
| 0 | 0.9830.003 | 5.21.0 |
| 1 | 0.9830.002 | 5.21.0 |
| 2 | 0.9860.004 | 5.91.0 |
| 5 | 0.9890.004 | 8.13.8 |
| 0 | 0.9890.016 | 3.32.4 |
| 1 | 0.9900.015 | 3.32.4 |
| 2 | 0.9920.011 | 4.23.1 |
| 5 | 0.9970.005 | 5.85.1 |
| Risk-coverage (retained viol. %) | ||
| 100% cov. | 55.928.6 | 64.224.4 |
| 90% cov. | 54.729.9 | 62.026.5 |
| 80% cov. | 54.629.9 | 60.428.2 |
| 70% cov. | 53.429.8 | 60.727.8 |
additional ensemble members included in the dispersion estimate, yet remains non-predictive. Ant stabilizes 0.04 for with sign-flipping ; composite so AUROC is N/A at all .
C.7 Noise-Model and Shift Ablation (Full Detail)
Noise-model and shift ablation. In a separate noise-injection ablation, observation noise is injected into each predicted observation at every rollout step, using the corresponding deployment-time noise setting. This differs from the standard rollout, in which subsequent predicted observations are generated by the learned dynamics model without reapplying the deployment-time observation-noise process. Under severe noise (noise 0.15, ), the ablation has little effect (AUROC 0.360.33, bias ), whereas under moderate noise (noise 0.05) it has a more visible effect (AUROC 0.260.38).
C.8 Disagreement-Based Reliability and Selective Prediction (Full Numbers)
Reliability and selective prediction (multi-seed). Reliability buckets are non-monotonic: multi-seed mean per quintile at HC noise 0.15 is 0.24, 0.36, 0.30, 0.28, 0.27 (std up to 0.16). On the composite target, the retained violation rate changes little as coverage decreases across seeds: at retained violation rates are at 100/90/80/70% coverage (: ). On the any-violation target the pattern is the same (Tab. 13). In the evaluated severe-noise setting, -based abstention did not reduce retained violation risk on either target.