betaFeedback

WorksComputer Science

Certified Robustness via Sparse Second-Order Cone Relaxations

Abstract

Certified robustness is critical for deploying neural networks in safety-sensitive settings, but computing exact certificates typically requires solving nonconvex optimization problems. Practical verifiers use convex relaxations: linear programming (LP) relaxations are scalable but often too conservative, whereas semidefinite programming (SDP) relaxations can be substantially tighter but are computationally expensive. We introduce a hierarchy of second-order cone programming (SOCP) relaxations that provide stronger certificates than LP while avoiding the cost of global positive-semidefinite constraints. Our construction combines convex-hull relaxations of ReLU activations, selective McCormick lifting over certified variable bounds, and second-order cone constraints induced by 2-by-2 principal minors. Adding these constraints progressively yields a monotone hierarchy of increasingly tight bounds with a controllable computation-tightness trade-off. On fully connected and convolutional networks on MNIST and CIFAR-10, SOCP-based verification improves certified robust accuracy over LP-based verification and is competitive with alpha,beta-CROWN, while remaining orders of magnitude faster than SDP-based verification. These results position selective second-order constraints as a practical middle ground between scalable LP-based and tight SDP-based certification. Finally, we introduce class-optimized robust evaluation (CORE), which applies tighter relaxations only to target classes not certified by cheaper ones. On the fully connected MNIST benchmark, CORE variants match SDP-cert's certified robust accuracy while reducing average verification time by up to 86.30%.

Introduction

Reliable deployment of neural networks in safety-sensitive settings requires guarantees that extend beyond accuracy on unperturbed inputs. Small adversarial perturbations can change a classifier’s prediction while remaining visually imperceptible [15, 21]. This vulnerability motivates certified robustness, which provides a mathematical guarantee that the classifier assigns the correct label to every input in a prescribed perturbation set [20] (Wong and Kolter 2018).

Exact certification can be formulated by maximizing each competing class’s logit margin relative to the true class over the allowed perturbations. Computing these worst-case margins generally requires solving nonconvex optimization problems, which can make verification computationally hard [8]. For ReLU networks, complete verifiers, including satisfiability modulo theories (SMT) [19], mixed-integer optimization [23], and branch-and-bound methods (Wang et al., 2021), can resolve a verification problem given sufficient computation, but their cost can be prohibitive. Incomplete verifiers instead bound these margins to certify that the prediction remains correct under every admissible perturbation. If these certification bounds cannot be established, the input remains uncertified. A robust input left uncertified represents a false negative in robustness certification.

In this paper, we introduce a hierarchy of sparse second-order cone programming (SOCP) relaxations with a controllable trade-off between bound tightness and computational cost, and a class-wise cascade to progressively allocate more expensive verifiers to unresolved margins. Figure 1 illustrates both components.

Overview of the proposed methods

Figure 1. Overview of the proposed methods: (a) jointly selected cross-layer, current-layer, and previous-layer couplings at each hidden layer, with z(0)=xz^{(0)} = x, and (b) CORE’s class-wise cascade with early stopping.

Sparse SOCP hierarchy (Fig. 1a). Starting from the exact quadratically constrained quadratic program (QCQP) for ReLU-network verification, we combine

ReLU convex-hull relaxations (Wong and Kolter (2018)) with sparse lifting of selected cross-layer, current-layer, and previous-layer products at each hidden layer. These couplings are incorporated jointly using McCormick envelopes over certified variable bounds (McCormick [18]) and second-order cone (SOC) representations of 2×22 \times2 positive-semidefinite (PSD) constraints (Kim and Kojima [9]), avoiding a global PSD constraint. Increasing the number of selected couplings tightens the relaxation at the expense of greater computational cost. Experiments conducted on MNIST (LeCun et al. [12]) and CIFAR-10 (Krizhevsky [10]) illustrate that SOCP-based verification improves certified robust accuracy over the linear programming (LP) verifier and is competitive with α,β\alpha,\beta-CROWN under the same evaluated settings. On the fully connected MNIST benchmark, SOCP verifier is orders of magnitude faster than the semidefinite programming (SDP) verifier.

Class-optimized robust evaluation (CORE) (Figure 1b). CORE allocates verification effort to individual class-wise margin problems. For each target class, it applies verifiers in sequence, moving to the next class as soon as robustness against the current class is certified. CORE certifies an input as robust once every target class is certified. If a class remains unresolved at the final stage, CORE stops and leaves the input uncertified. Therefore, CORE maintains at least the certified robust accuracy of the final verifier while avoiding unnecessary computation. On the fully connected MNIST benchmark, CORE variants match SDP-cert’s certified robust accuracy while reducing average verification time by up to 86.30%.

Related work. Convex relaxations balance certification tightness and computational cost. LP relaxations of ReLU networks (Wong and Kolter (2018)) support scalable dual formulations and bound propagation (Wong et al. (2018); Zhang et al. (2018)), with general cutting planes providing additional tightening (Zhang et al. (2022)). Building on this framework, α,β\alpha,\beta-CROWN combines optimized linear bound propagation with branch-and-bound for complete verification (Xu et al. (2020); Wang et al. (2021)). However, relaxing neurons separately can fail to capture dependencies among their activations. SDP relaxations capture second-order interactions through lifted matrices and global PSD constraints (Raghunathan et al. [20]; ); Vandenberghe and Boyd (1996)). Quadratic-constraint formulations (Fazlyab et al. [5]), memory-efficient solvers (Dathathri et al. [4]), and linear reformulations (Lan et al. [11]) improve their practicality, although global PSD constraints remain costly. SDP-CROWN incorporates ℓ2\ell_2-norm-based inter-neuron coupling into bound propagation (Chiu et al. [3]). Cascading robustness verification (CRV) (Maleki et al. [16]) reduces verification cost by escalating only uncertified inputs to more expensive verifiers. These approaches motivate capturing useful second-order structure without a global PSD constraint and allocating tighter verification to unresolved class-wise margins.

In this paper, we first formulate the robustness verification problem and then develop the sparse SOCP relaxations and CORE (§ 2–§ 4). We then evaluate these methods experimentally (§ 5) before presenting the conclusion and limitations (§ 6).

Robustness Verification

Consider a neural network f:X→RLf:\mathcal{X}\to\mathbb{R}^{L} with one hidden layer consisting of mm neurons. The input space is X⊆Rd\mathcal{X}\subseteq\mathbb{R}^{d}, where dd is the input dimension, and the output space represents scores (or logits) across LL classes. The network computes the logits as f(x)=W2ReLU⁡(W1x)f(x)=W_{2}\operatorname{ReLU}(W_{1}x), where W1∈Rm×dW_1 \in\mathbb{R}^{m \times d} and W2∈RL×mW_2 \in\mathbb{R}^{L \times m} denote the input-to-hidden and hidden-to-output weight matrices, respectively. Let the hidden pre-activation and activation be s≜W1xs \triangleq W_1x and z≜ReLU⁡(s)z \triangleq\operatorname{ReLU}(s). For simplicity, we omit bias terms, though they are included in our experiments. We use one hidden layer for ease of presentation; the framework extends layer-wise to multilayer ReLU networks (Appendix § 12).

Given an input x∈Xx \in\mathcal{X}, the network assigns label yy by selecting the class with the highest score,

y≜arg⁡max⁡1≤i≤L f(x)i,(1)y \triangleq\underset{1 \le i \le L}{\arg\max}\ f(x)_i, \tag*{(1)}

where f(x)if(x)_i is the ithi^{th} element of f(x)f(x). To certify robustness against input perturbations, we consider an ℓ∞\ell_\infty-ball centered on a correctly classified input xˉ\bar{x}, defined as

Bε(xˉ)≜{x∣∥x−xˉ∥∞≤ε}.B_{\varepsilon}(\bar{x}) \triangleq\{x \mid\lVert x-\bar{x}\rVert_{\infty} \le\varepsilon\}.

Let yˉ\bar{y} denote the true label of the clean input xˉ\bar{x}. The worst-case margin fy∗(xˉ)f_y^*(\bar{x}) quantifies the robustness of the model at input xˉ\bar{x} by maximizing the difference between the logit score of any target class y≠yˉy \ne\bar{y}, f(x)yf(x)_y, and the true class yˉ\bar{y}, f(x)yˉf(x)_{\bar{y}}, over all valid perturbations:

fy∗(xˉ)≜max⁡x∈Bε(xˉ)(f(x)y−f(x)yˉ).(2)f_y^*(\bar{x}) \triangleq\max_{x \in B_{\varepsilon}(\bar{x})} \left(f(x)_y - f(x)_{\bar{y}}\right). \tag*{(2)}

An input xˉ\bar{x} is certifiably robust if, for all y≠yˉy \ne\bar{y}, the worst-case margin satisfies fy∗(xˉ)<0f_y^*(\bar{x}) < 0, ensuring no perturbation within Bε(xˉ)B_{\varepsilon}(\bar{x}) leads to misclassification. Conversely, xˉ\bar{x} is considered non-robust if there exists a y≠yˉy \ne\bar{y} such that fy∗(xˉ)≥0f_y^*(\bar{x}) \ge0, indicating a potential adversarial example within the allowed perturbation level ε\varepsilon.

For a fixed target class y≠yˉy \ne\bar{y}, let c≜W2T(ey−eyˉ)c \triangleq W_2^{\mathsf{T}}(e_y-e_{\bar{y}}), where eie_i is the iith standard basis vector in RL\mathbb{R}^{L}. Then f(x)y−f(x)yˉ=cTzf(x)_y-f(x)_{\bar{y}}=c^{\mathsf{T}}z. Thus, the class-wise verification problem maximizes a linear function of the hidden activations over all admissible inputs and their corresponding ReLU activations.

Solving (2) is generally intractable due to the non-convexity introduced by ReLU activations. Although complete verification methods exist, they are often computationally prohibitive, with worst-case complexity that grows exponentially with network size [20, 7]. Incomplete verifiers based on convex relaxations such as LP, SDP, and dual formulations derive an upper bound fyu(xˉ)f_y^u(\bar{x}) satisfying fyu(xˉ)≥fy∗(xˉ)f_y^u(\bar{x}) \ge f_y^*(\bar{x}), reducing robustness certification to verifying whether fyu(xˉ)<0f_y^u(\bar{x}) < 0 for every target class y≠yˉy \ne\bar{y}. In contrast, fyu(xˉ)≥0f_y^u(\bar{x}) \ge0 is inconclusive for an incomplete verifier; i.e., failure to verify an input does not necessarily imply that the input is non-robust.

