English

How Decoding Strategies Affect the Verifiability of Generated Text

Computation and Language 2020-09-30 v2

Abstract

Recent progress in pre-trained language models led to systems that are able to generate text of an increasingly high quality. While several works have investigated the fluency and grammatical correctness of such models, it is still unclear to which extent the generated text is consistent with factual world knowledge. Here, we go beyond fluency and also investigate the verifiability of text generated by state-of-the-art pre-trained language models. A generated sentence is verifiable if it can be corroborated or disproved by Wikipedia, and we find that the verifiability of generated text strongly depends on the decoding strategy. In particular, we discover a tradeoff between factuality (i.e., the ability of generating Wikipedia corroborated text) and repetitiveness. While decoding strategies such as top-k and nucleus sampling lead to less repetitive generations, they also produce less verifiable text. Based on these finding, we introduce a simple and effective decoding strategy which, in comparison to previously used decoding strategies, produces less repetitive and more verifiable text.

Keywords

Cite

@article{arxiv.1911.03587,
  title  = {How Decoding Strategies Affect the Verifiability of Generated Text},
  author = {Luca Massarelli and Fabio Petroni and Aleksandra Piktus and Myle Ott and Tim Rocktäschel and Vassilis Plachouras and Fabrizio Silvestri and Sebastian Riedel},
  journal= {arXiv preprint arXiv:1911.03587},
  year   = {2020}
}

Comments

accepted at Findings of EMNLP 2020

R2 v1 2026-06-23T12:10:00.478Z