Saturation-Aware Reachability: Using Sensor Clipping to Shrink Hybrid-System Verification

When a sensor saturates, it stops telling the controller anything new. A range sensor pinned at its maximum, or a camera pixel blown to white, returns the same number for every physical state beyond the clipping point. The image-restoration literature treats this as a loss: information is erased and has to be guessed back. This proposal treats it as a gift to formal verification, the task of proving that a closed-loop system can never reach an unsafe state. If the controller sees the same constant reading across a whole region of plant states, then every decision the controller makes is identical across that region. A verifier can therefore skip the expensive work of splitting reachable sets along the controller's decision thresholds. It can also merge branches that differ only in the order in which sensors went into saturation.

The opportunity matters because saturation is common in real cyber-physical systems, and because current reachability tools handle it badly. The usual way to model a clip is to add discrete modes. A system with $k$ sensors, each in a low-clipped, linear, or high-clipped regime, has up to $3^k$ combined modes, and every crossing between regimes adds another guard intersection. Guard intersections and grazing contacts are exactly where tools such as SpaceEx lose control of their over-approximation error. We propose a sound reduction for saturating sensors. It is built into a support-function reachability engine, and we will test it on saturated variants of the ARCH14 hybrid-systems benchmarks.

Core Claim

Let the plant state be $x$, the measured output $y = \mathrm{sat}(Cx) = \max(0, \min(V_{\max}, Cx))$ applied per sensor channel, and the controller a hybrid program with discrete location $q$ and control law $u = \kappa(q, y)$. Every controller guard is a predicate $g(q, y)$ on the reading, not on $x$. On the set where sensor $i$ is high-clipped, $S_i = \{x : C_i x \ge V_{\max}\}$, the reading $y_i$ equals the constant $V_{\max}$. It follows that

$$ g(q, y)\big|_{x \in S_i} \;=\; g(q, y_{-i}, V_{\max}), $$

where $y_{-i}$ denotes the other channels. In words, any guard that depends only on a saturated channel is uniformly true or uniformly false over the whole saturated region. While a symbolic state stays inside $S_i$, the verifier never needs to intersect it with that guard. The only boundary that matters is the exit surface $C_i x = V_{\max}$. Inside the region the closed loop also runs open-loop on that channel with a constant input, and support-function methods propagate affine dynamics with constant input cheaply and accurately.

A second consequence is closer to partial order reduction. Partial order reduction is the family of techniques that avoids exploring execution orders that cannot change the outcome. Suppose two symbolic branches differ only in whether sensor 1 or sensor 2 saturated first, and both have since entered the region where both are clipped. From that point the controller receives the identical observation sequence on both branches. The branches can be clustered by taking the convex hull of their plant sets, which is sound, and propagated once. How much precision the hull costs is governed by how far the two branches' plant states have drifted apart under shared dynamics.

This mirrors Value-centric Dynamic Partial Order Reduction, which merges thread interleavings that read and write the same data values. That paper cut parker(6) from over 1.1 million traces under Source-DPOR to 38,670. The analogy supplies the method's intuition: equivalence is defined by what the observer sees, not by the internal path. The difference is real, though. VC-DPOR works on discrete memory traces and merges exactly. We work on continuous sets, and our merge is an over-approximation whose precision cost has to be measured.

Research Program

The first piece is theory. We will prove soundness of guard pruning and of saturation-order clustering for linear hybrid automata whose controller guards are affine in clipped outputs. We will also derive a bound on the extra over-approximation that clustering introduces, as a function of the time since the branches entered the shared saturated region and the norm of the matrix exponential of the plant dynamics. That bound determines when to cluster and when to keep branches separate. Partial saturation, where only some channels clip, falls out naturally because the pruning applies channel by channel. This matches the observation in Gradient domain color restoration of clipped highlights that partially clipped channels behave very differently from total white-outs.

The second piece is implementation. We will add a preprocessing pass to a SpaceEx-style support-function engine, in the spirit of Running SpaceEx on the ARCH14 Benchmarks. The pass will tag guards by which sensor channels they read, mark saturated invariants, and suppress the tagged guard intersections inside those invariants. A clustering step at saturation entry will compare pending symbolic states by their controller location and saturation pattern.

