On computing probabilistic abductive explanations

Yacine Izza, Xuanxiang Huang, Alexey Ignatiev, Nina Narodytska, Martin C. Cooper, João Marques-Silva

Introduction

In the field of Explainable AI (XAI), a persistent tension exists between mathematical rigor and human interpretability. Formal methods often produce "Abductive Explanations" (AXps)—minimal sets of features that logically guarantee a model's prediction. However, these guarantees frequently result in explanations too long for human cognitive limits, often exceeding the "Miller’s Law" threshold of seven items. Conversely, popular model-agnostic tools like LIME or SHAP offer brevity but lack formal soundness, potentially providing misleading justifications.

This paper proposes a middle ground: Probabilistic Abductive Explanations (PAXps). By relaxing the requirement from absolute certainty to "high probability" (e.g., 95%), the authors demonstrate that it is possible to generate succinct, trustworthy explanations for widely used AI models in fractions of a second.

Defining the Probabilistic Approach

A PAXp is a subset of features that makes a specific prediction highly likely rather than certain. The authors focus on Locally-Minimal PAXps (LmPAXps), which are computed using a deletion-based greedy approach:

  1. Start with the full set of features used in a prediction.
  2. Iteratively attempt to remove features.
  3. A feature is removed if the probability of the target class remains above a predefined threshold ($\delta$).
  4. The process repeats until no further features can be removed without violating the probability threshold.

Complexity and Algorithms

One of the primary contributions of this work is the analysis of the computational complexity involved in finding these explanations. While computing PAXps is theoretically "hard" ($NP^{PP}$-complete) for general black-box circuits, the authors prove that the problem becomes significantly more tractable for specific, commonly used model architectures.

Complexity classes for computing PAXps across different model types, showing the transition from hard general cases to efficient polynomial-time solutions for specific architectures.

For Decision Trees (DTs), the researchers utilized Satisfiability Modulo Theories (SMT) encodings to count paths and calculate probabilities. For Naive Bayes Classifiers (NBCs), they transformed the problem into a variation of the Knapsack Problem, solvable via Dynamic Programming. This "complexity gap" allows for efficient explanation generation in practice, even when the general problem is computationally daunting.

Experimental Evaluation

The methods were evaluated using standard benchmarks from the UCI Machine Learning Repository and Penn Machine Learning Benchmarks, including datasets like Adult (income prediction), Dermatology (medical diagnosis), and Lending (financial risk).

Key Findings:

  • Succinctness: For Decision Trees, PAXps consistently averaged around 7 features, even for deep trees, making them significantly more readable than traditional path-based AXps.
  • Efficiency: Computing an LmPAXp typically took less than 0.01 seconds. Even global "minimum-size" searches via SMT usually finished in under 20 seconds for large trees.
  • Reliability: In over 94% of cases, the greedy "locally-minimal" approach found the same result as the more expensive "subset-minimal" search, suggesting that the efficient heuristic is highly effective.
  • Precision: In datasets like dermatology, the average precision of the explanations remained above 98%, ensuring that brevity did not come at the cost of accuracy.

Conclusion

This research demonstrates that "good enough" probability can be superior to absolute certainty in XAI. By shifting the focus to $\delta$-relevance, the authors provide a framework for generating formal, rigorous explanations that remain small enough for human understanding. This work bridges the gap between the soundness of formal methods and the practical utility of heuristic-based explanation tools, marking a significant step forward for Trustworthy AI.

Summary updated

BibTeX
@article{izza2023computing,
  author = {Yacine Izza and Xuanxiang Huang and Alexey Ignatiev and Nina Narodytska and Martin C. Cooper and João Marques-Silva},
  title = {{On computing probabilistic abductive explanations}},
  journal = {Int. J. Approx. Reason.},
  year = {2023},
  doi = {10.1016/j.ijar.2023.108939},
}
Figure