Publications
-
SAIL: Sound Abstract Interpreters with LLMs. Proceedings of the ACM on Programming Languages (PLDI), 2026.
How to construct globally sound abstract interpreters to safely approximate program behaviors remains a bottleneck in abstract interpretation. In this paper, we show the potential of using state-of-the-art LLMs to automate this tedious process. Focusing on the neural network verification area, we synthesize non-trivial sound abstract transformers across diverse abstract domains using LLMs to search within infinite space from scratch. We formalize the synthesis task as a constrained optimization problem, for which we design a novel mathematically grounded cost function that measures the degree of unsoundness of each generated candidate transformer, while enforcing hard syntactic and semantic validity constraints. Building on this formulation, we introduce SAIL, a novel unified framework that combines model generation, syntactic and semantic validation, and cost-function-based refinement to synthesize globally sound abstract transformers. Evaluation results show that SAIL not only matches the performance of manually designed transformers, but also is able to synthesize sound and high-precision transformers that do not exist in the literature for complex non-linear operators.
BibTeX@article{gu2026sail, title = {SAIL: Sound Abstract Interpreters with LLMs}, author = {Gu, Qiuhan and Singh, Avaljot and Singh, Gagandeep}, journal = {Proceedings of the ACM on Programming Languages}, volume = {10}, number = {PLDI}, pages = {1534--1559}, year = {2026}, doi = {10.1145/3808308} } -
Fast and Scalable Abstract Interpretation for Deep Neural Networks. Coming soon, 2026. (* equal contribution)
Abstract
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 determines 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 for the numerical computation. With the interpreter, architecture, and input and batch shapes 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. Across the evaluated analyses, Scepter handles networks with up to 153× 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.9× to 44.4× across eight analyses, with a 2.60× geometric-mean reduction in peak memory. In an input-splitting case study, Scepter proves 68 properties for which the baselines times out.
-
Automated Verification of Soundness of DNN Certifiers. Proceedings of the ACM on Programming Languages (OOPSLA), 2025.
The uninterpretability of Deep Neural Networks (DNNs) hinders their use in safety-critical applications. Abstract Interpretation-based DNN certifiers provide promising avenues for building trust in DNNs. Unsoundness in the mathematical logic of these certifiers can lead to incorrect results. However, current approaches to ensure their soundness rely on manual, expert-driven proofs that are tedious to develop, limiting the speed of developing new certifiers. Automating the verification process is challenging due to the complexity of verifying certifiers for arbitrary DNN architectures and handling diverse abstract analyses. We introduce ProveSound, a novel verification procedure that automates the soundness verification of DNN certifiers for arbitrary DNN architectures. Our core contribution is the novel concept of a symbolic DNN, using which, ProveSound reduces the soundness property, a universal quantification over arbitrary DNNs, to a tractable symbolic representation, enabling verification with standard SMT solvers. By formalizing the syntax and operational semantics of ConstraintFlow, a DSL for specifying certifiers, ProveSound efficiently verifies both existing and new certifiers, handling arbitrary DNN architectures.
BibTeX@article{singh2025provesound, title = {Automated Verification of Soundness of DNN Certifiers}, author = {Singh, Avaljot and Sarita, Yasmin Chandini and Mendis, Charith and Singh, Gagandeep}, journal = {Proceedings of the ACM on Programming Languages}, volume = {9}, number = {OOPSLA1}, pages = {1802--1830}, year = {2025}, doi = {10.1145/3720509} } -
Automatic Tensor-level Execution of Abstract Interpreters for Neural Networks. arXiv preprint 2507.20055, 2025.
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.
BibTeX@misc{singh2025neuton, title = {Automatic Tensor-level Execution of Abstract Interpreters for Neural Networks}, author = {Singh, Avaljot and Sarita, Yasmin Chandini and Mishra, Aditya and Singh, Gagandeep and Mendis, Charith}, year = {2025}, eprint = {2507.20055}, archivePrefix = {arXiv}, url = {https://arxiv.org/abs/2507.20055} } -
ConstraintFlow: A Declarative DSL for Easy Development of DNN Certifiers. Static Analysis Symposium (SAS), LNCS, 2024.
We develop a declarative DSL – ConstraintFlow – that can be used to specify Abstract Interpretation-based DNN certifiers. In ConstraintFlow, programmers can easily define various existing and new abstract domains and transformers, all within just a few 10s of Lines of Code as opposed to 1000s of LOCs of existing libraries. We provide lightweight automatic verification, which can be used to ensure the over-approximation-based soundness of the certifier code written in ConstraintFlow for arbitrary (but bounded) DNN architectures. Using this automated verification procedure, for the first time, we can verify the soundness of state-of-the-art DNN certifiers for arbitrary DNN architectures, all within a few minutes.
BibTeX@inproceedings{singh2024constraintflow, title = {ConstraintFlow: A Declarative DSL for Easy Development of DNN Certifiers}, author = {Singh, Avaljot and Sarita, Yasmin and Mendis, Charith and Singh, Gagandeep}, booktitle = {Static Analysis (SAS 2024)}, series = {Lecture Notes in Computer Science}, publisher = {Springer Nature Switzerland}, pages = {407--424}, year = {2024}, doi = {10.1007/978-3-031-74776-2_16} }