Locally Typical Sampling
Open accessThe 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.
Integrity signals
Registry
Cites
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.
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
Language Models are Few-Shot Learners
Brown, T. B., Mann, B., Ryder, N., Subbiah, M., Kaplan, J., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., Askell, A., et al. (2020) · arXiv · doi:10.48550/arxiv.2005.14165 · Cited by 23,372
Lewis, M., Liu, Y., Goyal, N., Ghazvininejad, M., Mohamed, A., Levy, O., Stoyanov, V., & Zettlemoyer, L. (2020) · Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics · doi:10.18653/v1/2020.acl-main.703 · Cited by 8,821
Lewis, M., Liu, Y., Goyal, N., Ghazvininejad, M., Mohamed, A., Levy, O., Stoyanov, V., & Zettlemoyer, L. (2019) · arXiv · doi:10.48550/arxiv.1910.13461 · Cited by 8,816 · cited 1×
“For abstractive summarization, we use BART (Lewis et al., 2020) finetuned on the CNN/D AILY M AIL dataset (Nalla-pati et al., 2016).”
Transformers: State-of-the-Art Natural Language Processing
Wolf, T., Debut, L., Sanh, V., Chaumond, J., Delangue, C., Moi, A., Cistac, P., Rault, T., Louf, R., Funtowicz, M., et al. (2020) · Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations · doi:10.18653/v1/2020.emnlp-demos.6 · Cited by 8,741
Chomsky, N. (1957) · doi:10.1515/9783112316009 · Cited by 7,885
Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translation
Wu, Y., Schuster, M., Chen, Z., Le, Q. V., Norouzi, M., Macherey, W., Krikun, M., Cao, Y., Gao, Q., Macherey, K., et al. (2016) · arXiv · doi:10.48550/arxiv.1609.08144 · Cited by 5,319 · cited 1×
“For example, beam search is the predominant decoding strategy for machine translation models (Wu et al., 2016; Edunov et al., 2018; Ng et al., 2019; Meister et al., 2020b), a setting in which beam search (incidentally) often already enforces this criterion.”
Prediction and Entropy of Printed English
Shannon, C. E. (1951) · Bell System Technical Journal · doi:10.1002/j.1538-7305.1951.tb01366.x · Cited by 2,686
PaLM: Scaling Language Modeling with Pathways
Chowdhery, A., Narang, S., Devlin, J., Bosma, M., Mishra, G., Roberts, A., Barham, P., Chung, H. W., Sutton, C., Gehrmann, S., et al. (2022) · arXiv · doi:10.48550/arxiv.2204.02311 · Cited by 2,590
Abstractive Text Summarization using Sequence-to-sequence RNNs and Beyond
Nallapati, R., Zhou, B., dos Santos, C., Gulcehre, C., & Xiang, B. (2016) · Proceedings of The 20th SIGNLL Conference on Computational Natural Language Learning · doi:10.18653/v1/k16-1028 · Cited by 2,361
The Curious Case of Neural Text Degeneration
Holtzman, A., Buys, J., Du, L., Forbes, M., & Choi, Y. (2019) · arXiv · doi:10.48550/arxiv.1904.09751 · Cited by 1,304
Research works printed but not linked: 36
- 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
- Basu, 2021, Mirostat: A perplexity- controlled neural text decoding algorithm
- Booth, 1973, Applying probability measures to abstract languages, IEEE Transactions on Computers, C-22, 442, 10.1109/T-C.1973.223746 · DOI · Paper page
- Breiman, 1957, The individual ergodic theorem of information theory, The Annals of Mathematical Statistics, 28, 809, 10.1214/aoms/1177706899 · DOI
- Chomsky, 1995, The Minimalist Program
- 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
- Cover, 2012, Elements of Information Theory
- DeLucia, 2021, Decoding methods for neural narrative generation, 166, 10.18653/v1/2021.gem-1.16 · DOI
- Edunov, 2018, Understanding back- translation at scale, 489, 10.18653/v1/D18-1045 · DOI · Paper page
- 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
- Fenk, 1980, Konstanz im Kurzzeitgedächtnis-Konstanz im sprachlichen Informationsfluß, Zeitschrift für experimentelle und angewandte Psychologie, 27, 400
- Goyal, 2019, An empirical investigation of global and local normalization for recurrent neural sequence models using a continuous relaxation to beam search, 1724
- 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
- Karlsson, 2010, 3. Syntactic recursion and iteration, 10.1515/9783110219258.43 · DOI
- Knopp, 1954, Theory and Application of Infinite Series
- Lau, 2017, Grammaticality, acceptability, and probability: A probabilistic view of linguistic knowledge, Cognitive Science, 41, 1202, 10.1111/cogs.12414 · DOI · Paper page
- Levy, 2007, Speakers optimize information density through syntactic reduction, 10.7551/mitpress/7503.003.0111 · DOI · Paper page
- Li, 2016, A diversity-promoting objective function for neural conversation models, 110
- Li, 2020, Don’t say that! Making inconsistent dialogue unlikely with unlikelihood training, 4715, 10.18653/v1/2020.acl-main.428 · DOI · Paper page
- 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
- McMillan, 1953, The basic theorems of information theory, The Annals of Mathematical Statistics, 24, 196, 10.1214/aoms/1177729028 · DOI · Paper page
- Meister, 2020, Generalized entropy regularization or: There’s nothing special about label smoothing, 6870, 10.18653/v1/2020.acl-main.615 · DOI
- Meister, 2020, If beam search is the answer, what was the question?, 10.18653/v1/2020.emnlp-main.170 · DOI
- Meister, 2022, On the probability– quality paradox in language generation, 36, 10.18653/v1/2022.acl-short.5 · DOI
- Merity, 2017, Pointer sentinel mixture models
- Nadeem, 2020, A systematic characterization of sampling algorithms for open- ended language generation, 334
- Ng, 2019, Facebook FAIR’s WMT19 news translation task submission, 314, 10.18653/v1/W19-5333 · DOI · Paper page
- Pillutla, 2021, MAUVE: Measuring the gap between neural text and human text using divergence frontiers, 4816
- Pimentel, 2022, Cluster-based evaluation of automatically generated text, arXiv preprint arXiv:2205.16001 · arXiv
- Pimentel, 2021, A surprisal–duration trade-off across and within the world’s languages, 949, 10.18653/v1/2021.emnlp-main.73 · DOI
- Pimentel, 2020, Phonotactic complexity and its trade-offs, Transactions of the Association for Computational Linguistics, 8, 1, 10.1162/tacl_a_00296 · DOI
- Reich, 1969, The finiteness of natural language, Language, 45, 831, 10.2307/412337 · DOI
- Schütze, 2016, The empirical base of linguistics: Grammaticality judgments and linguistic methodology, 10.26530/OAPEN_603356 · DOI
- Shannon, 1948, A mathematical theory of communication, Bell System Technical Journal, 27, 623, 10.1002/j.1538-7305.1948.tb00917.x · DOI · Paper page
- Zhang, 2021, Trading off diversity and quality in natural language generation, 25
- Zipf, 1949, Human Behavior and the Principle of Least Effort
Cited by
Machine Generated Text: A Comprehensive Survey of Threat Models and Detection Methods
Crothers, E., Japkowicz, N., & Viktor, H. (2022) · arXiv · doi:10.48550/arxiv.2210.07321 · Cited by 196
“Such methods include ‘typical sampling’, in which tokens are selected based on expected information gain, rather than strictly probability of occurrence [126].”
Machine-Generated Text: A Comprehensive Survey of Threat Models and Detection Methods
Crothers, E. N., Japkowicz, N., & Viktor, H. L. (2023) · IEEE Access · doi:10.1109/access.2023.3294090 · Cited by 196
“Such methods include ‘typical sampling’, in which tokens are selected based on expected information gain, rather than strictly probability of occurrence [126].”
Applying large language models and chain-of-thought for automatic scoring
Lee, G.-G., Latif, E., Wu, X., Liu, N., & Zhai, X. (2024) · Computers and Education: Artificial Intelligence · doi:10.1016/j.caeai.2024.100213 · Cited by 186
Generative Artificial Intelligence for Chest Radiograph Interpretation in the Emergency Department
Huang, J., Neill, L., Wittbrodt, M., Melnick, D., Klug, M., Thompson, M., Bailitz, J., Loftus, T., Malik, S., Phull, A., et al. (2023) · JAMA Network Open · doi:10.1001/jamanetworkopen.2023.36100 · Cited by 113
RAID: A Shared Benchmark for Robust Evaluation of Machine-Generated Text Detectors
Dugan, L., Hwang, A., Trhlík, F., Zhu, A., Ludan, J. M., Xu, H., Ippolito, D., & Callison-Burch, C. (2024) · Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · doi:10.18653/v1/2024.acl-long.674 · Cited by 48
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
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: Locally Typical Sampling. https://app.cochat.ai/papers/10.1162/tacl_a_00536
- The paper
- Meister, C., Pimentel, T., Wiher, G., & Cotterell, R. (2023). Locally Typical Sampling. Transactions of the Association for Computational Linguistics. https://doi.org/10.1162/tacl_a_00536
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.