liu.seSearch for publications in DiVA
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • 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
Evaluating explainability in language classification models: A unified framework incorporating feature attribution methods and key factors affecting faithfulness
Linköping University, Department of Electrical Engineering, Computer Vision. Linköping University, Faculty of Science & Engineering.ORCID iD: 0000-0003-2529-962X
2025 (English)In: Data and Information Management, E-ISSN 2543-9251, Vol. 9, no 4, article id 100101Article in journal (Refereed) Published
Abstract [en]

This paper presents a unified framework for evaluating explainability methods in language classification models, integrating feature attribution and interaction approaches while considering key factors impacting faithfulness: model architecture, dataset characteristics, and evidence type. By comparing classical (Logistic Regression and Random Forest) and transformer models (RoBERTa and DistilBERT), the faithfulness of SHAP, LIME, and Integrated Gradients (IG) across positive, negative, and all evidence types were examined. In classical models, SHAP and LIME generally provide faithful explanations for positive and all evidence types, with SHAP and Random Forest best handling negative evidence. For transformer models, the faithfulness of LIME and SHAP varies by model, dataset, and evidence type. LIME performs consistently well in complex models like RoBERTa and DistilBERT, while SHAP excels with positive evidence across datasets and is most effective in RoBERTa for negative evidence. For all evidence, SHAP also shows broader applicability across evidence types, whereas LIME is suited to specific datasets, such as Brexit, especially in RoBERTa and DistilBERT. For longer texts, IG and SHAP outperform LIME, with SHAP excelling in complex architectures like RoBERTa. When using IG, RoBERTa provides slightly more faithful explanations than DistilBERT for positive evidence, though only DistilBERT aligns with expected trends for negative evidence. Feature interaction analyses using Shapley Taylor Interaction (STI) and Archipelago reveal that RoBERTa consistently provides more cohesive explanations than DistilBERT across datasets, especially with Archipelago. STI-based models produce more interpretable, human-relevant phrases, achieving higher relevance ratings, especially when evaluated within full text contexts.

Place, publisher, year, edition, pages
ELSEVIER , 2025. Vol. 9, no 4, article id 100101
Keywords [en]
Explainable artificial intelligence (XAI); Language classification models; Faithfulness in explainability; Feature interaction; Evaluation framework; Factors influencing faithfulness
National Category
Natural Language Processing Computer Vision and Learning Systems
Identifiers
URN: urn:nbn:se:liu:diva-219795DOI: 10.1016/j.dim.2025.100101ISI: 001616585800001Scopus ID: 2-s2.0-105000645997OAI: oai:DiVA.org:liu-219795DiVA, id: diva2:2019952
Note

Funding Agencies|Wallenberg AI, Autonomous Systems and Software Program - Humanity and Society (WASP-HS) , NetX grant: Social Complexity and Fairness in Synthetic Medical Data

Available from: 2025-12-09 Created: 2025-12-09 Last updated: 2026-05-22

Open Access in DiVA

fulltext(9169 kB)38 downloads
File information
File name FULLTEXT01.pdfFile size 9169 kBChecksum SHA-512
a723066d5cb5fb5c584f5d356aa7cd5abadeb37f07458ccf17663e4659435e1d405ce03dfaab5f74d0f2410c33372db538e8a3a0bf70773cfe6b4b34cef32180
Type fulltextMimetype application/pdf

Other links

Publisher's full textScopus

Search in DiVA

By author/editor
Dehdarirad, Tahereh
By organisation
Computer VisionFaculty of Science & Engineering
In the same journal
Data and Information Management
Natural Language ProcessingComputer Vision and Learning Systems

Search outside of DiVA

GoogleGoogle Scholar
Total: 38 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: 97 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • 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