Exact quadratic formulation. The perturbation set Bε(xˉ)B_{\varepsilon}(\bar{x}) is the box [l,u][l,u], where l≜xˉ−ε1l \triangleq\bar{x}-\varepsilon\mathbf{1} and u≜xˉ+ε1u \triangleq\bar{x}+\varepsilon\mathbf{1}. This box constraint can be equivalently expressed as the quadratic constraint,

(x−l)⊙(x−u)≤0⇒x⊙x≤(l+u)⊙x−l⊙u,(3)(x-l)\mathbin{\odot}(x-u) \le0 \quad\Rightarrow\quad x\mathbin{\odot}x \le(l+u)\mathbin{\odot}x-l\mathbin{\odot}u, \tag*{(3)}

where ⊙\odot denotes element-wise multiplication and vector inequalities are interpreted componentwise. Furthermore, the ReLU relation z=ReLU⁡(s)z=\operatorname{ReLU}(s) can be equivalently encoded as z≥0z \ge0, z≥sz \ge s, and z⊙(z−s)=0z\mathbin{\odot}(z-s)=0. These constraints ensure that zz behaves as a ReLU activation, maintaining equivalence to the original function. Together with the input constraint in (3) and the affine relation s=W1xs=W_1x, this gives the following exact QCQP for the one-hidden-layer verification problem [20]:

fQCQP∗(xˉ)≜max⁡x,zcTzs.t.z⊙z=z⊙s,s=W1x,z≥0,x⊙x≤(l+u)⊙x−l⊙u,z≥s.(4)\begin{aligned} f_{\mathrm{QCQP}}^*(\bar{x}) &\triangleq\max_{x,z} c^{\mathsf{T}}z \\ \text{s.t.}\quad&z\mathbin{\odot}z=z\mathbin{\odot}s,\quad s=W_1x,\quad z\ge0,\\ &x\mathbin{\odot}x\le(l+u)\mathbin{\odot}x-l\mathbin{\odot}u,\quad z\ge s. \tag*{(4)} \end{aligned}

Following Raghunathan et al. [20], we lift this QCQP by defining vT≜[1xTzT]v^{\mathsf{T}}\triangleq[1\quad x^{\mathsf{T}}\quad z^{\mathsf{T}}] and P≜vvTP\triangleq vv^{\mathsf{T}}. The rank-one constrained optimization problem in (4) can be written in terms of the matrix PP as follows.

fRank1∗(xˉ)≜max⁡P⪰0cTP[z]s.t.diag⁡(P[zzT])=diag⁡(W1P[xzT]),P[z]≥0,P[z]≥W1P[x],diag⁡(P[xxT])≤(l+u)⊙P[x]−l⊙u,P[1]=1,rank⁡(P)=1.(5)\begin{aligned} f_{\mathrm{Rank1}}^*(\bar{x}) &\triangleq\max_{P \succeq0} c^{\mathsf{T}}P[z]\\ \text{s.t.}\quad&\operatorname{diag}(P[zz^{\mathsf{T}}])=\operatorname{diag}(W_1P[xz^{\mathsf{T}}]),\\ &P[z]\ge0,\quad P[z]\ge W_1P[x],\\ &\operatorname{diag}(P[xx^{\mathsf{T}}])\le(l+u)\mathbin{\odot}P[x]-l\mathbin{\odot}u,\\ &P[1]=1,\quad\operatorname{rank}(P)=1. \tag*{(5)} \end{aligned}

The rank constraint is the only non-convex constraint in (5). Removing the rank-one constraint yields an SDP relaxation whose optimal value provides an upper bound on the worst-case margin fy∗(xˉ)f_y^*(\bar{x}). LP relaxations (Wong and Kolter, 2018) are efficient but can be loose, while SDP relaxations [20] are typically tighter but significantly more expensive. These observations motivate an intermediate relaxation that balances tightness and scalability. We develop this relaxation using SOCP in the next section.

SOCP Relaxation

Starting from the lifted rank-one formulation (5), the canonical SDP relaxation drops the non-convex constraint rank⁡(P)=1\operatorname{rank}(P)=1 while retaining P⪰0P \succeq0, yielding strong certificates but scaling poorly as the network size or verification problem size increases [20]. Our goal is to preserve the main benefit of SDP, namely, its ability to capture second-order interactions among lifted variables, while avoiding the cost of enforcing global positive semidefiniteness. We build SOCP outer relaxations by lifting selected quadratic and bilinear terms into auxiliary variables, enforcing their consistency over known bounds via convex envelopes, and replacing P⪰0P \succeq0 with SOC-representable surrogates that enforce positive semidefiniteness only on a carefully chosen sparse collection of low-dimensional principal submatrices.

Sparse SOCP Relaxation

We derive a scalable second-order cone relaxation of the rank-one lifted formulation in (5) by combining (i) a convex-hull relaxation of each ReLU, which removes the single-neuron quadratic complementarity constraint; (ii) sparse lifting of selected bilinear terms via McCormick envelopes, which introduces auxiliary variables only for targeted products and bounds them using the available lower and upper bounds on their factors; and (iii) local PSD surrogates through selected 2×22 \times2 principal minors, which enforce second-order consistency among selected lifted variables while remaining exactly SOCP-representable.

Figure 2 shows three coupling types at hidden layer kk: cross-layer E(k)\mathcal{E}^{(k)} selects zi(k−1)zj(k)z_i^{(k-1)}z_j^{(k)}, current-layer S(k)\mathcal{S}^{(k)} selects zi(k)zj(k)z_i^{(k)}z_j^{(k)}, and previous-layer T(k)\mathcal{T}^{(k)} selects zp(k−1)zq(k−1)z_p^{(k-1)}z_q^{(k-1)}. Here z(k)z^{(k)} is the activation vector at layer kk, with z(0)=xz^{(0)} = x. Each selected product satisfies McCormick envelopes and a local 2×22 \times2 PSD constraint; square lifts are shared across incident products and adjacent layers. The derivation below uses k=1k = 1, omitting layer superscripts; § 3.2 and Appendix § 12 give the extension.

Sparse SOCP couplings across hidden layers

Figure 2. Panels (a)–(c) illustrate sparse SOCP couplings by selecting cross-layer E(k)\mathcal{E}^{(k)}, current-layer S(k)\mathcal{S}^{(k)}, and previous-layer T(k)\mathcal{T}^{(k)} couplings, which also satisfy McCormick envelopes.

Base Relaxation. We replace the complementarity constraint z⊙(z−s)=0z \odot(z - s) = 0 in (4) with the convex-hull relaxation of each ReLU over bounded pre-activations (Wong and Kolter, 2018). Let s=W1xs = W_1x, and suppose that bounds ℓs,j≤sj≤us,j\ell_{s,j} \le s_j \le u_{s,j} are available for each hidden unit jj. The corresponding activation upper bound is uz,j=max⁡{0,us,j}u_{z,j} = \max\{0, u_{s,j}\}. For an unstable neuron, i.e., ℓs,j<0<us,j\ell_{s,j} < 0 < u_{s,j}, we impose

zj≥0,zj≥sj,zj≤αj(sj−ℓs,j),z_j \ge0,\qquad z_j \ge s_j,\qquad z_j \le\alpha_j(s_j-\ell_{s,j}),
αj≔us,jus,j−ℓs,j.(6)\alpha_j \coloneqq\frac{u_{s,j}}{u_{s,j}-\ell_{s,j}}. \tag*{(6)}

For stable neurons, the relaxation is exact: if ℓs,j≥0\ell_{s,j} \ge0, then zj=sjz_j = s_j, while if us,j≤0u_{s,j} \le0, then zj=0z_j = 0.

We next introduce auxiliary diagonal moment variables {ξi}i=1d\{\xi_i\}_{i=1}^d to lift xi2x_i^2. For the input box xi∈[ℓx,i,ux,i]x_i \in[\ell_{x,i},u_{x,i}], the quadratic implication (xi−ℓx,i)(xi−ux,i)≤0(x_i-\ell_{x,i})(x_i-u_{x,i}) \le0 yields the affine upper bound xi2≤(ℓx,i+ux,i)xi−ℓx,iux,ix_i^2 \le(\ell_{x,i}+u_{x,i})x_i-\ell_{x,i}u_{x,i}. We lift this relation by replacing xi2x_i^2 with ξi\xi_i and enforcing

0≤ξi≤(ℓx,i+ux,i)xi−ℓx,iux,i,i∈[d].(7)0 \le\xi_i \le(\ell_{x,i}+u_{x,i})x_i-\ell_{x,i}u_{x,i},\qquad i \in[d]. \tag*{(7)}

To capture a subset of cross-layer couplings, which are input-activation products for k=1k = 1, without incurring the full O(dm)\mathcal{O}(dm) lifting cost, we select a sparse edge set E⊆[d]×[m]\mathcal{E} \subseteq[d] \times[m]. For each (i,j)∈E(i,j) \in\mathcal{E}, we introduce an auxiliary variable ηij\eta_{ij} for the bilinear product xizjx_i z_j. Given bounds xi∈[ℓx,i,ux,i]x_i \in[\ell_{x,i},u_{x,i}] and zj∈[0,uz,j]z_j \in[0,u_{z,j}], we impose the McCormick envelope [18]:

ηij≥ℓx,izj,ηij≥ux,izj+uz,jxi−ux,iuz,j,ηij≤ux,izj,ηij≤ℓx,izj+uz,jxi−ℓx,iuz,j,(i,j)∈E.(8)\begin{aligned} \eta_{ij} &\ge\ell_{x,i}z_j,\\ \eta_{ij} &\ge u_{x,i}z_j+u_{z,j}x_i-u_{x,i}u_{z,j},\\ \eta_{ij} &\le u_{x,i}z_j,\\ \eta_{ij} &\le\ell_{x,i}z_j+u_{z,j}x_i-\ell_{x,i}u_{z,j},\qquad(i,j)\in\mathcal{E}. \tag*{(8)} \end{aligned}

For any xix_i and zjz_j within these bounds, the exact product ηij=xizj\eta_{ij}=x_i z_j satisfies all four inequalities. Thus, (8) contains the exact product relation but also permits additional convexified points, giving a valid outer relaxation.

We then add a second-order consistency constraint so that the relaxed products remain tied to the variables from which they were lifted. For each selected pair (i,j)∈E(i,j)\in\mathcal{E}, we introduce diagonal surrogates ξi\xi_i and ζj\zeta_j for xi2x_i^2 and zj2z_j^2, and impose the local PSD constraint

\begin{bmatrix} \xi_i & \eta_{ij}\\ \eta_{ij} & \zeta_j \end{bmatrix} \succeq0,\qquad\xi_i \ge x_i^2,\quad\zeta_j \ge z_j^2,\qquad(i,j)\in\mathcal{E}. \tag*{(9)}\end{bmatrix}

