<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>BAB-Prob: Branch and Bound with Preactivation Splitting for Probabilistic Verification of Neural Networks</title></titleStmt>
			<publicationStmt>
				<publisher>arXiv preprint arXiv:2509.25647</publisher>
				<date>09/30/2025</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10687301</idno>
					<idno type="doi"></idno>
					
					<author>F Wang</author><author>P Tsiotras</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Branch-and-bound with preactivation splitting has been shown highly effective for deterministic verification of neural networks. In this paper, we extend this framework to the probabilistic setting. We propose BaB-prob that iteratively divides the original problem into subproblems by splitting preactivations and leverages linear bounds computed by linear bound propagation to bound the probability for each subproblem. We prove soundness and completeness of BaB-prob for feedforward-ReLU neural networks. Furthermore, we introduce the notion of uncertainty level and design two efficient strategies for preactivation splitting, yielding BaB-prob-ordered and BaB+BaBSR-prob. We evaluate BaB-prob on untrained networks, MNIST and CIFAR-10 models, respectively, and VNN-COMP 2025 benchmarks. Across these settings, our approach consistently outperforms state-of-the-art approaches in medium-to high-dimensional input problems.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">INTRODUCTION</head><p>Probabilistic verification of neural networks asks whether a given satisfies a formal specification with high probability under a prescribed input distribution. Formally, given a neural network f : R n &#8594; R m , a random input X &#8712; R n following distribution P, a specification set Y &#8834; R m , and a desired probability threshold &#951; &#8712; (0, 1], the goal of probabilistic verification is to determine whether</p><p>holds. In this paper, we consider the problem where f = g (N ) &#8226; &#963; 1) , . . . , g (N ) are linear layers and &#963; (1) , . . . , &#963; (N -1) are ReLU layers, given as &#963; ReLU (x) = max(0, x), and Y = {y &#8712; R m : c T y + d &gt; 0} is a half-space. By folding the c T y + d into the last linear layer to obtain an equivalent scalar network f : R n &#8594; R, we finally formulate our probabilistic verification problem as follows: Problem 1. Determine whether the following statement is TRUE:</p><p>where f = g (N ) &#8226;&#963; (N -1) &#8226;&#8226; &#8226; &#8226;&#8226;&#963; (1) &#8226;g (1) : R n &#8594; R is a feedforward-ReLU neural network, X &#8764; P is a random input in R n , &#951; &#8712; (0, 1] is the desired probability threshold.</p><p>A verification approach is sound if, whenever it declares Problem 1 to be TRUE, then Problem 1 is indeed TRUE; it is complete if it declares Problem 1 to be TRUE whenever Problem 1 is TRUE.</p><p>Existing approaches for probabilistic verification can be divided into two categories: analytical approaches and sampling-based approaches <ref type="bibr">(Sivaramakrishnan et al. (2024)</ref>). Sampling-based approaches sample a number of elements from the distribution, pass them through the neural network, then output a statistical result for the probabilistic verification problem with a specified confidence.</p><p>A major advantage of sampling-based approaches is that they can be applied to arbitrary neural networks. However, the required number of samples increases with a higher confidence. For further details about sampling-based approaches, the reader is referred to <ref type="bibr">Anderson &amp; Sojoudi (2022)</ref>; <ref type="bibr">Devonport &amp; Arcak (2020)</ref>; <ref type="bibr">Mangal et al. (2019)</ref>; <ref type="bibr">Pautov et al. (2022)</ref>; <ref type="bibr">Sivaramakrishnan et al. (2024)</ref>.</p><p>In this paper, we mainly focus on analytical approaches. Analytical approaches can deterministically ascertain the correctness of Problem 1. <ref type="bibr">Pilipovsky et al. (2023)</ref> compute the distribution of f (X) using characteristic functions. However, their approach assumes independence between neurons at each layer. Besides, their approach is computationally impractical for deep and wide neural networks. PROVEN <ref type="bibr">(Weng et al. (2019)</ref>) enjoys the best scalability among all current analytical methods. In particular, PROVEN leverages linear bound propagation based approaches <ref type="bibr">(Zhang et al. (2018)</ref>; <ref type="bibr">Xu et al. (2020)</ref>; <ref type="bibr">Wang et al. (2018)</ref>) to get linear bounds on f (x) and bound the probability in Equation ( <ref type="formula">2</ref>) using these linear bounds. PROVEN is sound but incomplete due to the relaxations. <ref type="bibr">Fazlyab et al. (2019)</ref> relaxes the original problem to a semidefinite programming problem by abstracting the nonlinear activation functions by affine and quadratic constraints. This approach is also sound but incomplete and lacks scalability to medium-size or large neural networks.</p><p>Branch and bound (BaB) is a technique widely used in deterministic verification <ref type="bibr">(Bunel et al. (2020)</ref>; <ref type="bibr">Wang et al. (2021)</ref>; <ref type="bibr">Zhang et al. (2022)</ref>). BaB iteratively divides the problem into subproblems and solves individually. The subproblems are typically solved with tighter relaxations than the original problem under the constraints of the subproblems. After a finite number of splits, BaB-based approaches generate sound and complete results. BaB-based approaches for deterministic verification typically use one of two strategies: input-space splitting and preactivation splitting. Existing works <ref type="bibr">(Boetius et al. (2025)</ref>; <ref type="bibr">Marzari et al. (2024)</ref>) that use BaB for probabilistic verification focus on input-space splitting. However, as suggested in <ref type="bibr">Bunel et al. (2020)</ref>, preactivation splitting is considerably more efficient than input-space splitting for large networks, especially when the input space is high-dimensional.</p><p>In this work, we extend BaB with preactivation splitting to probabilistic verification. It should be noted that our approach can be used for general activation functions &#963; (k) , however, we only prove completeness for ReLU activation function, given as &#963; ReLU (x) = max(0, x). The proof can be extended to general piecewise-linear activation functions.</p><p>Our main contributions are as follows:</p><p>&#8226; We propose BaB-prob, the first branch-and-bound with preactivation splitting approach for probabilistic verification of neural networks.</p><p>&#8226; We prove the soundness and the completeness of BaB-prob for feedforward-ReLU networks, which also adapts to general piecewise linear activation functions.</p><p>&#8226; We introduce the concept of uncertainty level and leverage it to design two splitting strategies, yielding BaB-prob-ordered and BaB+BaBSR-prob.</p><p>&#8226; Experimental results show that BaB-prob-ordered and BaB+BaBSR-prob significantly outperform state-of-the-art probabilistic verification approaches when the input is mediumto high-dimensional.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">PRELIMINARIES</head><p>In this section, we first introduce some notation used in the remainder of the paper. Then, we outline the linear bound propagation technique for deterministic verification used later in the proposed approach.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1">NOTATION</head><p>We denote the number of neurons of layer g (k) and layer &#963; (k) as n k , k = 1, . . . , N -1, and define n 0 := n and n N := 1. For k = 1, . . . , N -1, we define y (k) as the preactivation of layer &#963; (k) and</p><p>as the preactivation function of layer &#963; (k) . For uniformity, we sometimes also use y</p><p>where k 1 &#8804; k 2 to denote the sequence {k 1 , k 1 + 1, . . . , k 2 }. We also use [k] as shorthand for [1, k] and a [k] for the</p><p>&#119875; &#8467;,4 = &#119901; &#8467;,3 + &#119901; &#8467;,4 + &#119901; &#8467;,5 + &#119901; &#8467;,6 &#119875; &#119906;,4 = &#119901; &#119906;,3 + &#119901; &#119906;,4 +&#119901; &#119906;,5 + &#119901; &#119906;,6</p><p>Check satisfaction</p><p>2 Figure 1: An illustrative example of the key idea behind BaB-prob. Two preactivations have negative lower bounds and positive upper bounds. BaB-prob iteratively splits them into negative and nonnegative cases to tighten the global probability bound, until the original problem is verified.</p><p>sequence {a (1) , a (2) , . . . , a (k) }. We use the bold font v to denote a vector, and the regular font with subscript v j to denote its j-th entry. For two vectors u and</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2">LINEAR BOUND PROPAGATION FOR DETERMINISTIC VERIFICATION</head><p>Different from verifying whether f (X) &gt; 0 is satisfied with high probability, deterministic verification verifies whether f (x) &gt; 0 for all x in a given input set D. Formal verification is NP-hard due to its nonlinearity and nonconvexity <ref type="bibr">(Katz et al. (2017)</ref>). To address this, linear bound propagation relaxes the problem by replacing the nonlinearities of f by linear functions. Specifically, let l [N -1]  and u [N -1] be precomputed lower and upper bounds for y [N -1] such that &#8467;</p><p>The precomputed bounds can be obtained via interval arithmetic or by applying linear bound propagation in the same way as for f (x). Using the precomputed bounds, the ReLU functions can be relaxed by linear lower and upper functions. Relaxation is not required if &#8467;</p><p>k . With these linear relaxations, f (x) can be bounded by backward propagating through the layers, yielding linear lower and upper bounds, f (x) and f (x), on f (x), satisfying f (x) &#8804; f (x) &#8804; f (x), for all x &#8712; D. It then verifies the problem using the linear bounds.</p><p>We can also leverage linear bound propagation to compute linear bounds for preactivation functions. The linear bounds for both of f (x) and the preactivation functions will be used later in the proposed approach. A key advantage of linear bound propagation is its high degree of parallelism, making it well-suited for GPU acceleration. For more details about linear bound propagation, readers are referred to <ref type="bibr">Zhang et al. (2018)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">BAB-PROB</head><p>We now present our BaB-based approach for probabilistic verification, which we call BaB-prob. BaB-prob iteratively partitions Problem 1 into two subproblems by splitting a preactivation into negative and nonnegative cases, thereby rendering the ReLU function linear within each subproblem. It then applies linear bound propagation to compute linear bounds for f and the preactivations y [N -1] . Using these bounds, BaB-prob computes probability bounds for each subproblem and aggregates them to obtain a global probability bound for the original problem. This process continues until Problem 1 is certified as either TRUE or FALSE. Figure <ref type="figure">1</ref> provides an example illustrating this key idea.</p><p>The remainder of this section is organized as follows: Section 3.1 outlines the overall framework of BaB-prob; Section 3.2 explains a key component-bounding the probability of a branch; Sec-tion 3.3 proposes two strategies for selecting preactivations to split on based on the concept of uncertainty level. The pseudocode and further implementation details of the framework are provided in Appendix A.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1">OVERALL FRAMEWORK</head><p>A set of constraints is of the form C = y (k1) j1 &#8805; 0, . . . , y (ks) js &#8805; 0, y (ks+1) js+1 &lt; 0, . . . y (kt) jt &lt; 0 . We say that C is satisfied if all the constraints in C hold simultaneously. We can decompose C layer by layer as -1) , where C (k) denotes the set of constraints on y (k) and is the empty set when there is no constraint on y (k) . When C appears inside a probability, P (&#8226;), it denotes the event that all the constraints in C are satisfied. For instance,</p><p>jt (X) &lt; 0 . A branch is defined as B := &#10216;p &#8467; , p u , C&#10217;, where C is the set of constraints for B, and p &#8467; and p u are lower and upper bounds on P (f (X) &gt; 0, C), respectively. We define the probability of the branch B as P (B) := P (f (X) &gt; 0, C). For a preactivation y (k) j with precomputed lower bound &#8467; (k) j and upper bound u (k) j , we say that the preactivation is stable in</p><p>j ; otherwise, we say that it is unstable in B. We assume X is bounded in D; if not, take D as a (1 -&#948;)-confidence set for X.</p><p>During initialization, B is created to store all candidate branches. BaB-prob then performs linear bound propagation over D under no constraint to obtain linear bounds for f and y [N -1] , from which the probability P (f (X) &gt; 0) can be bounded between p &#8467; and p u . The root branch, B o := &#10216;p &#8467; , p u , C = &#8709;&#10217;, is then inserted into B. At each iteration, BaB-prob first aggregates across branches in B to compute the global probability bounds and terminates if Problem 1 is already certified with the current bounds. Otherwise it pops the branch B = &#10216;p &#8467; , p u , C&#10217; with largest gap (p u -p &#8467; ). The gap must be positive, since otherwise the global lower and upper bounds would coincide and BaBprob would have already terminated. It then picks an unstable preactivation y &lt; 0}. Applying linear bound propagation over D under the constraints in C i , BaB-prob recomputes linear bounds for f and y [N -1] , yielding f i (x), fi (x) and y</p><p>With the linear bounds, it computes probability bounds p &#8467; and p u for P (f (X) &gt; 0, C i ). It then inserts B i := &#10216;p &#8467;,i , p u,i , C i &#10217; to B, and continues.</p><p>Corollary 1 shows that BaB-prob is both sound and complete.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2">PROBABILITY BOUNDS FOR BRANCHES</head><p>Let B be a given branch, and C = y</p><p>(k1) j1 &#8805; 0, . . . , y (ks) js &#8805; 0, y (ks+1) js+1 &lt; 0, . . . y (kt) jt</p><p>&lt; 0 be the set of constraints for it. Assume the linear bounds for f and y [N -1] </p><p>Then, the probability bounds for B are given by</p><p>where,</p><p>. . .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>-A</head><p>(ks) js,:</p><p>&#256;(ks+1) js+1,:</p><p>. . .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>&#256;(kt)</head><p>jt,:</p><p>j1,:</p><p>. . .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>-&#256;(ks)</head><p>js,:</p><p>. . .</p><p>.</p><p>It is proved in Proposition 1 that p &#8467; and p u in Equation ( <ref type="formula">4</ref>) are indeed lower and upper bounds on P (f (X) &gt; 0, C). Note that Equation ( <ref type="formula">4</ref>) corresponds to the cumulative density functions of linear transformations of X at the origin. If P is Gaussian, Equation ( <ref type="formula">4</ref>) can be computed easily since the linear transformation of a Gaussian random variable variable is still Gaussian. If P is a general distribution, Equation ( <ref type="formula">4</ref>) can be computed by integrating the probability density functions of X or using Monte Carlo sampling.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3">SPLITTING STRATEGIES</head><p>We first derive the uncertainty levels of unstable preactivations in a branch B, which reflects the looseness of the probability bounds of B that Equation (4) will provide after splitting on the preactivations. Then, we propose two splitting strategies based on uncertainty level.</p><p>Uncertainty level. Consider a branch B = &#10216;p &#8467; , p u , C&#10217;, where C = {y</p><p>&lt; 0, . . . , y</p><p>are the linear upper and lower bounds for f and y [N -1] obtained by linear bound propagation under the constraints in C 1 and C 2 , respectively. By Proposition 2,</p><p>Equation ( <ref type="formula">5</ref>) implies, in particular, that there are gaps, denoted by q(B 1 ) and q(B 2 ), between the lower and upper bounds on P (B 1 ) and P (B 2 ). Note that these gaps arise from the relaxation inherent in our approach. If no relaxation were used when computing P (B 1 ) and P (B 2 ), the gaps would vanish. A natural idea is to split on the unstable preactivation that will result in smallest gap. However, computing the gap exactly for every unstable neuron is computationally intractable: it requires computing the linear bounds of f and y [N -1] under the corresponding constraints, together with the probabilities on the right-hand side of Equation ( <ref type="formula">5</ref>), for each unstable preactivation. Instead, we use upper bounds on q(B 1 ) and q(B 2 ), denoted by q(B 1 ) and q(B 2 ), which can be computed more easily. The upper bounds are given by</p><p>In many linear bound propagation based approaches, such as CROWN <ref type="bibr">(Zhang et al. (2018)</ref>), the computed linear lower and upper bounds for y (k) j (x) are determined by the constraints on the preactivations of the first k -1 ReLU layers. Therefore, and since C 1 and C 2 have the same constraints as C on y [k-1] , the linear lower and upper bounds on y (k) j (x) for B 1 and B 2 are same as those for B, that is,</p><p>Therefore, q(B 1 ) = q(B 2 ), and we denote them by the uncertainty level of unstable preactivation y</p><p>where</p><p>have already been obtained when applying linear bound propagation for B. Computing q(B; y</p><p>is tractable, since it corresponds to the cumulative density function of a linear transformation of X at the origin. It should be noted that even if Equation ( <ref type="formula">7</ref>) does not hold, one can still view the above defined q(B; &#8226;) as an approximation of q(B 1 ) and q(B 2 ) and use it as a guidance for selecting unstable preactivations to split.</p><p>Based on uncertainty level, we propose two strategies for selecting the preactivation to split for a given branch B = &#10216;p &#8467; , p u , C&#10217;.</p><p>BaB-prob-ordered. The first strategy is na&#239;ve, but turns out to be useful in many cases, especially in the verification of MLP models. We call BaB-prob with this na&#239;ve strategy BaB-probordered. BaB-prob-ordered starts from the first ReLU layer and checks whether there is any unstable preactivation in this layer. If so, BaB-prob-ordered selects one such preactivation to split on; otherwise, BaB-prob-ordered proceeds to the next ReLU layer, until an unstable preactivation is found. B must contain an unstable preactivation; otherwise, Proposition 4 implies p &#8467; = p u and B would not have been popped from B. Since BaB-prob-ordered splits on an unstable preactivation y (k) j only when there is no unstable preactivation in the first k -1 ReLU layers, it follows that</p><p>, since no relaxation is required to bound y (k) j . Therefore, q(B; y (k) j ) = 0. This explains why BaB-prob-ordered works well in many cases: BaB-prob-ordered always splits on the preactivation with uncertainty level of zero.</p><p>BaB+BaBSR-prob. Splitting on the unstable preactivation with uncertainty level of 0 does not necessarily minimize the gaps p u,1 -p &#8467;,1 and p u,2 -p &#8467;,2 since the uncertainty level is an upper bound on a lower bound on these gaps. Therefore, only considering uncertainty levels can sometimes be misguiding, making the algorithm inefficient, especially for CNN models. Actually, in image-classification scenarios, an MLP may contain hundreds or thousands of neurons in one activation layer, while a CNN can contain tens of thousands of neurons due to their channel and spatial dimensions. To resolve this issue, we propose to combine heuristics from deterministic verification with the uncertainty levels of preactivations to design splitting strategies. Specifically, we combine BaBSR <ref type="bibr">(Bunel et al. (2020)</ref>), which estimates the improvement on the lower bound of f (x) after splitting a preactivation, with the uncertainty levels of preactivations. We call this heuristic BaBSR-prob and call BaB-prob with BaBSR-prob heuristics BaB+BaBSR-prob.</p><p>BaB+BaBSR-prob first computes BaBSR scores for all the unstable preactivations (see <ref type="bibr">Bunel et al. (2020)</ref> for details). It then enumerates the unstable preactivations in decreasing order of their BaBSR scores and evaluates the uncertainty level of each. If the uncertainty level of the current preactivation does not exceed a specified nonnegative threshold, BaB+BaBSR-prob splits on it; otherwise, it proceeds to the next preactivation with a lower BaBSR score. Note that there must exist at least one unstable preactivation in B with uncertainty level below the threshold, since the one chosen by BaB-prob-ordered always has uncertainty level 0.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.4">THEORETICAL RESULTS</head><p>In this section, we provide the theoretical properties of BaB-prob and defer their proofs to Appendix B.</p><p>Proposition 1. The values of p &#8467; and p u computed in Equation ( <ref type="formula">4</ref>) are lower and upper bounds on P (f (X) &gt; 0, C).</p><p>Proposition 2. For a given branch B = &#10216;p &#8467; , p u , C&#10217;, where C = {y</p><p>are the linear lower and bounds obtained by linear bound propagation for B. Then,</p><p>Proposition 3. The global lower bound and upper bounds, denoted as P &#8467; and P u , computed at the beginning of each iteration are indeed lower and upper bounds on P (f (X) &gt; 0).</p><p>Proposition 4. If B = &#10216;p &#8467; , p u , C&#10217; has no unstable preactivation, then P (B) = p &#8467; = p u .</p><p>Proposition 5. BaB-prob terminates in finite time.</p><p>Corollary 1. BaB-prob is both sound and complete.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">EXPERIMENTS</head><p>This section evaluates BaB-prob as well as other state-of-the-art probabilistic verifiers for local probabilistic robustness: for a correctly classified input x 0 , we add zero-mean Gaussian noise of small covariance and ask whether the network preserves the desired margin with probability at least &#951;. We compare the two versions of BaB-prob-BaB-prob-ordered and BaB+BaBSR-probagainst PROVEN (Weng et al.  <ref type="formula">2009</ref>)) models, respectively, and (iii) VNN-COMP 2025 benchmarks 1 . Unless stated otherwise, the desired probability threshold &#951; = 0.95, the nonnegative threshold for BaBSR-prob is 0.01, and the per-instance time limit is 120 seconds. Computation is parallelized on GPU. Experiments were run on Ubuntu 22.04 with an Intel i9-14900K CPU, 64 GB RAM, and an RTX 4090 GPU, using a single CPU thread.</p><p>Probability estimation and confidence. In practice, analytically computing the probabilities in Equation ( <ref type="formula">4</ref>) can be time-consuming when the underlying Gaussian distribution is high-dimensional. While dimensionality-reduction techniques could accelerate this computation, we approximate the probabilities using Monte Carlo sampling and certify the final decision with a statistical confidence guarantee. Across nearly all problems, our certificates achieve confidence exceeding 1 -10 -4 . For completeness, Appendix C.4 details our confidence calculation and empirical confidence results for our approach.</p><p>Success-rate definition. For sound-and-complete methods, PV, BaB-prob-ordered and BaB+ BaBSR-prob, "success rate" is the fraction of instances declared within the time limit. For PROVEN and SDP, we count a verification as successful only if it matches the declaration of any of PV or our two versions; in our runs there was no case where all three (PV and our two versions of BaB-prob) failed to declare while PROVEN or SDP succeeded.</p><p>In our experiments, SDP either exhausted memory or failed to solve the problems within the time limit. Therefore, we omit its results from the main text and report them in the appendix. Additional details about the experiments are provided in Appendix C. Our code is available at <ref type="url">https://  github.com/FangjiW/BaB-prob</ref>.</p><p>PROVEN PV BaB-prob-ordered BaB+BaBSR-prob 2 4 2 5 2 6 2 7 2 8 2 9 2 10 Di 0.0 0.2 0.4 0.6 0.8 1.0 Success Rate (a) (MLP) D h = 256, N h = 4. 2 4 2 5 2 6 2 7 2 8 2 9 2 10 Dh 0.0 0.2 0.4 0.6 0.8 1.0 Success Rate (b) (MLP) Di = 256, N h = 4. 2 3 4 5 6 7 8 9 10 Nh 0.0 0.2 0.4 0.6 0.8 1.0 Success Rate (c) (MLP) Di = 256, D h = 256. 8 16 24 32 40 48 Wi and Hi 0.0 0.2 0.4 0.6 0.8 1.0 Success Rate (d) (CNN) C h = 32, N h = 3. 8 16 24 32 40 48 56 64 Ch 0.0 0.2 0.4 0.6 0.8 1.0 Success Rate (e) (CNN) Wi = Hi = 32, N h = 3.  Both succeed Only BaB-prob-ordered succeeds Only BaB+BaBSR-prob succeeds 10 0 10<ref type="foot">foot_0</ref> 10 2 10 3 10 4 BaB-prob-ordered 10 0 10 1 10 2 10 3 10 4 BaB+BaBSR-prob 1x 5x 25x 125x 5x 25x 125x (a) MLP models 10 0 10 1 10 2 10 3 10 4 BaB-prob-ordered 10 0 10 1 10 2 10 3 10 4 BaB+BaBSR-prob 1x 5x 25x 125x 5x 25x 125x (b) CNN models Figure 3: Comparison of number of splits between BaB-prob-ordered and BaB+BaBSR-prob.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">UNTRAINED MLP AND CNN MODELS</head><p>We evaluate the scalability of different approaches with respect to network size on untrained MLPs and CNNs. For MLPs, we vary the input dimension D i , hidden dimension D h , and the number of hidden layers N h . For CNNs, we vary the input shape (1, W i , H i ) with W i = H i , the number of hidden channels C h , and the number of hidden layers N h . Figure <ref type="figure">2</ref> shows the success rate results for the various approaches. The results show a clear advantage for both versions of BaBprob, which consistently achieved higher success rates than PROVEN and PV. On MLP models, BaB-prob-ordered shows better scalability than BaB+BaBSR-prob, whereas on CNN models, BaB+BaBSR-prob scales better than BaB-prob-ordered.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2">MNIST AND CIFAR-10 MODELS</head><p>Success rate and average time. Table <ref type="table">1</ref> shows the success rate and average time results for MNIST and CIFAR-10 models. On MLPs, both versions of BaB-prob strictly dominate PROVEN and PV. Besides, BaB-prob-ordered shows higher success rates than BaB+BaBSR-prob. On CNNs, both Table 2: Results for VNN-COMP 2025 benchmarks.</p><p>versions of BaB-prob consistently outperform PROVEN and PV, and BaB+BaBSR-prob shows better performance than BaB-prob-ordered.</p><p>Split efficiency. Figure <ref type="figure">3</ref> compares the number of splits required by BaB-prob-ordered and BaB+BaBSR-prob. On MLPs, BaB-prob-ordered generally splits fewer preactivations than BaB+BaBSR-prob, particularly on the more challenging instances. For CNNs, BaB+BaBSRprob consistently requires fewer preactivation splits than BaB-prob-ordered by up to two orders of magnitude.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3">RESULTS FOR VNN-COMP 2025 MODELS</head><p>Table <ref type="table">2</ref> reports the results for the VNN-COMP 2025 benchmarks. Both versions of BaB-prob achieve higher success rates than PROVEN. Moreover, they consistently outperform PV, except on the low-dimensional datasets-acasxu 2023 (5 dimensions) and linearizenn 2024 (4 dimensions).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">CONCLUSIONS</head><p>In this work, we have introduced BaB-prob, the first BaB framework with preactivation splitting for probabilistic verification of neural networks. BaB-prob iteratively divides the original problems into subproblems by splitting preactivations and leverages LiRPA to bound the probability for each subproblem. We prove soundness and completeness of our approach for ReLU networks, which can be extended to piecewise-linear activation functions. Furthermore, we introduce the notion of uncertainty level and propose two versions of BaB-prob with different strategies developed by uncertainty level. Extensive experiments show that our approach significantly outperforms state-ofthe-art approaches in medium-to high-dimensional input problems.</p><p>Algorithm 1 BaB-prob</p><p>o then 6: MarkPreactivationToSplitOn(B o ) 7: B.insert(B o ) 8: while True do 9: P &#8467; , P u &#8592; BoundGlobalProbability(B) 10: if P &#8467; &#8805; &#951; then return TRUE 11: if P u &lt; &#951; then return FALSE 12: B = &#10216;p &#8467; , p u , C&#10217; &#8592; B.pop() 13:</p><p>MarkPreactivationToSplitOn(B i )</p><p>A DETAILED FRAMEWORK OF BAB-PROB</p><p>The pseudocode of BaB-prob is shown in Algorithm 1. During initialization, B is created to maintain all candidate branches (Line 1). BaB-prob applies linear bound propagation over D under no constraint to compute linear bounds for f and y [N -1] , yielding f o (x), fo (x) and y</p><p>(Line 2). BaB-prob then applies Equation ( <ref type="formula">4</ref>) to compute the probability bounds for P (f (X) &gt; 0), obtaining the lower bound p &#8467;,o and the upper bound p u,o , and creates the root branch B o = &#10216;p &#8467;,o , p u,o , &#8709;&#10217; (Line 3-4). Before inserting B o into B, the preactivation in B o to be split on is first identified (though not split immediately) (Line 5-6). This strategy reduces memory usage for BaB+BaBSR-prob, since the method relies on the linear bounds to choose the preactivation to split on. By marking the preactivation at this stage, we can discard the linear bound information before inserting B o into B. Besides, BaB-prob only performs the identification if</p><p>At each iteration, BaB-prob first computes the global probability bounds for P (f (X) &gt; 0):</p><p>(Line 9). If the current global probability bounds are already enough to make a certification, BaBprob terminates and make the corresponding certification (Line 10-11). Otherwise, BaB-prob pops the branch B = &#10216;p &#8467; , p u , C&#10217; with the largest (p u -p &#8467; ) from B (Line 12) and generates the two new constraints on the identified preactivation (Line 13). For each new constraint c i , BaB-prob generates a new set of constraints C i = C &#8746; {c i } (Line 14-15). BaB-prob then applies linear bounds propagation over D under the constraints in C i to compute linear bounds for f and y [N -1] , yielding</p><p>(Line 16). Then, it uses Equation (4) to compute the probability bounds for P (f (X) &gt; 0, C i ), obtaining p &#8467;,i and p u,i . Same as the initialization, BaB-prob identifies the preactivation to split on for B i = &#10216;p &#8467;,i , p u,i , C i &#10217; in advance (Line 19-20) and then inserts B i into B.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B PROOF FOR THEORETICAL RESULTS</head><p>Lemma 1.</p><p>. Assume C can be decomposed by</p><p>Let and f (x), f (x), y [N -1] (x), &#563;[N-1] (x) be the linear bounds for f and y [N -1] obtained by linear bound propagation under the constraints of C.</p><p>Then, for all k</p><p>Proof. We first prove Equation (15) by induction.</p><p>By Equation (3b),</p><p>Therefore, C (1)</p><p>x &#8838; C</p><p>(1)</p><p>x &#8838; C(1)</p><p>x , implying that Equation ( <ref type="formula">15</ref>) holds for k = 1. Assume Equation ( <ref type="formula">15</ref>) holds for k -1, we will prove Equation (15) for k.</p><p>x , i.e., C [k-1] are satisfied. By Equation (3b),</p><p>By Equation ( <ref type="formula">18</ref>), and since x &#8712; C (k)  x , it holds that x &#8712; C (k)</p><p>x . So we have x &#8712;</p><p>x , implying that</p><p>x . For the second inequality, &#8704;x &#8712;</p><p>x , Equation (18) also holds. Then, also,</p><p>x . Thus, Equation ( <ref type="formula">15</ref>) holds for k. Therefore, Equation ( <ref type="formula">15</ref>) holds for all k &#8712; [N -1].</p><p>Using Equation ( <ref type="formula">15</ref>) for k = N -1, we can prove Equation ( <ref type="formula">16</ref>) similar to how we prove Equation (15) from k -1 to k.</p><p>Proof of Proposition 1. By Lemma 1 (Equation ( <ref type="formula">16</ref>)),</p><p>Similarly, P (f (X) &gt; 0, C) &#8804; P PX + q .</p><p>Proof of Proposition 2. We assume the constraint on y</p><p>&#8805; 0, the other case can be proved similarly. Assume that for k &#8712;</p><p>and</p><p>By Proposition 1,</p><p>Applying Lemma 1 (Equation ( <ref type="formula">15</ref>)) with k = N -1,</p><p>By Equation (3a), we have</p><p>From Equation ( <ref type="formula">22</ref>) (24) (25),</p><p>Applying the argument of Equation ( <ref type="formula">24</ref>)-( <ref type="formula">26</ref>), except that we apply Equation (3b) instead of Equation (3a) within Equation ( <ref type="formula">25</ref>), iteratively to the constrained preactivations in layers N -1, . . . , k * + 1, we obtain</p><p>Applying Equation (3b) with k = k * ,</p><p>1, . . . , 1, we obtain</p><p>On the other hand, from Proposition 1,</p><p>Then, from Equation (31) (32),</p><p>Proof of Proposition 3. Notice that after BaB-prob splits on a preactivation in B and generates B 1 and B 2 , it holds that P (B) = P (B 1 ) + P (B 2 ) .</p><p>(34) Thus, at the beginning each iteration,</p><p>By Proposition 1, for all B = &#10216;p &#8467; , p u , C&#10217; &#8712; B, p &#8467; and p u are lower bounds on P (B). Therefore, from Equation (35), P &#8467; and P u are lower and upper bounds on P (f (X) &gt; 0).</p><p>Proof of Proposition 4. Let f (x), f (x) and y [N -1] (x), &#563;[N-1] (x) be the linear lower and upper bounds for f and y [N -1] computed by linear bound propagation under the constraints in C. Since there is no unstable preactivation in B, ino relaxation is performed during the linear bound propagation, the inequalities in Equation (3) become equalities. Thus, all the inclusions '&#8838;' in the proof of Lemma 1 become equalities '=', and subsequently, the inequality in the proof of Proposition 1 becomes equality. Therefore, P (B) = p &#8467; = p u .</p><p>Proof of Proposition 5. We prove Proposition 5 by contradiction. Suppose that BaB-prob does not terminate in finite time. Since there are only finitely many preactivations, there must exist a point at which every branch in B contains no unstable preactivation. At that point, by Proposition 4, all branches have exactly tight probability bounds. Consequently, P &#8467; = P u , which implies that BaB-prob has already terminated -a contradiction. PROVEN 4/24 0/24 20/24 0/6 0/6 6/6 5/25 0/25 20/25 0/5 0/5 5/5 PV 24/24 0/24 0/24 0/6 6/6 0/6 25/25 0/25 0/25 0/5 5/5 0/5 SDP 0/24 24/24 0/24 0/6 6/6 0/6 0/25 25/25 0/25 0/5 5/5 0/5 BaB-prob-ordered 24/24 0/24 0/24 0/6 6/6 0/6 25/25 0/25 0/25 0/5 5/5 0/5 BaB+BaBSR-prob 24/24 0/24 0/24 0/6 6/6 0/6 25/25 0/25 0/25 0/5 5/5 0/5 Table <ref type="table">3</ref>: Results for toy models. Each cell indicates the number of instances where the algorithm's declaration ("T" for True, "F" for False, "N" for no declaration) aligns with the ground truth ("T" or "F"). For example, "T/T" means the ground truth is True and the algorithm declares it as True; "F/T" means the ground truth is True but the algorithm declares it as False; "N/T" means the ground truth is True but the algorithm fails to provide a declaration. Similar interpretations apply to the other entries.</p><p>Conv2d layers (3 channels, kernel 3, stride 2), ReLU after convolutions, then flatten + scalar FC. All weights/biases are i.i.d. N (0, 0.25). For each architecture we generate 30 instances, i.e., 30 different networks, such that x 0 = 0 and f (x 0 ) &gt; 0. Noise is N (0, 0.1I). Because PROVEN, PV and BaB-prob assume bounded inputs, we truncate the Gaussian to its 99.7 %-confidence ball. We use batch size of 16384 for both versions of BaB-prob and PV, and split depth (maybe splitting multiple preactivations at one time) of 1 for this experiment. To verify the soundness and completeness, we do not set a time limit in this experiment. We use a toy MLP model and a toy CNN model to test the soundness and completeness of different solvers. We use SaVer-Toolbox<ref type="foot">foot_2</ref> (Sivaramakrishnan et al. ( <ref type="formula">2024</ref>)) to obtain an empirical reference P for P (f (X) &gt; 0) such that the deviation is &lt; 0.1% with confidence &gt; 1 -10 -4 . We treat the declaration of SaVer-Toolbox as the ground truth.</p><p>Results.</p><p>Table 3 reports the counts of (declared TRUE/FALSE/No-declaration) vs. ground truth. Both BaB-prob versions and PV match ground truth on all toy problems; PROVEN returns only a subset (sound but incomplete), and SDP is mixed. It should be noted that this does not indicate that SDP is unsound, because it does not declare a TRUE problem as FALSE.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C.2 OTHER EXPERIMENT SETUPS</head><p>Untrained models. The architecture for the untrained MLP models are same as that for the toy MLP model with the difference that the number of input features D i , the number of hidden features D h , and the number of hidden layers N h are not fixed. The architecture for the untrained CNN models are same as that for the toy CNN model with the difference that the input shape (1, W i , H i ) with W i = H i , the number of hidden channels C h , and the number of hidden layers N h are not fixed. The weights and biases of all layers in the MLP and CNN models are also randomized with Gaussian distribution N (0, 0.25). We test on different combination of (D i , D h , N h ) for MLP models and (W i /H i , C h , N h ) for CNN models. For each combination, we generated 30 different problems, each consists of a sample x 0 = 0 and a randomly generated network f such that f (x 0 ) &gt; 0. The noise is zero-mean with diagonal covariance, chosen so that its 99.7%-confidence ball has radius 0.002 for MLP models and 0.01 for CNN models. We use batch size of 4 for BaB-prob and PV, and split depth of 1 for this experiment.</p><p>MNIST and CIFAR-10 models. The MNIST and CIFAR-10 models have similar architecture as untrained models with the difference that the number of input features (or input shape) is fixed, the number of output features is 10, and the trained CNN models have a BatchNorm2d layer before each ReLU layer. We trained MLP models with different combination of (D h , N h ) and CNN models with different combination of (C h , N h ). The models are trained with cross-entropy loss and Adam optimizer. The batch size for training is 64. The learning rate is 0.001. We train each model for 20 iterations and use the checkpoint with the lowest loss on validation dataset for verification. For each model, we randomly selected 30 correctly classified samples from the training set. The noise is zero-mean with diagonal covariance, chosen so that its 99.7%-confidence ball has radius 0.02 for MNIST models and 0.01 for CIFAR-10 models. The output specification for each sample is Y = {y &#8712; R 10 : (e t -e a ) T y &gt; 0}, where e t and e a are the standard basis vectors, t is the index of the ground-truth label and a &#824; = t is a randomly selected attacking label. f (x) &#8712; Y indicates that x is not misclassified by index a. We use batch size of 4 for BaB-prob and PV, and split depth of 1 for this experiment.</p><p>VNN-COMP 2025 benchmarks. We conducted evaluations on the following benchmark suites: acasxu 2023, cersyve, cifar100 2024, collins rul cnn 2022, cora 2024, linearizenn 2024, relusplitter, and safenlp 2024. Due to GPU memory limitations, for cifar100 2024 we evaluated only the medium models. For relusplitter, we tested all MNIST models but only the oval21 models among the CIFAR-10 models. Models from other benchmark datasets were excluded either because they contained layer types not supported by our method or were too large to fit within GPU memory. For simplicity, we randomly selected one input region and one output specification from each original problem. The noise distribution is zero-mean with diagonal covariance, scaled such that its 99.7%-confidence ellipsoid matches the axis-aligned radii given in the original problem. In terms of solver configuration, we used a batch size of 8 for both BaB-prob and PV, with a split depth of 2. For the cifar100 2024 benchmark, the batch size and split depth were set to 1 for BaB-prob, and the batch size was set to 4 for PV. Furthermore, since the original radii in cifar100 2024 were too small to present a meaningful verification challenge, we doubled their values.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C.3 EXPERIMENTAL RESULTS FOR SDP</head><p>Untrained models. SDP failed to complete any MLP problem within the time limit for models with D i = 256, D h = 16/32/64/128, N h = 4, and ran out of RAM on the remaining MLP problems as well as on all CNN problems.</p><p>MNIST and CIFAR-10 models. SDP ran out of RAM on all problems.</p><p>VNN-COMP 2025 benchmarks. The SDP solver does not directly support cersyve, cifar100 2024, linearizenn 2024. Besides, it ran out of RAM on cora 2024, collins rul cnn 2022 and relusplitter. On acasxu 2023 and safenlp 2024, it hit the time limit on all problems.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C.4 CONFIDENCE OF BAB-PROB</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Derivation of confidence</head><p>In our experiments, BaB-prob evaluates the per-branch probability in Equation 4 by Monte Carlo sampling, using N = 10 5 i.i.d. samples for each probability it needs to compute. Let P &#8467; and P u be the true global lower and upper probability bounds, and let P&#8467; and Pu be their empirical values. When BaB-prob terminates, either P&#8467; &#8805; &#951; or Pu &lt; &#951;. Then, the following proposition gives the confidence for the certification.</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0"><p>https://github.com/VNN-COMP/vnncomp2025_benchmarks</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_1"><p>y (k &#8902; ) j &#8902; (x) &#8804; y (k &#8902; ) j &#8902; (x) &#8804; &#563;(k &#8902; ) j &#8902; (x), &#8704;x &#8712; D, C [k &#8902; -1] satisfied. (28b)</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_2"><p>https://github.com/vigsiv/SaVer-Toolbox</p></note>
		</body>
		</text>
</TEI>
