kth.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
A study of data and label shift in the LIME framework
KTH, School of Electrical Engineering and Computer Science (EECS), Computer Science, Software and Computer systems, SCS.ORCID iD: 0000-0002-6846-5707
KTH, School of Electrical Engineering and Computer Science (EECS), Computer Science, Software and Computer systems, SCS.ORCID iD: 0000-0001-8382-0300
(English)Manuscript (preprint) (Other academic) [Artistic work]
Abstract [en]

LIME is a popular approach for explaining a black-box prediction through an interpretable model that is trained on instances in the vicinity of the predicted instance. To generate these instances, LIME randomly selects a subset of the non-zero features of the predicted instance. After that, the perturbed instances are fed into the black-box model to obtain labels for these, which are then used for training the interpretable model. In this study, we present a systematic evaluation of the interpretable models that are output by LIME on the two use-cases that were considered in the original paper introducing the approach; text classification and object detection. The investigation shows that the perturbation and labeling phases result in both data and label shift. In addition, we study the correlation between the shift and the fidelity of the interpretable model and show that in certain cases the shift negatively correlates with the fidelity. Based on these findings, it is argued that there is a need for a new sampling approach that mitigates the shift in the LIME's framework.

National Category
Electrical Engineering, Electronic Engineering, Information Engineering
Research subject
Computer Science
Identifiers
URN: urn:nbn:se:kth:diva-360213DOI: 10.48550/arXiv.1910.14421OAI: oai:DiVA.org:kth-360213DiVA, id: diva2:1939029
Note

QC 20250220

Available from: 2025-02-20 Created: 2025-02-20 Last updated: 2025-02-20Bibliographically approved
In thesis
1. Evaluating the Faithfulness of Local Feature Attribution Explanations: Can We Trust Explainable AI?
Open this publication in new window or tab >>Evaluating the Faithfulness of Local Feature Attribution Explanations: Can We Trust Explainable AI?
2025 (English)Doctoral thesis, comprehensive summary (Other academic)
Abstract [en]

Black-box models have demonstrated incredible performance and accuracy across various modeling problems and benchmarks over the past decade, from detecting objects in images to generating intelligent responses to user queries. Despite their impressive performance, these models suffer from a lack of interpretability, making it difficult to understand their decision-making processes and diagnose errors, which limits their applicability, especially in high-stakes domains such as healthcare and law. Explainable Artificial Intelligence (xAI) is a set of techniques, tools, and algorithms that bring transparency to black-box machine learning models. This transparency is said to bring trust to the users and, as a result, help deploy these models in high-stake decision-making domains. One of the most popular categories of xAI algorithms is local explanation techniques, where the information about the prediction of a black box for a single data instance. One of the most consequential open research problems for local explanation techniques is the evaluation of these techniques. This is mainly because we cannot directly extract ground truth explanations from complex black-box models to evaluate these techniques. In this thesis, we focus on a systematic evaluation of local explanation techniques. In the first part, we investigate whether local explanations, such as LIME, fail systematically or if failures only occur in a few cases. We then discuss the implicit and explicit assumptions behind different evaluation measures for local explanations. Through this analysis, we aim to present a logic for choosing the most optimal evaluation measure in various cases. After that, we proposea new evaluation framework called Model-Intrinsic Additive Scores (MIAS) for extracting ground truth explanations from different black-box models for regression, classification, and learning-to-rank models. Next, we investigate the faithfulness of explanations of tree ensemble models using perturbation-based evaluation measures. These techniques do not rely on the ground truth explanations. The last part of this thesis focuses on a detailed investigation into the faithfulness of local explanations of LambdaMART, a tree-based ensemble learning-to-rank model. We are particularly interested in studying whether techniques built specifically for explaining learning-to-rank models are more faithful than their regression-based counterparts for explaining LambdaMART. For this, we have included evaluation measures that rely on ground truth along with those that do not rely on the ground truth. This thesis presents several influential conclusions. First, we find that failures in local explanation techniques, such as LIME, occur more frequently and systematically, and we explore the mechanisms behind these failures. Furthermore, we demonstrate that evaluating local explanations using ground truth extracted from interpretable models mitigates the risk of blame, where explanations might be wrongfully criticized for lacking faithfulness. We also show that local explanations provide faithful insights for linear regression but not for classification models, such as Logistic Regression and Naive Bayes, or ranking models, such as Neural Ranking Generalized Additive Models (GAMs). Additionally, our results indicate that KernelSHAP and LPI deliver faithful explanations for treebased ensemble models, such as Gradient Boosting and Random Forests, when evaluated with measures independent of ground truth. Lastly, we establish that regression-based explanations for learning-to-rank models consistently outperform ranking-based explanation techniques in explaining LambdaMART. Our conclusion includes a mix of ground truth-dependent and perturbation-based evaluation measures that do not rely on ground truth.

Place, publisher, year, edition, pages
Stockholm: KTH Royal Institute of Technology, 2025. p. 80
Series
TRITA-EECS-AVL ; 2025:23
Keywords
xai, artificial intelligene, machine learning
National Category
Electrical Engineering, Electronic Engineering, Information Engineering
Research subject
Information and Communication Technology
Identifiers
urn:nbn:se:kth:diva-360228 (URN)978-91-8106-200-7 (ISBN)
Public defence
2025-03-14, Sal C, Ka-Sal C (Sven-Olof Öhrvik), Stockholm, 13:00 (English)
Opponent
Supervisors
Note

QC 20250220

Available from: 2025-02-20 Created: 2025-02-20 Last updated: 2025-03-05Bibliographically approved

Open Access in DiVA

fulltext(5057 kB)23 downloads
File information
File name FULLTEXT01.pdfFile size 5057 kBChecksum SHA-512
1a0fd1c1bf69b89b68b37107c09cd1941ba3440d665fb9efa5ce136a8cd444391abd60c00d1630c7b4255248c2236f7487897d7547f3144fc6f6da39bbbc5db5
Type fulltextMimetype application/pdf

Other links

Publisher's full text

Authority records

Boström, Henrik

Search in DiVA

By author/editor
Akhavan Rahnama, Amir HosseinBoström, Henrik
By organisation
Software and Computer systems, SCS
Electrical Engineering, Electronic Engineering, Information Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 23 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

doi
urn-nbn

Altmetric score

doi
urn-nbn
Total: 296 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf