Delivering Inflated Explanations

Yacine Izza, Alexey Ignatiev, Peter J. Stuckey, João Marques-Silva

Abstract

Formal Explainable AI (XAI) often relies on abductive explanations (AXps) to provide guarantees about model decisions. However, these explanations are frequently too specific to be useful in real-world scenarios. This paper introduces "inflated explanations," a framework that generalizes specific feature values into broad sets or ranges while maintaining formal rigor. By moving from point-based literals to set-based ones, the authors provide more informative and flexible insights into AI behavior.

Introduction

In the field of Formal XAI, researchers typically use abductive explanations (AXps). An AXp is a minimal set of features that, if kept at their current values, guarantee the model will make the same decision regardless of what other features do. While mathematically sound, standard AXps are often "brittle." For instance, a loan denial explained by "income = $50,000" fails to inform the user if a slightly different income would change the outcome. This specificity limits the utility of formal explanations for human decision-makers who require "safety margins" or ranges of acceptable values. This paper addresses this need by introducing "inflated" literals ($x \in E$) that describe a range or set of values, making the explanation far more useful for human decision-makers.

Methodology

The authors propose Inflated Abductive Explanations (iAXp), where feature literals are expanded from equality constraints to set membership. Instead of a rule like "Feature A = Value 1," an inflated explanation produces a rule like "Feature A $\in$ {Value 1, Value 2, Value 3}."

The inflation process varies by feature type:

  • Categorical Features: A greedy algorithm iteratively adds values to the set $E$ as long as the model's prediction is preserved.
  • Ordinal/Numerical Features: Linear or binary searches identify the maximum and minimum bounds (supremum and infimum) that maintain the decision.
The InflateCategorical algorithm used to expand the set of valid categorical values for an explanation.

A major theoretical contribution is proving that the Minimal Hitting Set duality—a cornerstone of formal XAI—still holds for inflated explanations. This means that an inflated abductive explanation (the "Why") is still mathematically linked to inflated contrastive explanations (the "Why Not"). This allows researchers to use existing, highly-optimized algorithms for enumerating explanations and simply "inflate" them as a post-processing step using tools like the PySAT toolkit.

Experimental Evaluation

The researchers evaluated their approach using 35 well-known tabular datasets from the UCI Machine Learning Repository and the PMLB benchmark suite, including diverse domains such as medical (appendicitis, wdbc), financial (adult, lending), and general classification (iris, mushroom). They tested these against Random Forest (RF) models, which are notoriously difficult to explain formally due to their ensemble nature.

Comprehensive experimental results comparing standard AXp/CXp with their inflated counterparts across 35 datasets.

The experimental results highlight several key findings:

  1. Informative Power: Inflated explanations cover a significantly larger portion of the feature space. On average, the domain coverage of an iAXp was $10^{39}$ times larger than a standard AXp.
  2. Computational Efficiency: Despite the added complexity, the average runtime to deliver an inflated explanation was only 7.72 seconds. For 33 out of 35 datasets, contrastive explanations were computed in less than a second.
  3. Feature Flexibility: In almost all tested cases, the algorithms successfully expanded the individual sets for every feature involved in the explanation, proving that "inflation" is almost always possible in real-world data.

Conclusion and Future Work

By transitioning from point-based explanations to intervals and sets, this work makes formal XAI significantly more readable and useful for end-users. While the current algorithms are "maximal" (no further values can be added without breaking the prediction), they are not necessarily "globally optimal" as the results depend on the feature processing order. Future work involves extending this framework to Neural Networks and exploring probabilistic "soft" logic to provide confidence-based ranges rather than absolute guarantees.

Summary updated

BibTeX
@inproceedings{izza2024delivering,
  author = {Yacine Izza and Alexey Ignatiev and Peter J. Stuckey and João Marques-Silva},
  title = {{Delivering Inflated Explanations}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i11.29170},
}
Figure