Since a 2×22 \times2 PSD constraint is equivalent to ξi,ζj≥0\xi_i,\zeta_j \ge0 and ηij2≤ξiζj\eta_{ij}^2 \le\xi_i\zeta_j, it admits a rotated-SOC representation.

We then use the ReLU relation to define the activation-square surrogate from the selected lifted products, while bounding the contribution of the products that are not lifted. In the exact lifted model, the ReLU complementarity condition implies

zj2=∑i=1d(W1)jixizj.(10)z_j^2 = \sum_{i=1}^{d}(W_1)_{ji}x_i z_j. \tag*{(10)}

Since we introduce bilinear variables ηij\eta_{ij} only for selected pairs (i,j)∈E(i,j)\in\mathcal{E}, we represent these selected terms explicitly and absorb the omitted terms into a residual:

ζj=∑i:(i,j)∈E(W1)jiηij+rj,rj∈[Lj(r),Uj(r)].(11)\zeta_j = \sum_{i:(i,j)\in\mathcal{E}}(W_1)_{ji}\eta_{ij}+r_j,\qquad r_j\in[L_j^{(r)},U_j^{(r)}]. \tag*{(11)}

The residual rjr_j accounts for the terms with (i,j)∉E(i,j)\notin\mathcal{E}; its interval bounds are computed from the bounds on xix_i and zjz_j, as described in Appendix § 9.

Additional Sparse Couplings. The base relaxation can be tightened by adding selected current-layer and previous-layer couplings. For the first, we first select current-layer activation products. Let S⊆[m]×[m]\mathcal{S}\subseteq[m]\times[m] with j<j′j<j', and introduce a surrogate σjj′\sigma_{jj'} for zjzj′z_jz_{j'}, for each (j,j′)∈S(j,j')\in\mathcal{S}. We impose a convex outer relaxation over

zj∈[0,uz,j]z_j \in[0,u_{z,j}] and zj′∈[0,uz,j′]z_{j'} \in[0,u_{z,j'}] using the McCormick envelope:

σjj′≥0,σjj′≤uz,j′zj,σjj′≥uz,j′zj+uz,jzj′−uz,juz,j′,σjj′≤uz,jzj′,(j,j′)∈S.(12)\begin{aligned} \sigma_{jj'} &\ge0,\\ \sigma_{jj'} &\le u_{z,j'}z_j,\\ \sigma_{jj'} &\ge u_{z,j'}z_j+u_{z,j}z_{j'}-u_{z,j}u_{z,j'},\\ \sigma_{jj'} &\le u_{z,j}z_{j'},\qquad(j,j')\in\mathcal{S}. \tag*{(12)} \end{aligned}

We also couple σjj′\sigma_{jj'} to the diagonal surrogates ζj\zeta_j and ζj′\zeta_{j'} through the corresponding local 2×22 \times2 PSD minor, as in (9), equivalently imposing ζj,ζj′≥0\zeta_j,\zeta_{j'}\ge0 and σjj′2≤ζjζj′\sigma_{jj'}^2\le\zeta_j\zeta_{j'} for (j,j′)∈S(j,j')\in\mathcal{S}.

Previous-layer couplings select products zp(k−1)zq(k−1)z_p^{(k-1)}z_q^{(k-1)}, as in Figure 2c. In the derivation here, k=1k=1 and z(0)=xz^{(0)}=x. Let T⊆[d]×[d]\mathcal{T}\subseteq[d]\times[d] with p<qp<q, and introduce an auxiliary variable τpq\tau_{pq} for each (p,q)∈T(p,q)\in\mathcal{T} to represent xpxqx_px_q. Given bounds xp∈[ℓx,p,ux,p]x_p\in[\ell_{x,p},u_{x,p}] and xq∈[ℓx,q,ux,q]x_q\in[\ell_{x,q},u_{x,q}], we impose the McCormick envelope [18]:

τpq≥ℓx,pxq+ℓx,qxp−ℓx,pℓx,q,τpq≥ux,pxq+ux,qxp−ux,pux,q,τpq≤ux,pxq+ℓx,qxp−ux,pℓx,q,τpq≤ℓx,pxq+ux,qxp−ℓx,pux,q,(p,q)∈T.(13)\begin{aligned} \tau_{pq} &\ge\ell_{x,p}x_q+\ell_{x,q}x_p-\ell_{x,p}\ell_{x,q},\\ \tau_{pq} &\ge u_{x,p}x_q+u_{x,q}x_p-u_{x,p}u_{x,q},\\ \tau_{pq} &\le u_{x,p}x_q+\ell_{x,q}x_p-u_{x,p}\ell_{x,q},\\ \tau_{pq} &\le\ell_{x,p}x_q+u_{x,q}x_p-\ell_{x,p}u_{x,q},\qquad(p,q)\in\mathcal{T}. \tag*{(13)} \end{aligned}

We also couple τpq\tau_{pq} to the diagonal surrogates ξp\xi_p and ξq\xi_q through the corresponding local 2×22 \times2 PSD minor, as in (9), equivalently imposing ξp,ξq≥0\xi_p,\xi_q\ge0 and τpq2≤ξpξq\tau_{pq}^2\le\xi_p\xi_q for (p,q)∈T(p,q)\in\mathcal{T}.

Sparse Coupling Selection. At each hidden layer kk, the sparse sets E(k)\mathcal{E}^{(k)}, S(k)\mathcal{S}^{(k)}, and T(k)\mathcal{T}^{(k)} select cross-layer, current-layer, and previous-layer products, respectively. In our experiments, the selection rules are fixed across the evaluation, while the selected pairs are determined

separately for each input and target class. For each hidden layer kk, we rank each unstable neuron jj by

ρj(k)=∣γj(k)∣∣us,j(k)−ℓs,j(k)∣,ℓs,j(k)<0<us,j(k).(14)\rho_j^{(k)}=|\gamma_j^{(k)}|\left|u_{s,j}^{(k)}-\ell_{s,j}^{(k)}\right|,\qquad\ell_{s,j}^{(k)}<0<u_{s,j}^{(k)}. \tag*{(14)}

where γj(k)\gamma_j^{(k)} is its target-dependent backward influence coefficient. These scores rank current-layer candidates; interval widths rank previous-layer candidates. Pairs from these pools define the candidate couplings: E(k)\mathcal{E}^{(k)}, S(k)\mathcal{S}^{(k)}, and T(k)\mathcal{T}^{(k)}. The backward recursion and the exact pair-selection scores are given in Appendix F.

Lemma 3.1 (Sparse SOCP Upper Bound). Let FSOCP(xˉ;E,S,T)\mathcal{F}_{\mathrm{SOCP}}(\bar{x};\mathcal{E},\mathcal{S},\mathcal{T}) denote the feasible set of the sparse SOCP relaxation defined above, with optimal value

fSOCP,yu(xˉ)≜max⁡cTzf_{\mathrm{SOCP},y}^{u}(\bar{x})\triangleq\max c^\mathsf{T}z
s.t.(x,s,z,ξ,ζ,η,σ,τ,r)∈FSOCP(xˉ;E,S,T).(15)\text{s.t.}\quad(x,s,z,\xi,\zeta,\eta,\sigma,\tau,r)\in\mathcal{F}_{\mathrm{SOCP}}(\bar{x};\mathcal{E},\mathcal{S},\mathcal{T}). \tag*{(15)}

Then

fy∗(xˉ)≤fSOCP,yu(xˉ).(16)f_y^*(\bar{x})\le f_{\mathrm{SOCP},y}^{u}(\bar{x}). \tag*{(16)}

With unchanged variable bounds, enlarging E\mathcal{E}, S\mathcal{S}, or T\mathcal{T} cannot increase this upper bound. The full formulation and proof are given in Appendices C and D.

With the same variable bounds, SOCP adds selected coupling constraints to the LP relaxation. If SDP uses the same linear constraints as SOCP and imposes P⪰0P\succeq0 on the full lifted matrix, the margin upper bounds satisfy fSDP,yu(xˉ)≤fSOCP,yu(xˉ)≤fLP,yu(xˉ)f_{\mathrm{SDP},y}^{u}(\bar{x})\le f_{\mathrm{SOCP},y}^{u}(\bar{x})\le f_{\mathrm{LP},y}^{u}(\bar{x}). Consequently, on the same evaluation set, the corresponding certified robust accuracies satisfy RASDP≥RASOCP≥RALPRA_{\mathrm{SDP}}\ge RA_{\mathrm{SOCP}}\ge RA_{\mathrm{LP}}.

Extension to Multiple Hidden Layers

For KK hidden layers, let z(0)=xz^{(0)}=x, s(k)=W(k)z(k−1)s^{(k)}=W^{(k)}z^{(k-1)}, and z(k)=ReLU⁡(s(k))z^{(k)}=\operatorname{ReLU}(s^{(k)}). At layer kk, z(k−1)z^{(k-1)} takes the Algorithm 1 CORE: Class-wise Verification

Require: Clean input xˉ\bar{x}, true label yˉ\bar{y}, radius ε\varepsilon

Require: Ordered verifiers V1,…,VHV_1,\ldots,V_H

Ensure: Robust or Uncertified

  1. for each y∈[L]y \in[L] with y≠yˉy \ne\bar{y} do

  2. for h=1h = 1 to HH do

  3. U←Vh(xˉ,yˉ,y,ε)U \gets V_h(\bar{x},\bar{y},y,\varepsilon) ▷ upper bound on margin

  4. if U<0U < 0 then

  5. break ▷ class yy certified

  6. if h=Hh = H then

  7. return Uncertified

  8. return Robust

role of xx. The sets E(k)\mathcal{E}^{(k)}, S(k)\mathcal{S}^{(k)}, and T(k)\mathcal{T}^{(k)} select products zi(k−1)zj(k)z_i^{(k-1)}z_j^{(k)}, zp(k)zq(k)z_p^{(k)}z_q^{(k)}, and zp(k−1)zq(k−1)z_p^{(k-1)}z_q^{(k-1)}, respectively. Thus T(1)\mathcal{T}^{(1)} represents original input-input products, whereas T(k)\mathcal{T}^{(k)} for k≥2k \ge2 represents products of preceding-layer hidden activations. These constraints are valid in both cases, even when they leave the margin bound unchanged.

We apply the interval bounds, ReLU hulls, McCormick envelopes, and local PSD constraints at each layer, sharing square lifts across incident products and adjacent layers, with ζ(0)=ξ\zeta^{(0)} = \xi. Appendix E gives the multilayer residual identity, output margin, residual bounds, and sparse implementation.

