SyntaxShap: Syntax-aware Explainability Method for Text Generation
Amara, Kenza, Sevastjanova, Rita, El-Assady, Mennatallah
–arXiv.org Artificial Intelligence
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, complexity, coherency, and semantic alignment of the explanations to the model. We show that our syntax-aware method produces explanations that help build more faithful, coherent, and interpretable explanations for predictions by autoregressive models.
arXiv.org Artificial Intelligence
Feb-14-2024
- Country:
- North America
- United States (0.04)
- Canada > Ontario
- Toronto (0.04)
- Europe
- Switzerland > Zürich
- Zürich (0.14)
- Sweden > Östergötland County
- Linköping (0.04)
- Spain > Valencian Community
- Valencia Province > Valencia (0.04)
- Finland > Southwest Finland
- Turku (0.04)
- Switzerland > Zürich
- Asia
- Myanmar > Tanintharyi Region
- Dawei (0.04)
- Middle East
- Jordan (0.04)
- UAE > Abu Dhabi Emirate
- Abu Dhabi (0.04)
- Myanmar > Tanintharyi Region
- North America
- Genre:
- Research Report > New Finding (0.46)
- Technology: