mlsanityData to 14 Oct 2026

Improving Diversity in Language Models: When Temperature Fails, Change the Loss

arXiv 2508.09654 ↗First posted 13 Aug 2025cs.CL cs.LGcited by 7

Not on the map. Why?

Abstract (arXiv)

Increasing diversity in language models is a challenging yet essential objective. A common approach is to raise the decoding temperature. In this work, we investigate this approach through a simplistic yet common case to provide insights into why decreasing temperature can improve quality (Precision), while increasing it often fails to boost coverage (Recall). Our analysis reveals that for a model to be effectively tunable through temperature adjustments, it must be trained toward coverage. To address this, we propose rethinking loss functions in language models by leveraging the Precision-Recall framework. Our results demonstrate that this approach achieves a substantially better trade-off between Precision and Recall than merely combining negative log-likelihood training with temperature scaling. These findings offer a pathway toward more versatile and robust language modeling techniques.

Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 26 of its 38 references that are in the map. First posted on arXiv 13 Aug 2025.

Builds on

26 of 38 references.

References · 26

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  2. 2019The Curious Case of Neural Text Degenerationcited by 2,916
  3. 2018Large Scale GAN Training for High Fidelity Natural Image Synthesiscited by 2,626
  4. 2023Consistency Modelscited by 1,822
  5. 2022Competition-Level Code Generation with AlphaCodecited by 1,462
  6. 2018Hierarchical Neural Story Generationcited by 1,193
  7. 2019Improved Precision and Recall Metric for Assessing Generative Modelscited by 944
  8. 2018Texygen: A Benchmarking Platform for Text Generation Modelscited by 491
  9. 2021MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontierscited by 470
  10. 2018Assessing Generative Models via Precision and Recallcited by 406
  11. 2023Understanding the Effects of RLHF on LLM Generalisation and Diversitycited by 396
  12. 2022The Vendi Score: A Diversity Evaluation Metric for Machine Learningcited by 311
14 more
  1. 2015A note on the evaluation of generative modelscited by 292
  2. 2023Beyond Reverse KL: Generalizing Direct Preference Optimization with Diverse Divergence Constraintscited by 174
  3. 2024RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learningcited by 151
  4. 2023Aligning Language Models with Preferences through f-divergence Minimizationcited by 120
  5. 2024Is Temperature the Creativity Parameter of Large Language Models?cited by 93
  6. 2020Improved Natural Language Generation via Loss Truncationcited by 75
  7. 2017Generating High-Quality and Informative Conversation Responses with Sequence-to-Sequence Modelscited by 42
  8. 2024Exploring Precision and Recall to assess the quality and diversity of LLMscited by 29
  9. 2024What Makes Large Language Models Reason in (Multi-Turn) Code Generation?cited by 29
  10. 2023Tailoring Language Generation Models under Total Variation Distancecited by 27
  11. 2024Inverse-RLignment: Large Language Model Alignment from Demonstrations through Inverse Reinforcement Learningcited by 27
  12. 2024Arrows of Time for Large Language Modelscited by 20
  13. 2023Precision-Recall Divergence Optimization for Generative Modeling with GANs and Normalizing Flowscited by 9
  14. 2023Optimal Budgeted Rejection Sampling for Generative Modelscited by 5

Built on by

Cited by year (2026 to 14 Oct)

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

7 papers.