Remark 1 (Computational Complexity). Let Q=∣E∣+∣S∣+∣T∣Q = |\mathcal{E}| + |\mathcal{S}| + |\mathcal{T}|. The SOCP has O(d+m+Q)O(d + m + Q) scalar variables and constraints, compared with O((d+m)2)O((d + m)^2) entries in the dense SDP lift. A conventional interior-point solve costs O(ISOCPM3)O(I_{\mathrm{SOCP}}M^3) arithmetic operations with dense factorization, where M=O(d+m+Q)M = O(d + m + Q) is the Newton-system dimension and ISOCPI_{\mathrm{SOCP}} the iteration count. Appendix G details construction costs, memory, multilayer scaling, and the comparison with branch-and-bound.

CORE: Class-wise Cascade

For an input xˉ\bar{x} with a true label yˉ\bar{y}, certification reduces to L−1L-1 class-wise margin problems: xˉ\bar{x} is certified robust if, for every y≠yˉy \ne\bar{y}, an upper bound fy(xˉ)f^y(\bar{x}) is negative. CRV escalates inputs across verifiers and may re-solve all class-wise subproblems at expensive stages [16]. CORE cascades at the class-subproblem level: for each target class, it applies verifiers from cheap to expensive and escalates only when the current stage returns a non-negative upper bound for that class (Algorithm 1).

If the upper bound for a class remains nonnegative at the final stage, CORE terminates immediately for that input (Algorithm 1), because the cascade cannot certify the input as robust.

We assume a fixed ordering of verifiers V1,…,VHV_1,\ldots,V_H in increasing order of typical computational cost, based on their relaxation family. In particular, linear relaxations (e.g., bound propagation/LP-style) are placed earlier, SOCP relaxations follow, and semidefinite (or other heavier quadratic/SDP-based) relaxations are placed last. This ordering is chosen once and used for all inputs and classes, based on theoretical and empirical complexity rather than input-dependent heuristics (see, e.g., the solver-level cost summaries in [13]). When the relative cost of two candidates is unclear, we fix their order using a brief pilot run on a small representative subset; if their costs are comparable, we prioritize the tighter verifier first, since early certification avoids invoking later stages.

CORE certifies an input as robust only when every adversarial class is certified with a negative upper bound by at least one verifier; otherwise, it stops as soon as a class remains non-negative even under the tightest verifier VHV_H. Consequently, CORE’s certified robust accuracy is at least that of VHV_H, as follows from the cascade logic in Algorithm 1.

CORE can reduce runtime by avoiding expensive evaluations for classes certified at earlier stages and by stopping immediately once the cascade cannot certify an input.

Experiments

Experiments on MNIST and CIFAR-10 under ℓ∞\ell_\infty perturbations address three questions: (i) How do SOCP-, LP-, and SDP-based verifiers compare in certified robust accuracy and runtime? (ii) Can CORE reduce runtime while retaining the final verifier’s certified robust accuracy? (iii) How does the SOCP-based verifier compare with α,β\alpha,\beta-CROWN across certified-training methods?

Computing exact robust accuracy is generally intractable. Certified robust accuracy and accuracy under PGD attacks provide lower and upper bounds, respectively. We use εtrain\varepsilon_{\mathrm{train}} for the training perturbation budget and εverify\varepsilon_{\mathrm{verify}} for the verification budget, with ε\varepsilon as shorthand for the latter.

Networks. Table 1 compares SOCP-cert with α,β\alpha,\beta-CROWN across IBP [6], CROWN-IBP (Zhang et al., 2020), DeepPoly [22], and Dual-WK (Wong and Kolter, 2018) training, using a fixed architecture per dataset: a LeNet-style CNN for MNIST and CNN5 for CIFAR-10.

DatasetTraining Methodεtrain\varepsilon_{\mathrm{train}}εverify\varepsilon_{\mathrm{verify}}CleanSOCP-certα,β\alpha,\beta-CROWNPGD
MNISTIBP0.10.199.00%88.33%87.33%88.67%
CROWN-IBP0.10.197.67%94.33%93.67%94.67%
DeepPoly0.10.198.00%94.67%93.33%94.67%
Dual-WK0.10.182.00%69.67%70.00%72.33%
MNISTCROWN-IBP0.10.1597.67%8.00%N/A32.00%
DeepPoly0.10.1598.00%7.33%N/A34.33%
MNISTIBP0.30.399.00%71.67%70.33%78.33%
CROWN-IBP0.30.397.67%83.33%83.33%85.67%
DeepPoly0.30.398.00%82.33%82.00%85.67%
Dual-WK0.30.382.00%51.00%48.33%51.33%
CIFAR-10CROWN-IBP2/2551/25554.00%50.00%49.00%51.00%
DeepPoly2/2551/25559.50%49.00%49.00%51.00%
Dual-WK2/2551/25542.00%38.50%38.00%39.00%
CIFAR-10CROWN-IBP2/2552/25554.00%39.50%39.50%39.50%
DeepPoly2/2552/25559.50%36.50%35.50%38.00%
Dual-WK2/2552/25542.00%29.00%28.50%31.50%

Table 1. Verification of CNNs Trained for Certified Robustness. Clean accuracy, certified robust accuracy (SOCP-cert and α,β\alpha,\beta-CROWN), and PGD upper bounds use matched test images (300 MNIST; 200 CIFAR-10). N/A indicates that α,β\alpha,\beta-CROWN ran out of memory (Appendix § 14). Additional MNIST results at εverify=0.2\varepsilon_{\mathrm{verify}}=0.2 appear in Appendix § 8.§ 3.

We compare certified robust accuracy and runtime on matched networks and test inputs using Grad-NN, trained with SDP-based robust regularization, and Std-NN, trained by empirical risk minimization. *CNNSmall-

AA (MNIST) and CNNSmall-B (CIFAR-10) extend the LP/SOCP comparison to CNNs; Grad-NN also evaluates CORE’s runtime savings. Architecture and training details appear in Appendix § 8.§ 1.

Certification Procedures. LP-cert uses the linear relaxation of Wong and Kolter (2018); SOCP-cert uses the sparse lifted relaxation developed in § 3; and SDP-cert uses a global PSD lift (Raghunathan et al. [20]). α,β\alpha,\beta-CROWN combines bound propagation with branch-and-bound (Wang et al. (2021)).

CRV-FSR1 (LP →\to SDP) and CRV-FSR2 (SOCP →\to SDP) cascade at the input level with fast stepwise relaxation (FSR) (Maleki et al. [16]). CORE applies LP →\to SOCP →\to SDP at the target-class level (Algorithm 1); CORE-FSR adds FSR to its SDP stage.

Optimization setup. For Table 1, SOCP-cert uses CVXPY (SCS or CLARABEL); α,β\alpha,\beta-CROWN uses CUDA with a 120-second per-property timeout and a 10,000-domain limit. For Table 2 and Figure 3–Figure 4, SOCP-cert and SDP-cert use YALMIP (Lofberg [14]) /MOSEK on the same 6-core CPU, and LP-cert uses PyTorch¹. Appendix § 8.§ 2 gives additional solver settings.

VerifierRATime (min)Reduction
SDP-cert86.15%328.98—
SOCP-cert52.31%0.3199.90%
LP-cert12.31%——
CRV-FSR186.15%168.3348.83%
CRV-FSR286.15%91.8672.08%
CORE86.15%70.6178.54%
CORE-FSR86.15%45.0686.30%
PGD90.00%——

Table 2. Verification of Grad-NN on MNIST at ε=0.1\varepsilon= 0.1. RA is certified robust accuracy; PGD gives an empirical upper bound. Time is averaged per image; reduction is relative to SDP-cert.

Figure 3. Certified robust accuracy versus ℓ∞\ell_\infty perturbation radius on Grad-NN (one hidden layer). SOCP-cert retains certificates at radii where LP-cert certifies no inputs.

Figure 4. Certified robust accuracy versus ℓ∞\ell_\infty perturbation radius on Std-NN (two hidden layers). SOCP-cert improves on LP-cert across the evaluated radii.

SOCP-cert selected couplings. For the layer-wise coupling sets defined in § 3.2, the baseline budgets (BE,BS,BT)=(16,8,8)B_E,B_S,B_T)=(16,8,8) retain at most 32 products per hidden layer. Current-layer candidates are ranked by the score defined in (14), which is the product of each unstable ReLU’s preactivation interval width and its target-dependent influence. We retain the highest-scoring eligible pairs separately for each input and target class. All three sets are imposed jointly through McCormick envelopes and SOCP-representable 2×22 \times2 PSD constraints. Exact pair scores are given in Appendix § 13.

SOCP-cert vs. α,β\alpha,\beta-CROWN. In Table 1, SOCP-cert achieves higher mean certified robust accuracy than α,β\alpha,\beta-CROWN on both datasets, with comparable average runtime on MNIST (43.3 versus 40 seconds per image); on CIFAR-10, its runtime is higher (approximately 305 versus 120 seconds).

Certified training can reduce ReLU instability (Mao et al. [17]), favoring branch-and-bound. Increasing the verification radius, however, can introduce additional unstable ReLUs and make branching more demanding. For the CROWN-IBP and DeepPoly MNIST models trained at εtrain=0.1\varepsilon_{\mathrm{train}}=0.1 and verified at εverify=0.15\varepsilon_{\mathrm{verify}}=0.15, α,β\alpha,\beta-CROWN runs out of available memory, whereas SOCP-cert completes both 300-image evaluations, certifying 8.00% and 7.33%, respectively. This highlights a practical advantage of SOCP-cert’s fixed relaxation: by avoiding a growing search frontier, it completes under the tested memory budget (Appendix G).

SOCP-cert vs. SDP-cert. SOCP-cert offers an intermediate tightness-cost trade-off: selected second-order couplings strengthen LP-cert, while the sparse lift uses small SOC constraints instead of SDP-cert’s global PSD constraint, reducing formulation size at the evaluated coupling budgets (Appendix G). On Grad-NN at ε=0.1\varepsilon= 0.1 (Table 2), SOCP-cert certifies 52.31% of inputs, compared with 12.31% for LP-cert and 86.15% for SDP-cert. Its mean runtime is 0.31 versus 328.98 minutes per image for SDP-cert, demonstrating substantially lower computational cost at the expense of lower certified robust accuracy on this benchmark.

SOCP-cert vs. LP-cert. We also apply both verifiers to CNNs on both datasets: compared to LP-cert,

SOCP-cert improves certified robust accuracy from 0.00% to 86.67% on MNIST CNNSmall-A at ε=0.010\varepsilon= 0.010, and from 2.00% to 41.02% on CIFAR-10 CNNSmall-B at ε=0.001\varepsilon= 0.001.

CORE. All four cascades in Table 2 attain SDP-cert’s 86.15% certified robust accuracy. Using SOCP-cert rather than LP-cert as the first stage reduces CRV-FSR runtime from 168.33 to 91.86 minutes per image. CORE takes 70.61 minutes, and CORE-FSR takes 45.06 minutes, an 86.30% reduction relative to SDP-cert. CORE-FSR also improves on CRV-FSR2 (45.06 versus 91.86 minutes) at the same certified robust accuracy. PGD yields a 90.00% robust-accuracy upper bound; the remaining gap to CORE is 3.85 percentage points.

