Skip to main content
QUICK REVIEW

[Paper Review] Reliable Post hoc Explanations: Modeling Uncertainty in Explainability

Dylan Slack, Sophie Hilgard|arXiv (Cornell University)|Aug 11, 2020
Explainable Artificial Intelligence (XAI)Computer Science57 references23 citations
TL;DR

This paper proposes a Bayesian framework, BayesLIME and BayesSHAP, that generates local model explanations with credible intervals to quantify uncertainty in feature importance. By modeling uncertainty, the method ensures stable, reliable, and computationally efficient explanations with theoretical guarantees on hyperparameter selection and convergence.

ABSTRACT

As black box explanations are increasingly being employed to establish model credibility in high-stakes settings, it is important to ensure that these explanations are accurate and reliable. However, prior work demonstrates that explanations generated by state-of-the-art techniques are inconsistent, unstable, and provide very little insight into their correctness and reliability. In addition, these methods are also computationally inefficient, and require significant hyper-parameter tuning. In this paper, we address the aforementioned challenges by developing a novel Bayesian framework for generating local explanations along with their associated uncertainty. We instantiate this framework to obtain Bayesian versions of LIME and KernelSHAP which output credible intervals for the feature importances, capturing the associated uncertainty. The resulting explanations not only enable us to make concrete inferences about their quality (e.g., there is a 95% chance that the feature importance lies within the given range), but are also highly consistent and stable. We carry out a detailed theoretical analysis that leverages the aforementioned uncertainty to estimate how many perturbations to sample, and how to sample for faster convergence. This work makes the first attempt at addressing several critical issues with popular explanation methods in one shot, thereby generating consistent, stable, and reliable explanations with guarantees in a computationally efficient manner. Experimental evaluation with multiple real world datasets and user studies demonstrate that the efficacy of the proposed framework.

Motivation & Objective

  • Address the instability and inconsistency of existing post-hoc explanation methods like LIME and SHAP, which produce varying explanations across runs or with small input perturbations.
  • Provide reliable, uncertainty-aware explanations by modeling the posterior distribution of feature importances, enabling concrete inferences about explanation quality.
  • Reduce computational cost by deriving closed-form expressions for posteriors and introducing focused sampling to accelerate convergence.
  • Offer theoretical guidance on critical hyperparameters (e.g., number of perturbations) using uncertainty estimates to achieve desired confidence levels.
  • Enable end users to request explanations with user-specified reliability thresholds (e.g., 95% credible intervals).

Proposed method

  • Develop a Bayesian framework that treats local explanation coefficients as random variables with posterior distributions, enabling uncertainty quantification.
  • Derive closed-form posterior distributions for LIME and KernelSHAP, eliminating the need for MCMC or sampling-based inference and ensuring computational efficiency.
  • Instantiate the framework as BayesLIME and BayesSHAP, which output point estimates of feature importance alongside credible intervals.
  • Propose focused sampling—a novel sampling strategy that prioritizes perturbations in regions of high uncertainty to accelerate convergence.
  • Leverage credible intervals to derive a closed-form expression for the number of perturbations required to achieve a desired confidence level.
  • Integrate uncertainty measures into hyperparameter selection, ensuring explanations meet user-specified reliability thresholds.

Experimental results

Research questions

  • RQ1Can modeling uncertainty in local explanations improve their stability and consistency across multiple runs?
  • RQ2Can credible intervals on feature importances provide reliable, interpretable measures of explanation quality and reliability?
  • RQ3Can theoretical analysis based on uncertainty estimates guide the selection of key hyperparameters like the number of perturbations?
  • RQ4Can uncertainty-aware sampling strategies improve the computational efficiency of explanation generation?
  • RQ5To what extent do uncertainty-aware explanations enhance user trust and decision-making in high-stakes domains?

Key findings

  • BayesLIME and BayesSHAP produce explanations with credible intervals that allow users to quantify the reliability of feature importance estimates, such as stating there is a 95% chance the true importance lies within a given range.
  • The framework ensures high consistency and stability: unlike standard LIME, explanations do not drastically change with minor input perturbations or different runs.
  • Theoretical analysis enables closed-form estimation of the number of perturbations required to achieve a desired confidence level, reducing reliance on heuristic tuning.
  • Focused sampling, which prioritizes uncertain regions, accelerates convergence and reduces the number of black-box queries needed for stable explanations.
  • User studies and evaluations on datasets like COMPAS, German Credit, MNIST, and ImageNet confirm that the proposed method generates more reliable and trustworthy explanations than baseline methods.
  • The framework maintains computational efficiency by avoiding iterative sampling or MCMC, thanks to closed-form posteriors, while still providing uncertainty quantification.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.