Counterfactual Explanations for Natural Language Interfaces
George Tolkachev Affiliation: University of Pennsylvania Email: Stephen Mell Affiliation: University of Pennsylvania Email: Steve Zdancewic Affiliation: University of Pennsylvania Email: Osbert Bastani Affiliation: University of Pennsylvania Email:
Abstract
A key challenge facing natural language interfaces is enabling users to understand the capabilities of the underlying system. We propose a novel approach for generating explanations of a natural language interface based on semantic parsing. We focus on counterfactual explanations, which are post-hoc explanations that describe to the user how they could have minimally modified their utterance to achieve their desired goal. In particular, the user provides an utterance along with a demonstration of their desired goal; then, our algorithm synthesizes a paraphrase of their utterance that is guaranteed to achieve their goal. In two user studies, we demonstrate that our approach substantially improves user performance, and that it generates explanations that more closely match the user’s intent compared to two ablations.11 1 Code available at: https://github.com/georgeto20/counterfactual_explanations.
原文 arXiv:2204.13192;中英对照 + 大白话阅读 https://aha.fim.ai/paper/2204.13192v1