Evaluating Semantic Accuracy of Data-to-Text Generation with Natural Language Inference

Ondřej Dušek, Zdeněk Kasner
11/21/2020
cs.CL

Official code: ufal/nlgi_eval (9 stars, Python, last commit 2021-11-03).

Abstract

A major challenge in evaluating data-to-text (D2T) generation is measuring the semantic accuracy of the generated text, i.e. checking if the output text contains all and only facts supported by the input data. We propose a new metric for evaluating the semantic accuracy of D2T generation based on a neural model pretrained for natural language inference (NLI).

Show full abstract

We use the NLI model to check textual entailment between the input data and the output text in both directions, allowing us to reveal omissions or hallucinations. Input data are converted to text for NLI using trivial templates. Our experiments on two recent D2T datasets show that our metric can achieve high accuracy in identifying erroneous system outputs.

View on arXivView PDF

Code Implementations(1)

ufal/nlgi_evalOfficial100%

NLI evaluation for NLG

94Python, MakefileOct 30, 20205 years ago

Similar Papers

Cite this paper

@article{duek2020evaluating,
  title  = {Evaluating Semantic Accuracy of Data-to-Text Generation with Natural Language Inference},
  author = {Ondřej Dušek and Zdeněk Kasner},
  year   = {2020},
  eprint = {2011.10819},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2011.10819}
}

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

Discussion