Data-driven safety verification proves that a robot or controller stays out of danger without a written-down physics model. It learns a stand-in model from logged trajectories, measures how wrong that model can be on held-out data, and checks that every trajectory within that error stays safe. The error bounds are only valid if the system at deployment behaves like the system that produced the held-out data. When something the sensors cannot see changes, such as a payload mass, a friction regime, or an internal recovery variable, the bounds quietly stop holding. The usual alarm is "prediction errors went up," and that alarm cannot say whether the cause is a hidden change, an outside disturbance, or bad luck in a small sample.
Particle physics met the same ambiguity in the solar neutrino problem and solved it with a design idea, not more data. The Sudbury Neutrino Observatory measured the same neutrino flux in two ways. The charged-current reaction sees only electron neutrinos. The neutral-current reaction is blind to which type of neutrino arrives. The gap between the two counts isolated the transformed component without trusting the solar model (Measurement of CC interactions produced by 8B solar neutrinos at SNO; Neutrino observations from the Sudbury Neutrino Observatory). We propose the control-theoretic counterpart. A safety certificate is built from two calibrated error channels: one whose error distribution is provably unchanged by the hidden mode, and one that is sensitive to it. Comparing how often each channel's bound is exceeded gives an exact, finite-sample test for a hidden change. It also gives a certificate that falls back to the mode-blind channel when the test fires. The certificate's validity then degrades in a known way under hidden changes, at a detection speed set by binomial counting statistics.
Core Claim
Single-channel conformal reachability treats all prediction error as one exchangeable pool. Conformal reachability here means calibrating error bounds on held-out data so they hold with a chosen probability without assuming a noise distribution. Prior work in this line assumes full observability: ReCORS (Conformal Reachability for Safe Control in Unknown Environments) and neural-surrogate flowpipes (Data-Driven Reachability Analysis of Stochastic Dynamical Systems with Conformal Inference) both state this assumption. Our claim is that in many physical systems one can split the observation residual into two parts. The first is a mode-blind channel $A$, whose conditional error distribution does not depend on the hidden mode $z$. Kinematic consistency is the canonical example: position must integrate velocity whatever the mass or friction. The second is a mode-sensitive channel $B$, such as acceleration predicted from applied force, which depends on $z$. Conformal bounds on $A$ stay valid under any shift in $z$. Bounds on $B$ are tighter but valid only for the calibrated mode.
The certificate uses the tight $B$ envelope while a two-channel exceedance test is silent, and switches to the $A$-only envelope when the test fires. If $\epsilon_A, \epsilon_B$ are the conformal miscoverage levels and $\beta$ is the probability that a hidden change persists undetected for longer than the fallback window, the deployed certificate holds with probability at least $1-\epsilon_A-\epsilon_B-\beta$. This follows from a union bound over the three failure events.
The point of the comparison is attribution, as in SNO's CC/NC deficit. Three outcomes can be told apart:
- If both channels exceed their bounds more often, the cause is an outside disturbance.
- If only $B$ exceeds its bound more often, the cause is a hidden mode change.
- If neither channel's excess clears its exact binomial threshold, the alarm is a statistical fluctuation.
The Statistical Sensitivity Limit as a Design Quantity
Channel $B$ is calibrated to miscoverage $\epsilon_B$. After a hidden change, its true exceedance rate rises to some $\epsilon_B' > \epsilon_B$. Over a monitoring window of $n$ steps, the exceedance count is binomial. Reliable detection therefore needs roughly
$$ n \gtrsim \frac{(z_{1-\alpha}+z_{1-\beta})^2\,\epsilon_B'}{(\epsilon_B'-\epsilon_B)^2}, $$
where $\alpha$ is the false-alarm rate and $z$ denotes standard normal quantiles. The form is the normal approximation to a one-sided binomial test, the same inverse-square law that bounds rare-event counting in physics.
This makes the minimum detectable mode shift a quantity the method reports, analogous to SNO separately reporting statistical and systematic flux errors (Measurement of the Total Active 8B Solar Neutrino Flux at the Sudbury Neutrino Observatory with Enhanced Neutral Current Sensitivity). It also states plainly what the method cannot do. Hidden changes that shift exceedance rates by less than this limit within the fallback window are not caught, and $\beta$ must absorb them.
The two channels of a single rollout are correlated. We will therefore use exact paired tests, Clopper–Pearson on discordant exceedances, rather than the approximation above. Lefringhausen et al. use the same Clopper–Pearson interval to validate their certificates (Barrier Certificates for Unknown Systems with Latent States and Polynomial Dynamics using Bayesian Inference).
Research Program
The first component is channel construction. For systems with known structure, the mode-blind channel is written by hand from kinematic or conservation identities that hold for every value of the hidden parameter. For systems without such structure, we will search for a residual feature whose calibration quantiles are statistically indistinguishable across a set of training modes. We will keep it only if a held-out mode also passes. This learned version is the riskier part of the program, and we will report it separately.
The second component is the certificate. We extend the ReCORS reachability machinery so that the reachable set is propagated twice. Once uses the $A$-channel bound alone, with the $B$-dependent dynamics treated as bounded by the worst case over a known parameter box. Once uses both bounds. The switching rule and fallback window are fixed before deployment.
The third component is the analysis. We will prove the coverage statement above. We will also derive the trade-off between window length $n$, detectable shift, and how conservative the fallback envelope is.
The role of each direction is uneven by design. The neutrino work supplies the structural template: an invariant channel plus a sensitive channel, with their difference as a model-independent test. It contributes no data. The statistical-sensitivity literature supplies the counting limits that decide when a deficit is real. The causal rare-event work of Haghighat and Janzing shows that likelihood-ratio rather than linear scores are needed when probabilities are tiny. That result motivates using exact log-likelihood-ratio tests on exceedances, rather than differences in empirical rates, when $\epsilon_B$ is near 0.001. Data-driven verification supplies the machinery we build on.
Baselines
The naive reference point is a nominal-model certificate with a fixed safety margin, tuned once on the calibration modes. The file records how badly prior-only reasoning can fail: on FitzHugh–Nagumo, the prior-only baseline found a valid barrier certificate in "0%" of runs (Lefringhausen et al.). Beating this reference means keeping coverage under hidden shifts without the margin having been tuned on the shifted mode.
The strongest existing distribution-free method is ReCORS, run as a single-channel conformal certificate in two forms. One is calibrated on the nominal mode only. The other is calibrated on a mixture of all training modes, which is the fair and stronger version. Both use the same calibration budget, surrogate architecture and reachability engine as our method. On fully observed Cartpole, ReCORS reports verified guarantees for "over 50 steps" against a "20-step horizon" for safe-RL baselines (Conformal Reachability for Safe Control in Unknown Environments). That is the number to match when no hidden change occurs. Beating it means equal verified horizon in the nominal mode, plus empirical coverage at or above $1-\epsilon$ after test-time mode shifts where mixture-calibrated ReCORS falls below it.
For the reachability side we also run the Hashemi et al. flowpipes at their specified $\epsilon = 0.01$ on ACC and Quadcopter. Their reported runtimes are about "10 seconds" and "7-10 seconds"; no flowpipe-volume number was found on Lacuna. We compare on envelope volume and coverage at equal sample counts.
For latent-state systems, the Bayesian barrier method of Lefringhausen et al. is the strongest competitor on FitzHugh–Nagumo. Under their setup of "2,000 noisy output measurements" it reports "100%" SOS feasibility and "98.75%" mean safety probability at "99.9%" confidence. Running our method on the same 2,000 measurements, we count it as beating this baseline only if it matches that safety probability without a parametric prior. We also want it to stay valid when the true dynamics are made non-polynomial, where their method is not designed to apply.
PPO-Lagrangian from SafePO (Safety Gymnasium) is included as the unverified reference.
The key ablations isolate the invariant channel. In one, we replace $A$ with a second, independently trained mode-sensitive channel, so the method has two channels but no invariance. In another, we keep the two-channel test but remove the fallback, so attribution exists but is never acted on.
Why not just…?
Why not just calibrate a single conformal bound on data from every mode? This is the most serious threat. If the deployment mode frequencies match calibration, mixture calibration is valid and simpler. Its guarantee, however, holds only on average over the calibration mode distribution. It breaks when the deployed system sits in one mode longer than calibration anticipated, which is exactly the hidden-change case. Our shifted-proportion experiments test this directly. If mixture-calibrated ReCORS keeps coverage under the shifts we inject, the two-channel construction is not justified and we will say so.
Why not just run a change-point detector on the single residual stream? A one-channel detector sees only that errors rose. In SNO's terms, it sees the electron-neutrino deficit without the neutral-current reference. It cannot separate a hidden mode change from an outside disturbance, which call for different responses. We will inject three perturbation types (hidden parameter switch, external force, pure resampling noise) and compare attribution accuracy. A tuned single-channel CUSUM detector runs on the same windows. If CUSUM attributes as well, the invariant channel adds nothing.
Why not just infer the hidden state with a Bayesian model, as Lefringhausen et al. do? Where the dynamics are polynomial and the prior is reasonable, their method works and gives tighter certificates than our fallback envelope. Its limits are the polynomial restriction and dependence on the prior. Our non-polynomial FitzHugh–Nagumo variant and a misspecified-prior run will show whether those limits bite in practice. If they do not, our contribution narrows to the non-polynomial regime.
Why not just collect more calibration data? The detection bound shows the cost: halving the detectable exceedance shift requires roughly four times the window. Near-failure trajectories are hazardous to collect, and more data still cannot reveal a mode never seen in calibration.
Proposed Experiments
We create hidden-mode variants of four benchmarks:
- Cartpole and the 2D quadrotor from the ReCORS suite, with pole mass and payload switched mid-episode and unobserved.
- The Hashemi ACC benchmark, with a hidden road-friction regime.
- FitzHugh–Nagumo with its latent recovery variable, in both the original polynomial form and a non-polynomial variant.
In each, the mode-blind channel is the kinematic-consistency residual and the mode-sensitive channel is the force-to-acceleration residual. Safety Gymnasium CarGoal serves as the higher-dimensional test of the learned-invariance channel.
We measure four things:
- empirical safety coverage after shifts, against the nominal $1-\epsilon$ at 95%, 99% and 99.9%;
- verified horizon and envelope volume;
- attribution accuracy across the three injected perturbation types;
- observed detection delay against the predicted binomial sensitivity limit.
Three checks decide the outcome. First, in the nominal mode the method should match ReCORS's verified horizon, showing the second channel costs little when nothing changes. Second, under hidden switches its coverage should stay at or above target while mixture-calibrated ReCORS drops below. Third, detection delay should track the inverse-square prediction across a sweep of shift sizes, confirming that the reported sensitivity limit is honest rather than decorative. If the learned invariant channel fails the held-out-mode test on CarGoal, we will report that the method needs hand-derived invariants.
References
- Measurement of CC interactions produced by ${}^8$B solar neutrinos at SNO
- Neutrino observations from the Sudbury Neutrino Observatory
- Conformal Reachability for Safe Control in Unknown Environments
- Data-Driven Reachability Analysis of Stochastic Dynamical Systems with Conformal Inference
- Measurement of the Total Active<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline"><mml:mmultiscripts><mml:mi mathvariant="normal">B</mml:mi><mml:mprescripts/><mml:none/><mml:mn>8</mml:mn></mml:mmultiscripts></mml:math>Solar Neutrino Flux at the Sudbury Neutrino Observatory with Enhanced Neutral Current Sensitivity
- Barrier Certificates for Unknown Systems with Latent States and Polynomial Dynamics using Bayesian Inference
- Formalizing and Falsifying Causal Pathways of Rare Events
- Safety Gymnasium: A Unified Safe Reinforcement Learning Benchmark