Efficiently Computing Compact Formal Explanations
About
Building on VeriX (Verified eXplainability, arXiv:2212.01051), a system for producing optimal verified explanations for machine learning models, we present VeriX+, which significantly improves both the size and the generation time of formal explanations. We introduce a bound propagation-based sensitivity technique to improve the size, and a binary search-based traversal with confidence ranking for improving time -- the two techniques are orthogonal and can be used independently or together. We also show how to adapt the QuickXplain algorithm to our setting to provide a trade-off between size and time. Experimental evaluations on standard benchmarks demonstrate significant improvements on both metrics, e.g., a size reduction of $38\%$ on the GTSRB dataset and a time reduction of $90\%$ on MNIST. We demonstrate that our approach is scalable to transformers and real-world scenarios such as autonomous aircraft taxiing and sentiment analysis. We conclude by showcasing several novel applications of formal explanations.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Standard robust explanation computation | MNIST first 100 images (test) | Explanation Size (|Ex|)82.74 | 6 | |
| Standard robust explanation computation | GTSRB first 100 images (test) | Explanation Complexity (|Ex|)287 | 6 | |
| OVAL-optimal robust explanation generation | MNIST (first 10 images) (test) | Magnitude Cx134.2 | 3 | |
| OVAL-optimal robust explanation generation | CIFAR-10 first 10 images (test) | Complexity |Cx|209.6 | 3 | |
| Robust Explanation Computation | CIFAR-10 first 100 images (test) | Explanation Complexity (|Ex|)204.2 | 3 | |
| Sufficient Explanation Generation | Breast cancer | Explanation Size16.27 | 3 | |
| Sufficient Explanation Generation | Credit | Model Size3.82 | 3 | |
| Sufficient Explanation Generation | FICO HELOC | Explanation Size9.45 | 3 |