SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2106.06528 · NeurIPS · 2021

Local Explanation of Dialogue Response Generation

Wenhu Chen, William Wang, Yi-Lin Tuan, Connor Pryor, Lise Getoor

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 4 functions out of this paper's own repositories and ran 4 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
Pascalson/LERG canonical 4 of 4
FunctionStatusWhere it lives
Explainer Ran Pascalson/LERG/lerg/RG_explainers.py
code served (permissive licence) · get_code("68455dbef5068171")
LERG Ran Pascalson/LERG/lerg/RG_explainers.py
code served (permissive licence) · get_code("70fb3eef217f4a78")
LERG_LIME Ran Pascalson/LERG/lerg/RG_explainers.py
code served (permissive licence) · get_code("bcb189b853348670")
read_data Ran Pascalson/LERG/explain.py
code served (permissive licence) · get_code("ecae1402d47b469a")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

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. 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 explanation 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. 1

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2106.06528")
get_code_for_paper("2106.06528")
have("2106.06528")

Connect an agent — have() is free.