Evaluating explainability in language classification models: A unified framework incorporating feature attribution methods and key factors affecting faithfulness
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
2025-12-092025-12-092026-05-22