mlsanityData to 14 Oct 2026

Decoding Game: On Minimax Optimality of Heuristic Text Generation Strategies

arXiv 2410.03968 ↗First posted 4 Oct 2024cs.LG cs.AI cs.GTcited by 7

Not on the map. Why?

Abstract (arXiv)

Decoding strategies play a pivotal role in text generation for modern language models, yet a puzzling gap divides theory and practice. Surprisingly, strategies that should intuitively be optimal, such as Maximum a Posteriori (MAP), often perform poorly in practice. Meanwhile, popular heuristic approaches like Top-k and Nucleus sampling, which employ truncation and normalization of the conditional next-token probabilities, have achieved great empirical success but lack theoretical justifications. In this paper, we propose Decoding Game, a comprehensive theoretical framework which reimagines text generation as a two-player zero-sum game between Strategist, who seeks to produce text credible in the true distribution, and Nature, who distorts the true distribution adversarially. After discussing the decomposibility of multi-step generation, we derive the optimal strategy in closed form for one-step Decoding Game. It is shown that the adversarial Nature imposes an implicit regularization on likelihood maximization, and truncation-normalization methods are first-order approximations to the optimal strategy under this regularization. Additionally, by generalizing the objective and parameters of Decoding Game, near-optimal strategies encompass diverse methods such as greedy search, temperature scaling, and hybrids thereof. Numerical experiments are conducted to complement our theoretical analysis.

Key facts. Cited by 7 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 4 Oct 2024.

Builds on

19 of 32 references.

References · 19

  1. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  2. 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
  3. 2019The Curious Case of Neural Text Degenerationcited by 2,916
  4. 2021Convex optimizationcited by 2,515
  5. 2018Hierarchical Neural Story Generationcited by 1,193
  6. 2021MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontierscited by 470
  7. 2022A Contrastive Framework for Neural Text Generationcited by 225
  8. 2017Breaking the Softmax Bottleneck: A High-Rank RNN Language Modelcited by 152
  9. 2022Offline RL for Natural Language Generation with Implicit Language Q Learningcited by 138
  10. 2019Unifying Human and Statistical Evaluation for Natural Language Generationcited by 127
  11. 2020If beam search is the answer, what was the question?cited by 116
  12. 2024A Thorough Examination of Decoding Methods in the Era of LLMscited by 114
7 more
  1. 2022Locally Typical Samplingcited by 111
  2. 2022On Decoding Strategies for Neural Text Generatorscited by 90
  3. 2021Twice regularized MDPs and the equivalence between robustness and regularizationcited by 47
  4. 2022Critic-Guided Decoding for Controlled Text Generationcited by 45
  5. 2023The Consensus Game: Language Model Generation via Equilibrium Searchcited by 36
  6. 2015Understanding Adversarial Training: Increasing Local Stability of Neural Nets through Robust Optimizationcited by 32
  7. 2023Closing the Curious Case of Neural Text Degenerationcited by 32

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 5; 2026: 2.

7 papers.