CoChat

Locally Typical Sampling

Open access
Meister, Clara, Pimentel, Tiago, Wiher, Gian, Cotterell, Ryan · 2023 · Transactions of the Association for Computational Linguistics
Cited by 70

The DOI matches its Crossref record; 25 of the 25 references it cites were found in a registry or an index.

Abstract

Today’s probabilistic language generators fall short when it comes to producing coherent and fluent text despite the fact that the underlying models perform well under standard metrics (e.g., perplexity). This discrepancy has puzzled the language generation community for the last few years. In this work, we posit that the abstraction of natural language generation as a discrete stochastic process—which allows for an information-theoretic analysis—can provide new insights into the behavior of probabilistic language generators, for example, why high-probability texts can be dull or repetitive. Humans use language as a means of communicating information, aiming to do so in a simultaneously efficient and error-minimizing manner; in fact, psycholinguistics research suggests humans choose each word in a string with this subconscious goal in mind. We formally define the set of strings that meet this criterion: Those for which each word has an information content close to the expected information content, namely, the conditional entropy of our model. We then propose a simple and efficient procedure for enforcing this criterion when generating from probabilistic models, which we call locally typical sampling. Automatic and human evaluations show that, in comparison to nucleus and top-k sampling, locally typical sampling offers competitive performance (in both abstractive summarization and story generation) in terms of quality while consistently reducing degenerate repetitions.

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1162/tacl_a_00536

Cites

25 of 25 references verified0 citation errors · 0 not checkable

Statistics

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

Show all 25 references

Research works printed but not linked: 36

  1. Aylett, 2004, The smooth signal redundancy hypothesis: A functional explanation for relationships between redundancy, prosodic prominence, and duration in spontaneous speech, Language and Speech, 47, 31, 10.1177/00238309040470010201 · DOI · Paper page
  2. Basu, 2021, Mirostat: A perplexity- controlled neural text decoding algorithm
  3. Booth, 1973, Applying probability measures to abstract languages, IEEE Transactions on Computers, C-22, 442, 10.1109/T-C.1973.223746 · DOI · Paper page
  4. Breiman, 1957, The individual ergodic theorem of information theory, The Annals of Mathematical Statistics, 28, 809, 10.1214/aoms/1177706899 · DOI
  5. Chomsky, 1995, The Minimalist Program
  6. Coupé, 2019, Different languages, similar encoding efficiency: Comparable information rates across the human communicative niche, Science Advances, 5, 10.1126/sciadv.aaw2594 · DOI · Paper page
  7. Cover, 2012, Elements of Information Theory
  8. DeLucia, 2021, Decoding methods for neural narrative generation, 166, 10.18653/v1/2021.gem-1.16 · DOI
  9. Edunov, 2018, Understanding back- translation at scale, 489, 10.18653/v1/D18-1045 · DOI · Paper page
  10. Eikema, 2020, Is MAP decoding all you need? The inadequacy of the mode in neural machine translation, 4506, 10.18653/v1/2020.coling-main.398 · DOI · Paper page
  11. Fenk, 1980, Konstanz im Kurzzeitgedächtnis-Konstanz im sprachlichen Informationsfluß, Zeitschrift für experimentelle und angewandte Psychologie, 27, 400
  12. Goyal, 2019, An empirical investigation of global and local normalization for recurrent neural sequence models using a continuous relaxation to beam search, 1724
  13. Guan, 2020, A knowledge- enhanced pretraining model for commonsense story generation, Transactions of the Association for Computational Linguistics, 8, 93, 10.1162/tacl_a_00302 · DOI · Paper page
  14. Karlsson, 2010, 3. Syntactic recursion and iteration, 10.1515/9783110219258.43 · DOI
  15. Knopp, 1954, Theory and Application of Infinite Series
  16. Lau, 2017, Grammaticality, acceptability, and probability: A probabilistic view of linguistic knowledge, Cognitive Science, 41, 1202, 10.1111/cogs.12414 · DOI · Paper page
  17. Levy, 2007, Speakers optimize information density through syntactic reduction, 10.7551/mitpress/7503.003.0111 · DOI · Paper page
  18. Li, 2016, A diversity-promoting objective function for neural conversation models, 110
  19. Li, 2020, Don’t say that! Making inconsistent dialogue unlikely with unlikelihood training, 4715, 10.18653/v1/2020.acl-main.428 · DOI · Paper page
  20. Mahowald, 2013, Info/information theory: Speakers choose shorter words in predictive contexts, Cognition, 126, 313, 10.1016/j.cognition.2012.09.010 · DOI · Paper page
  21. McMillan, 1953, The basic theorems of information theory, The Annals of Mathematical Statistics, 24, 196, 10.1214/aoms/1177729028 · DOI · Paper page
  22. Meister, 2020, Generalized entropy regularization or: There’s nothing special about label smoothing, 6870, 10.18653/v1/2020.acl-main.615 · DOI
  23. Meister, 2020, If beam search is the answer, what was the question?, 10.18653/v1/2020.emnlp-main.170 · DOI
  24. Meister, 2022, On the probability– quality paradox in language generation, 36, 10.18653/v1/2022.acl-short.5 · DOI
  25. Merity, 2017, Pointer sentinel mixture models
  26. Nadeem, 2020, A systematic characterization of sampling algorithms for open- ended language generation, 334
  27. Ng, 2019, Facebook FAIR’s WMT19 news translation task submission, 314, 10.18653/v1/W19-5333 · DOI · Paper page
  28. Pillutla, 2021, MAUVE: Measuring the gap between neural text and human text using divergence frontiers, 4816
  29. Pimentel, 2022, Cluster-based evaluation of automatically generated text, arXiv preprint arXiv:2205.16001 · arXiv
  30. Pimentel, 2021, A surprisal–duration trade-off across and within the world’s languages, 949, 10.18653/v1/2021.emnlp-main.73 · DOI
  31. Pimentel, 2020, Phonotactic complexity and its trade-offs, Transactions of the Association for Computational Linguistics, 8, 1, 10.1162/tacl_a_00296 · DOI
  32. Reich, 1969, The finiteness of natural language, Language, 45, 831, 10.2307/412337 · DOI
  33. Schütze, 2016, The empirical base of linguistics: Grammaticality judgments and linguistic methodology, 10.26530/OAPEN_603356 · DOI
  34. Shannon, 1948, A mathematical theory of communication, Bell System Technical Journal, 27, 623, 10.1002/j.1538-7305.1948.tb00917.x · DOI · Paper page
  35. Zhang, 2021, Trading off diversity and quality in natural language generation, 25
  36. Zipf, 1949, Human Behavior and the Principle of Least Effort

Cited by

Metadata

Authors
Meister, C., Pimentel, T., Wiher, G., & Cotterell, R.
Venue
Transactions of the Association for Computational Linguistics
Publisher
MIT Press
Published
2023
Volume
11
Pages
102-121
ISSN
2307-387X (ISSN-L)
OpenAlex
W4317897818
Cited by
70
References
25
FWCI
6.06
Type
journal article
Language
en
Open access
diamond

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.