mlsanityData to 14 Oct 2026

Faithful Explanations of Black-box NLP Models Using LLM-generated Counterfactuals

arXiv 2310.00603 ↗First posted 1 Oct 2023cs.CL cs.AIcited by 44

Not on the map. Why?

Abstract (arXiv)

Causal explanations of the predictions of NLP systems are essential to ensure safety and establish trust. Yet, existing methods often fall short of explaining model predictions effectively or efficiently and are often model-specific. In this paper, we address model-agnostic explanations, proposing two approaches for counterfactual (CF) approximation. The first approach is CF generation, where a large language model (LLM) is prompted to change a specific text concept while keeping confounding concepts unchanged. While this approach is demonstrated to be very effective, applying LLM at inference-time is costly. We hence present a second approach based on matching, and propose a method that is guided by an LLM at training-time and learns a dedicated embedding space. This space is faithful to a given causal graph and effectively serves to identify matches that approximate CFs. After showing theoretically that approximating CFs is required in order to construct faithful explanations, we benchmark our approaches and explain several models, including LLMs with billions of parameters. Our empirical results demonstrate the excellent performance of CF generation models as model-agnostic explainers. Moreover, our matching approach, which requires far less test-time resources, also provides effective explanations, surpassing many baselines. We also find that Top-K techniques universally improve every tested method. Finally, we showcase the potential of LLMs in constructing new benchmarks for model explanation and subsequently validate our conclusions. Our work illuminates new pathways for efficient and accurate approaches to interpreting NLP systems.

Key facts. Cited by 44 papers in the map (data through 14 Oct 2026). Builds on 60 of its 94 references that are in the map. First posted on arXiv 1 Oct 2023.

Builds on

60 of 94 references.

References · 60

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  6. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  7. 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
  8. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
  9. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  10. 2017Axiomatic Attribution for Deep Networkscited by 3,384
  11. 2013Visualizing and Understanding Convolutional Networkscited by 2,290
  12. 2016Concrete Problems in AI Safetycited by 1,642
38 more
  1. 2017Learning Important Features Through Propagating Activation Differencescited by 1,458
  2. 2018Sanity Checks for Saliency Mapscited by 1,156
  3. 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,059
  4. 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 1,006
  5. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 1,003
  6. 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 981
  7. 2018A Survey Of Methods For Explaining Black Box Modelscited by 973
  8. 2019Attention is not Explanationcited by 929
  9. 2020Towards Faithfully Interpretable NLP Systems: How should we define and evaluate faithfulness?cited by 599
  10. 2017Meta-learners for Estimating Heterogeneous Treatment Effects using Machine Learningcited by 478
  11. 2018What you can cram into a single vector: Probing sentence embeddings for linguistic propertiescited by 457
  12. 2017Interpretation of Neural Networks is Fragilecited by 444
  13. 2019Learning the Difference that Makes a Difference with Counterfactually-Augmented Datacited by 439
  14. 2021Causal Abstractions of Neural Networkscited by 422
  15. 2020Understanding the Behaviour of Contrastive Losscited by 398
  16. 2023Causal Reasoning and Large Language Models: Opening a New Frontier for Causalitycited by 353
  17. 2016European Union regulations on algorithmic decision-making and a "right to explanation"cited by 344
  18. 2019Counterfactual Data Augmentation for Mitigating Gender Stereotypes in Languages with Rich Morphologycited by 200
  19. 2016Layer-wise Relevance Propagation for Neural Networks with Local Renormalization Layerscited by 199
  20. 2021Causal Inference in Natural Language Processing: Estimation, Prediction, Interpretation and Beyondcited by 178
  21. 2020Measuring Association Between Labels and Free-Text Rationalescited by 160
  22. 2018Counterfactual Fairness in Text Classification through Robustnesscited by 151
  23. 2019Explaining Classifiers with Causal Concept Effect (CaCE)cited by 135
  24. 2021Causal Analysis of Syntactic Agreement Mechanisms in Neural Language Modelscited by 131
  25. 2022Towards Faithful Model Explanation in NLP: A Surveycited by 130
  26. 2020CausaLM: Causal Model Explanation Through Counterfactual Language Modelscited by 117
  27. 2017FOIL it! Find One mismatch between Image and Language captioncited by 95
  28. 2020Evaluating Explanations: How much do explanations from the teacher aid students?cited by 94
  29. 2017Learning how to explain neural networks: PatternNet and PatternAttributioncited by 84
  30. 2021A Survey on Stance Detection for Mis- and Disinformation Identificationcited by 75
  31. 2021Tailor: Generating and Perturbing Text with Semantic Controlscited by 68
  32. 2020Explaining The Efficacy of Counterfactually Augmented Datacited by 65
  33. 2021PADA: Example-based Prompt Learning for on-the-fly Adaptation to Unseen Domainscited by 61
  34. 2022Framework for Evaluating Faithfulness of Local Explanationscited by 55
  35. 2022CEBaB: Estimating the Causal Effects of Real-World Concepts on NLP Model Behaviorcited by 55
  36. 2020Generative Interventions for Causal Learningcited by 45
  37. 2022Rethinking Attention-Model Explainability through Faithfulness Violation Testcited by 43
  38. 2022DoCoGen: Domain Counterfactual Generation for Low Resource Domain Adaptationcited by 37

