Uncertainty Propagation in XAI: A Comparison of Analytical and Empirical Estimators
Teodor Chiaburu, Felix Bießmann, Frank Haußer
TL;DR
This paper tackles the reliability of explanations in Explainable AI by formalizing uncertainty propagation from input data and model parameters to explanations through a unified explainer function $e_\theta(x,f)$. It develops both empirical (Monte Carlo) and analytical (first-order) methods to estimate explanation variance, summarized by the Mean Uncertainty in the Explanation (MUE), and tests these approaches on MNIST and Auto MPG using five common attribution methods. The results reveal regimes where analytical and empirical estimates align, as well as scenarios where uncertainty plateaus or vanishes for small perturbations, highlighting limitations in current XAI methods’ ability to propagate uncertainty. The work underscores the importance of incorporating uncertainty into explanations, provides a general, model-agnostic framework for UXAI analysis, and discusses extensions to broader models, use cases, and non-Gaussian perturbations with practical implications for high-stakes applications.
Abstract
Understanding uncertainty in Explainable AI (XAI) is crucial for building trust and ensuring reliable decision-making in Machine Learning models. This paper introduces a unified framework for quantifying and interpreting Uncertainty in XAI by defining a general explanation function $e_θ(x, f)$ that captures the propagation of uncertainty from key sources: perturbations in input data and model parameters. By using both analytical and empirical estimates of explanation variance, we provide a systematic means of assessing the impact uncertainty on explanations. We illustrate the approach using a first-order uncertainty propagation as the analytical estimator. In a comprehensive evaluation across heterogeneous datasets, we compare analytical and empirical estimates of uncertainty propagation and evaluate their robustness. Extending previous work on inconsistencies in explanations, our experiments identify XAI methods that do not reliably capture and propagate uncertainty. Our findings underscore the importance of uncertainty-aware explanations in high-stakes applications and offer new insights into the limitations of current XAI methods. The code for the experiments can be found in our repository at https://github.com/TeodorChiaburu/UXAI
