Harnessing Neuron Stability to Improve DNN Verification (2401.14412v1)
Abstract: Deep Neural Networks (DNN) have emerged as an effective approach to tackling real-world problems. However, like human-written software, DNNs are susceptible to bugs and attacks. This has generated significant interests in developing effective and scalable DNN verification techniques and tools. In this paper, we present VeriStable, a novel extension of recently proposed DPLL-based constraint DNN verification approach. VeriStable leverages the insight that while neuron behavior may be non-linear across the entire DNN input space, at intermediate states computed during verification many neurons may be constrained to have linear behavior - these neurons are stable. Efficiently detecting stable neurons reduces combinatorial complexity without compromising the precision of abstractions. Moreover, the structure of clauses arising in DNN verification problems shares important characteristics with industrial SAT benchmarks. We adapt and incorporate multi-threading and restart optimizations targeting those characteristics to further optimize DPLL-based DNN verification. We evaluate the effectiveness of VeriStable across a range of challenging benchmarks including fully-connected feedforward networks (FNNs), convolutional neural networks (CNNs) and residual networks (ResNets) applied to the standard MNIST and CIFAR datasets. Preliminary results show that VeriStable is competitive and outperforms state-of-the-art DNN verification tools, including $\alpha$-$\beta$-CROWN and MN-BaB, the first and second performers of the VNN-COMP, respectively.
- Efficient generation of unsatisfiability proofs and cores in SAT. In International Conference on Logic for Programming Artificial Intelligence and Reasoning. Springer, 16–30.
- ONNX Open neural network exchange. https://www.onnx.ai/
- Stanley Bak. 2021. nnenum: Verification of relu neural networks with optimized abstraction refinement. In NASA Formal Methods Symposium. Springer, 19–36.
- The Second International verification of Neural Networks Competition (VNN-COMP 2021): Summary and Results. arXiv preprint arXiv:2109.00498 (2021).
- Improved geometric path enumeration for verifying relu neural networks. In International Conference on Computer Aided Verification. Springer, 66–96.
- Cvc4. In International Conference on Computer Aided Verification. Springer, 171–177.
- Clark W Barrett. 2013. ” Decision Procedures: An Algorithmic Point of View,” by Daniel Kroening and Ofer Strichman, Springer-Verlag, 2008. J. Autom. Reason. 51, 4 (2013), 453–456.
- Armin Biere. 2008. PicoSAT essentials. Journal on Satisfiability, Boolean Modeling and Computation 4, 2-4 (2008), 75–97.
- Handbook of satisfiability. Vol. 185. IOS press.
- Deep Learning Based Modality-Independent Intracranial Aneurysm Detection. In International Conference on Medical Image Computing and Computer-Assisted Intervention. Springer, 760–769.
- Efficient verification of relu-based neural networks via dependency analysis. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 34. 3291–3299.
- First three years of the international verification of neural networks competition (VNN-COMP). International Journal on Software Tools for Technology Transfer (2023), 1–11.
- Branch and bound for piecewise linear neural network verification. Journal of Machine Learning Research 21, 2020 (2020).
- Linearity grafting: Relaxed neuron pruning helps certifiable robustness. In International Conference on Machine Learning. PMLR, 3760–3772.
- Stephen A Cook. 1971. The complexity of theorem-proving procedures. In Proceedings of the third annual ACM symposium on Theory of computing. 151–158.
- Patrick Cousot and Radhia Cousot. 1977. Abstract interpretation: a unified lattice model for static analysis of programs by construction or approximation of fixpoints. In Proceedings of the 4th ACM SIGACT-SIGPLAN symposium on Principles of programming languages. 238–252.
- A machine program for theorem-proving. Commun. ACM 5, 7 (1962), 394–397.
- Improved branch and bound for neural network verification via lagrangian decomposition. arXiv preprint arXiv:2104.06718 (2021).
- Input Distribution Coverage: Measuring Feature Interaction Adequacy in Neural Network Testing. ACM Transactions on Software Engineering and Methodology 32, 3 (2023), 1–48.
- A DPLL(T) Framework for Verifying Deep Neural Networks. submitted to PLDI’24, 20 pages.
- Ruediger Ehlers. 2017. Formal verification of piece-wise linear feed-forward neural networks. In International Symposium on Automated Technology for Verification and Analysis. Springer, 269–286.
- Perception modelling by invariant representation of deep learning for automated structural diagnostic in aircraft maintenance: A study case using DeepSHM. Mechanical Systems and Signal Processing 165 (2022), 108153.
- Chris Ferguson and Richard E Korf. 1988. Distributed Tree Search and Its Application to Alpha-Beta Pruning.. In AAAI, Vol. 88. 128–132.
- Complete verification via multi-neuron relaxation guided branch-and-bound. arXiv preprint arXiv:2205.00263 (2022).
- Ai2: Safety and robustness certification of neural networks with abstract interpretation. In 2018 IEEE symposium on security and privacy (SP). IEEE, 3–18.
- Ian P Gent and Toby Walsh. 1994. The SAT phase transition. In ECAI, Vol. 94. PITMAN, 105–109.
- Deep sparse rectifier neural networks. In Proceedings of the fourteenth international conference on artificial intelligence and statistics. JMLR Workshop and Conference Proceedings, 315–323.
- Boosting combinatorial search through randomization. AAAI/IAAI 98 (1998), 431–437.
- Deep learning. MIT press.
- Deep Learning. MIT Press. https://www.deeplearningbook.org, last accessed January 19, 2024.
- Gurobi Optimization, LLC. 2022. Gurobi Optimizer Reference Manual. https://www.gurobi.com
- Delving deep into rectifiers: Surpassing human-level performance on imagenet classification. In Proceedings of the IEEE international conference on computer vision. 1026–1034.
- Deep Residual Learning for Image Recognition. In 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR). IEEE, 770–778.
- Patrick Henriksen and Alessio Lomuscio. 2020. Efficient neural network verification via adaptive refinement and adversarial search. In ECAI 2020. IOS Press, 2513–2520.
- Safety verification of deep neural networks. In International conference on computer aided verification. Springer, 3–29.
- Reluplex: An efficient SMT solver for verifying deep neural networks. In International Conference on Computer Aided Verification. Springer, 97–117.
- Reluplex: a calculus for reasoning about deep neural networks. Formal Methods in System Design 60, 1 (2022), 87–116.
- The marabou framework for verification and analysis of deep neural networks. In International Conference on Computer Aided Verification. Springer, 443–452.
- Guiding deep learning system testing using surprise adequacy. In 2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE). IEEE, 1039–1049.
- Next-generation airborne collision avoidance system. Technical Report. Massachusetts Institute of Technology-Lincoln Laboratory Lexington United States.
- Daniel Kroening and Ofer Strichman. 2016. Decision procedures. Springer.
- PaInleSS: a framework for parallel SAT solving. In Theory and Applications of Satisfiability Testing–SAT 2017: 20th International Conference, Melbourne, VIC, Australia, August 28–September 1, 2017, Proceedings 20. Springer, 233–250.
- Modular and efficient divide-and-conquer sat solver on top of the painless framework. In Tools and Algorithms for the Construction and Analysis of Systems: 25th International Conference, TACAS 2019, Held as Part of the European Joint Conferences on Theory and Practice of Software, ETAPS 2019, Prague, Czech Republic, April 6–11, 2019, Proceedings, Part I 25. Springer, 135–151.
- Der-Hau Lee and Jinn-Liang Liu. 2023. End-to-end deep learning of lane detection and path prediction for real-time autonomous driving. Signal, Image and Video Processing 17, 1 (2023), 199–205.
- Can pruning improve certified robustness of neural networks? arXiv preprint arXiv:2206.07311 (2022).
- Rectifier nonlinearities improve neural network acoustic models. In Proc. icml, Vol. 30. Atlanta, GA, 3.
- Deep learning applications in surgery: Current uses and future directions. The American Surgeon 89, 1 (2023), 36–42.
- Leonardo de Moura and Nikolaj Bjørner. 2008. Z3: An efficient SMT solver. In International conference on Tools and Algorithms for the Construction and Analysis of Systems. Springer, 337–340.
- Scaling polyhedral neural network verification on gpus. Proceedings of Machine Learning and Systems 3 (2021), 733–746.
- The Third International Verification of Neural Networks Competition (VNN-COMP 2022): Summary and Results. arXiv preprint arXiv:2212.10376 (2022).
- Solving SAT and SAT modulo theories: From an abstract Davis–Putnam–Logemann–Loveland procedure to DPLL (T). Journal of the ACM (JACM) 53, 6 (2006), 937–977.
- OVAL-group. 2023. OVAL - Branch-and-Bound-based Neural Network Verification. https://github.com/oval-group/oval-bab.
- Safety-enhanced autonomous driving using interpretable sensor fusion transformer. In Conference on Robot Learning. PMLR, 726–737.
- DNNV: A framework for deep neural network verification. In International Conference on Computer Aided Verification. Springer, 137–150.
- Reducing dnn properties to enable falsification with adversarial attacks. In 2021 IEEE/ACM 43rd International Conference on Software Engineering (ICSE). IEEE, 275–287.
- Beyond the single neuron convex barrier for neural network certification. Advances in Neural Information Processing Systems 32 (2019).
- Fast and effective robustness certification. Advances in neural information processing systems 31 (2018).
- Boosting robustness certification of neural networks. In International Conference on Learning Representations.
- An abstract domain for certifying neural networks. Proceedings of the ACM on Programming Languages 3, POPL (2019), 1–30.
- Structural test coverage criteria for deep neural networks. ACM Transactions on Embedded Computing Systems (TECS) 18, 5s (2019), 1–23.
- The international benchmarks standard for the Verification of Neural Networks. https://www.vnnlib.org/
- Evaluating robustness of neural networks with mixed integer programming. arXiv preprint arXiv:1711.07356 (2017).
- Evaluating Robustness of Neural Networks with Mixed Integer Programming. arXiv:1711.07356 [cs.LG]
- Star-based reachability analysis of deep neural networks. In International symposium on formal methods. Springer, 670–686.
- Robustness verification of semantic segmentation neural networks using relaxed reachability. In International Conference on Computer Aided Verification. Springer, 263–286.
- Efficient formal safety analysis of neural networks. Advances in Neural Information Processing Systems 31 (2018).
- Formal security analysis of neural networks using symbolic intervals. In 27th USENIX Security Symposium (USENIX Security 18). 1599–1614.
- Beta-crown: Efficient bound propagation with per-neuron split constraints for neural network robustness verification. Advances in Neural Information Processing Systems 34 (2021), 29909–29921.
- Parallelization techniques for verifying neural networks, Vol. 1. TU Wien Academic Press, 128–137.
- Training for Faster Adversarial Robustness Verification via Inducing ReLU Stability. In 7th International Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019. OpenReview.net. https://openreview.net/forum?id=BJfIVjAcKm
- Systematic generation of diverse benchmarks for dnn verification. In International Conference on Computer Aided Verification. Springer, 97–121.
- Fast and complete: Enabling complete neural network verification with rapid and massively parallel incomplete verifiers. arXiv preprint arXiv:2011.13824 (2020).
- A Deep Learning-based Method for Automatic Abnormal Data Detection: Case Study for Bridge Structural Health Monitoring. International Journal of Structural Stability and Dynamics (2023), 2350131.
- Towards stable and efficient training of verifiably robust neural networks. arXiv preprint arXiv:1906.06316 (2019).
- General cutting planes for bound-propagation-based neural network verification. arXiv preprint arXiv:2208.05740 (2022).
- Efficient neural network robustness certification with general activation functions. Advances in neural information processing systems 31 (2018).
- Efficient conflict driven learning in a boolean satisfiability solver. In IEEE/ACM International Conference on Computer Aided Design. ICCAD 2001. IEEE/ACM Digest of Technical Papers (Cat. No. 01CH37281). IEEE, 279–285.
- Lintao Zhang and Sharad Malik. 2003. Validating SAT solvers using an independent resolution-based checker: Practical implementations and other applications. In 2003 Design, Automation and Test in Europe Conference and Exhibition. IEEE, 880–885.
- Can Pruning Improve Certified Robustness of Neural Networks? Transactions on Machine Learning Research (2022).
- Deephyperion: exploring the feature space of deep learning-based systems through illumination search. In Proceedings of the 30th ACM SIGSOFT International Symposium on Software Testing and Analysis. 79–90.