Proceedings

The Complexity of Verifying Feedforward Neural Networks in Quantised Settings

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 4135-4142.

https://doi.org/10.24963/ijcai.2026/460

Abstract

We investigate the computational complexity of neural network verification in quantised settings. We distinguish three classes of Feedforward Neural Networks (FNNs): rational FNNs with exact rational weights, quantised FNNs whose weights come from a finite-width arithmetic, and dynamically quantised FNNs in which rational networks are evaluated with respect to a given finite-width arithmetic. We consider two types of specifications used in the literature. Linear programming (LP) specifications are conjunctions of linear constraints, while bit-vector (BV) specifications allow reasoning at the bit level and can express non-linear constraints. Our results give a complexity landscape of these verification problems. For quantised FNNs with fixed arithmetic precision, we show that verification under both LP and BV specifications remains NP-complete, matching the complexity of the rational case. For dynamically quantised FNNs with BV specifications, we establish upper bounds, complementing a previously known PSPACE-hardness result.

  1. [Brix et al., 2023] Christopher Brix, Mark Niklas Müller, Stanley Bak, Taylor T. Johnson, and Changliu Liu. First three years of the international verification of neural net- works competition (VNN-COMP). Int. J. Softw. Tools Technol. Transf., 25(3):329-339, 2023.
  2. [Brix et al., 2024] Christopher Brix, Stanley Bak, Taylor T. Johnson, and Haoze Wu. The fifth international verifica- tion of neural networks competition (VNN-COMP 2024): Summary and results. CoRR, abs/2412.19985, 2024.
  3. [Esparza and Blondin, 2023] Javier Esparza and Michael Blondin. Automata Theory: An Algorithmic Approach. MIT Press, Cambridge, MA, USA, October 2023.
  4. [Galperin and Wigderson, 1983] Hana Galperin and Avi Wigderson. Succinct representations of graphs. Inf. Con- trol., 56(3):183-198, 1983.
  5. [Gholami et al., 2021] Amir Gholami, Sehoon Kim, Zhen Dong, Zhewei Yao, Michael W. Mahoney, and Kurt Keutzer. A survey of quantization methods for efficient neural network inference. CoRR, abs/2103.13630, 2021.
  6. [Henzinger et al., 2021] Thomas A. Henzinger, Mathias Lechner, and !or de "ikelić. Scalable verification of quan- tized neural networks. Proceedings of the AAAI Confer- ence on Artificial Intelligence, 35(5):3787-3795, 2021.
  7. [Huang et al., 2020] Xiaowei Huang, Daniel Kroening, Wenjie Ruan, James Sharp, Youcheng Sun, Emese Thamo, Min Wu, and Xinping Yi. A survey of safety and trustwor- thiness of deep neural networks: Verification, testing, ad- versarial attack and defence, and interpretability. Comput. Sci. Rev., 37:100270, 2020.
  8. [Jia and Rinard, 2021] Kai Jia and Martin C. Rinard. Ex- ploiting verified neural networks via floating point nu- merical error. In Cezara Dragoi, Suvam Mukherjee, and Kedar S. Namjoshi, editors, Static Analysis -28th Interna- tional Symposium, SAS 2021, Chicago, IL, USA, October 17-19, 2021, Proceedings, volume 12913 of Lecture Notes in Computer Science, pages 191-205. Springer, 2021.
  9. [Katz et al., 2017] Guy Katz, Clark W. Barrett, David L. Dill, Kyle Julian, and Mykel J. Kochenderfer. Reluplex: An efficient SMT solver for verifying deep neural net- works. In Rupak Majumdar and Viktor Kuncak, editors, Computer Aided Verification -29th International Confer- ence, CAV 2017, Heidelberg, Germany, July 24-28, 2017, Proceedings, Part I, volume 10426 of Lecture Notes in Computer Science, pages 97-117. Springer, 2017.
  10. [Katz et al., 2022] Guy Katz, Clark W. Barrett, David L. Dill, Kyle Julian, and Mykel J. Kochenderfer. Reluplex: a calculus for reasoning about deep neural networks. For- mal Methods Syst. Des., 60(1):87-116, 2022.
  11. [Korte and Vygen, 2018] Bernhard Korte and Jens Vygen. Combinatorial Optimization: Theory and Algorithms. Number 21 in Algorithms and Combinatorics. Springer Berlin Heidelberg, Berlin, Heidelberg, 6. 6th ed. 2018 edi- tion, 2018.
  12. [Kovásznai et al., 2016] Gergely Kovásznai, Andreas Fröh- lich, and Armin Biere. Complexity of fixed-size bit-vector logics. Theory Comput. Syst., 59(2):323-376, 2016.
  13. [Ruan et al., 2018] Wenjie Ruan, Xiaowei Huang, and Marta Kwiatkowska. Reachability analysis of deep neural net- works with provable guarantees. In Jérôme Lang, edi- tor, Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence, IJCAI 2018, July 13- 19, 2018, Stockholm, Sweden, pages 2651-2659. ijcai.org, 2018. IJCAI
  14. [Sälzer and Lange, 2021] Marco Sälzer and Martin Lange. Reachability is NP-complete even for the simplest neu- ral networks. In Reachability Problems: 15th Interna- tional Conference, RP 2021, Liverpool, UK, October 25- 27, 2021, Proceedings, pages 149-164, Berlin, Heidel- berg, 2021. Springer-Verlag.
  15. [Sälzer and Lange, 2022] Marco Sälzer and Martin Lange. Reachability in simple neural networks. Fundam. Infor- maticae, 189(3-4):241-259, 2022.
  16. [Sälzer et al., 2024] Marco Sälzer, Eric Alsmann, Florian Bruse, and Martin Lange. Verifying and interpreting neu- ral networks using finite automata. In Joel D. Day and Florin Manea, editors, Developments in Language Theory, pages 266-281, Cham, 2024. Springer Nature Switzer- land. Vaswani et al., 2017]
  17. Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Isabelle Guyon, Ulrike von Luxburg, Samy Bengio, Hanna M. Wallach, Rob Fergus, S. V. N. Vish- wanathan, and Roman Garnett, editors, Advances in Neu- ral Information Processing Systems 30: Annual Confer- ence on Neural Information Processing Systems 2017, De- cember 4-9, 2017, Long Beach, CA, USA, pages 5998- 6008, 2017.
  18. [Wolper and Boigelot, 2000] Pierre Wolper and Bernard Boigelot. On the construction of automata from linear arithmetic constraints. In Susanne Graf and Michael I. Schwartzbach, editors, Tools and Algorithms for Con- struction and Analysis of Systems, 6th International Con- ference, TACAS 2000, Held as Part of the European Joint Conferences on the Theory and Practice of Software, ETAPS 2000, Berlin, Germany, March 25 -April 2, 2000, Proceedings, volume 1785 of Lecture Notes in Computer Science, pages 1-19. Springer, 2000.
  19. [Wurm, 2023] Adrian Wurm. Complexity of reachability problems in neural networks. In Olivier Bournez, Enrico Formenti, and Igor Potapov, editors, Reachability Prob- lems -17th International Conference, RP 2023, Nice, France, October 11-13, 2023, Proceedings, volume 14235 of Lecture Notes in Computer Science, pages 15-27. Springer, 2023.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards