A formal robustness proof for a neural network is a mathematical certificate that no small perturbation of an input can change the model's answer. Such a proof is only as good as the arithmetic it assumes. Today's verifiers reason over exact real numbers. Deployed models run in floating point, where the order of additions and the numeric precision change the result. No Soundness in the Real World turned this gap into an attack. It built tiny circuits that detect precision or summation order. One such model was certified robust by every verifier tested, including β-CROWN, yet its accuracy fell to 0.11% once deployed. The problem gets worse in systems that deliberately hide hardware from software. In a pooled edge-cloud fabric such as Meta Computing, a scheduler may move a model from a GPU server to a phone CPU without the application knowing. A proof made on one node therefore says nothing reliable about the next.
We propose to make the certificate itself portable, and to search for network architectures that make portable certificates both cheap and fast to deploy. A certificate is portable if it holds under every summation order and every precision at or above a stated floor. It becomes part of the contract between a model and the pool of machines allowed to run it. The central observation is that the size of the floating-point safety margin depends on the architecture. It is governed by how many terms each neuron sums, how large the weights and activations are, and how deep errors compound. Hardware-aware architecture search already shapes these same quantities to hit latency targets. It can therefore be pointed at a joint target: networks that are accurate, fast across a pool of devices rather than on one chip, and certifiable with a margin that covers any node in the pool.
Core Claim
Consider a network that will be scheduled across a heterogeneous device pool. Its useful robustness is its portable certified accuracy. This is the fraction of test inputs proven robust after widening every intermediate bound by a worst-case rounding margin that does not depend on summation order. We claim three things. First, portable certified accuracy differs substantially from ordinary certified accuracy. Second, it ranks architectures differently from ordinary certified accuracy, and very differently from FLOPs or parameter count. Third, searching directly for it, under a pool-level latency constraint, finds architectures that dominate the obvious pipeline. That pipeline is to search for latency first and then certify with a margin afterwards.
The margin comes from the standard rounding-error bound for a length-$n$ dot product. Let $u$ be the unit roundoff of the precision (the largest relative error of one rounding, $2^{-24}$ for 32-bit and $2^{-11}$ for 16-bit floats). Then, for any summation order,
$$|\mathrm{fl}(w^\top x) - w^\top x| \le \gamma_n \, |w|^\top |x|, \qquad \gamma_n = \frac{n u}{1 - n u}.$$
Here $w$ and $x$ are the weight and input vectors and $|\cdot|$ is taken elementwise. This bound is order-independent because it bounds every possible sequence of roundings. For this reason it covers the order-detector construction of the No Soundness paper as well as its precision detector.
The numbers show why architecture matters. A 3×3 convolution over 64 channels sums $n = 576$ terms. In 16-bit precision that gives $\gamma_n \approx 0.28$, a margin large enough to erase almost any certificate. In 32-bit precision it gives roughly $3.4 \times 10^{-5}$. So fan-in, channel width and operator choice decide whether a 16-bit node can ever be admitted to the pool. These are exactly the knobs that hardware-aware search turns.
The search objective for an architecture $a$ over a device pool $P$ with precision floor $u$ is
$$\max_a \; \mathrm{PCA}_u(a) \quad \text{s.t.} \quad \mathrm{Acc}(a) \ge A_0, \;\; \max_{d \in P} \mathrm{Lat}_d(a) \le T.$$
In this objective, $\mathrm{PCA}_u$ is portable certified accuracy at floor $u$, $\mathrm{Acc}$ is clean accuracy with floor $A_0$, and $\mathrm{Lat}_d$ is measured latency on device $d$ with budget $T$. Constraining the worst-case latency over the pool, rather than the latency on a single target, is how decoupling enters the method. The network is designed for whichever node the scheduler picks.
How This Sits Against Prior Work
The closest existing work links architecture search to certification but ignores both hardware and floating point. DSRNA makes a certified lower bound, computed with interval bound propagation, differentiable. It adds this bound, or a cheaper Jacobian proxy, to a DARTS-style search. It reports 60.71% PGD-100 accuracy and 97.51% clean accuracy on CIFAR-10, and cuts search cost from 4.0 to 0.4 GPU days with the proxy. We reuse its idea that certified quantities can steer search. We differ in three ways: our certified quantity is order- and precision-sound, our search is constrained by measured latency on real devices, and our final numbers come from complete verification rather than bounds used during search.
VNN motivates the premise that the network itself governs how hard it is to verify. It sparsifies a trained network and fixes neuron on/off states, and reports up to 76× more verified MNIST samples and up to 3× faster verification. It is a post-training edit of a fixed dense model, measures no latency, and assumes real arithmetic. We treat it as a competing post-hoc route (see Baselines).
DEEPSPLIT constrains our choice of verifiability proxy. It shows that verification effort depends on how neuron instability propagates downstream: removing its indirect-effect scoring raises branches on MNIST 256×2 from 8,643 to 174,040. Raw size is therefore a poor predictor of verification difficulty. The same point comes from the hardware side in HW-NAS-Bench, which finds a Kendall correlation between FLOPs and latency as low as 0.18 on the Edge TPU and cross-device correlations below 0.5.
The hardware-aware search line supplies our method. HAT shows that the best topology depends on the device and uses learned latency predictors. FBNet and MoGA use per-layer latency lookup tables. DUCCIO enforces several hardware limits with hinge penalties that switch on only when a limit is violated. All four bind the architecture to one target and carry no correctness semantics. We borrow DUCCIO's hinge formulation for the latency and memory constraints and replace the single device with a pool.
β-CROWN is our complete verifier. It is a GPU branch-and-bound method, reported up to 1000× faster than LP-based branch-and-bound. It won VNN-COMP 2021, and α,β-CROWN placed first in both tracks of VNN-COMP 2024. We extend its bound propagation with the margin above. The file contains no verifier that already does this. We do not claim the rounding bound is new; we claim that its dependence on architecture has never been used to guide search.
Research Program
The first component is a margin-inflated verifier. At every affine layer (with batch normalization folded in), each pre-activation interval is widened by $\gamma_n |W||x|_{\max}$ plus a bias-rounding term. The widening is carried through both the cheap bound propagation (interval and CROWN-style bounds) and β-CROWN's branch-and-bound. The precision floor $u$ is a parameter, so a single model can be certified for a 32-bit-only pool or for a pool that admits 16-bit nodes. Soundness of the implementation will be checked against exact rational arithmetic on small networks.
The second component is a tabular benchmark that joins verification and hardware data. It addresses the missing verifiability data noted for HW-NAS-Bench. We draw a stratified sample of about 500 cells from NAS-Bench-201, stratified by operator mix and parameter count. Each cell is trained on CIFAR-10 with certified training (CROWN-IBP-style) at $\epsilon = 2/255$ under $L_\infty$. For each cell we record:
- clean accuracy;
- ordinary certified accuracy;
- portable certified accuracy at 32-bit and 16-bit floors;
- β-CROWN time and branch counts, on 200 test images with a fixed per-instance timeout.
These records are joined with HW-NAS-Bench's measured latency on the Jetson TX2, Raspberry Pi 4, Pixel 3 and Edge TPU. The Edge TPU runs integer-quantized models. Integer accumulation with wide accumulators does not depend on summation order, but verifying quantized semantics exactly is much harder (PSPACE-completeness for quantized GNNs is the relevant warning). We therefore report the Edge TPU for latency only and treat quantized certification as out of scope. The benchmark should cost on the order of a thousand GPU hours. Its main outputs are a map of how ordinary and portable certification disagree, and which architectural features drive the gap. We expect fan-in, skip connections versus stacked convolutions, and pooling to matter.
The third component is the search itself. Evaluating a new candidate uses three fast estimates:
- a learned predictor of portable certified accuracy, trained on the tabular benchmark, plus a margin-aware bound computed on a briefly trained candidate;
- per-device latency predictors;
- a hinge penalty on the worst-case pool latency.
The search runs over NAS-Bench-201, where tabular ground truth allows exact scoring. It then runs over the FBNet macro space, where it must work without a table. Every finalist is certified with full margin-inflated β-CROWN; predictor outputs are never reported as results.
Baselines
The naive reference point is to certify, with the margin-inflated verifier, the architecture a standard accuracy-only search would pick. As a second naive reference, we take the smallest-FLOPs architecture meeting the accuracy floor. Both are trained with the same certified-training recipe. They show what one gets with no joint design.
The strongest existing competitor is a two-stage pipeline built only from published pieces. We run the best available hardware-aware search, DUCCIO-style hinge-constrained search with HW-NAS-Bench latency, against the same worst-case pool latency. We then train the chosen architecture with certified training and apply margin-inflated β-CROWN. This isolates what joint search adds over "hardware first, verification after." A second strong competitor is DSRNA's certified-bound search run in the same space, given the same latency filter applied after search. It is the only prior method that optimizes certified quantities during search. For context, DSRNA reports 60.71% PGD-100 and 97.51% clean accuracy on CIFAR-10. We found no reported result on Lacuna for portable or floating-point-sound certified accuracy of any searched architecture, nor for certified accuracy of NAS-Bench-201 cells. The comparison will therefore be measured, not quoted. A third competitor applies VNN's post-training sparsification to the two-stage pipeline's output.
Fairness is enforced in four ways. All methods share the same training recipe, the same $\epsilon$ and the same verifier timeout. Each gets the same budget of trained candidates and the same GPU hours for hyperparameter tuning. Every method is evaluated on the same 1,000 held-out test images.
Beating the baselines means the following. At matched worst-case pool latency and clean accuracy within one point, our method must show higher portable certified accuracy at the 32-bit floor, by a margin larger than the spread across three seeds. We also require at least one finalist that keeps meaningful portable certified accuracy at the 16-bit floor. The two-stage pipeline is expected to lose almost all of its certificates at that floor.
The key ablation removes the margin from the search objective, so the search optimizes ordinary certified accuracy. The finalists are then evaluated with the margin. If this ablation matches the full method, the portability term is not doing any work, and the contribution reduces to the verifier and the benchmark.
Why not just…?
Why not just have the virtualization layer pin a deterministic runtime, with fixed summation order and fixed 32-bit precision, on every node? This is the most serious alternative, and it partly succeeds. It defeats the order detector. But it leaves standard verifiers reasoning over real numbers, which no fixed floating-point execution matches. It is also unavailable on accelerators whose kernels do not expose summation order, and it forfeits 16-bit nodes altogether. We will measure the latency cost of deterministic kernels on the Jetson TX2 and Raspberry Pi 4, and report ordinary certificates under pinning next to portable certificates without it. If pinning is nearly free and the pool is all 32-bit, we will say plainly that margin-aware verification alone suffices for that pool, and that search matters only for mixed-precision pools.
Why not just add the margin at verification time to whatever hardware-aware search already produces? This is the two-stage baseline and the no-margin ablation. The argument for joint search is that the margin grows with fan-in and activation magnitude. Latency-driven search has no reason to control either, and may favor wide, high-fan-in layers that run efficiently on GPUs, as HAT observes. If the tabular benchmark shows that ordinary and portable certified accuracy rank NAS-Bench-201 cells almost identically (Kendall correlation above 0.9), this alternative wins and we will report that.
Why not just search for the smallest network? Size tracks neither latency, given the FLOPs-to-latency correlation of 0.18 on the Edge TPU reported by HW-NAS-Bench, nor verification effort, given DEEPSPLIT's roughly 20-fold branch difference driven by instability propagation. The smallest-FLOPs reference in Baselines tests this directly.
Why not just use adversarial training in the search? Empirical robustness gives no guarantee at all, let alone one that survives migration. DSRNA's own comparison favored explicit certified objectives over adversarial-training searches. We keep adversarial evaluation only as a sanity check.
Proposed Experiments
The first decisive check replicates the backdoor. We rebuild the precision and order detector models of No Soundness on MNIST and confirm that ordinary β-CROWN certifies them. Then we confirm that margin-inflated verification refuses to certify them, because their detectors depend on differences smaller than the margin. A margin-aware verifier that still certifies these models is unsound, and the project stops there.
The second check tests certificates on the devices themselves. For every certified test input from every finalist, we run PGD in 32-bit and 16-bit precision, under permuted accumulation orders where the runtime allows it, on each HW-NAS-Bench float device. We count violations. The expected count is zero for portable certificates at a floor the device satisfies. For ordinary certificates the count may be nonzero, especially at 16 bits.
The third check is the benchmark analysis. It reports the rank correlation between ordinary and portable certified accuracy, and between each of these and FLOPs and latency, across the 500 cells.
The fourth check is the Pareto comparison. We compare portable certified accuracy against worst-case pool latency, for our search and all baselines, in the NAS-Bench-201 and FBNet spaces. To test transfer beyond images, we repeat the smallest version of the pipeline on MIT-BIH Arrhythmia, where VNN reports up to 34× more verified samples from post-training edits. There we check whether search improves portable certified accuracy beyond that post-hoc route.
References
- No Soundness in the Real World: On the Challenges of the Verification of Deployed Neural Networks
- Meta Computing
- DSRNA: Differentiable Search of Robust Neural Architectures
- VNN: Verification-Friendly Neural Networks with Hard Robustness Guarantees
- DEEPSPLIT: An Efficient Splitting Method for Neural Network Verification via Indirect Effect Analysis
- HW-NAS-Bench: Hardware-Aware Neural Architecture Search Benchmark
- HAT: Hardware-Aware Transformers for Efficient Natural Language Processing
- FBNet: Hardware-Aware Efficient ConvNet Design via Differentiable Neural Architecture Search.
- MoGA: Searching Beyond Mobilenetv3
- Enhancing Neural Architecture Search With Multiple Hardware Constraints for Deep Learning Model Deployment on Tiny IoT Devices
- Beta-CROWN: Efficient Bound Propagation with Per-neuron Split Constraints for Neural Network Robustness Verification
- The Fifth International Verification of Neural Networks Competition (VNN-COMP 2024): Summary and Results
- Verifying Quantized Graph Neural Networks is PSPACE-complete