Using Stratified Sampling to Improve LIME Image Explanations

Authors

  • Muhammad Rashid University of Torino, Computer Science Department, C.so Svizzera 185, 10149 Torino, Italy
  • Elvio G. Amparore University of Torino, Computer Science Department, C.so Svizzera 185, 10149 Torino, Italy
  • Enrico Ferrari Rulex Innovation Labs, Via Felice Romani 9, 16122 Genova, Italy
  • Damiano Verda Rulex Innovation Labs, Via Felice Romani 9, 16122 Genova, Italy

DOI:

https://doi.org/10.1609/aaai.v38i13.29397

Keywords:

ML: Transparent, Interpretable, Explainable ML, RU: Stochastic Optimization, SO: Sampling/Simulation-based Search

Abstract

We investigate the use of a stratified sampling approach for LIME Image, a popular model-agnostic explainable AI method for computer vision tasks, in order to reduce the artifacts generated by typical Monte Carlo sampling. Such artifacts are due to the undersampling of the dependent variable in the synthetic neighborhood around the image being explained, which may result in inadequate explanations due to the impossibility of fitting a linear regressor on the sampled data. We then highlight a connection with the Shapley theory, where similar arguments about undersampling and sample relevance were suggested in the past. We derive all the formulas and adjustment factors required for an unbiased stratified sampling estimator. Experiments show the efficacy of the proposed approach.

Published

2024-03-24

How to Cite

Rashid, M., Amparore, E. G., Ferrari, E., & Verda, D. (2024). Using Stratified Sampling to Improve LIME Image Explanations. Proceedings of the AAAI Conference on Artificial Intelligence, 38(13), 14785-14792. https://doi.org/10.1609/aaai.v38i13.29397

Issue

Section

AAAI Technical Track on Machine Learning IV