Abstract interpretation can certify properties of Deep Neural Networks (DNNs), but precise analyses remain expensive. General implementations repeat work when analyzing the same architecture under different inputs and properties. Interleaving this work with numerical operations limits GPU utilization and restricts how much of the analysis a tensor compiler can process together. We present Scepter, a framework for specializing DNN abstract interpreters through structural semantics. The semantics determine the structure of intermediate abstract values while deferring their numerical evaluation. Structural computations from successive operations can therefore be performed together before certification, generating an executable tensor program. With the abstract interpreter and DNN architecture fixed, the program can be reused with different weights and input regions. We prove that it computes the same bounds as the general interpreter in exact arithmetic. The generated program also exposes operations and their dependencies for tensor compilation and memory planning. We implement Scepter for the tensor programs that Neuton generates from ConstraintFlow specifications. We evaluate Scepter on eight abstract interpreters and 44 DNNs against six baseline systems on GPUs and CPUs. Scepter handles networks with up to 153x as many neurons as the largest completed by the corresponding baselines. It completes DeepPoly on ResNet50 and VGG-16, whereas none of the evaluated DeepPoly baselines completes either network. On configurations completed by both systems, GPU geometric-mean speedups over Neuton range from 11.9x to 44.4x across eight analyses, with a 2.60x geometric-mean reduction in peak memory. In an input-splitting case study, Scepter proves 68 properties for which the baselines time out. Code: https://github.com/uiuc-focal-lab/constraintflow.git
Figures & tables
Figure 1. Scepter ’s geometric-mean GPU speedup over the fastest evaluated baseline on each network. Parentheses indicate the number of networks completed by at least one baseline. Eight horizontal blue bars show geometric-mean GPU speedups of 2.0 for IBP, 2.5 for BoxPoly, 3.2 for DeepZ, 4.0 for DeepPoly, 5.1 for CROWN-IBP, 12.0 for ReuseCert, 18.3 for SkipPoly, and 35.3 for ZID. The baseline is selected separately for each network. The axis is logarithmic and network counts appear beside the labels.
Figure 2. The running network. Solid blue edges mark one window per convolution. Other connections are dashed. A network with seven input neurons, five first-convolution neurons, five ReLU neurons, and three output neurons. Solid dark blue edges identify one three-input window in each convolution. Other connections use lighter blue dashed edges.
Figure 3. The initial tensor L and successive full output-layer tensors. In (b), L43 , L42 , and L41 label the highlighted blocks within the full tensors. The two convolution blocks in (a) use different hues, with repeated shades indicating shared weights within each block. Distinct colors in the result blocks show different values.
Figure 4. Computing L42 with the whole-tensor call L4@L .
Figure 5. Execution before and after specialization for a sequence of numerical calls κi . Subfigure (a) includes CPU decisions that consume GPU results. In (b), all structural work precedes numerical execution. Two separately captioned CPU and GPU timelines show interleaved execution and execution with a complete structural phase before the numerical phase.
Figure 7. The type calculation used by B-Compute and (b) shows the tensor rule that applies the block rules across regions. Two panels show support and sharing calculations for block types and an inference rule combining regional results into a complete tensor descriptor and numerical program.
Figure 8. Structural evaluation of one operation (a) and a fixed sequence (b). (a) shows the descriptor component of πf(π′,κ) . (b) shows the intermediate descriptors and calls κj generated for later numerical execution. A commuting square shows agreement of result descriptors. A second panel separates the structural evaluation of a fixed operation sequence from execution of its recorded numerical calls.
Abstract interpreter
Device
System
DeepPoly
DeepZ
BoxPoly
CROWN-IBP
ZID
ReuseCert
SkipPoly
IBP
CPU
GPU
Scepter
∙
∙
∙
∙
∙
∙
∙
∙
∙
∙
Neuton
∙
∙
∙
∙
∙
∙
∙
∙
∙
∙
auto_LiRPA
∙
–
∙
∙
–
–
–
∙
∙
∙
GPUPoly
∙
–
∙
–
–
–
–
–
–
∙
IVAN
∙
∙
–
–
–
–
–
∙
∙
∙
Table 1. Abstract interpreters and devices evaluated for each system, and the network size groups. Dots mark evaluated configurations and dashes indicate no comparison.
Figure 11. Largest network completed per certifier. Multipliers indicate the increase in network size over the best baseline.
Size groups
Very large
Overall (44)
Certifier
Baseline
Small (28)
Medium (7)
Large (7)
ResNet50
VGG-16
DeepPoly
Neuton
32.00 (28)
25.79 (7)
30.68 (3)
✗
✗
30.65
auto_LiRPA
8.48 (28)
2.87 (7)
1.95 (6)
✗
✗
5.69
GPUPoly
6.02 (28)
6.61 (6)
9.32 (7)
✗
✗
6.57
IVAN
22.29 (26)
✗
✗
✗
✗
22.29
BoxPoly
Neuton
42.10 (28)
63.90 (6)
31.50 (2)
✗
✗
44.41
Table 2. GPU speedups (geometric means) on networks completed by both systems, with the number of such networks in parentheses. A cross ( ✗ ) marks networks that the baseline does not complete, and a dash ( — ) networks that neither system completes.
Figure 12. GPU speedups for DeepPoly (top), CROWN-IBP (bottom left), and DeepZ (bottom right). Networks are numbered as in Table 7 . A missing bar means the baseline or Scepter does not complete that network. A full-width DeepPoly bar plot appears above side-by-side CROWN-IBP and \deepzplots. The lower panels use two bar positions per network for Neuton and auto LiRPA, and Neuton and IVAN, respectively. All measured speedups and network positions are retained.
Reduction
Copies (median)
Baseline
Memory
Idle time
Transfer
D2H
H2D
Neuton
3.14×
128×
2.34×
127 / 0
35 / 16
auto_LiRPA
1.40×
14.2×
11.3×
281 / 0
77 / 16
IVAN
11.2×
2.74×
2.83×
6 / 0
41 / 14
Table 3. DeepPoly memory use and execution profiles. Ratios compare the baseline with Scepter . Copies are median D2H and H2D copies per batch (baseline / Scepter ), across networks profiled both systems.
Figure 13. Instances of lsnc_relu solved by input splitting with DeepPoly. Over 25 seconds, \sceptersolves all 80 instances, including 68 proofs and 12 counterexamples. Auto LiRPA finds the same 12 counterexamples; the other 68 instances time out.
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 14. Order on the named block types. Higher types admit more tensors; the diagram shows relations valid for all parameters, not the full lattice. Labels count stored value classes: K,c are channel counts, o the output extent, k the kernel extent, and χ the number of clipped window positions; R and C are the row and column spaces. The stencil count assumes every kernel offset is read; n is the diagonal extent.
+
−
×
÷
max
min
1⊙R
0
0
1
1
−∞
+∞
1⊙L
0
—
1
—
−∞
+∞
0⊙
—
—
0
—
+∞
−∞
Appendix
Table 4. Identity and annihilator elements of the element-wise operators. A dash marks an operator with no such element.
⊔
StencilBlockθ
WindowBlockθ
DiagonalBlock
DenseBlock
StencilBlockθ
StencilBlockθ
WindowBlockθ
DenseBlock∗
DenseBlock
WindowBlockθ
WindowBlockθ
WindowBlockθ
DenseBlock∗
DenseBlock
DiagonalBlock
DenseBlock∗
DenseBlock∗
DiagonalBlock
DenseBlock
DenseBlock
DenseBlock
DenseBlock
DenseBlock
DenseBlock
Appendix
Table 5. Result types for element-wise operations over a region that both operands cover. Top: operators disjunctive at 0 ( + , − , max , min , the strict comparisons, = , ∨ ). Bottom: operators conjunctive at 0 ( × , ∧ ). The two differ only in whether supports are united or intersected. An asterisk marks an entry that can be strictly above the result of ⊔ or ⋏ . The accompanying text derives each entry.
Figure 15. A common refinement of two block lists. (a) Aligned operands: the boxes coincide or are disjoint, and each block is a cell. (b) Partially overlapping operands: splitting the union into rectangles gives five cells; the dotted outline is the bounding box that merging would use instead.
Figure 16. Window extent under composition: the composite window has extent (ko−1)si+ki . Each tap of the outer window contributes one inner window; consecutive inner windows are si apart, and the composite spans all of them.
@
StencilBlockθ2
WindowBlockθ2
DiagonalBlock
DenseBlock
StencilBlockθ1
StencilBlockθ′′†
WindowBlockθ′′
WindowBlockθ1
DenseBlock
WindowBlockθ1
WindowBlockθ′′
WindowBlockθ′′
WindowBlockθ1
DenseBlock
DiagonalBlock
WindowBlockθ2
WindowBlockθ2
DiagonalBlock
DenseBlock
DenseBlock
DenseBlock
DenseBlock
DenseBlock
DenseBlock
Appendix
Table 6. Result types for τ1@τ2 , with τ1 down the side and τ2 across the top. The composite parameters θ′′ are those of Equation 8 , and † marks the entry that requires the composition to be unclipped (Lemma A.13 ); without that hypothesis it is WindowBlockθ′′ . A product of window operators with incompatible channel extents, and any product involving a DenseBlock , is represented as DenseBlock . The preceding lemmas establish the window and diagonal cases.
Plot
Source ID
Name
Architecture
Dataset
Neurons
Batch
ϵ
1
N1
3 × 50
Fully connected
MNIST
110
100
0.004
2
N2
3 × 100
Fully connected
MNIST
210
100
0.004
3
N3
5 × 100
Fully connected
MNIST
510
100
0.04
4
N4
6 × 100
Fully connected
MNIST
510
100
0.004
5
N5
9 × 100
Fully connected
MNIST
810
100
0.004
6
N6
6 × 200
Fully connected
MNIST
1,010
100
0.004
Appendix
Table 7. The 44 evaluated networks in plot order. Plot indices 1–28 are small, 29–35 medium, 36–42 large, and 43–44 very large. Source IDs preserve the identifiers in the experimental records. Neuron counts use the source inventory’s ReLU-neuron convention. Training methods are given in parentheses. ϵ is the perturbation radius.
Figure 17. Complete BoxPoly and IBP per-network speedups, including configurations where Scepter is slower than a baseline. Bars below 1× indicate slowdowns. Missing bars indicate configurations without a paired result. The network indices and logarithmic spacing follow the main plots. BoxPoly and IBP plots retain all paired results, including the BoxPoly slowdown against GPUPoly and two IBP slowdowns against IVAN.
Figure 18. Per-network speedups for SkipPoly, ReuseCert, and ZID over Neuton. The network order and size-group separators match the main evaluation plots. Indices map to original network identifiers in the inventory. Missing bars indicate configurations without a paired result. Three aligned bar plots show SkipPoly, ReuseCert, and ZID speedups over Neuton on networks completed by both systems.
Abstract interpreter
Baseline
Geometric-mean speedup
DeepPoly
Neuton
5.58×
auto_LiRPA
2.04×
IVAN
19.7×
ERAN
87.4×
BoxPoly
auto_LiRPA
1.78×
LUNA
2.90×
Appendix
Table 8. CPU speedups for each abstract interpreter and baseline on the 28 small, seven medium, and seven large networks. Entries are geometric means of baseline runtime divided by Scepter runtime on networks completed by both systems.
Reduction
Copies (median)
Baseline
Certifier
Memory
Idle time
Transfer
D2H
H2D
Networks
Neuton
DeepPoly
3.14×
128×
2.34×
127 / 0
35 / 16
38
CROWN-IBP
1.87×
50.4×
1.63×
29 / 0
35 / 16
44
IBP
1.23×
13.0×
1.16×
1 / 0
23 / 16
44
DeepZ
4.61×
49.8×
12.9×
1 / 0
40 / 15
34
SkipPoly
2.51×
85.2×
9.22×
73 / 0
23 / 16
35
Appendix
Table 9. Memory use and execution profiles per baseline and certifier (Table 3 for all analyses). Ratios compare the baseline with Scepter . Memory is over the networks both systems complete; idle time, transfer time, and copies are over the networks profiled with both systems, whose number is in the last column. Each Overall row aggregates all of the baseline’s certifier–network pairs: geometric means for the ratios and medians for the copies. Copies are median device-to-host (D2H) and host-to-device (H2D) copies per batch, baseline / Scepter . GPUPoly is not included in the memory comparison.
Scepter
Neuton
auto_LiRPA
IVAN
GPUPoly
LUNA
Certifier
Config
Time
Time
×
Time
×
Time
×
Time
×
Time
×
IBP
N1
0.0167
0.259
15.6
0.269
16.2
0.0247
1.48
—
—
0.251
14.8
IBP
N2
0.0185
0.255
13.9
0.401
21.8
0.0257
1.39
—
—
0.375
20.0
IBP
N3
0.0229
0.551
24.3
0.930
41.0
0.0431
1.89
—
—
0.287
12.3
IBP
N4
0.0227
0.558
24.7
0.969
42.8
0.0413
1.82
—
—
0.256
11.2
IBP
N5
0.0267
0.943
35.4
1.53
57.4
0.0557
2.09
—
—
0.268
9.97
Appendix
Table 10. GPU time per image (ms/image) and speedup by configuration (the 44 networks of Table 7 ). Each speedup is the baseline runtime divided by Scepter ’s runtime for the same configuration, as in Table 2 . Each certifier’s Geomean row summarizes the completed configurations: times use each system’s completed configurations, and speedups use configurations completed by both systems. A dash marks a comparison not included, and NC means a run did not complete.
Figure 19. Time per image, on a log scale, of Neuton’s generic abstract interpreters and Scepter ’s specialized abstract interpreters, each with and without torch.compile , along with the baselines. Missing bars indicate baselines that do not support the analysis or did not complete.
Developing new abstract interpretation-based DNN certifiers is difficult because their mathematical design is expressed at the neuron level, while implementations must operate at the tensor level. Existing libraries such as auto_LiRPA, IVAN, and ERAN support fixed sets of certifiers; extending them requires expertise in formal methods and tensor programming. Domain-specific languages such as ConstraintFlow let researchers specify certifiers at the neuron level, but cannot run them on real DNNs. We present Neuton, a framework that automatically translates neuron-level certifier specifications into tensor-level executables, enabling new DNN certifiers without manual tensor programming. Neuton makes three contributions. First, a stack-based intermediate representation (IR) and shape analysis infer implicit tensor operations, including broadcasts, dimension expansions, and reductions, required for correct execution. Second, domain-specific rewrite rules optimize common tensor operation sequences into more efficient equivalents. Third, gBCSR is a sparse tensor format using variable-sized, layer-aligned blocks over a non-zero default value, tailored to DNN certifier sparsity. We prove that translation preserves neuron-level semantics. We evaluate Neuton on 8 certifiers and 32 DNN benchmarks. Neuton compiles four existing certifiers and produces the first executable implementations of four others: two previously specified but never run, and two new designs. These expose precision-runtime trade-offs unavailable in existing libraries. For example, SkipPoly matches DeepPoly's precision on all 32 DNNs while running as fast or faster on half. Neuton's runtime on existing certifiers is competitive with hand-optimized libraries. Code: https://github.com/uiuc-focal-lab/constraintflow.git
The parameterized CROWN analysis, a.k.a., alpha-CROWN has emerged as a practically successful abstract interpretation method for neural network verification. However, existing implementations of alpha-CROWN are limited to Python, which complicates integration into existing DNN verifiers and long-term production-level systems. We introduce Luna, a new abstract-interpretation-based bound propagator implemented in C++. Luna supports Interval Bound Propagation, the DeepPoly/CROWN analysis, and the alpha-CROWN analysis over a general computational graph. We describe the architecture of Luna and show that it outperforms the state-of-the-art alpha-CROWN implementation in terms of both bound tightness and computational efficiency on supported benchmarks from VNN-COMP 2025. Luna is publicly available at https://github.com/ai-ar-research/luna.
Formal verification of deep neural networks (DNNs) faces a fundamental scalability challenge: verifying robustness is NP-hard and state-of-the-art tools often time out on modern architectures. We propose PAreto VErification, or PAVE: by augmenting DNNs with early exits (EEs) and verifying exit-by-exit, we solve a large fraction of robustness queries---roughly 80% in our evaluation---in a small fraction of the time required for direct verification. The key insight is that many inputs in a robustness neighborhood exit at an early layer. Verifying this early-exit behavior is often a tractable problem,allowing verification to terminate long before the full network is analyzed. EEs can be added without modifying the base network, and incur at most a 0.3% accuracy change across our tested architectures. We formalize the novel robustness property for EE networks, prove it is Fixed-Parameter Tractable under a trace stability condition (which commonly holds in practice), and present a sound and complete verification algorithm. Two sound optimizations --- break (early termination when the winner dominates) and continue (skipping the inner loop when no runner-up can win) --- reduce SAFE-case verification time by up to 10x. Experiments on MNIST, CIFAR-10, and CIFAR-100 with networks from 600K to 33M parameters demonstrate that PAVE enables solving queries that were not solved otherwise, including formal verification of ResNet-18 on CIFAR-100.
Yizhak Y. Elboher, Avraham Raviv, Amihay Elboher +3
The Hebrew University of Jerusalem, Israel · Bar Ilan University, Israel · Ben-Gurion University of the Negev, Israel +1