mlsanityData to 7 Oct 2026

PLEX: Perturbation-free Local Explanations for LLM-Based Text Classification

arXiv 2507.10596 ↗First posted 12 Jul 2025cs.CL cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) excel in text classification, but their complexity hinders interpretability, making it difficult to understand the reasoning behind their predictions. Explainable AI (XAI) methods like LIME and SHAP offer local explanations by identifying influential words, but they rely on computationally expensive perturbations. These methods typically generate thousands of perturbed sentences and perform inferences on each, incurring a substantial computational burden, especially with LLMs. To address this, we propose underlinePerturbation-free underlineLocal underlineExplanation (PLEX), a novel method that leverages the contextual embeddings extracted from the LLM and a ``Siamese network" style neural network trained to align with feature importance scores. This one-off training eliminates the need for subsequent perturbations, enabling efficient explanations for any new sentence. We demonstrate PLEX's effectiveness on four different classification tasks (sentiment, fake news, fake COVID-19 news and depression), showing more than 92% agreement with LIME and SHAP. Our evaluation using a ``stress test" reveals that PLEX accurately identifies influential words, leading to a similar decline in classification accuracy as observed with LIME and SHAP when these words are removed. Notably, in some cases, PLEX demonstrates superior performance in capturing the impact of key features. PLEX dramatically accelerates explanation, reducing time and computational overhead by two and four orders of magnitude, respectively. This work offers a promising solution for explainable LLM-based text classification.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 23 of its 53 references that are in the map. First posted on arXiv 12 Jul 2025.

Builds on

23 of 53 references.

References · 23

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
  4. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
  5. 2017Axiomatic Attribution for Deep Networkscited by 3,350
  6. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
  7. 2017The (Un)reliability of saliency methodscited by 331
  8. 2023Explainability for Large Language Models: A Surveycited by 331
  9. 2015Visualizing and Understanding Neural Models in NLPcited by 199
  10. 2020The elephant in the interpretability room: Why use attention as explanation when we have saliency methods?cited by 122
  11. 2019On Identifiability in Transformerscited by 115
  12. 2022TalkToModel: Explaining Machine Learning Models with Interactive Natural Language Conversationscited by 65
11 more
  1. 2023AttentionViz: A Global View of Transformer Attentioncited by 50
  2. 2023Post Hoc Explanations of Language Models Can Improve Language Modelscited by 50
  3. 2020Why Attentions May Not Be Interpretable?cited by 41
  4. 2024TokenSHAP: Interpreting Large Language Models with Monte Carlo Shapley Value Estimationcited by 41
  5. 2023Prompting Large Language Models for Counterfactual Generation: An Empirical Studycited by 36
  6. 2021Improving the Faithfulness of Attention-based Explanations with Task-specific Information for Text Classificationcited by 29
  7. 2019Towards Hierarchical Importance Attribution: Explaining Compositional Semantics for Neural Sequence Modelscited by 26
  8. 2021On Explaining Your Explanations of BERT: An Empirical Study with Sequence Classificationcited by 21
  9. 2024Do Machines and Humans Focus on Similar Code? Exploring Explainability of Large Language Models in Code Summarizationcited by 16
  10. 2020Structured Self-Attention Weights Encode Semantics in Sentiment Analysiscited by 9
  11. 2022A Novel Perspective to Look At Attention: Bi-level Attention-based Explainable Topic Modeling for News Classificationcited by 2

Built on by

Not cited yet.