To say how often a neural network violates a safety rule across its whole operating range, rather than only whether it ever does, there are two options today, and both waste effort. Exact verifiers carve the input space into boxes and prove each box safe or unsafe. Their answer is sound, but the number of boxes grows exponentially and runs can time out after a day. Random sampling is cheap, but it misses rare failures. On a robot navigation network, plain Monte Carlo reported a 0% violation rate where exact analysis found 0.00012% (Scaling #DNN-Verification Tools).
This proposal treats the two as interchangeable ways of spending compute on one quantity: the width of a confidence interval on the violation rate. At every step an adaptive sampler looks at the current partition of the input space and asks whether the next second of compute buys more interval shrinkage by formally splitting a box or by drawing more samples inside a box that has not yet been resolved. Proofs remove volume from the uncertain pool entirely. Stratified samples estimate what remains, and they concentrate on the few boxes where violations can still hide.
Core Claim
The violation rate (VR) is the fraction of a bounded input domain on which the network breaks a property. Branch-and-bound on the inputs keeps a partition of that domain into leaf boxes. Some leaves are certified safe, some are certified unsafe, and the rest are undecided. Let $V$ be the total domain volume, $U$ the certified-unsafe volume, and $V_i$ the volume of undecided leaf $i$. Suppose leaf $i$ has an estimated violation fraction $\hat p_i$ from $n_i$ uniform samples. The hybrid estimate and its approximate half-width are
$$\widehat{VR} = \frac{1}{V}\Big(U + \sum_i V_i \hat p_i\Big), \qquad w \approx \frac{z}{V}\sqrt{\sum_i \frac{V_i^2\, p_i(1-p_i)}{n_i}},$$
where $z$ is the normal quantile for the target confidence. The half-width follows from the standard stratified-sampling variance. Two facts follow from this estimate.
First, the certified parts contribute no statistical error. A violation region inside a certified-unsafe leaf cannot be missed, and a certified-safe leaf cannot hide one.
Second, each action has a computable value. Splitting leaf $i$ and proving a child resolved deletes that child's $V_i^2$ term. Sampling leaf $i$ shrinks its term as $1/n_i$. We choose the action with the largest expected reduction in $w$ per unit of measured wall-clock cost. For a split, the "expected" part needs a prediction of whether the children will be certified. That prediction comes from a lightweight surrogate fitted online to the tree's own history. Its features are the symbolic lower-bound margin, depth, volume, and the sampled $\hat p_i$.
The claim is that this split-versus-sample allocation reaches a given interval width in substantially less time than formal-only or sampling-only methods on the same properties. It should also keep exact behavior as a limit: if sampling is disabled, it reduces to an anytime exact counter.
Relation to Prior Work
The directly motivating papers form a counting line. The #DNN-Verification Problem proves that counting unsafe inputs is #P-complete. It introduces CountingProVe, which halves the domain at sampled violation medians and uses Markov's inequality to produce a probabilistic interval. Scaling #DNN-Verification Tools makes exact counting faster with symbolic linear relaxation and GPU-parallel branch-and-bound. Neither paper decides which part of the space deserves effort based on how much that effort would reduce estimate uncertainty. CountingProVe's splits are chosen by sample medians, not by the provability of the resulting boxes. Exact counting expands the tree in a fixed order and cannot stop early with a calibrated partial answer.
The method we borrow is the acquisition idea. ABONN reorders branch-and-bound with a UCB1 bandit rule to find the first counterexample quickly. Its objective is qualitative: it stops at one violation. Our objective is the width of a volume estimate, which rewards resolving large uncertain boxes, not diving toward one bad point. Quantifying Uncertainties on Excursion Sets selects points sequentially to reduce uncertainty on the volume of a threshold-exceedance set. It uses a Gaussian process fitted to a black-box simulator. We keep its goal of reducing uncertainty on a volume, but replace the smooth-prior surrogate with formal bounds that are exact where they succeed.
Two works constrain the design. Parameter Searching and Partition with Probabilistic Coverage Guarantees splits parameter space by Gaussian-process variance and labels regions with conformal bounds. It notes that poorly fitted surrogates leave large "Unknown" regions. We avoid that failure by using surrogates only to rank actions, never to certify. PROVERO shows that adaptive sequential testing needs 27x to 687x fewer samples than naive estimation for threshold questions inside perturbation balls. It samples uniformly and uses no formal pruning.
Because we allocate samples adaptively, a fixed-sample confidence interval is not valid. M-estimation under Two-Phase Multiwave Sampling supplies the statistical footing for inference under multiwave adaptive collection. We additionally use anytime-valid confidence sequences so that stopping at any time is safe.
Research Program
We will build the method on top of the open symbolic-relaxation branch-and-bound code path described in Scaling #DNN-Verification Tools. We restrict it to input splitting, so every leaf is a box of known volume. Splitting on internal ReLU units would give regions of unknown volume, which is why the method targets operational-domain properties with few inputs, not image perturbation balls.
The work has four parts. The first is the allocation rule and its cost model; action costs are measured online, not assumed. The second is the online surrogate for split outcomes. We will compare a logistic model, a small gradient-boosted model, and a heuristic that uses the bound margin alone. The third is the statistical layer: per-leaf confidence sequences, combined across leaves with a union bound, alongside the deterministic terms $U$ and $\sum_i V_i$. This layer gives a reported interval that holds at level $1-\delta$ simultaneously over time.
The fourth part is an analysis of when the hybrid helps. The prediction is that the advantage grows with how unevenly violations are spread through the input space. Many large boxes should be provable, and a thin boundary layer should be left for sampling. We test this prediction by measuring the fraction of volume resolved formally over time.
Baselines
The naive reference is uniform Monte Carlo with a Clopper–Pearson interval under the same wall-clock budget. It shows how much of the gain is due to structure at all. On the navigation model, it is expected to reproduce the reported 0% estimate against the 0.00012% truth (Scaling #DNN-Verification Tools).
The strongest statistical competitor is CountingProVe (The #DNN-Verification Problem). On ACAS Xu it reports an interval of [54.13%, 57.5%] around a true VR of 55.22% in 34 minutes, and tight intervals within about 4 hours on harder properties. To beat it, we must reach an interval at least as narrow, at the same confidence level, in clearly less time on the same ACAS Xu properties and hardware. Our empirical coverage of the ground truth over repeated seeds must also be no lower.
The strongest exact competitor is ProVe_SLR and CountingProVe_SLR (Scaling #DNN-Verification Tools). These report 64.3% lower average verification time on ACAS Xu and about 80% improvement on mapless navigation, and they compute exact VRs on all those benchmarks. We run them in anytime mode, reading off the deterministic interval $[U, U+\sum_i V_i]/V$ as the tree grows. On models where they finish, beating them means reaching a target width, for example one percentage point, earlier. Where they time out, it means reporting a valid narrow interval at all.
We also adapt ABONN's UCB1 ordering (ABONN) as a split-priority rule with sampling added. This tests whether an existing bandit priority already does what our value rule does.
Three ablations isolate the key ingredient. The first uses formal splits only, with our priority. The second is stratified sampling only, on a fixed uniform partition with Neyman allocation and no proofs. The third keeps the full hybrid but replaces the learned split surrogate with a volume-greedy rule that always splits the largest undecided box. Every method gets identical networks, properties, GPU, and wall-clock budget. Any tunable parameters get the same small tuning budget on a held-out ACAS Xu network.
Why not just…?
Why not just run exact counting, since it already finishes on ACAS Xu and navigation? This is a real threat on those two benchmarks, and we will report honestly if the hybrid adds little there. The case for the hybrid rests on two things. First, the exact tools give no calibrated answer before they finish, and naive exact counting failed within 24 hours on every navigation case (Scaling #DNN-Verification Tools). Second, the method is meant for wider networks, drawn from the VNN-COMP suite (First three years of VNN-COMP), whose input dimensions are still low enough for input splitting but whose size makes exact trees blow up. The width-versus-time curves on those networks decide the question.
Why not just sample more cleverly, with stratification or importance sampling, and skip proofs? Pure sampling can only bound a rare violation region at the rate its samples allow, and rare regions produce the 0%-versus-0.00012% failure. Adaptive importance samplers such as SPAIS reduce variance but give no certified bound and can miss isolated failure pockets. The cross-entropy method collapsed onto one failure mode on the inverted pendulum in that same paper. The sampling-only ablation measures this directly. If it matches the hybrid, proofs are not earning their cost.
Why not just split the biggest undecided box first? This simple heuristic may capture most of the benefit of the learned surrogate. That is why it is an ablation, not a strawman. If it ties, we drop the surrogate and keep the split-versus-sample rule as the contribution. That rule is still something none of the counting methods have.
Proposed Experiments
The main experiment runs every method on the ACAS Xu properties used by CountingProVe and on the mapless-navigation models including Model_13_64. For each run we record the half-width against wall-clock time, the time needed to reach one-point and one-tenth-point widths, and empirical coverage of the known exact VR over 20 seeds. The ground truth comes from the exact SLR counter.
The first decisive check is on the navigation model, where the true VR is 0.00012%. The hybrid must return an interval that excludes zero, through a certified-unsafe leaf, and has an upper end within a small multiple of the truth. Monte Carlo and PROVERO-style sequential testing must be shown to fail this under the same budget.
The second decisive check is a scaling sweep over wider VNN-COMP networks with low-dimensional inputs. Here exact counting times out, and we report whether the hybrid still produces valid intervals of useful width.
The third check is an analysis that plots the fraction of volume resolved formally against the hybrid's speedup. It tests the prediction that gains track how concentrated violations are near a thin boundary. If the speedup does not track that fraction, our account of why the method works is wrong, even if the method wins.
References
- Scaling #DNN-Verification Tools with Efficient Bound Propagation and Parallel Computing (regular paper)
- The #DNN-Verification Problem: Counting Unsafe Inputs for Deep Neural Networks
- Adaptive Branch-and-Bound Tree Exploration for Neural Network Verification
- Quantifying Uncertainties on Excursion Sets Under a Gaussian Random Field Prior
- Parameter Searching and Partition with Probabilistic Coverage Guarantees
- Scalable Quantitative Verification For Deep Neural Networks
- M-estimation under Two-Phase Multiwave Sampling with Applications to Prediction-Powered Inference
- First three years of the international verification of neural networks competition (VNN-COMP)
- Failure Probability Estimation for Black-Box Autonomous Systems using State-Dependent Importance Sampling Proposals