Towards LLM-guided Causal Explainability for Black-box Text Classifiers
Not on the map. Why?
Abstract (arXiv)
With the advent of larger and more complex deep learning models, such as in Natural Language Processing (NLP), model qualities like explainability and interpretability, albeit highly desirable, are becoming harder challenges to tackle and solve. For example, state-of-the-art models in text classification are black-box by design. Although standard explanation methods provide some degree of explainability, these are mostly correlation-based methods and do not provide much insight into the model. The alternative of causal explainability is more desirable to achieve but extremely challenging in NLP due to a variety of reasons. Inspired by recent endeavors to utilize Large Language Models (LLMs) as experts, in this work, we aim to leverage the instruction-following and textual understanding capabilities of recent state-of-the-art LLMs to facilitate causal explainability via counterfactual explanation generation for black-box text classifiers. To do this, we propose a three-step pipeline via which, we use an off-the-shelf LLM to: (1) identify the latent or unobserved features in the input text, (2) identify the input features associated with the latent features, and finally (3) use the identified input features to generate a counterfactual explanation. We experiment with our pipeline on multiple NLP text classification datasets, with several recent LLMs, and present interesting and promising findings.
Key facts. Cited by 44 papers in the map (data through 7 Oct 2026). Builds on 32 of its 40 references that are in the map. First posted on arXiv 23 Sep 2023.
Builds on
32 of 40 references.
References · 32
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2017Deep reinforcement learning from human preferencescited by 3,846
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
20 more
- 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 755
- 2019Attention is not not Explanationcited by 629
- 2018Universal Sentence Encodercited by 485
- 2018e-SNLI: Natural Language Inference with Natural Language Explanationscited by 468
- 2020Algorithmic Recourse: from Counterfactual Explanations to Interventionscited by 250
- 2023ChatIE: Zero-Shot Information Extraction via Chatting with ChatGPTcited by 250
- 2021Polyjuice: Generating Counterfactuals for Explaining, Evaluating, and Improving Modelscited by 219
- 2021Causal Inference in Natural Language Processing: Estimation, Prediction, Interpretation and Beyondcited by 177
- 2023AnnoLLM: Making Large Language Models to Be Better Crowdsourced Annotatorscited by 171
- 2019Preserving Causal Constraints in Counterfactual Explanations for Machine Learning Classifierscited by 143
- 2023ExpertPrompting: Instructing Large Language Models to be Distinguished Expertscited by 140
- 2020Causal Interpretability for Machine Learning -- Problems, Methods and Evaluationcited by 82
- 2020Generate Your Counterfactuals: Towards Controlled Counterfactual Generation for Textcited by 75
- 2021ExplainaBoard: An Explainable Leaderboard for NLPcited by 50
- 2020Generative causal explanations of black-box classifierscited by 41
- 2020Generating Plausible Counterfactual Explanations for Deep Transformers in Financial Text Classificationcited by 40
- 2023Large Language Models as Annotators: Enhancing Generalization of NLP Models at Minimal Costcited by 33
- 2023ChatGraph: Interpretable Text Classification by Converting ChatGPT Knowledge to Graphscited by 27
- 2019Counterfactual Explanation Algorithms for Behavioral and Textual Datacited by 26
- 2020Learning Post-Hoc Causal Explanations for Recommendationcited by 5
Built on by
Citing papers per year: 2023: 1; 2024: 16; 2025: 18; 2026: 9.
44 papers.
Sort:
By area:
- 2025LLMs for Explainable AI: A Comprehensive Surveycited by 42
- 2024LLMs for Generating and Evaluating Counterfactuals: A Comprehensive Studycited by 30
- 2024ALCM: Autonomous LLM-Augmented Causal Discovery Frameworkcited by 29
- 2024Causality for Large Language Modelscited by 24
- 2024A Survey on Natural Language Counterfactual Generationcited by 21
- 2024LLMs for XAI: Future Directions for Explaining Explanationscited by 19
- 2024Zero-shot LLM-guided Counterfactual Generation: A Case Study on NLP Model Evaluationcited by 17
- 2024On the Brittle Foundations of ReAct Prompting for Agentic Large Language Modelscited by 17
- 2024Towards Inference-time Category-wise Safety Steering for Large Language Modelscited by 17
- 2024CEval: A Benchmark for Evaluating Counterfactual Text Generationcited by 15
- 2024Defending Against Social Engineering Attacks in the Age of LLMscited by 15
- 2024RealTCD: Temporal Causal Discovery from Interventional Data with Large Language Modelcited by 13
32 more
- 2025Can LLMs Explain Themselves Counterfactually?cited by 10
- 2025Interpretation Meets Safety: A Survey on Interpretation Methods and Tools for Improving LLM Safetycited by 10
- 2025SafeSteer: Interpretable Safety Steering with Refusal-Evasion in LLMscited by 9
- 2024Towards Unifying Evaluation of Counterfactual Explanations: Leveraging Large Language Models for Human-Centric Assessmentscited by 8
- 2026Quantifying Trust: Financial Risk Management for Trustworthy AI Agentscited by 8
- 2024Extracting Heuristics from Large Language Models for Reward Shaping in Reinforcement Learningcited by 7
- 2025Is LLMs Hallucination Usable? LLM-based Negative Reasoning for Fake News Detectioncited by 7
- 2026Do LLM Self-Explanations Help Users Predict Model Behavior? Evaluating Counterfactual Simulatability with Pragmatic Perturbationscited by 7
- 2024LLMs are One-Shot URL Classifiers and Explainerscited by 6
- 2024Explingo: Explaining AI Predictions using Large Language Modelscited by 6
- 2025FitCF: A Framework for Automatic Feature Importance-guided Counterfactual Example Generationcited by 6
- 2025Unveiling and Causalizing CoT: A Causal Pespectivecited by 6
- 2025QLLM: Do We Really Need a Mixing Network for Credit Assignment in Multi-Agent Reinforcement Learning?cited by 6
- 2025Truth or Twist? Optimal Model Selection for Reliable Label Flipping Evaluation in LLM-based Counterfactualscited by 5
- 2025Counterfactual Reasoning for Steerable Pluralistic Value Alignment of Large Language Modelscited by 5
- 2025Zero-Shot and Efficient Clarification Need Prediction in Conversational Searchcited by 4
- 2025Guiding LLMs to Generate High-Fidelity and High-Quality Counterfactual Explanations for Text Classificationcited by 3
- 2025Multimodal RAG-driven Anomaly Detection and Classification in Laser Powder Bed Fusion using Large Language Modelscited by 3
- 2026An Agentic Approach to Generating XAI-Narrativescited by 3
- 2024Monetizing Currency Pair Sentiments through LLM Explainabilitycited by 2
- 2025MetaLLMix : An XAI Aided LLM-Meta-learning Based Approach for Hyper-parameters Optimizationcited by 2
- 2023T-COL: Generating Counterfactual Explanations for General User Preferences on Variable Machine Learning Systemscited by 1
- 2025Why Are You Wrong? Counterfactual Explanations for Language Grounding with 3D Objectscited by 1
- 2026Parallel Universes, Parallel Languages: A Comprehensive Study on LLM-based Multilingual Counterfactual Example Generationcited by 1
- 2026iFlip: Iterative Feedback-driven Counterfactual Example Refinementcited by 1
- 2026Mind the Prompt: Self-adaptive Generation of Task Plan Explanations via LLMscited by 1
- 2025Conceptual Contrastive Edits in Textual and Vision-Language Retrievalcited by 0
- 2025Mind the XAI Gap: A Human-Centered LLM Framework for Democratizing Explainable AIcited by 0
- 2025LLMs Know More Than Words: A Genre Study with Syntax, Metaphor & Phoneticscited by 0
- 2026A Meta-Knowledge-Augmented LLM Framework for Hyperparameter Optimization in Time-Series Forecastingcited by 0
- 2026LLMAC: A Global and Explainable Access Control Framework with Large Language Modelcited by 0
- 2026Structured Exploration vs. Generative Flexibility: A Field Study Comparing Bandit and LLM Architectures for Personalised Health Behaviour Interventionscited by 0
- 2026Mind the Prompt: Self-adaptive Generation of Task Plan Explanations via LLMs22 Apr 2026
- 2026Quantifying Trust: Financial Risk Management for Trustworthy AI Agents5 Apr 2026
- 2026An Agentic Approach to Generating XAI-Narratives20 Mar 2026
- 2026Structured Exploration vs. Generative Flexibility: A Field Study Comparing Bandit and LLM Architectures for Personalised Health Behaviour Interventions6 Mar 2026
- 2026LLMAC: A Global and Explainable Access Control Framework with Large Language Model10 Feb 2026
- 2026A Meta-Knowledge-Augmented LLM Framework for Hyperparameter Optimization in Time-Series Forecasting1 Feb 2026
- 2026Do LLM Self-Explanations Help Users Predict Model Behavior? Evaluating Counterfactual Simulatability with Pragmatic Perturbations7 Jan 2026
- 2026iFlip: Iterative Feedback-driven Counterfactual Example Refinement4 Jan 2026
- 2026Parallel Universes, Parallel Languages: A Comprehensive Study on LLM-based Multilingual Counterfactual Example Generation1 Jan 2026
- 2025LLMs Know More Than Words: A Genre Study with Syntax, Metaphor & Phonetics4 Dec 2025
- 2025Counterfactual Reasoning for Steerable Pluralistic Value Alignment of Large Language Models21 Oct 2025
- 2025MetaLLMix : An XAI Aided LLM-Meta-learning Based Approach for Hyper-parameters Optimization11 Sep 2025
32 more
- 2025Mind the XAI Gap: A Human-Centered LLM Framework for Democratizing Explainable AI13 Jun 2025
- 2025Interpretation Meets Safety: A Survey on Interpretation Methods and Tools for Improving LLM Safety5 Jun 2025
- 2025SafeSteer: Interpretable Safety Steering with Refusal-Evasion in LLMs1 Jun 2025
- 2025Truth or Twist? Optimal Model Selection for Reliable Label Flipping Evaluation in LLM-based Counterfactuals20 May 2025
- 2025Multimodal RAG-driven Anomaly Detection and Classification in Laser Powder Bed Fusion using Large Language Models20 May 2025
- 2025Why Are You Wrong? Counterfactual Explanations for Language Grounding with 3D Objects9 May 2025
- 2025QLLM: Do We Really Need a Mixing Network for Credit Assignment in Multi-Agent Reinforcement Learning?17 Apr 2025
- 2025LLMs for Explainable AI: A Comprehensive Survey31 Mar 2025
- 2025Is LLMs Hallucination Usable? LLM-based Negative Reasoning for Fake News Detection12 Mar 2025
- 2025Guiding LLMs to Generate High-Fidelity and High-Quality Counterfactual Explanations for Text Classification6 Mar 2025
- 2025Conceptual Contrastive Edits in Textual and Vision-Language Retrieval1 Mar 2025
- 2025Zero-Shot and Efficient Clarification Need Prediction in Conversational Search28 Feb 2025
- 2025Unveiling and Causalizing CoT: A Causal Pespective25 Feb 2025
- 2025Can LLMs Explain Themselves Counterfactually?25 Feb 2025
- 2025FitCF: A Framework for Automatic Feature Importance-guided Counterfactual Example Generation1 Jan 2025
- 2024Explingo: Explaining AI Predictions using Large Language Models6 Dec 2024
- 2024Towards Unifying Evaluation of Counterfactual Explanations: Leveraging Large Language Models for Human-Centric Assessments28 Oct 2024
- 2024Causality for Large Language Models20 Oct 2024
- 2024Towards Inference-time Category-wise Safety Steering for Large Language Models2 Oct 2024
- 2024LLMs are One-Shot URL Classifiers and Explainers22 Sep 2024
- 2024Monetizing Currency Pair Sentiments through LLM Explainability29 Jul 2024
- 2024A Survey on Natural Language Counterfactual Generation4 Jul 2024
- 2024Defending Against Social Engineering Attacks in the Age of LLMs18 Jun 2024
- 2024Extracting Heuristics from Large Language Models for Reward Shaping in Reinforcement Learning24 May 2024
- 2024On the Brittle Foundations of ReAct Prompting for Agentic Large Language Models22 May 2024
- 2024LLMs for XAI: Future Directions for Explaining Explanations9 May 2024
- 2024Zero-shot LLM-guided Counterfactual Generation: A Case Study on NLP Model Evaluation8 May 2024
- 2024ALCM: Autonomous LLM-Augmented Causal Discovery Framework2 May 2024
- 2024LLMs for Generating and Evaluating Counterfactuals: A Comprehensive Study26 Apr 2024
- 2024CEval: A Benchmark for Evaluating Counterfactual Text Generation26 Apr 2024
- 2024RealTCD: Temporal Causal Discovery from Interventional Data with Large Language Model23 Apr 2024
- 2023T-COL: Generating Counterfactual Explanations for General User Preferences on Variable Machine Learning Systems28 Sep 2023
- 2024ALCM: Autonomous LLM-Augmented Causal Discovery Frameworkcited by 29
- 2024On the Brittle Foundations of ReAct Prompting for Agentic Large Language Modelscited by 17
- 2025Is LLMs Hallucination Usable? LLM-based Negative Reasoning for Fake News Detectioncited by 7
- 2025Unveiling and Causalizing CoT: A Causal Pespectivecited by 6
- 2025Counterfactual Reasoning for Steerable Pluralistic Value Alignment of Large Language Modelscited by 5
- 2025Counterfactual Reasoning for Steerable Pluralistic Value Alignment of Large Language Models21 Oct 2025
- 2025Is LLMs Hallucination Usable? LLM-based Negative Reasoning for Fake News Detection12 Mar 2025
- 2025Unveiling and Causalizing CoT: A Causal Pespective25 Feb 2025
- 2024On the Brittle Foundations of ReAct Prompting for Agentic Large Language Models22 May 2024
- 2024ALCM: Autonomous LLM-Augmented Causal Discovery Framework2 May 2024
- 2025LLMs for Explainable AI: A Comprehensive Surveycited by 42
- 2024LLMs for Generating and Evaluating Counterfactuals: A Comprehensive Studycited by 30
- 2024Causality for Large Language Modelscited by 24
- 2024A Survey on Natural Language Counterfactual Generationcited by 21
- 2024LLMs for XAI: Future Directions for Explaining Explanationscited by 19
- 2024Zero-shot LLM-guided Counterfactual Generation: A Case Study on NLP Model Evaluationcited by 17
- 2024CEval: A Benchmark for Evaluating Counterfactual Text Generationcited by 15
- 2024Defending Against Social Engineering Attacks in the Age of LLMscited by 15
- 2024RealTCD: Temporal Causal Discovery from Interventional Data with Large Language Modelcited by 13
- 2025Can LLMs Explain Themselves Counterfactually?cited by 10
- 2025SafeSteer: Interpretable Safety Steering with Refusal-Evasion in LLMscited by 9
- 2024Towards Unifying Evaluation of Counterfactual Explanations: Leveraging Large Language Models for Human-Centric Assessmentscited by 8
12 most cited of 35 All 35 (JSON)
- 2026Mind the Prompt: Self-adaptive Generation of Task Plan Explanations via LLMs22 Apr 2026
- 2026Quantifying Trust: Financial Risk Management for Trustworthy AI Agents5 Apr 2026
- 2026Structured Exploration vs. Generative Flexibility: A Field Study Comparing Bandit and LLM Architectures for Personalised Health Behaviour Interventions6 Mar 2026
- 2026LLMAC: A Global and Explainable Access Control Framework with Large Language Model10 Feb 2026
- 2026A Meta-Knowledge-Augmented LLM Framework for Hyperparameter Optimization in Time-Series Forecasting1 Feb 2026
- 2026Do LLM Self-Explanations Help Users Predict Model Behavior? Evaluating Counterfactual Simulatability with Pragmatic Perturbations7 Jan 2026
- 2026iFlip: Iterative Feedback-driven Counterfactual Example Refinement4 Jan 2026
- 2026Parallel Universes, Parallel Languages: A Comprehensive Study on LLM-based Multilingual Counterfactual Example Generation1 Jan 2026
- 2025LLMs Know More Than Words: A Genre Study with Syntax, Metaphor & Phonetics4 Dec 2025
- 2025MetaLLMix : An XAI Aided LLM-Meta-learning Based Approach for Hyper-parameters Optimization11 Sep 2025
- 2025Mind the XAI Gap: A Human-Centered LLM Framework for Democratizing Explainable AI13 Jun 2025
- 2025SafeSteer: Interpretable Safety Steering with Refusal-Evasion in LLMs1 Jun 2025
12 newest of 35 All 35 (JSON)