mlsanityData to 14 Oct 2026

Local Normalization Distortion and the Thermodynamic Formalism of Decoding Strategies for Large Language Models

arXiv 2503.21929 ↗First posted 27 Mar 2025cs.CL cs.LG math.DScited by 4

Not on the map. Why?

Abstract (arXiv)

Advances in hardware and language model architecture have spurred a revolution in natural language generation. However, autoregressive models compute probability distributions over next-token choices, and sampling from these distributions, known as decoding, has received significantly less attention than other design choices. Existing decoding strategies are largely based on heuristics, resulting in methods that are difficult to apply or improve in a principled manner. We develop the theory of decoding strategies for language models by expressing popular decoding algorithms as equilibrium states in the language of ergodic theory and stating the objective functions they optimize. Using this, we analyze the effect of the local normalization step required to make probabilities sum to one in top-k, nucleus, and temperature sampling. We argue that local normalization distortion is a fundamental defect of decoding strategies and quantify the size of this distortion and its effect on mathematical proxies for the quality and diversity of generated text. This yields conclusions for the design of decoding algorithms and the detection of machine-generated text.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 19 of its 32 references that are in the map. First posted on arXiv 27 Mar 2025.

Builds on

19 of 32 references.

References · 19

  1. 2017Attention Is All You Needcited by 60,361
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  4. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  5. 2017On Calibration of Modern Neural Networkscited by 4,960
  6. 2017Deep reinforcement learning from human preferencescited by 3,912
  7. 2019The Curious Case of Neural Text Degenerationcited by 2,916
  8. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
  9. 2018Hierarchical Neural Story Generationcited by 1,193
  10. 2021All That's 'Human' Is Not Gold: Evaluating Human Evaluation of Generated Textcited by 287
  11. 2022Truncation Sampling as Language Model Desmoothingcited by 123
  12. 2018Language GANs Falling Shortcited by 97
7 more
  1. 2020Trading Off Diversity and Quality in Natural Language Generationcited by 96
  2. 2022On Decoding Strategies for Neural Text Generatorscited by 90
  3. 2019Comparison of Diverse Decoding Methods from Conditional Language Modelscited by 78
  4. 2023Closing the Curious Case of Neural Text Degenerationcited by 32
  5. 2020A Systematic Characterization of Sampling Algorithms for Open-ended Language Generationcited by 28
  6. 2024Local and Global Decoding in Text Generationcited by 5
  7. 2025TempTest: Local Normalization Distortion and the Detection of Machine-generated Textcited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 3.

4 papers.