Effect of perturbation level ε\varepsilon. Figure 3 and Figure 4 compare SOCP-cert and LP-cert on the fully connected networks. On Grad-NN, with one hidden layer, SOCP-cert certifies 13.85% at ε=0.12\varepsilon= 0.12, whereas LP-cert reaches 0.00%. On Std-NN, with two hidden layers, LP-cert reaches 0.00% at 0.04, whereas SOCP-cert still certifies 60.00% at 0.10.

Discussion and Limitations

We presented an SOCP-based certification framework for ReLU networks that bridges the gap between LP- and SDP-based verification. Starting from a QCQP formulation of the robustness problem, our relaxation captures selected second-order structure through sparse lifting, McCormick envelopes, and SOC-representable 2×22 \times2 PSD minors. We further introduced CORE, a class-subproblem cascade that escalates only unresolved margins to tighter verifiers, reducing redundant computation while preserving the certified robust accuracy of the tightest verifier in the cascade. Limitations include that the certificates provide deterministic guarantees for the specified ℓ∞\ell_\infty threat model, and that the tightness-runtime trade-off depends on the selected sparse coupling sets.

References

Experimental Setup and Additional Results

Networks

  • Grad-NN: a fully connected network with one 500-unit hidden layer, trained using SDP-based robust regularization (Raghunathan et al. [20]).

  • Std-NN: a fully connected network with two hidden layers, trained by standard empirical risk minimization.

  • CNNSmall-A: a MNIST network with 1×28×281 \times28 \times28 inputs, two 3×33 \times3 convolution-ReLU layers with 8/16 channels, a 64-unit fully connected ReLU layer, and a linear classifier; approximately 0.8 million parameters.

  • CNNSmall-B: the same layer structure as CNNSmall-A, with 3×32×323 \times32 \times32 CIFAR-10 inputs; approximately 1.05 million parameters.

  • LeNet-style CNN: the certified-trained MNIST architecture in Table 1, with two convolution-ReLU blocks (16/32 channels, 4×44 \times4 kernels, stride 2, padding 1), a 100-unit fully connected ReLU layer, and a 10-class linear output; 166,406 trainable parameters.

  • CNN5: the certified-trained CIFAR-10 architecture in Table 1, with five convolution-ReLU blocks (24/24/48/48/96 channels), a 192-unit fully connected ReLU layer, and a 10-class linear output; 416,506 trainable parameters. Blocks 1/3/5 use 4×44 \times4 kernels and stride 2; blocks 2/4 use 3×33 \times3 kernels and stride 1; all use padding 1.

Training data and preprocessing. Inputs use pixels in [0,1][0, 1] without mean/std normalization. MNIST uses no augmentation; CIFAR-10 training uses random horizontal flips and crops with four-pixel padding. Hyperparameters are selected on a held-out 10% training split. Verification uses unaugmented inputs in evaluation mode, with perturbations clipped to the pixel range.

Training settings. The certified-trained models use AdamW with batch size 128 and an initial learning rate of 10−310^{-3}. MNIST models are trained for 20 epochs with weight decay 10−410^{-4}; CIFAR-10 models for 35 epochs with weight decay 5×10−45 \times10^{-4}.

Certification and Optimization Details

Coupling budgets. For Table 1, the per-layer budgets are (BE,BS,BT)=(16,8,8)(B_E, B_S, B_T) = (16, 8, 8), as specified in § 5. Appendix § 13 gives the candidate selection and pair scores. Candidate-pool limits control the pairs considered for scoring; the coupling budgets limit the pairs retained in the conic problem.

Solver choice. The software and hardware for the two experimental setups are specified in § 5. For challenging CVXPY instances, CLARABEL is used to improve numerical convergence and accuracy; changing between SCS and CLARABEL preserves the relaxation’s mathematical feasible set. Resource-limited runs are discussed in Appendix § 14.

α,β\alpha,\beta-CROWN configuration. The runs use an NVIDIA TITAN Xp with 12 GiB of GPU memory and approximately 15 GiB of system RAM. Incomplete verification precedes branch-and-bound, with patch-mode convolution and KFSB branching. The timeout and domain limit are specified in § 5. The initial batch size is 1024 with automatic enlargement disabled; after premature termination, evaluation is repeated with smaller batch sizes. We use 100 α\alpha-CROWN optimization iterations and 20 β\beta-CROWN iterations. The internal PGD attack, when enabled, runs before certification and is distinct from the separate PGD evaluation reported in the tables.

Additional Results

Certified-trained models at verification radius 0.2. Table 3 reports the MNIST results at verification radius 0.2. SOCP-cert exceeds α,β\alpha,\beta-CROWN on all four reported models by 0.67–1.67 percentage points, while remaining below the PGD robust-accuracy upper bounds. These observations concern the evaluated models, images, and configurations.

DatasetTraining methodεtrain\varepsilon_{\mathrm{train}}εverify\varepsilon_{\mathrm{verify}}CleanSOCP-certα,β\alpha,\beta-CROWNPGD
MNISTIBP0.30.299.0083.3381.6786.00
MNISTCROWN-IBP0.30.297.6788.3387.3390.00
MNISTDeepPoly0.30.298.0088.0086.6790.33
MNISTDual-WK0.30.282.0061.6761.0062.67

Table 3. Certified-trained MNIST models trained at εtrain=0.3\varepsilon_{\mathrm{train}} = 0.3 and evaluated at εverify=0.2\varepsilon_{\mathrm{verify}} = 0.2, complementing Table 1. Accuracy values are percentages on the same matched 300-image evaluation set.

Residual Bounds

Write W=W1W = W_1 for the one-hidden-layer network. For each hidden unit jj, the residual in (11) collects the omitted products:

rj=∑i:(i,j)∉EWjixizj.r_j = \sum_{i:(i,j)\notin\mathcal{E}} W_{ji}x_i z_j.

For xi∈[ℓx,i,ux,i]x_i \in[\ell_{x,i},u_{x,i}] and zj∈[0,uz,j]z_j \in[0,u_{z,j}], define

p‾ij=uz,jmin⁡{0,ℓx,i},p‾ij=uz,jmax⁡{0,ux,i}.\underline{p}_{ij} = u_{z,j}\min\{0,\ell_{x,i}\}, \qquad\overline{p}_{ij} = u_{z,j}\max\{0,u_{x,i}\}.

Then xizj∈[p‾ij,p‾ij]x_i z_j \in[\underline{p}_{ij},\overline{p}_{ij}], and signed interval arithmetic gives

Lj(r)=∑i:(i,j)∉Emin⁡{Wjip‾ij,Wjip‾ij},Uj(r)=∑i:(i,j)∉Emax⁡{Wjip‾ij,Wjip‾ij}.(17)\begin{aligned} L_j^{(r)} &= \sum_{i:(i,j)\notin\mathcal{E}} \min\{W_{ji}\underline{p}_{ij},W_{ji}\overline{p}_{ij}\},\\ U_j^{(r)} &= \sum_{i:(i,j)\notin\mathcal{E}} \max\{W_{ji}\underline{p}_{ij},W_{ji}\overline{p}_{ij}\}. \tag*{(17)} \end{aligned}

Thus Lj(r)≤rj≤Uj(r)L_j^{(r)} \le r_j \le U_j^{(r)}. Empty sums are zero, so retaining every cross-layer product eliminates the residual. The bounds are conservative because they need not capture dependencies among omitted products.

At hidden layer kk, set a=zi(k−1)a = z_i^{(k-1)}, b=zj(k)b = z_j^{(k)}, W=W(k)W = W^{(k)}, and E=E(k)\mathcal{E} = \mathcal{E}^{(k)}. For bounds a∈[ℓa,ua]a \in[\ell_a,u_a] and b∈[ℓb,ub]b \in[\ell_b,u_b], use

p‾=min⁡{ℓaℓb,ℓaub,uaℓb,uaub},p‾=max⁡{ℓaℓb,ℓaub,uaℓb,uaub}.\underline{p} = \min\{\ell_a\ell_b,\ell_a u_b,u_a\ell_b,u_a u_b\}, \qquad\overline{p} = \max\{\ell_a\ell_b,\ell_a u_b,u_a\ell_b,u_a u_b\}.

Substituting these endpoints into (17) gives valid layer-wise residual bounds, including when an activation has a positive lower bound.

Full SOCP Formulation

For one hidden layer, the feasible set FSOCP(xˉ;E,S,T)\mathcal{F}_{\mathrm{SOCP}}(\bar{x};\mathcal{E},\mathcal{S},\mathcal{T}) consists of the ReLU convex-hull constraints, diagonal lifts, McCormick envelopes for selected cross-layer, current-layer, and previous-layer products, residual bounds, and SOC-representable PSD constraints on selected 2×22 \times2 principal submatrices. Here z(0)=xz^{(0)} = x, and layer superscripts are omitted; Appendix § 12 gives the multilayer formulation. For fixed (xˉ,yˉ,y)(\bar{x},\bar{y},y), let s=W1xs = W_1x, W=W1W = W_1, and c=W2⊤(ey−eyˉ)c = W_2^\top(e_y-e_{\bar y}). With the residual intervals from Appendix B, the upper bound is given by

