@inproceedings{hewitt-etal-2022-truncation,
title = "Truncation Sampling as Language Model Desmoothing",
author = "Hewitt, John and
Manning, Christopher and
Liang, Percy",
editor = "Goldberg, Yoav and
Kozareva, Zornitsa and
Zhang, Yue",
booktitle = "Findings of the Association for Computational Linguistics: EMNLP 2022",
month = dec,
year = "2022",
address = "Abu Dhabi, United Arab Emirates",
publisher = "Association for Computational Linguistics",
url = "https://preview.aclanthology.org/jlcl-multiple-ingestion/2022.findings-emnlp.249/",
doi = "10.18653/v1/2022.findings-emnlp.249",
pages = "3414--3427",
abstract = "Long samples of text from neural language models can be of poor quality. Truncation sampling algorithms{--}like top-p or top-k{---}address this by setting some words' probabilities to zero at each step. This work investigates why these methods are important, and how to improve them. We propose thinking of a neural language model as a mixture of a true distribution and a smoothing distribution that avoids infinite perplexity. In this light, truncation algorithms aim to perform desmoothing, estimating a subset of the support of the true distribution. Finding a good subset is crucial: we show that top-p unnecessarily truncates high-probability words, for example causing it to truncate all words but Trump for a document that starts with Donald. We introduce eta-sampling, which truncates words below an entropy-dependent probability threshold. Compared to previous algorithms, our eta-sampling generates more plausible long documents according to humans, is better at breaking out of repetition, and behaves more reasonably on a battery of test distributions."
}
Markdown (Informal)
[Truncation Sampling as Language Model Desmoothing](https://preview.aclanthology.org/jlcl-multiple-ingestion/2022.findings-emnlp.249/) (Hewitt et al., Findings 2022)
ACL
- John Hewitt, Christopher Manning, and Percy Liang. 2022. Truncation Sampling as Language Model Desmoothing. In Findings of the Association for Computational Linguistics: EMNLP 2022, pages 3414–3427, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.