mlsanityData to 13 Oct 2026

Language Model Decoding as Direct Metrics Optimization

arXiv 2310.01041 ↗First posted 2 Oct 2023cs.CLcited by 8

Not on the map. Why?

Abstract (arXiv)

Despite the remarkable advances in language modeling, current mainstream decoding methods still struggle to generate texts that align with human texts across different aspects. In particular, sampling-based methods produce less-repetitive texts which are often disjunctive in discourse, while search-based methods maintain topic coherence at the cost of increased repetition. Overall, these methods fall short in achieving holistic alignment across a broad range of aspects. In this work, we frame decoding from a language model as an optimization problem with the goal of strictly matching the expected performance with human texts measured by multiple metrics of desired aspects simultaneously. The resulting decoding distribution enjoys an analytical solution that scales the input language model distribution via a sequence-level energy function defined by these metrics. And most importantly, we prove that this induced distribution is guaranteed to improve the perplexity on human texts, which suggests a better approximation to the underlying distribution of human texts. To facilitate tractable sampling from this globally normalized distribution, we adopt the Sampling-Importance-Resampling technique. Experiments on various domains and model scales demonstrate the superiority of our method in metrics alignment with human texts and human evaluation over strong baselines.

Key facts. Cited by 8 papers in the map (data through 13 Oct 2026). Builds on 46 of its 73 references that are in the map. First posted on arXiv 2 Oct 2023.

Builds on

46 of 73 references.

References · 46

  1. 2020Language Models are Few-Shot Learnerscited by 32,320
  2. 2022Training language models to follow instructions with human feedbackcited by 15,856
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,322
  4. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,500
  5. 2016Pointer Sentinel Mixture Modelscited by 3,047
  6. 2019The Curious Case of Neural Text Degenerationcited by 2,893
  7. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,170
  8. 2019Fine-Tuning Language Models from Human Preferencescited by 2,139
  9. 2018Hierarchical Neural Story Generationcited by 1,186
  10. 2019CTRL: A Conditional Transformer Language Model for Controllable Generationcited by 757
  11. 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 600
  12. 2015Sequence Level Training with Recurrent Neural Networkscited by 573
34 more
  1. 2019Neural Text Generation with Unlikelihood Trainingcited by 494
  2. 2016SeqGAN: Sequence Generative Adversarial Nets with Policy Gradientcited by 376
  3. 2019Way Off-Policy Batch Deep Reinforcement Learning of Implicit Human Preferences in Dialogcited by 284
  4. 2022A Contrastive Framework for Neural Text Generationcited by 224
  5. 2020A Distributional Approach to Controlled Text Generationcited by 118
  6. 2015Minimum Risk Training for Neural Machine Translationcited by 115
  7. 2022Why Exposure Bias Matters: An Imitation Learning Perspective of Error Accumulation in Language Generationcited by 107
  8. 2019Reverse KL-Divergence Training of Prior Networks: Improved Uncertainty and Adversarial Robustnesscited by 104
  9. 2021High Quality Rather than High Model Probability: Minimum Bayes Risk Decoding with Neural Metricscited by 104
  10. 2018Noise Contrastive Estimation and Negative Sampling for Conditional Models: Consistency and Statistical Efficiencycited by 103
  11. 2017Long Text Generation via Adversarial Training with Leaked Informationcited by 100
  12. 2018Language GANs Falling Shortcited by 97
  13. 2020Residual Energy-Based Models for Text Generationcited by 95
  14. 2020Trading Off Diversity and Quality in Natural Language Generationcited by 94
  15. 2022Learning to Break the Loop: Analyzing and Mitigating Repetitions for Neural Text Generationcited by 92
  16. 2021Is GPT-3 Text Indistinguishable from Human Text? Scarecrow: A Framework for Scrutinizing Machine Textcited by 89
  17. 2020A Theoretical Analysis of the Repetition Problem in Text Generationcited by 83
  18. 2015How (not) to Train your Generative Model: Scheduled Sampling, Likelihood, Adversary?cited by 78
  19. 2018An elementary introduction to information geometrycited by 76
  20. 2020Text Generation by Learning from Demonstrationscited by 64
  21. 2020Limitations of Autoregressive Models and Their Alternativescited by 54
  22. 2022Quality-Aware Decoding for Neural Machine Translationcited by 49
  23. 2020Energy-Based Reranking: Improving Neural Machine Translation Using Energy-Based Modelscited by 44
  24. 2018Toward Diverse Text Generation with Inverse Reinforcement Learningcited by 41
  25. 2021Greedification Operators for Policy Optimization: Investigating Forward and Reverse KL Divergencescited by 41
  26. 2019Calibration, Entropy Rates, and Memory in Language Modelscited by 32
  27. 2023Tailoring Language Generation Models under Total Variation Distancecited by 27
  28. 2020Sparse Text Generationcited by 24
  29. 2021Straight to the Gradient: Learning to Use Novel Tokens for Neural Text Generationcited by 19
  30. 2021Relating Neural Text Degeneration to Exposure Biascited by 19
  31. 2019Distributional Reinforcement Learning for Energy-Based Sequential Modelscited by 17
  32. 2019Global Autoregressive Models for Data-Efficient Sequence Learningcited by 15
  33. 2021DiscoDVT: Generating Long Text with Discourse-Aware Discrete Variational Transformercited by 14
  34. 2022An Empirical Study On Contrastive Search And Contrastive Decoding For Open-ended Text Generationcited by 14

Built on by

Cited by year (2026 to 13 Oct)

Citing papers per year: 2024: 4; 2025: 2; 2026: 2.

8 papers.