A Unified Framework with Novel Metrics for Evaluating the Effectiveness of XAI Techniques in LLMs

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Mersha, Melkamu Abay, Yigezu, Mesay Gemeda, Shakil, Hassan, AlShami, Ali K., Byun, Sanghyun, Kalita, Jugal
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908305816813568
author Mersha, Melkamu Abay
Yigezu, Mesay Gemeda
Shakil, Hassan
AlShami, Ali K.
Byun, Sanghyun
Kalita, Jugal
author_facet Mersha, Melkamu Abay
Yigezu, Mesay Gemeda
Shakil, Hassan
AlShami, Ali K.
Byun, Sanghyun
Kalita, Jugal
contents The increasing complexity of LLMs presents significant challenges to their transparency and interpretability, necessitating the use of eXplainable AI (XAI) techniques to enhance trustworthiness and usability. This study introduces a comprehensive evaluation framework with four novel metrics for assessing the effectiveness of five XAI techniques across five LLMs and two downstream tasks. We apply this framework to evaluate several XAI techniques LIME, SHAP, Integrated Gradients, Layer-wise Relevance Propagation (LRP), and Attention Mechanism Visualization (AMV) using the IMDB Movie Reviews and Tweet Sentiment Extraction datasets. The evaluation focuses on four key metrics: Human-reasoning Agreement (HA), Robustness, Consistency, and Contrastivity. Our results show that LIME consistently achieves high scores across multiple LLMs and evaluation metrics, while AMV demonstrates superior Robustness and near-perfect Consistency. LRP excels in Contrastivity, particularly with more complex models. Our findings provide valuable insights into the strengths and limitations of different XAI methods, offering guidance for developing and selecting appropriate XAI techniques for LLMs.
format Preprint
id arxiv_https___arxiv_org_abs_2503_05050
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle A Unified Framework with Novel Metrics for Evaluating the Effectiveness of XAI Techniques in LLMs
Mersha, Melkamu Abay
Yigezu, Mesay Gemeda
Shakil, Hassan
AlShami, Ali K.
Byun, Sanghyun
Kalita, Jugal
Computation and Language
Artificial Intelligence
Machine Learning
The increasing complexity of LLMs presents significant challenges to their transparency and interpretability, necessitating the use of eXplainable AI (XAI) techniques to enhance trustworthiness and usability. This study introduces a comprehensive evaluation framework with four novel metrics for assessing the effectiveness of five XAI techniques across five LLMs and two downstream tasks. We apply this framework to evaluate several XAI techniques LIME, SHAP, Integrated Gradients, Layer-wise Relevance Propagation (LRP), and Attention Mechanism Visualization (AMV) using the IMDB Movie Reviews and Tweet Sentiment Extraction datasets. The evaluation focuses on four key metrics: Human-reasoning Agreement (HA), Robustness, Consistency, and Contrastivity. Our results show that LIME consistently achieves high scores across multiple LLMs and evaluation metrics, while AMV demonstrates superior Robustness and near-perfect Consistency. LRP excels in Contrastivity, particularly with more complex models. Our findings provide valuable insights into the strengths and limitations of different XAI methods, offering guidance for developing and selecting appropriate XAI techniques for LLMs.
title A Unified Framework with Novel Metrics for Evaluating the Effectiveness of XAI Techniques in LLMs
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2503.05050