InterroLang: Exploring NLP Models and Datasets through Dialogue-based Explanations

Nils Feldhus, Qianli Wang, Tatiana Anikina, Sahil Chopra, Cennet Oguz +1 more
10/9/2023
cs.CLcs.AIcs.HC

No official code found. Best implementation: DFKI-NLP/InterroLang (8 stars, last commit 2023-10-23).

Abstract

While recently developed NLP explainability methods let us open the black box in various ways (Madsen et al., 2022), a missing ingredient in this endeavor is an interactive tool offering a conversational interface. Such a dialogue system can help users explore datasets and models with explanations in a contextualized manner, e.g. via clarification or follow-up questions, and through a natural language interface. We adapt the conversational explanation framework TalkToModel (Slack et al., 2022) to the NLP domain, add new NLP-specific operations such as free-text rationalization, and illustrate its generalizability on three NLP tasks (dialogue act classification, question answering, hate speech detection). To recognize user queries for explanations, we evaluate fine-tuned and few-shot prompting models and implement a novel Adapter-based approach. We then conduct two user studies on (1) the perceived correctness and helpfulness of the dialogues, and (2) the simulatability, i.e. how objectively helpful dialogical explanations are for humans in figuring out the model's predicted label when it's not shown. We found rationalization and feature attribution were helpful in explaining the model behavior. Moreover, users could more reliably predict the model outcome based on an explanation dialogue rather than one-off explanations.

View on arXivView PDF

Code Implementations(1)

InterroLang: Exploring NLP Models and Datasets through Dialogue-based Explanations [EMNLP 2023 Findings]

80HTML, ShellMar 14, 20232 years ago
data-analysisdialogueinterpretabilityllmstransformers+1 more

Similar Papers

Cite this paper

@article{feldhus2023interrolang,
  title  = {InterroLang: Exploring NLP Models and Datasets through Dialogue-based Explanations},
  author = {Nils Feldhus and Qianli Wang and Tatiana Anikina and Sahil Chopra and Cennet Oguz and Sebastian Möller},
  year   = {2023},
  eprint = {2310.05592},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.05592v2}
}

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/2310.05592.svg)](https://codeofpaper.com/paper/2310.05592)

Discussion