Logical Satisfiability of Counterfactuals for Faithful Explanations in NLI
Abstract
Evaluating an explanation's faithfulness is desired for many reasons such as trust, interpretability and diagnosing the sources of model's errors. In this work, which focuses on the NLI task, we introduce the methodology of Faithfulness-through-Counterfactuals, which first generates a counterfactual hypothesis based on the logical predicates expressed in the explanation, and then evaluates if the model's prediction on the counterfactual is consistent with that expressed logic (i.e. if the new formula is \textit{logically satisfiable}). In contrast to existing approaches, this does not require any explanations for training a separate verification model. We first validate the efficacy of automatic counterfactual hypothesis generation, leveraging on the few-shot priming paradigm. Next, we show that our proposed metric distinguishes between human-model agreement and disagreement on new counterfactual input. In addition, we conduct a sensitivity analysis to validate that our metric is sensitive to unfaithful explanations.
Cite
Text
Sia et al. "Logical Satisfiability of Counterfactuals for Faithful Explanations in NLI." AAAI Conference on Artificial Intelligence, 2023. doi:10.1609/AAAI.V37I8.26174Markdown
[Sia et al. "Logical Satisfiability of Counterfactuals for Faithful Explanations in NLI." AAAI Conference on Artificial Intelligence, 2023.](https://mlanthology.org/aaai/2023/sia2023aaai-logical/) doi:10.1609/AAAI.V37I8.26174BibTeX
@inproceedings{sia2023aaai-logical,
title = {{Logical Satisfiability of Counterfactuals for Faithful Explanations in NLI}},
author = {Sia, Suzanna and Belyy, Anton and Almahairi, Amjad and Khabsa, Madian and Zettlemoyer, Luke and Mathias, Lambert},
booktitle = {AAAI Conference on Artificial Intelligence},
year = {2023},
pages = {9837-9845},
doi = {10.1609/AAAI.V37I8.26174},
url = {https://mlanthology.org/aaai/2023/sia2023aaai-logical/}
}