Explaining, Fast and Slow: Abstraction and Refinement of Provable Explanations

Shahaf Bassan, Yizhak Yisrael Elboher, Tobias Ladner, Matthias Althoff, Guy Katz

Abstract

This paper introduces a novel framework for generating provably sufficient explanations for neural network predictions by employing an abstraction-refinement technique from formal methods. By starting with a simplified "abstract" version of a network and iteratively refining it, the authors achieve significant speedups—up to 56%—in finding certified explanations. This approach provides a progressive, "anytime" interpretation of model behavior, balancing computational efficiency with formal guarantees.

Introduction

Most popular eXplainable AI (XAI) tools, such as LIME or SHAP, are heuristic in nature. While they provide estimates of feature importance, they offer no formal guarantees. In safety-critical domains like autonomous driving or medical diagnosis, a "best guess" is insufficient. This research addresses the need for provably sufficient explanations: subsets of input features that guarantee the model's prediction remains unchanged even if other features are perturbed.

Finding these explanations is computationally expensive, as it requires solving multiple neural network verification queries, which are NP-complete. For high-dimensional inputs like images, standard verification on full-sized networks is often too slow for practical use.

Methodology: Abstraction-Refinement

The authors propose an abstraction-refinement approach to overcome this computational bottleneck. The process consists of two main phases:

  1. Abstraction: The original large neural network is compressed into a smaller "abstract" network by merging neurons with similar behaviors. This abstraction is designed such that any sufficient explanation found for the abstract network is mathematically guaranteed to be sufficient for the original network.
  2. Refinement: If the current abstraction is too coarse to yield a sufficiently small explanation, the algorithm "refines" the network by splitting merged neurons to increase precision, then re-evaluates.
Progression of explanations from a highly abstract network ($\rho \le 10\%$) to the original network.

This creates a "Fast and Slow" dynamic: the system quickly identifies coarse, larger explanations using the abstract network (Fast) and gradually narrows them down to minimal, precise explanations as the model is refined (Slow).

Experimental Evaluation

The method was evaluated across several domains to demonstrate its versatility:

  • Image Classification: MNIST, CIFAR-10, and GTSRB (German Traffic Sign Recognition Benchmark).
  • Regression: Taxinet (autonomous aircraft taxiing).
  • Natural Language Processing: safeNLP (medical safety dataset).

Key Results

  • Computational Efficiency: The abstraction-refinement approach significantly outperformed standard greedy methods, reducing computation time by 41% on MNIST, 36% on CIFAR-10, and 56% on GTSRB.
  • Explanation Quality: Under strict time limits, the proposed method found much smaller, more interpretable explanations than standard approaches, which often timed out before pruning many features.
  • Provability: Compared to heuristic methods like Anchors or SIS, which provided sufficient explanations less than 25% of the time, this method maintained a 100% sufficiency rate.
  • Localization: On the GTSRB dataset, explanations aligned with ground-truth object annotations 93.33% of the time, far exceeding the 60.36% achieved by Anchors.

Discussion and Future Work

The "aha moment" of this work is the mathematical proof that sufficiency on an abstract network implies sufficiency on the concrete one. This allows the verifier to do the "heavy lifting" on a fraction of the original neurons. Furthermore, the method provides a sequence of valid explanations, allowing users to stop the process early if the current explanation is "good enough."

However, some hurdles remain:

  • Verifier Dependence: Performance is ultimately tied to the underlying neural network verifier (e.g., CORA).
  • Scalability: Applying this to massive "foundation" models like large Transformers remains a future challenge due to the sheer number of neurons.
  • Feature Ordering: The efficiency of the search depends on the order in which features are checked; better heuristics for feature selection could further optimize the refinement loop.

Summary updated

BibTeX
@inproceedings{bassan2025explaining,
  author = {Shahaf Bassan and Yizhak Yisrael Elboher and Tobias Ladner and Matthias Althoff and Guy Katz},
  title = {{Explaining, Fast and Slow: Abstraction and Refinement of Provable Explanations}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=nOfSWmPYL5},
}
Figure