Formally Explaining Neural Networks within Reactive Systems

07/31/2023
by   Shahaf Bassan, et al.
0

Deep neural networks (DNNs) are increasingly being used as controllers in reactive systems. However, DNNs are highly opaque, which renders it difficult to explain and justify their actions. To mitigate this issue, there has been a surge of interest in explainable AI (XAI) techniques, capable of pinpointing the input features that caused the DNN to act as it did. Existing XAI techniques typically face two limitations: (i) they are heuristic, and do not provide formal guarantees that the explanations are correct; and (ii) they often apply to “one-shot” systems, where the DNN is invoked independently of past invocations, as opposed to reactive systems. Here, we begin bridging this gap, and propose a formal DNN-verification-based XAI technique for reasoning about multi-step, reactive systems. We suggest methods for efficiently calculating succinct explanations, by exploiting the system's transition constraints in order to curtail the search space explored by the underlying verifier. We evaluate our approach on two popular benchmarks from the domain of automated navigation; and observe that our methods allow the efficient computation of minimal and minimum explanations, significantly outperforming the state of the art. We also demonstrate that our methods produce formal explanations that are more reliable than competing, non-verification-based XAI techniques.

READ FULL TEXT

page 9

page 10

research
10/25/2022

Towards Formal XAI: Formally Approximate Minimal Explanations of Neural Networks

With the rapid growth of machine learning, deep neural networks (DNNs) a...
research
05/28/2021

Pruning and Slicing Neural Networks using Formal Verification

Deep neural networks (DNNs) play an increasingly important role in vario...
research
05/29/2023

DelBugV: Delta-Debugging Neural Network Verifiers

Deep neural networks (DNNs) are becoming a key component in diverse syst...
research
08/06/2019

Explaining Deep Neural Networks Using Spectrum-Based Fault Localization

Deep neural networks (DNNs) increasingly replace traditionally developed...
research
05/20/2021

From Verification to Causality-based Explications

In view of the growing complexity of modern software architectures, form...
research
12/23/2022

Decoupled Fitness Criteria for Reactive Systems

The correctness problem for reactive systems has been thoroughly explore...
research
10/08/2018

Local Explanation Methods for Deep Neural Networks Lack Sensitivity to Parameter Values

Explaining the output of a complicated machine learning model like a dee...

Please sign up or login with your details

Forgot password? Click here to reset