mlsanityData to 7 Oct 2026

SyntaxShap: Syntax-aware Explainability Method for Text Generation

arXiv 2402.09259 ↗First posted 14 Feb 2024cs.CL cs.AIcited by 11

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

  1. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
  2. 2017Learning Important Features Through Propagating Activation Differencescited by 1,454
  3. 2015Evaluating the visualization of what a Deep Neural Network has learnedcited by 416
  4. 2023Explainability for Large Language Models: A Surveycited by 331
  5. 2019Asymmetric Shapley values: incorporating causal knowledge into model-agnostic explainabilitycited by 114
  6. 2020Causal Shapley Values: Exploiting Causal Knowledge to Explain Individual Predictions of Complex Modelscited by 107
  7. 2018L-Shapley and C-Shapley: Efficient Model Interpretation for Structured Datacited by 100
  8. 2023Language models are not naysayers: An analysis of language models on negation benchmarkscited by 73
  9. 2020Generating Hierarchical Explanations on Text Classification via Feature Interaction Detectioncited by 57
  10. 2021Shapley values for feature selection: The good, the bad, and the axiomscited by 54
  11. 2020GenericsKB: A Knowledge Base of Generic Statementscited by 51
  12. 2023Using Captum to Explain Generative Language Modelscited by 33
3 more
  1. 2022Probing for Incremental Parse States in Autoregressive Language Modelscited by 24
  2. 2022Beware the Rationalization Trap! When Language Model Explainability Diverges from our Mental Models of Languagecited by 9
  3. 2022Negation, Coordination, and Quantifiers in Contextualized Language Modelscited by 9

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 5; 2026: 4.

11 papers.