Fooling Explanations in Text Classifiers
Not on the map. Why?
Abstract (arXiv)
State-of-the-art text classification models are becoming increasingly reliant on deep neural networks (DNNs). Due to their black-box nature, faithful and robust explanation methods need to accompany classifiers for deployment in real-life scenarios. However, it has been shown in vision applications that explanation methods are susceptible to local, imperceptible perturbations that can significantly alter the explanations without changing the predicted classes. We show here that the existence of such perturbations extends to text classifiers as well. Specifically, we introduceTextExplanationFooler (TEF), a novel explanation attack algorithm that alters text input samples imperceptibly so that the outcome of widely-used explanation methods changes considerably while leaving classifier predictions unchanged. We evaluate the performance of the attribution robustness estimation performance in TEF on five sequence classification datasets, utilizing three DNN architectures and three transformer architectures for each dataset. TEF can significantly decrease the correlation between unchanged and perturbed input attributions, which shows that all models and explanation methods are susceptible to TEF perturbations. Moreover, we evaluate how the perturbations transfer to other model architectures and attribution methods, and show that TEF perturbations are also effective in scenarios where the target model and explanation method are unknown. Finally, we introduce a semi-universal attack that is able to compute fast, computationally light perturbations with no knowledge of the attacked classifier nor explanation method. Overall, our work shows that explanations in text classifiers are very fragile and users need to carefully address their robustness before relying on them in critical applications.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 41 of its 60 references that are in the map. First posted on arXiv 7 Jun 2022.
Builds on
41 of 60 references.
References · 41
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2017Axiomatic Attribution for Deep Networkscited by 3,350
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,348
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 2013Visualizing and Understanding Convolutional Networkscited by 2,278
- 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,315
29 more
- 2019Attention is not Explanationcited by 916
- 2016Universal adversarial perturbationscited by 774
- 2019Attention is not not Explanationcited by 629
- 2020Towards Faithfully Interpretable NLP Systems: How should we define and evaluate faithfulness?cited by 590
- 2020Captum: A unified and generic model interpretability library for PyTorchcited by 542
- 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
- 2018Universal Sentence Encodercited by 485
- 2017Interpretation of Neural Networks is Fragilecited by 443
- 2019Is Attention Interpretable?cited by 387
- 2016RETAIN: An Interpretable Predictive Model for Healthcare using Reverse Time Attention Mechanismcited by 344
- 2017Parseval Networks: Improving Robustness to Adversarial Examplescited by 288
- 2019Explanations can be manipulated and geometry is to blamecited by 215
- 2018Robustness via curvature regularization, and vice versacited by 174
- 2018Pathologies of Neural Models Make Interpretations Difficultcited by 140
- 2016Counter-fitting Word Vectors to Linguistic Constraintscited by 138
- 2018SparseFool: a few pixels make a big differencecited by 94
- 2016Yelp Dataset Challenge: Review Rating Predictioncited by 84
- 2019On the Connection Between Adversarial Robustness and Saliency Map Interpretabilitycited by 80
- 2020Adv-BERT: BERT is not robust on misspellings! Generating nature adversarial samples on BERTcited by 69
- 2021On Guaranteed Optimal Robust Explanations for NLP Modelscited by 54
- 2019Robust Attribution Regularizationcited by 46
- 2018Greedy Attack and Gumbel Attack: Generating Adversarial Examples for Discrete Datacited by 37
- 2018Generating Counterfactual Explanations with Natural Languagecited by 37
- 2021Perturbing Inputs for Fragile Interpretations in Deep Natural Language Processingcited by 30
- 2018Interpreting Recurrent and Attention-Based Neural Models: a Case Study on Natural Language Inferencecited by 26
- 2020FAR: A General Framework for Attributional Robustnesscited by 13
- 2019Universal Adversarial Perturbation for Text Classificationcited by 8
- 2018Patient Risk Assessment and Warning Symptom Detection Using Deep Attention-Based Neural Networkscited by 7
- 2019Attributional Robustness Training using Input-Gradient Spatial Alignmentcited by 4
Built on by
Citing papers per year: 2022: 3; 2023: 7; 2024: 1; 2025: 1; 2026: 1.
13 papers.
Sort:
- 2023A Survey of Safety and Trustworthiness of Large Language Models through the Lens of Verification and Validationcited by 91
- 2023Stability Guarantees for Feature Attributions with Multiplicative Smoothingcited by 14
- 2024Helpful or Harmful Data? Fine-tuning-free Shapley Attribution for Explaining Language Model Predictionscited by 13
- 2023Are Your Explanations Reliable? Investigating the Stability of LIME in Explaining Text Classifiers by Marrying XAI and Adversarial Attackcited by 10
- 2023Surpassing GPT-4 Medical Coding with a Two-Stage Approachcited by 6
- 2022On the Robustness of Explanations of Deep Neural Network Models: A Surveycited by 5
- 2023Towards Faithful Explanations for Text Classification with Robustness Improvement and Explanation Guided Trainingcited by 4
- 2022Identifying the Source of Vulnerability in Explanation Discrepancy: A Case Study in Neural Text Classificationcited by 2
- 2022Estimating the Adversarial Robustness of Attributions in Text with Transformerscited by 1
- 2023DARE: Towards Robust Text Explanations in Biomedical and Healthcare Applicationscited by 1
- 2023Robust Infidelity: When Faithfulness Measures on Masked Language Models Are Misleadingcited by 1
- 2025Quantifying True Robustness: Synonymity-Weighted Similarity for Trustworthy XAI Evaluationcited by 1
- 2026Exposing Vulnerabilities in Explanation for Time Series Classifiers via Dual-Target Attacks2 Feb 2026
- 2025Quantifying True Robustness: Synonymity-Weighted Similarity for Trustworthy XAI Evaluation2 Jan 2025
- 2024Helpful or Harmful Data? Fine-tuning-free Shapley Attribution for Explaining Language Model Predictions7 Jun 2024
- 2023Towards Faithful Explanations for Text Classification with Robustness Improvement and Explanation Guided Training29 Dec 2023
- 2023Surpassing GPT-4 Medical Coding with a Two-Stage Approach22 Nov 2023
- 2023Robust Infidelity: When Faithfulness Measures on Masked Language Models Are Misleading13 Aug 2023
- 2023Stability Guarantees for Feature Attributions with Multiplicative Smoothing12 Jul 2023
- 2023DARE: Towards Robust Text Explanations in Biomedical and Healthcare Applications5 Jul 2023
- 2023Are Your Explanations Reliable? Investigating the Stability of LIME in Explaining Text Classifiers by Marrying XAI and Adversarial Attack21 May 2023
- 2023A Survey of Safety and Trustworthiness of Large Language Models through the Lens of Verification and Validation19 May 2023
- 2022Estimating the Adversarial Robustness of Attributions in Text with Transformers18 Dec 2022
- 2022Identifying the Source of Vulnerability in Explanation Discrepancy: A Case Study in Neural Text Classification10 Dec 2022
1 more
- 2023A Survey of Safety and Trustworthiness of Large Language Models through the Lens of Verification and Validationcited by 91
- 2023Stability Guarantees for Feature Attributions with Multiplicative Smoothingcited by 14
- 2024Helpful or Harmful Data? Fine-tuning-free Shapley Attribution for Explaining Language Model Predictionscited by 13
- 2023Are Your Explanations Reliable? Investigating the Stability of LIME in Explaining Text Classifiers by Marrying XAI and Adversarial Attackcited by 10
- 2023Surpassing GPT-4 Medical Coding with a Two-Stage Approachcited by 6
- 2022On the Robustness of Explanations of Deep Neural Network Models: A Surveycited by 5
- 2023Towards Faithful Explanations for Text Classification with Robustness Improvement and Explanation Guided Trainingcited by 4
- 2022Identifying the Source of Vulnerability in Explanation Discrepancy: A Case Study in Neural Text Classificationcited by 2
- 2022Estimating the Adversarial Robustness of Attributions in Text with Transformerscited by 1
- 2023DARE: Towards Robust Text Explanations in Biomedical and Healthcare Applicationscited by 1
- 2023Robust Infidelity: When Faithfulness Measures on Masked Language Models Are Misleadingcited by 1
- 2025Quantifying True Robustness: Synonymity-Weighted Similarity for Trustworthy XAI Evaluationcited by 1
12 most cited of 13 All 13 (JSON)
- 2026Exposing Vulnerabilities in Explanation for Time Series Classifiers via Dual-Target Attacks2 Feb 2026
- 2025Quantifying True Robustness: Synonymity-Weighted Similarity for Trustworthy XAI Evaluation2 Jan 2025
- 2024Helpful or Harmful Data? Fine-tuning-free Shapley Attribution for Explaining Language Model Predictions7 Jun 2024
- 2023Towards Faithful Explanations for Text Classification with Robustness Improvement and Explanation Guided Training29 Dec 2023
- 2023Surpassing GPT-4 Medical Coding with a Two-Stage Approach22 Nov 2023
- 2023Robust Infidelity: When Faithfulness Measures on Masked Language Models Are Misleading13 Aug 2023
- 2023Stability Guarantees for Feature Attributions with Multiplicative Smoothing12 Jul 2023
- 2023DARE: Towards Robust Text Explanations in Biomedical and Healthcare Applications5 Jul 2023
- 2023Are Your Explanations Reliable? Investigating the Stability of LIME in Explaining Text Classifiers by Marrying XAI and Adversarial Attack21 May 2023
- 2023A Survey of Safety and Trustworthiness of Large Language Models through the Lens of Verification and Validation19 May 2023
- 2022Estimating the Adversarial Robustness of Attributions in Text with Transformers18 Dec 2022
- 2022Identifying the Source of Vulnerability in Explanation Discrepancy: A Case Study in Neural Text Classification10 Dec 2022
12 newest of 13 All 13 (JSON)