The third piece connects to perception. Restoration work, including ECMamba, Flare7K and the gradient-domain method above, agrees that in fully saturated dead zones the content is physically erased and any restored value is a hallucination. That conclusion constrains our design. A verifier must not trust a learned restorer's output inside a dead zone. Our model therefore forbids the controller from depending on "restored" values there and treats the reading as exactly the clipped constant. We will use Flare7K's flare templates only to set realistic durations and spatial extents of camera blinding events in the perception-in-the-loop benchmark. We will not use them to train a restorer.

Baselines

The naive reference point is SpaceEx with saturation encoded as explicit discrete modes and no saturation-specific treatment. It is the same engine with the same time step, clustering settings, and timeout, so any gain comes from our pass alone. On the unsaturated originals, the file reports that SpaceEx verified the DC-DC converter's ±0.5 voltage window in 926 seconds, and certified a platoon safe distance of 25.62 m (28.5 m under worst-case 20 s communication loss). On the motor-transmission model, formal reachability failed after the sixth collision. These are the reference numbers we will first reproduce. No reported result was found on Lacuna for saturated variants of these benchmarks.

The strongest competitor is the interval or nondeterministic abstraction of the sensor. In this approach the clip is replaced by a reading drawn from an interval, which is the same move Running SpaceEx on the ARCH14 Benchmarks makes for disturbances. It removes the saturation modes entirely, so it is the cheapest sound option and may well win on runtime. It will be run with the same engine and budget. To beat it, our method must certify a tighter safety bound, or verify a property the interval model reports as possibly violated, at comparable or lower runtime.

We will also compare against the engine's generic aggressive clustering applied with no knowledge of saturation, tuned over the same grid of clustering thresholds we allow ourselves. Two ablations isolate the key ingredients. The first enables guard pruning without saturation-order clustering. The second enables saturation-order clustering without guard pruning.

Why not just…?

Why not just model the clipped sensor as bounded nondeterministic noise? This is sound, and it is the most serious threat. Its weakness is that it throws away the one fact the controller actually gets: the reading is exactly $V_{\max}$. It therefore lets the controller take both branches of every threshold. The file's evidence that interval wrapping accumulated until analysis failed on the motor-transmission model suggests coarse bounds compound over switching events, but it does not prove they will fail on our saturated variants. The head-to-head comparison of certified bounds will settle this. If the interval model matches our tightness, the guard-pruning contribution is moot and we will report that.

Why not just turn on generic clustering in the existing tool? Generic clustering merges sets by geometry and ignores which controller decisions remain reachable. It can merge branches whose future controller inputs differ and so inflate error. It can also fail to merge branches that are observationally identical but geometrically separated. The tuned-clustering baseline addresses this directly. If it closes the gap, our contribution reduces to a principled default setting rather than a new reduction, and we would say so.

Why not just sample trajectories, as the ARCH14 authors did for the gearbox? Sampling 200 trajectories gave an empirical bound of $I \le 48.7$ in Running SpaceEx on the ARCH14 Benchmarks, but it cannot rule out rare violations. Rare violations are precisely what clipping produces, for example a vehicle blinded for a short window. We will use sampling only as a sanity check that our certified bounds contain all sampled behavior.

Proposed Experiments

We will build saturated variants of the three ARCH14 systems. The DC-DC converter gets a clipping voltage sensor feeding its switching controller. The platoon gets range sensors that clip at maximum range and during injected blinding windows whose length distribution follows Flare7K-style flare events. The motor-transmission model gets a clipped position sensor. For each system we will sweep the number of saturating sensors $k$ from one to eight on a scaled platoon. We will report runtime, number of symbolic states, number of guard intersections, and the certified bound: voltage window, minimum gap, or impact intensity.

The decisive checks are three. First, the symbolic-state count under our method should grow far more slowly in $k$ than the roughly $3^k$ growth of the naive encoding. Second, at equal runtime, our certified platoon gap and impact bound should be strictly tighter than the interval abstraction's. Third, on the motor-transmission variant, our method should carry formal reachability past the sixth collision where the baseline engine stopped.

A negative outcome on the second check, with the interval model equally tight, would mean saturation structure buys speed but not precision. That would narrow the claim to a runtime result.