[Paper Review] VeriX: Towards Verified Explainability of Deep Neural Networks
VeriX introduces a verified explainability framework for deep neural networks that generates optimal, robust explanations with formal guarantees against continuous, infinite perturbations using constraint solving and feature-level sensitivity ranking. It also automatically generates counterfactuals along decision boundaries, demonstrating scalability and provable soundness on image recognition and autonomous aircraft taxiing tasks.
We present VeriX (Verified eXplainability), a system for producing optimal robust explanations and generating counterfactuals along decision boundaries of machine learning models. We build such explanations and counterfactuals iteratively using constraint solving techniques and a heuristic based on feature-level sensitivity ranking. We evaluate our method on image recognition benchmarks and a real-world scenario of autonomous aircraft taxiing.
Motivation & Objective
- To address the lack of formal guarantees in model-agnostic explainability methods like LIME and SHAP, which may mask bias or fail under distribution shifts.
- To overcome scalability and precision limitations in existing formal explanation methods that only handle simple models or discrete perturbations.
- To generate optimal, minimal explanations that are robust to continuous, infinite perturbations in input space while maintaining computational feasibility.
- To establish a formal link between explanations and counterfactuals, enabling automatic generation of counterfactuals at no extra cost.
- To evaluate the framework on real-world safety-critical applications, including autonomous aircraft taxiing, to demonstrate practical trustworthiness.
Proposed method
- Uses constraint solving to compute robust explanations with provable guarantees against continuous, infinite perturbations in the input space.
- Employs a feature-level sensitivity ranking heuristic to guide the search for optimal explanations, improving scalability for high-dimensional inputs.
- Integrates a verifier (e.g., DeepPoly or complete search) to check whether perturbing a feature can change the model’s prediction, ensuring soundness.
- Applies a recursive refinement process that maintains an irrelevant set B and an explanation set A, iteratively pruning features based on verification results.
- Leverages the duality between explanations and counterfactuals: features in the explanation set A are those whose perturbation can change the prediction, enabling automatic counterfactual generation.
- Supports both complete and incomplete verification procedures (e.g., DeepPoly), allowing trade-offs between explanation size and generation time.
Experimental results
Research questions
- RQ1Can we generate optimal, minimal explanations for deep neural networks that are robust to continuous, infinite perturbations with formal guarantees?
- RQ2How can we efficiently scale the explanation generation process for high-dimensional inputs and large models?
- RQ3What is the relationship between explanations and counterfactuals, and can counterfactuals be generated automatically from the explanation process?
- RQ4How does the use of incomplete verification (e.g., DeepPoly) affect explanation size and generation time compared to complete search?
- RQ5Can the framework be effectively applied to real-world safety-critical applications, such as autonomous aircraft taxiing?
Key findings
- VeriX generates provably robust explanations with formal guarantees against continuous perturbations, ensuring that only features in the explanation set A can alter the model’s prediction.
- Using feature-level sensitivity ranking reduces explanation size and improves scalability, especially for high-dimensional inputs like images.
- On MNIST, VeriX with complete verification produces explanations of size 330.8 (sensitivity) and 467.4 (random) on average, with average generation times of 106.11s and 100.19s, respectively.
- On GTSRB, VeriX generates explanations of size 385.2 (sensitivity) and 400.2 (random), with average times of 858.39s and 816.38s, respectively, under the same ε=0.5% perturbation.
- Using incomplete verification (e.g., DeepPoly) results in larger explanations but faster generation times, with a more pronounced trade-off on MNIST (ε=5%) than on GTSRB (ε=0.5%).
- The framework successfully identifies bias-revealing features—such as skin tone in medical diagnosis models—demonstrating its potential for fairness evaluation in high-stakes AI applications.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.