Published April 16, 2019 | Version v1
Preprint Open

Formal verification of deep neural networks using learning cellular automata

  • 1. Indian Institute of Technology Bhubaneswar

Description

Deep neural networks (DNNs) have found diverse applications such

as image processing, video processing, text classification, computer vi-

sion, safety-critical systems such as controllers for autonomous vehicles

, etc. But for DNNs in safety-critical systems, formal verification becomes

really essential before actual deployment. There have been several al-

gorithms, like the Reluplex algorithm, which are limitedly scalable. It

has been claimed that formal verification can be made significantly

more scalable by means of intelligent parallelisation. Cellular automata

(CAs) have also analysed to have some computational power and univer-

sality apart from highly scaling data parallelism. Recent literature reveals

that cellular automata have been studied as a black box for neural net-

works to study their temporal evolution and predict the transition rules.

In this article, we propose a formal verification system for deep neural

networks by using equivalent learning cellular automata (LCA), a new

discrete structure that incorporates all the properties of a CA associated

with some learning algorithm. We provide necessary formal definitions of

CAs, DNNs, and LCAs, and prove that the emulation complexity of an

equivalent LCA for a given DNN is NP-complete. Finally, we describe the

overall layout of the verier based on a polynomial-time approximation of

the emulation, illustrated by extensive experimental results.

Files

CANNFormal7.pdf

Files (787.7 kB)

Name Size Download all
md5:24f2e433fdd6b9f2b181c4e15547c1e5
787.7 kB Preview Download

Additional details

References

  • J. Schiff, "Introduction to Cellular Automata", 1st edition, Wiley and sons
  • Wolfram, S., "Cellular automata as models of complexity", in Nature, Vol. 311, No. 5985, pp. 419-424, 1984
  • Renard, J.P., "Implementation of logical functions in the Game of Life", in A. Adamatzky (Ed.), Collision-Based Computing, pp. 491-512, 2002
  • Cook, M., "Universality in elementary cellular automata", in Complex Sys- tems, vol. 1, pp. 1-40, 2004
  • Omohundro, S., "Modelling Cellular Automata with Partial differential equations", in Physica D: Nonlinear Phenomena, 10.1016/0167- 2789(84)90255-0
  • Geddes, K.O., Czapor, S.R., Labahn, G. "Algorithms for Computer Algebra", in Kiuwer Academic Publishers
  • Guenter, B.K., "Efficient symbolic differentiation for graphics applications", in ACM Trans. Graph., 2007
  • Katz, G., Barrett, C., Dill, D., Julian, K., Kochenderfer, M., "Reluplex: An Efficient SMT solver for deep neural networks", in International Conference, on Computer Aided Verification, pp., 97-117, 2017
  • Sun, X., Khedr, H., Shoukry, Y., "Formal Verification of Neural Network Controlled Autonomous Systems", arXiv: 1810.13072, 2018
  • Katz, G., Barrett, C., Dill, D., Julian, K., Kochenderfer, M., "Towards Proving the Adversarial Robustness of Deep Neural Networks", arXiv:1709.02802, 2017
  • Agarap, A., "Deep Learning using Rectified Linear Units (ReLU)", arXiv:1803.08375, 2018
  • Gashler, M., Ashmore, S., "Training Deep Fourier Neural Networks To Fit Time-Series Data", arXiv:1405.2262, 2014
  • Godfrey, L., Gashler, M., "A continuum among logarithmic, linear, and exponential functions, and its potential to improve generalization in neural networks", in 7th International Joint Conference on Knowledge Discovery, Knowledge Engineering and Knowledge Management: KDIR, 2016
  • Lomuscio, A., Maganti, L., "An approach to reachability analysis for feed- forward ReLU neural networks", arXiv:1706.07351, 2017
  • Charif, O., Omrani, H., Basse, R.M., "Cellular automata based on artificial neural network for simulating land use changes", in Proceedings of the 45th Annual Simulation Symposium, Article No. 1, 2012
  • Schmidhuber, J., "Deep Learning in Neural Networks: An Overview", in Neural Networks, 61:85-117, arXiv:1404.7828, 2015
  • Bojarski, M., Del Testa, D., Dworakowski, D., Firner, B. et al, "End to End Learning for Self-Driving Cars", arXiv:1604.07316, 2016.
  • Bastani, O., Ioannou, Y., Lampropoulos, L., Vytiniotis, D., Nori, A., Cri- minisi, A., "Measuring Neural Net Robustness with Constraints", in Proc. 30th Conf. on Neural Information Processing Systems (NIPS), 2016
  • Pulina, L., Tacchella, A., "Challenging SMT Solvers to Verify Neural Net- works", in AI Communications, 25(2):117-135, 2012
  • Gilpin, W., "Cellular automata as convolutional neural networks", arXiv:1809.02942, 2018