Local Explanation of Dialogue Response Generation

Yi-Lin Tuan, Connor Pryor, Wenhu Chen, Lise Getoor, William Yang Wang
6/11/2021
cs.CLstat.ML

Official code: Pascalson/LERG (16 stars, Python, MIT, last commit 2022-03-21).

Abstract

In comparison to the interpretation of classification models, the explanation of sequence generation models is also an important problem, however it has seen little attention. In this work, we study model-agnostic explanations of a representative text generation task -- dialogue response generation.

Show full abstract

Dialog response generation is challenging with its open-ended sentences and multiple acceptable responses. To gain insights into the reasoning process of a generation model, we propose a new method, local explanation of response generation (LERG) that regards the explanations as the mutual interaction of segments in input and output sentences. LERG views the sequence prediction as uncertainty estimation of a human response and then creates explanations by perturbing the input and calculating the certainty change over the human response. We show that LERG adheres to desired properties of explanations for text generation including unbiased approximation, consistency and cause identification. Empirically, our results show that our method consistently improves other widely used methods on proposed automatic- and human- evaluation metrics for this new task by 4.4-12.8%. Our analysis demonstrates that LERG can extract both explicit and implicit relations between input and output segments.

View on arXivView PDF

Code Implementations(1)

Pascalson/LERGOfficial100%
MIT

A unified approach to explain conditional text generation models. Pytorch. The code of paper "Local Explanation of Dialogue Response Generation, NeurIPS 2021"

161PythonJun 10, 20214 years agoMIT
local-explanationtext-generation

Similar Papers

Cite this paper

@article{tuan2021local,
  title  = {Local Explanation of Dialogue Response Generation},
  author = {Yi-Lin Tuan and Connor Pryor and Wenhu Chen and Lise Getoor and William Yang Wang},
  year   = {2021},
  eprint = {2106.06528},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.06528}
}

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

Discussion