fSOCP,yu(xˉ)≜max⁡x,z,ξ,ζ,η,σ,τ,rc⊤zs.t.x∈[ℓx,ux],s=W1x,∀j∈[m],zj≥0,zj≥sj,zj≤αj(sj−ℓs,j) if ℓs,j<0<us,j,αj=us,jus,j−ℓs,j,zj=sj if ℓs,j≥0,zj=0 if us,j≤0,∀i∈[d],0≤ξi≤(ℓx,i+ux,i)xi−ℓx,iux,i,ζj≥0,∀j∈[m],∀(i,j)∈E,ηij≥ℓx,izj,ηij≤ux,izj,ηij≥ux,izj+uz,jxi−ux,iuz,j,ηij≤ℓx,izj+uz,jxi−ℓx,iuz,j,∀(i,j)∈E,xi2≤ξi,zj2≤ζj,ηij2≤ξiζj,∀j∈[m],ζj=∑i:(i,j)∈EWjiηij+rj,rj∈[Lj(r),Uj(r)],∀(j,j′)∈S, j<j′,σjj′≥0,σjj′≤uz,j′zj,σjj′≤uz,jzj′,σjj′≥uz,j′zj+uz,jzj′−uz,juz,j′,∀(j,j′)∈S,σjj′2≤ζjζj′,∀(p,q)∈T, p<q,τpq≥ℓx,pxq+ℓx,qxp−ℓx,pℓx,q,τpq≥ux,pxq+ux,qxp−ux,pux,q,τpq≤ux,pxq+ℓx,qxp−ux,pℓx,q,τpq≤ℓx,pxq+ux,qxp−ℓx,pux,q,∀(p,q)∈T,τpq2≤ξpξq.(18)\begin{aligned} f_{\mathrm{SOCP},y}^{u}(\bar{x}) &\triangleq\max_{x,z,\xi,\zeta,\eta,\sigma,\tau,r} && c^\top z \\ &\text{s.t.} && x \in[\ell_x,u_x], \qquad s=W_1x,\\ &&& \forall j\in[m], \qquad z_j\ge0,\qquad z_j\ge s_j,\\ &&& z_j\le\alpha_j(s_j-\ell_{s,j})\ \text{if }\ell_{s,j}<0<u_{s,j},\qquad\alpha_j=\frac{u_{s,j}}{u_{s,j}-\ell_{s,j}},\\ &&& z_j=s_j\ \text{if }\ell_{s,j}\ge0,\qquad z_j=0\ \text{if }u_{s,j}\le0,\\ &&& \forall i\in[d],\qquad0\le\xi_i\le(\ell_{x,i}+u_{x,i})x_i-\ell_{x,i}u_{x,i},\\ &&& \zeta_j\ge0,\qquad\forall j\in[m],\\ &&& \forall(i,j)\in\mathcal{E},\qquad\eta_{ij}\ge\ell_{x,i}z_j,\qquad\eta_{ij}\le u_{x,i}z_j,\\ &&& \eta_{ij}\ge u_{x,i}z_j+u_{z,j}x_i-u_{x,i}u_{z,j},\\ &&& \eta_{ij}\le\ell_{x,i}z_j+u_{z,j}x_i-\ell_{x,i}u_{z,j},\\ &&& \forall(i,j)\in\mathcal{E},\qquad x_i^2\le\xi_i,\qquad z_j^2\le\zeta_j,\qquad\eta_{ij}^2\le\xi_i\zeta_j,\\ &&& \forall j\in[m],\qquad\zeta_j=\sum_{i:(i,j)\in\mathcal{E}}W_{ji}\eta_{ij}+r_j,\\ &&& r_j\in[L_j^{(r)},U_j^{(r)}],\\ &&& \forall(j,j')\in\mathcal{S},\ j<j',\qquad\sigma_{jj'}\ge0,\qquad\sigma_{jj'}\le u_{z,j'}z_j,\qquad\sigma_{jj'}\le u_{z,j}z_{j'},\\ &&& \sigma_{jj'}\ge u_{z,j'}z_j+u_{z,j}z_{j'}-u_{z,j}u_{z,j'},\\ &&& \forall(j,j')\in\mathcal{S},\qquad\sigma_{jj'}^2\le\zeta_j\zeta_{j'},\\ &&& \forall(p,q)\in\mathcal{T},\ p<q,\qquad\tau_{pq}\ge\ell_{x,p}x_q+\ell_{x,q}x_p-\ell_{x,p}\ell_{x,q},\\ &&& \tau_{pq}\ge u_{x,p}x_q+u_{x,q}x_p-u_{x,p}u_{x,q},\\ &&& \tau_{pq}\le u_{x,p}x_q+\ell_{x,q}x_p-u_{x,p}\ell_{x,q},\\ &&& \tau_{pq}\le\ell_{x,p}x_q+u_{x,q}x_p-\ell_{x,p}u_{x,q},\\ &&& \forall(p,q)\in\mathcal{T},\qquad\tau_{pq}^2\le\xi_p\xi_q. \tag*{(18)} \end{aligned}

Proof of Lemma 3.1

Validity. Take any exact feasible point x∈[ℓx,ux]x\in[\ell_x,u_x], s=W1xs=W_1x, and z=ReLU⁡(s)z=\operatorname{ReLU}(s). Complete it with

ξi=xi2,ζj=zj2,ηij=xizj,σjj′=zjzj′,τpq=xpxq\xi_i=x_i^2,\qquad\zeta_j=z_j^2,\qquad\eta_{ij}=x_i z_j,\qquad\sigma_{jj'}=z_jz_{j'},\qquad\tau_{pq}=x_px_q

for the selected pairs, and set rj=∑i:(i,j)∉EWjixizjr_j=\sum_{i:(i,j)\notin\mathcal{E}}W_{ji}x_i z_j. The exact ReLU graph satisfies its convex hull. The input square secant follows from (xi−ℓx,i)(xi−ux,i)≤0(x_i-\ell_{x,i})(x_i-u_{x,i})\le0, and every exact product satisfies its McCormick envelope. For any selected pair (a,b)(a,b), its lifted minor is

[a2ababb2]=[ab][ab]T⪰0,\begin{bmatrix}a^2&ab\\ab&b^2\end{bmatrix} = \begin{bmatrix}a\\b\end{bmatrix} \begin{bmatrix}a\\b\end{bmatrix}^{\mathsf T} \succeq0,

so all SOC constraints hold. Finally, ReLU complementarity gives

zj2=zjsj=∑i:(i,j)∈EWjiηij+rj,z_j^2=z_js_j=\sum_{i:(i,j)\in\mathcal{E}}W_{ji}\eta_{ij}+r_j,

and Appendix B bounds the omitted sum. Thus every exact feasible point has a feasible lifted completion in (18). Projecting onto (x,z)(x,z) and maximizing the same objective proves fy∗(xˉ)≤fSOCP,yu(xˉ)f_y^*(\bar{x})\le f_{\mathrm{SOCP},y}^{u}(\bar{x}).

Monotonicity. Fix the variable bounds and take E1⊆E2\mathcal{E}_1\subseteq\mathcal{E}_2, S1⊆S2\mathcal{S}_1\subseteq\mathcal{S}_2, and T1⊆T2\mathcal{T}_1\subseteq\mathcal{T}_2. Given a feasible point for the larger sets, retain the shared variables and define

rj(1)=rj(2)+∑i:(i,j)∈E2∖E1Wjiηij.r_j^{(1)}=r_j^{(2)}+\sum_{i:(i,j)\in\mathcal{E}_2\setminus\mathcal{E}_1}W_{ji}\eta_{ij}.

The McCormick envelope bounds each newly selected product within the interval previously used for that omitted term. Summing those intervals with the remaining residual interval places rj(1)r_j^{(1)} in the bounds for E1\mathcal{E}_1, and the residual equation is preserved. All other constraints on shared variables remain in the larger formulation. Therefore

proj⁡x,zFSOCP(xˉ;E2,S2,T2)⊆proj⁡x,zFSOCP(xˉ;E1,S1,T1),\operatorname{proj}_{x,z}\mathcal{F}_{\mathrm{SOCP}}(\bar{x};\mathcal{E}_2,\mathcal{S}_2,\mathcal{T}_2)\subseteq\operatorname{proj}_{x,z}\mathcal{F}_{\mathrm{SOCP}}(\bar{x};\mathcal{E}_1,\mathcal{S}_1,\mathcal{T}_1),

which proves that enlarging the selected sets cannot increase the maximum. This is a non-strict statement: additional couplings need not improve the bound. Replacing existing pairs or changing the underlying variable bounds is not covered by this argument.

Comparison with LP and SDP. SOCP retains the input bounds and ReLU hulls of the corresponding LP, hence its projection is contained in the LP feasible set. Conversely, a full lifted matrix satisfying the same linear constraints and global positive semidefiniteness satisfies every selected PSD minor and square epigraph. For these matched formulations,

fy⋆(xˉ)≤fSDP,ylu(xˉ)≤fSOCP,ylu(xˉ)≤fLP,ylu(xˉ).f_y^\star(\bar{x})\leq f_{\mathrm{SDP},y}^{\mathrm{lu}}(\bar{x})\leq f_{\mathrm{SOCP},y}^{\mathrm{lu}}(\bar{x})\leq f_{\mathrm{LP},y}^{\mathrm{lu}}(\bar{x}).

This comparison requires the same bounds and retained linear constraints; it does not order arbitrary implementations with different preprocessing or numerical settings.

Extension to Multiple Hidden Layers

Network and interval bounds. For KK hidden layers, following the convention in § 2, write

z(0)=x,s(k)=W(k)z(k−1),z(k)=ReLU⁡(s(k)),k∈[K],z^{(0)}=x,\qquad s^{(k)}=W^{(k)}z^{(k-1)},\qquad z^{(k)}=\operatorname{ReLU}(s^{(k)}),\qquad k\in[K],

and f(x)=W(K+1)z(K)f(x)=W^{(K+1)}z^{(K)}. For qy=ey−eyˉq_y=e_y-e_{\bar{y}}, the objective is

f(x)y−f(x)yˉ=c⊤z(K),c=(W(K+1))⊤qy.f(x)_y-f(x)_{\bar{y}}=c^\top z^{(K)},\qquad c=(W^{(K+1)})^\top q_y.

Starting from [ℓz(0),uz(0)]=[ℓx,ux][\ell_z^{(0)},u_z^{(0)}]=[\ell_x,u_x], interval bounds can be propagated by

ℓs(k)=W+(k)ℓz(k−1)+W−(k)uz(k−1),\ell_s^{(k)}=W_+^{(k)}\ell_z^{(k-1)}+W_-^{(k)}u_z^{(k-1)},
us(k)=W+(k)uz(k−1)+W−(k)ℓz(k−1),u_s^{(k)}=W_+^{(k)}u_z^{(k-1)}+W_-^{(k)}\ell_z^{(k-1)},
ℓz(k)=max⁡{0,ℓs(k)},uz(k)=max⁡{0,us(k)},\ell_z^{(k)}=\max\{0,\ell_s^{(k)}\},\qquad u_z^{(k)}=\max\{0,u_s^{(k)}\},

where W+=max⁡{W,0}W_+=\max\{W,0\}, W−=min⁡{W,0}W_-=\min\{W,0\}, and the operations are componentwise. At every hidden layer, impose these boxes, the linear equation for s(k)s^{(k)}, and the ReLU hull in (6). Convolutions are linear operators under this convention, so the same construction applies after indexing their input and output coordinates.

Diagonal and product lifts. Let ζ(0)=ξ\zeta^{(0)}=\xi. A multilayer formulation can impose the valid square bounds

(zi(k))2≤ζi(k)≤(ℓz,i(k)+uz,i(k))zi(k)−ℓz,i(k)uz,i(k),k=1,…,K.(z_i^{(k)})^2\leq\zeta_i^{(k)}\leq(\ell_{z,i}^{(k)}+u_{z,i}^{(k)})z_i^{(k)}-\ell_{z,i}^{(k)}u_{z,i}^{(k)},\qquad k=1,\ldots,K.

For the cross-layer, current-layer, and previous-layer couplings in Figure 2, introduce

ηij(k)≈zi(k−1)zj(k),(i,j)∈E(k),\eta_{ij}^{(k)}\approx z_i^{(k-1)}z_j^{(k)},\qquad(i,j)\in\mathcal{E}^{(k)},
σjj′(k)≈zj(k)zj′(k),(j,j′)∈S(k), j<j′,\sigma_{jj'}^{(k)}\approx z_j^{(k)}z_{j'}^{(k)},\qquad(j,j')\in\mathcal{S}^{(k)},\ j<j',
τpq(k)≈zp(k−1)zq(k−1),(p,q)∈T(k), p<q.\tau_{pq}^{(k)}\approx z_p^{(k-1)}z_q^{(k-1)},\qquad(p,q)\in\mathcal{T}^{(k)},\ p<q.

Each product variable w≈abw\approx ab over [ℓa,ua]×[ℓb,ub][\ell_a,u_a]\times[\ell_b,u_b] satisfies

w≥ℓab+ℓba−ℓaℓb,w≥uab+uba−uaub,w\geq\ell_ab+\ell_ba-\ell_a\ell_b,\qquad w\geq u_ab+u_ba-u_au_b,
w≤uab+ℓba−uaℓb,w≤ℓab+uba−ℓaub.w\leq u_ab+\ell_ba-u_a\ell_b,\qquad w\leq\ell_ab+u_ba-\ell_au_b.

With shared diagonal surrogates da,dbd_a,d_b for a2,b2a^2,b^2, impose the local PSD constraint in SOC form:

[dawwdb]⪰0⟺∥[2wda−db]∥2≤da+db.\begin{bmatrix}d_a&w\\w&d_b\end{bmatrix}\succeq0\qquad\Longleftrightarrow\qquad\left\|\begin{bmatrix}2w\\d_a-d_b\end{bmatrix}\right\|_2\leq d_a+d_b.

For previous-layer couplings T(k)\mathcal{T}^{(k)}, the diagonal entries are ζp(k−1)\zeta_p^{(k-1)} and ζq(k−1)\zeta_q^{(k-1)}, reducing to ζp\zeta_p and ζq\zeta_q at k=1k=1. Each diagonal variable is shared across all pairs and adjacent layers.

Residual identities. At each layer, ReLU complementarity gives (zj(k))2=zj(k)sj(k)(z_j^{(k)})^2 = z_j^{(k)}s_j^{(k)}, yielding

sj(k)=∑i:(i,j)∈E(k)Wji(k)ηij(k)+rj(k),rj(k)∈[Lj(r,k),Uj(r,k)].(19)s_j^{(k)} = \sum_{i:(i,j)\in\mathcal{E}^{(k)}} W_{ji}^{(k)}\eta_{ij}^{(k)} + r_j^{(k)}, \qquad r_j^{(k)} \in[L_j^{(r,k)},U_j^{(r,k)}]. \tag*{(19)}

The residual collects the omitted terms ∑i:(i,j)∉E(k)Wji(k)zi(k−1)zj(k)\sum_{i:(i,j)\notin\mathcal{E}^{(k)}} W_{ji}^{(k)}z_i^{(k-1)}z_j^{(k)}, bounded using Appendix B. For one hidden layer, z(0)=xz^{(0)}=x and W(1)=W1W^{(1)}=W_1, so (19) reduces to (11). With the layer-wise constraints above, the exact-lift argument in Appendix D establishes a valid upper bound on the output margin.

Sparse Coupling Selection Details

Backward influence coefficients. Using the notation of Appendix E, let qy=ey−eyˉq_y=e_y-e_{\bar{y}}. The released evaluator defaults to gamma_backend=dual, which computes CROWN-style influence coefficients (Zhang et al., 2018); dual_WK selects the implemented Wong-Kolter-style recursion (Wong and Kolter, 2018). This choice affects coupling selection, independently of the model’s training method. For an unstable ReLU, define

αj(k)=us,j(k)us,j(k)−ℓs,j(k),βj(k)=1{us,j(k)>−ℓs,j(k)}.\alpha_j^{(k)}=\frac{u_{s,j}^{(k)}}{u_{s,j}^{(k)}-\ell_{s,j}^{(k)}}, \qquad\beta_j^{(k)}=\mathbf{1}\{u_{s,j}^{(k)}>-\ell_{s,j}^{(k)}\}.

For the CROWN-style recursion, initialize λ(K+1)=qy\lambda^{(K+1)}=q_y. For k=K,…,1k=K,\ldots,1, set

λ^(k)=(W(k+1))Tλ(k+1),γj(k)=λj(k)={0,us,j(k)≤0,λ^j(k),ℓs,j(k)≥0, us,j(k)>0,αj(k)λ^j(k),ℓs,j(k)<0<us,j(k), λ^j(k)≥0,βj(k)λ^j(k),ℓs,j(k)<0<us,j(k), λ^j(k)<0.\widehat{\lambda}^{(k)}=(W^{(k+1)})^{\mathsf{T}}\lambda^{(k+1)}, \qquad \gamma_j^{(k)}=\lambda_j^{(k)}= \begin{cases} 0, & u_{s,j}^{(k)}\le0,\\ \widehat{\lambda}_j^{(k)}, & \ell_{s,j}^{(k)}\ge0,\ u_{s,j}^{(k)}>0,\\ \alpha_j^{(k)}\widehat{\lambda}_j^{(k)}, & \ell_{s,j}^{(k)}<0<u_{s,j}^{(k)},\ \widehat{\lambda}_j^{(k)}\ge0,\\ \beta_j^{(k)}\widehat{\lambda}_j^{(k)}, & \ell_{s,j}^{(k)}<0<u_{s,j}^{(k)},\ \widehat{\lambda}_j^{(k)}<0. \end{cases}

For dual_WK, initialize ν(K+1)=−qy\nu^{(K+1)}=-q_y and propagate ν^(k)=(W(k+1))Tν(k+1)\widehat{\nu}^{(k)}=(W^{(k+1)})^{\mathsf{T}}\nu^{(k+1)}. Stable units use the same inactive/active rules, while the implemented unstable-unit step is

γj(k)=νj(k)=αj(k)[ν^j(k)]++[ν^j(k)]−,[a]+=max⁡{a,0},[a]−=min⁡{a,0}.\gamma_j^{(k)}=\nu_j^{(k)}=\alpha_j^{(k)}[\widehat{\nu}_j^{(k)}]_+ + [\widehat{\nu}_j^{(k)}]_-, \qquad[a]_+=\max\{a,0\}, \quad[a]_-=\min\{a,0\}.

These expressions state the unregularized recursions; the code adds 10−1210^{-12} to the slope denominators. Convolutional maps use the corresponding adjoint convolution.

Candidate pools and pair scores. Rank current-layer neurons by

ρj(k)={∣γj(k)∣(us,j(k)−ℓs,j(k)),ℓs,j(k)<0<us,j(k),−∞,otherwise.\rho_j^{(k)}= \begin{cases} |\gamma_j^{(k)}|(u_{s,j}^{(k)}-\ell_{s,j}^{(k)}), & \ell_{s,j}^{(k)}<0<u_{s,j}^{(k)},\\ -\infty, & \text{otherwise}. \end{cases}

The min⁡{Nz,nk}\min\{N_z,n_k\} largest scores form R(k)\mathcal{R}^{(k)}. This prioritizes unstable units; if fewer than NzN_z are unstable, the released top-NzN_z routine also includes stable units. For the preceding layer, define Δzi(k−1)=uz,i(k−1)−ℓz,i(k−1)\Delta z_i^{(k-1)}=u_{z,i}^{(k-1)}-\ell_{z,i}^{(k-1)}, and let C(k−1)\mathcal{C}^{(k-1)} contain the min⁡{Np,nk−1}\min\{N_p,n_{k-1}\} widest intervals. With i,p,q∈C(k−1)i,p,q\in\mathcal{C}^{(k-1)} and j,j′∈R(k)j,j'\in\mathcal{R}^{(k)}, score the pairs by

rE(k)(i,j)=∣γj(k)∣∣Wji(k)∣Δzi(k−1)uz,j(k),r_E^{(k)}(i,j)=|\gamma_j^{(k)}||W_{ji}^{(k)}|\Delta z_i^{(k-1)}u_{z,j}^{(k)},
rS(k)(j,j′)=∣γj(k)γj′(k)∣uz,j(k)uz,j′(k),j<j′,r_S^{(k)}(j,j')=|\gamma_j^{(k)}\gamma_{j'}^{(k)}|u_{z,j}^{(k)}u_{z,j'}^{(k)}, \qquad j<j',
Ap(k)=∑j∈R(k)∣γj(k)∣∣Wjp(k)∣,A_p^{(k)}=\sum_{j\in\mathcal{R}^{(k)}}|\gamma_j^{(k)}||W_{jp}^{(k)}|,
rT(k)(p,q)=Ap(k)Aq(k)Δzp(k−1)Δzq(k−1),p<q.r_T^{(k)}(p,q)=A_p^{(k)}A_q^{(k)}\Delta z_p^{(k-1)}\Delta z_q^{(k-1)}, \qquad p<q.

At each layer, retain the highest positive, finite-scoring pairs, up to BEB_E, BSB_S, and BTB_T, respectively. Previous-layer couplings use z(k−1)z^{(k-1)}: the inputs xx at k=1k=1 and hidden activations at k≥2k\ge2. Budgets remain fixed within a run, while scores and selected sets are recomputed for each input and target. Record the selected indices with the software version to reproduce choices among equal scores.

Computational Complexity and Resource-Limited Verification

This section relates the resource-limited results in Table 1 to the formulation and solver costs in Remark 1.

Observed memory-limited evaluations. For the CROWN-IBP and DeepPoly MNIST models trained at εtrain=0.1\varepsilon_{\mathrm{train}} = 0.1, evaluation at εverify=0.15\varepsilon_{\mathrm{verify}} = 0.15 exhausts the available memory during the α,β\alpha,\beta-CROWN runs. The process exits are caused by memory constraints rather than expiration of the 120-second per-property timeout. The evaluations use the configuration in Appendix § 8.§ 2; smaller-batch retries also fail to complete. Consequently, N/A denotes unavailable certified robust accuracy, not a zero value or a determination of non-robustness. SOCP-cert completes the corresponding 300-image evaluations, certifying 8.00% and 7.33%, respectively.

Fixed SOCP formulation. For KK hidden layers of widths n1,…,nKn_1,\ldots,n_K, with n0=dn_0=d, define

N=d+∑k=1Knk,Q=∑k=1K(∣E(k)∣+∣S(k)∣+∣T(k)∣).N = d + \sum_{k=1}^{K} n_k,\qquad Q = \sum_{k=1}^{K}\left(\lvert\mathcal{E}^{(k)}\rvert+ \lvert\mathcal{S}^{(k)}\rvert+ \lvert\mathcal{T}^{(k)}\rvert\right).

The base variables and square lifts number O(N)O(N). Each selected pair adds one product variable, four McCormick inequalities, and a constant-dimensional SOC; square epigraphs also use constant-dimensional SOCs. Thus the formulation has O(N+Q)O(N+Q) variables, constraints, and cones, compared with O(N2)O(N^2) entries in a dense SDP lift. If AA counts nonzero coefficients in the expanded network operators, sparse conic data require O(A+N+Q)O(A+N+Q) storage. For convolutions, AA counts repeated weight uses, not only trainable parameters.

Construction and solution costs. With sparse operators available, interval propagation costs O(A+N)O(A+N) per input. For pk=∣C(k−1)∣p_k=\lvert\mathcal{C}^{(k-1)}\rvert and qk=∣R(k)∣q_k=\lvert\mathcal{R}^{(k)}\rvert in Appendix § 13, define

Pcand=∑k=1K(pkqk+(qk2)+(pk2)).P_{\mathrm{cand}} = \sum_{k=1}^{K}\left(p_kq_k+\binom{q_k}{2}+\binom{p_k}{2}\right).

Backward influence, comparison sorting, residual bounds, and assembly give the per-target bound

Tform=O(A+Nlog⁡(N+1)+Pcandlog⁡(Pcand+1)+Q).T_{\mathrm{form}} = O\left(A+N\log(N+1)+P_{\mathrm{cand}}\log(P_{\mathrm{cand}}+1)+Q\right).

For Newton-system dimension M=O(N+Q)M=O(N+Q) and ISOCPI_{\mathrm{SOCP}} interior-point iterations, conventional dense factorization gives

Ttarget=O(Tform+ISOCPM3),SSOCP=O(A+N+Q+Pcand+M2).T_{\mathrm{target}} = O\left(T_{\mathrm{form}}+I_{\mathrm{SOCP}}M^3\right),\qquad S_{\mathrm{SOCP}}=O\left(A+N+Q+P_{\mathrm{cand}}+M^2\right).

Under strict feasibility and suitable primal-dual initialization, short-step path following requires ISOCP=O(N+Qlog⁡(g0/δ))I_{\mathrm{SOCP}}=O\left(\sqrt{N+Q}\log(g_0/\delta)\right) for initial duality gap g0g_0 and tolerance 0<δ<g00<\delta<g_0 ([1, 2]). This yields a polynomial arithmetic-operation bound for a fixed relaxation, excluding initialization. Sparse factorization depends on fill-in; SCS has different iteration costs. Dense operator conversion adds preprocessing and O(∑k=1K+1nk−1nk)O\left(\sum_{k=1}^{K+1}n_{k-1}n_k\right) storage, with nK+1=Ln_{K+1}=L.

Branch-and-bound time and memory. α,β\alpha,\beta-CROWN combines bound propagation with batched branching and retains unresolved subdomains ((Wang et al., 2021, Appendix B)). If root processing costs TrootT_{\mathrm{root}}, at most DD subdomains are processed, and each costs at most TnodeT_{\mathrm{node}}, then

TBaB=O(Troot+DTnode).T_{\mathrm{BaB}}=O\left(T_{\mathrm{root}}+DT_{\mathrm{node}}\right).

An uncapped binary search over UU initially unstable ReLUs can have D=O(2U)D=O(2^U); this is a search-tree bound, not the cost of one bound-propagation pass. Peak memory depends instead on retained domains and simultaneous computation. With at most RR stored domains, per-domain storage bounded by sds_d, batch workspace W(b)W(b), and model/root-processing storage S0S_0, a conservative bound is

SBaB=O(S0+Rsd+W(b)).S_{\mathrm{BaB}}=O\left(S_0+Rs_d+W(b)\right).

Bounds, split histories, and relaxation parameters contribute to this state; CPU and GPU allocations each face their own capacity limits. Reducing batch size bb lowers concurrent work but does not eliminate root-processing or retained-domain storage. Neither a timeout nor a domain-count cap is a bound on all memory allocations. For an uncapped search that retains its frontier, R≤D=O(2U)R \le D = O(2^{U}) gives the conservative worst-case bound O(S0+2Usd+W(b))O(S_{0} + 2^{U}s_{d} + W(b)). This allows exponential frontier growth; traversal policies that retain fewer domains can use substantially less memory.

Why limited memory can favor SOCP. For difficult properties with many unresolved subdomains, SOCP avoids search-frontier growth by solving a fixed relaxation whose size is controlled by the coupling budgets. Candidate-pool limits separately control selection work. This provides a practical advantage in the reported memory-limited runs: it completes an evaluation with useful certificates while the configured complete-search runs terminate. The trade-off is incompleteness; a fixed SOCP may leave robust inputs uncertified. Factorization and operator storage can still be substantial, so these results support a configuration-dependent advantage in evaluation completion, without establishing universal memory or runtime superiority. More memory or different settings may allow α,β\alpha,\beta-CROWN to complete.

References

  1. [1]Farid Alizadeh and Donald Goldfarb. Second-order cone programming. Mathematical programming, 95 (1):3–51, 2003.DOI
  2. [2]Aharon Ben-Tal and Arkadi Nemirovski. Lectures on modern convex optimization: analysis, algorithms, and engineering applications. SIAM, 2001.
  3. [3]Hong-Ming Chiu, Hao Chen, Huan Zhang, and Richard Y Zhang. Sdp-crown: Efficient bound propagation for neural network verification with tightness of semidefinite programming. arXiv preprint arXiv:2506.06665, 2025.arxiv.org/abs/2506.06665
  4. [4]Sumanth Dathathri, Krishnamurthy Dvijotham, Alexey Kurakin, Aditi Raghunathan, Jonathan Uesato, Rudy R Bunel, Shreya Shankar, Jacob Steinhardt, Ian Goodfellow, Percy S Liang, and Pushmeet Kohli. Enabling certification of verification-agnostic networks via memory-efficient semidefinite programming. In H. Larochelle, M. Ranzato, R. Hadsell, M. F. Balcan, and H. Lin, editors, Advances in Neural Information Processing Systems, volume 33, pages 5318–5331, 2020.arxiv.org/abs/2010.11645
  5. [5]Mahyar Fazlyab, Manfred Morari, and George J Pappas. Safety verification and robustness analysis of neural networks via quadratic constraints and semidefinite programming. IEEE Transactions on Automatic Control, 2020.arxiv.org/abs/1903.01287
  6. [6]Sven Gowal, Chongli Qin, Jonathan Uesato, Timothy Mann, and Pushmeet Kohli. On the effectiveness of interval bound propagation for training verifiably robust models. In arXiv preprint arXiv:1810.12715, 2018.arxiv.org/abs/1810.12715
  7. [7]Sandy Huang, Nicolas Papernot, Ian Goodfellow, Yan Duan, and Pieter Abbeel. Adversarial attacks on neural network policies. arXiv preprint arXiv:1702.02284, 2017.arxiv.org/abs/1702.02284
  8. [8]Guy Katz, Clark Barrett, David L Dill, Kyle Julian, and Mykel J Kochenderfer. Reluplex: An efficient smt solver for verifying deep neural networks. In International conference on computer aided verification, pages 97–117. Springer, 2017.arxiv.org/abs/1702.01135
  9. [9]Sunyonga Kim and Masakazu Kojima. Second order cone programming relaxation of nonconvex quadratic optimization problems. Optimization methods and software, 15(3-4):201–224, 2001.DOI
  10. [10]Alex Krizhevsky. Learning multiple layers of features from tiny images. Technical Report, University of Toronto, 2009. URL https://www.cs.toronto.edu/~kriz/learning-features-2009-TR.pdf. CIFAR-10 dataset.
  11. [11]Jianglin Lan, Yang Zheng, and Alessio Lomsuscio. Tight neural network verification via semidefinite relaxations and linear reformulations. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 36, pages 7272–7280, 2022.
  12. [12]Yann LeCun, Corinna Cortes, and Christopher J. C. Burges. The mnist database of handwritten digits. http://yann.lecun.com/exdb/mnist/, 1998.
  13. [13]Linyi Li, Tao Xie, and Bo Li. Sok: Certified robustness for deep neural networks. In 2023 IEEE symposium on security and privacy (SP), pages 1289–1310. IEEE, 2023.arxiv.org/abs/2009.04131
  14. [14]Johan Lofberg. Yalmip: A toolbox for modeling and optimization in matlab. In 2004 IEEE international conference on robotics and automation (IEEE Cat. No. 04CH37508), pages 284–289. IEEE, 2004.DOI
  15. [15]Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. Towards deep learning models resistant to adversarial attacks. In International Conference on Learning Representations, 2018.arxiv.org/abs/1706.06083
  16. [16]Mohammadreza Maleki, Rushendra Sidibomma, Arman Adibi, and Reza Samavi. Cascading robustness verification: Toward efficient model-agnostic certification. arXiv preprint arXiv:2602.04236, 2026.arxiv.org/abs/2602.04236
  17. [17]Yuhao Mao, Stefan Balāuca, and Martin Vechev. CT-Bench: A library and benchmark for certified training. arXiv preprint arXiv:2406.04848, 2024.arxiv.org/abs/2406.04848
  18. [18]G. P. McCormick. Computability of global solutions to factorable nonconvex programs: Part i—convex underestimating problems. Mathematical Programming, 10:147–175, 1976.DOI
  19. [19]Luca Pulina and Armando Tacchella. Challenging smt solvers to verify neural networks. Ai Communications, 25(2):117–135, 2012.DOI
  20. [20]Aditi Raghunathan, Jacob Steinhardt, and Percy S Liang. Semidefinite relaxations for certifying robustness to adversarial examples. Advances in neural information processing systems, 31, 2018.arxiv.org/abs/1811.01057
  21. [21]Daniel Sadig, Mohammadreza Maleki, Hamed Karimi, and Reza Samavi. Cear: Certified ensemble adversarial robustness in dnns. arXiv preprint arXiv:2606.01437, 2026.arxiv.org/abs/2606.01437
  22. [22]Gagandeep Singh, Timon Gehr, Markus Püschel, and Martin Vechev. An abstract domain for certifying neural networks. In Proceedings of the ACM on Programming Languages (POPL), volume 3, pages 1–30, 2019.DOI
  23. [23]Vincent Tjeng, Kai Xiao, and Russ Tedrake. Evaluating robustness of neural networks with mixed integer programming. In International Conference on Learning Representations, 2019.

Paper details

vlnc:W_px9r4r8h
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 6

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents