Towards a Unifying Logical Framework for Neural Networks

Xiyue Zhang,Xiaohong Chen,Meng Sun
DOI: https://doi.org/10.1007/978-3-031-17715-6_28
2022-01-01
Abstract:Neural networks are increasingly used in safety-critical applications such as medical diagnosis and autonomous driving, which calls for the need for formal specification of their behaviors. In this paper, we use matching logic—a unifying logic to specify and reason about programs and computing systems—to axiomatically define dynamic propagation and temporal operations in neural networks and to formally specify common properties about neural networks. As instances, we use matching logic to formalize a variety of neural networks, including generic feed-forward neural networks with different activation functions and recurrent neural networks. We define their formal semantics and several common properties in matching logic. This way, we obtain a unifying logical framework for specifying neural networks and their properties.
What problem does this paper attempt to address?