Faithful and Robust Local Interpretability for Textual Predictions

Gianluigi Lopardo, Frederic Precioso, Damien Garreau
10/30/2023
cs.CLcs.LGstat.ML

Official code: gianluigilopardo/fred (9 stars, last commit 2024-04-05).

Abstract

Interpretability is essential for machine learning models to be trusted and deployed in critical domains. However, existing methods for interpreting text models are often complex, lack mathematical foundations, and their performance is not guaranteed. In this paper, we propose FRED (Faithful and Robust Explainer for textual Documents), a novel method for interpreting predictions over text. FRED offers three key insights to explain a model prediction: (1) it identifies the minimal set of words in a document whose removal has the strongest influence on the prediction, (2) it assigns an importance score to each token, reflecting its influence on the model's output, and (3) it provides counterfactual explanations by generating examples similar to the original document, but leading to a different prediction. We establish the reliability of FRED through formal definitions and theoretical analyses on interpretable classifiers. Additionally, our empirical evaluation against state-of-the-art methods demonstrates the effectiveness of FRED in providing insights into text models.

View on arXivView PDF

Code Implementations(1)

Faithful and Robust Local Interpretability for Textual Predictions

92Python, Jupyter NotebookOct 30, 20232 years ago

Similar Papers

Cite this paper

@article{lopardo2023faithful,
  title  = {Faithful and Robust Local Interpretability for Textual Predictions},
  author = {Gianluigi Lopardo and Frederic Precioso and Damien Garreau},
  year   = {2023},
  eprint = {2311.01605},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.01605v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.01605.svg)](https://codeofpaper.com/paper/2311.01605)

Discussion