50 most cited of 60 All 60 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 2; 2024: 18; 2025: 11; 2026: 13.

44 papers.

Sort:

By area:

  1. 2025The Alternative Annotator Test for LLM-as-a-Judge: How to Statistically Justify Replacing Human Annotators with LLMscited by 74
  2. 2023On Measuring Faithfulness or Self-consistency of Natural Language Explanationscited by 73
  3. 2024Causal Inference with Large Language Model: A Surveycited by 32
  4. 2024Large Language Models and Causal Inference in Collaboration: A Surveycited by 26
  5. 2024On Behalf of the Stakeholders: Trends in NLP Model Interpretability in the Era of LLMscited by 25
  6. 2024Causality for Large Language Modelscited by 25
  7. 2024A Survey on Natural Language Counterfactual Generationcited by 21
  8. 2024Are LLMs Better than Reported? Detecting Label Errors and Mitigating Their Effect on Model Performancecited by 20
  9. 2025Can Slow-thinking LLMs Reason Over Time? Empirical Studies in Time Series Forecastingcited by 20
  10. 2024Large Language Models for Constrained-Based Causal Discoverycited by 15
  11. 2024Counterfactual Token Generation in Large Language Modelscited by 14
  12. 2024Towards Faithful Natural Language Explanations: A Study Using Activation Patching in Large Language Modelscited by 14
32 more
  1. 2024CausalEval: Towards Better Causal Reasoning in Language Modelscited by 13
  2. 2025Automatic Reviewers Fail to Detect Faulty Reasoning in Research Papers: A New Counterfactual Evaluation Frameworkcited by 11
  3. 2025Can LLMs Explain Themselves Counterfactually?cited by 10
  4. 2025CausalAbstain: Enhancing Multilingual LLMs with Causal Reasoning for Trustworthy Abstentioncited by 10
  5. 2025Interpretation Meets Safety: A Survey on Interpretation Methods and Tools for Improving LLM Safetycited by 10
  6. 2024Interpreting Language Reward Models via Contrastive Explanationscited by 9
  7. 2025Truthful or Fabricated? Using Causal Attribution to Mitigate Reward Hacking in Explanationscited by 9
  8. 2024Beyond Agreement: Diagnosing the Rationale Alignment of Automated Essay Scoring Methods based on Linguistically-informed Counterfactualscited by 8
  9. 2024RATE: Causal Explainability of Reward Models with Imperfect Counterfactualscited by 8
  10. 2026Quantifying Trust: Financial Risk Management for Trustworthy AI Agentscited by 8
  11. 2024GraphNarrator: Generating Textual Explanations for Graph Neural Networkscited by 7
  12. 2025Can LLMs Reconcile Knowledge Conflicts in Counterfactual Reasoningcited by 7
  13. 2023Large Scale Foundation Models for Intelligent Manufacturing Applications: A Surveycited by 6
  14. 2024Using LLMs for Explaining Sets of Counterfactual Examples to Final Userscited by 6
  15. 2024NL-Eye: Abductive NLI for Imagescited by 5
  16. 2025On the Eligibility of LLMs for Counterfactual Reasoning: A Decompositional Studycited by 5
  17. 2026Do explanations generalize across large reasoning models?cited by 5
  18. 2026Visual Inception: Compromising Long-term Planning in Agentic Recommenders via Multimodal Memory Poisoningcited by 5
  19. 2024Language Models as Causal Effect Generatorscited by 4
  20. 2024Enhancing adversarial robustness in Natural Language Inference using explanationscited by 2
  21. 2025Multi-Domain Explainability of Preferencescited by 2
  22. 2026LIBERTy: A Causal Framework for Benchmarking Concept-Based Explanations of LLMs with Structural Counterfactualscited by 2
  23. 2026LLM Explainability with Counterfactual Chains and Causal Graphscited by 2
  24. 2026Comparables XAI: Faithful Example-based AI Explanations with Counterfactual Trace Adjustmentscited by 1
  25. 2025LLMs for Explainable Business Decision-Making: A Reinforcement Learning Fine-Tuning Approachcited by 0
  26. 2026TimeSAE: Causal Sparse Decoding for Faithful Explanations of Black-Box Time Series Modelscited by 0
  27. 2026Evaluating LLM Behavior in Hiring: Implicit Weights, Fairness Across Groups, and Alignment with Human Preferencescited by 0
  28. 2026ToxiTrace: Gradient-Aligned Training for Explainable Chinese Toxicity Detectioncited by 0
  29. 2026Why Prompt Optimization Works, and Why It Sometimes Doesn't: A Causal-Inspired Edit-Level Analysiscited by 0
  30. 2026Gumbel Machine: Counterfactual Student Writing Generation via Gumbel Noise Steeringcited by 0
  31. 2026SketchXplain: Intuitive Visual Explanations of Image Classifiers with Sketchescited by 0
  32. 2026Right Answer, Wrong Reason: Accuracy, Consistency, and Consensus Are Misleading Indicators of LLM Faithfulness in Clinical Decision Supportcited by 0