Distributional Discrepancy: A Metric for Unconditional Text Generation

Ping Cai, Xingyuan Chen, Peng Jin, Hongjun Wang, Tianrui Li
5/4/2020
cs.CL

Official code: cp-pc/Distributional-Discrepancy (0 stars, Python, last commit 2023-07-06).

Abstract

The purpose of unconditional text generation is to train a model with real sentences, then generate novel sentences of the same quality and diversity as the training data. However, when different metrics are used for comparing the methods of unconditional text generation, contradictory conclusions are drawn.

Show full abstract

The difficulty is that both the diversity and quality of the sample should be considered simultaneously when the models are evaluated. To solve this problem, a novel metric of distributional discrepancy (DD) is designed to evaluate generators based on the discrepancy between the generated and real training sentences. However, it cannot compute the DD directly because the distribution of real sentences is unavailable. Thus, we propose a method for estimating the DD by training a neural-network-based text classifier. For comparison, three existing metrics, bi-lingual evaluation understudy (BLEU) versus self-BLEU, language model score versus reverse language model score, and Fréchet embedding distance, along with the proposed DD, are used to evaluate two popular generative models of long short-term memory and generative pretrained transformer 2 on both syntactic and real data. Experimental results show that DD is significantly better than the three existing metrics for ranking these generative models.

View on arXivView PDF

Code Implementations(1)

00PythonApr 30, 20203 years ago

Similar Papers

Cite this paper

@article{cai2020distributional,
  title  = {Distributional Discrepancy: A Metric for Unconditional Text Generation},
  author = {Ping Cai and Xingyuan Chen and Peng Jin and Hongjun Wang and Tianrui Li},
  year   = {2020},
  eprint = {2005.01282},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.01282}
}

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

Discussion