SyntaxShap: Syntax-aware Explainability Method for Text Generation
Not on the map. Why?
Abstract (arXiv)
To harness the power of large language models in safety-critical domains, we need to ensure the explainability of their predictions. However, despite the significant attention to model interpretability, there remains an unexplored domain in explaining sequence-to-sequence tasks using methods tailored for textual data. This paper introduces SyntaxShap, a local, model-agnostic explainability method for text generation that takes into consideration the syntax in the text data. The presented work extends Shapley values to account for parsing-based syntactic dependencies. Taking a game theoric approach, SyntaxShap only considers coalitions constraint by the dependency tree. We adopt a model-based evaluation to compare SyntaxShap and its weighted form to state-of-the-art explainability methods adapted to text generation tasks, using diverse metrics including faithfulness, coherency, and semantic alignment of the explanations to the model. We show that our syntax-aware method produces explanations that help build more faithful and coherent explanations for predictions by autoregressive models. Confronted with the misalignment of human and AI model reasoning, this paper also highlights the need for cautious evaluation strategies in explainable AI.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 15 of its 28 references that are in the map. First posted on arXiv 14 Feb 2024.
Builds on
15 of 28 references.
References · 15
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
- 2017Learning Important Features Through Propagating Activation Differencescited by 1,454
- 2015Evaluating the visualization of what a Deep Neural Network has learnedcited by 416
- 2023Explainability for Large Language Models: A Surveycited by 331
- 2019Asymmetric Shapley values: incorporating causal knowledge into model-agnostic explainabilitycited by 114
- 2020Causal Shapley Values: Exploiting Causal Knowledge to Explain Individual Predictions of Complex Modelscited by 107
- 2018L-Shapley and C-Shapley: Efficient Model Interpretation for Structured Datacited by 100
- 2023Language models are not naysayers: An analysis of language models on negation benchmarkscited by 73
- 2020Generating Hierarchical Explanations on Text Classification via Feature Interaction Detectioncited by 57
- 2021Shapley values for feature selection: The good, the bad, and the axiomscited by 54
- 2020GenericsKB: A Knowledge Base of Generic Statementscited by 51
- 2023Using Captum to Explain Generative Language Modelscited by 33
3 more
Built on by
Citing papers per year: 2024: 2; 2025: 5; 2026: 4.
11 papers.
- 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 83
- 2025Why and How LLMs Hallucinate: Connecting the Dots with Subsequence Associationscited by 14
- 2025Concept-Level Explainability for Auditing & Steering LLM Responsescited by 6
- 2025Explainable Mapper: Charting LLM Embedding Spaces Using Perturbation-Based Explanation and Verification Agentscited by 4
- 2024Challenges and Opportunities in Text Generation Explainabilitycited by 2
- 2025Explainability-Based Token Replacement on LLM-Generated Textcited by 2
- 2026Interpretable Probability Estimation with LLMs via Shapley Reconstructioncited by 1
- 2025Toward Explaining Large Language Models in Software Engineering Taskscited by 0
- 2026Comparing Explanations is Not Enough, Explain the Change: New Standards are Needed to Explain Behavioral Shifts in Large Language Modelscited by 0
- 2026Towards Faster Language Model Inference Using Mixture-of-Experts Flow Matchingcited by 0
- 2026MAStrike: Shapley-Guided Collusive Red-Teaming on Multi-Agent Systemscited by 0
- 2026MAStrike: Shapley-Guided Collusive Red-Teaming on Multi-Agent Systems11 Jun 2026
- 2026Towards Faster Language Model Inference Using Mixture-of-Experts Flow Matching16 Apr 2026
- 2026Comparing Explanations is Not Enough, Explain the Change: New Standards are Needed to Explain Behavioral Shifts in Large Language Models2 Feb 2026
- 2026Interpretable Probability Estimation with LLMs via Shapley Reconstruction14 Jan 2026
- 2025Toward Explaining Large Language Models in Software Engineering Tasks23 Dec 2025
- 2025Explainable Mapper: Charting LLM Embedding Spaces Using Perturbation-Based Explanation and Verification Agents24 Jul 2025
- 2025Explainability-Based Token Replacement on LLM-Generated Text4 Jun 2025
- 2025Concept-Level Explainability for Auditing & Steering LLM Responses12 May 2025
- 2025Why and How LLMs Hallucinate: Connecting the Dots with Subsequence Associations17 Apr 2025
- 2024Challenges and Opportunities in Text Generation Explainability14 May 2024
- 2024A Primer on the Inner Workings of Transformer-based Language Models30 Apr 2024