Abstract
Deep Neural Networks (DNNs) are increasingly deployed in safety-critical domains, yet their "black box" nature remains a significant barrier to trust. While heuristic Explainable AI (XAI) methods provide visual cues, they lack the mathematical guarantees required for high-stakes applications. This paper presents a scalable framework for Formal XAI that generates provably correct Abductive Explanations (AXPs). By employing a dual-threaded bounding approach and feature bundling, the proposed method significantly improves the speed and interpretability of formal explanations. Experimental results on MNIST and Fashion-MNIST demonstrate superior performance over existing state-of-the-art methods, achieving higher coverage and more succinct explanations.
Introduction: The Need for Rigor in XAI
The lack of transparency in DNN decisions is a major concern in fields like aviation and medicine. Formal XAI aims to provide rigorous explanations by identifying subsets of features—AXPs—that guarantee a specific classification. An AXP is a subset of features that, if fixed, ensures the network's output remains the same regardless of changes to other inputs. However, finding the absolute minimum AXP is an NP-complete problem, and existing methods often struggle with scalability or produce overly granular, pixel-level explanations that are difficult for humans to parse. This work bridges the gap between formal rigor and practical scalability.
Methodology: Scalable Formal Explanations
The proposed framework focuses on finding "formally approximate" minimal explanations. Instead of searching for the absolute smallest set of features, it provides a provably correct explanation with a guaranteed bound on its size relative to the theoretical minimum.
Dual-Threaded Bounding
The algorithm employs two parallel processes to bound the explanation size:
- Upper Bounding Thread ($T_{UB}$): Iteratively removes features to find a valid, minimal AXP.
- Lower Bounding Thread ($T_{LB}$): Searches for "contrastive examples"—small input perturbations that flip the classification—to establish a lower bound on the explanation size.
Efficiency Heuristics and Feature Bundling
To handle high-dimensional inputs like images, the authors introduce feature bundling. By grouping related features (e.g., super-pixels) into bundles, the number of variables the underlying verifier must process is drastically reduced. This not only speeds up computation but also results in "chunkier," more interpretable visual explanations. Additionally, the algorithm utilizes binary search to find "flip points" and local-singleton search to quickly identify essential features from counter-examples.
Experimental Evaluation
The framework was evaluated using the MNIST and Fashion-MNIST datasets, specifically targeting the 100 most challenging cases (least confident predictions) for each model.
Key Results
The proposed method significantly outperformed the current state-of-the-art in formal XAI:
- Speed and Coverage: The method verified 40.4% more features within a one-hour time limit compared to previous frameworks.
- Succinctness: It produced explanations that were, on average, 9.7% smaller.
- Reliability: The approach resulted in 10% fewer timeouts overall, with an 84% reduction on MNIST when utilizing feature bundling.
- Approximation Quality: On Fashion-MNIST, the average approximation ratio was 1.19, indicating the discovered explanations were very close to the global minimum.
Discussion and Future Work
The core insight of this work is the mathematical duality between explanations (what stays the same) and contrastive examples (what changes). By leveraging this relationship, the authors bypass the computational bottleneck of finding exact minimums while maintaining formal correctness. Feature bundling serves as a dual-purpose optimization, improving both solver performance and human readability.
While a major step forward, the approach remains dependent on the efficiency of underlying DNN verifiers like Marabou. Future research will focus on integrating more lightweight verification techniques and extending the framework to complex architectures beyond standard feed-forward networks, such as Transformers and ResNets.
Summary updated