mlsanityData to 14 Oct 2026

Explaining and Improving Contrastive Decoding by Extrapolating the Probabilities of a Huge and Hypothetical LM

arXiv 2411.01610 ↗First posted 3 Nov 2024cs.CLcited by 11

Not on the map. Why?

Abstract (arXiv)

Contrastive decoding (CD) (Li et al., 2023) improves the next-token distribution of a large expert language model (LM) using a small amateur LM. Although CD is applied to various LMs and domains to enhance open-ended text generation, it is still unclear why CD often works well, when it could fail, and how we can make it better. To deepen our understanding of CD, we first theoretically prove that CD could be viewed as linearly extrapolating the next-token logits from a huge and hypothetical LM. We also highlight that the linear extrapolation could make CD unable to output the most obvious answers that have already been assigned high probabilities by the amateur LM. To overcome CD's limitation, we propose a new unsupervised decoding method called Asymptotic Probability Decoding (APD). APD explicitly extrapolates the probability curves from the LMs of different sizes to infer the asymptotic probabilities from an infinitely large LM without inducing more inference costs than CD. In FactualityPrompts, an open-ended text generation benchmark, sampling using APD significantly boosts factuality in comparison to the CD sampling and its variants, and achieves state-of-the-art results for Pythia 6.9B and OPT 6.7B. Furthermore, in five commonsense QA datasets, APD is often significantly better than CD and achieves a similar effect of using a larger LLM. For example, the perplexity of APD on top of Pythia 6.9B is even lower than the perplexity of Pythia 12B in CommonsenseQA and LAMBADA.

Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Builds on 33 of its 48 references that are in the map. First posted on arXiv 3 Nov 2024.

Builds on

33 of 48 references.

References · 33

  1. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  4. 2020Scaling Laws for Neural Language Modelscited by 6,586
  5. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  6. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
  7. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
  8. 2016Gaussian Error Linear Units (GELUs)cited by 3,502
  9. 2019The Curious Case of Neural Text Degenerationcited by 2,916
  10. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,998
  11. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
  12. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
21 more
  1. 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,254
  2. 2018Hierarchical Neural Story Generationcited by 1,193
  3. 2015A Diversity-Promoting Objective Function for Neural Conversation Modelscited by 1,077
  4. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
  5. 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 609
  6. 2019Quantifying the Carbon Emissions of Machine Learningcited by 521
  7. 2021MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontierscited by 470
  8. 2021DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Expertscited by 441
  9. 2023Trusting Your Evidence: Hallucinate Less with Context-aware Decodingcited by 327
  10. 2019QASC: A Dataset for Question Answering via Sentence Compositioncited by 252
  11. 2018Plan-And-Write: Towards Better Automatic Storytellingcited by 234
  12. 2022Factuality Enhanced Language Models for Open-Ended Text Generationcited by 202
  13. 2017Controlling Linguistic Style Aspects in Neural Language Generationcited by 149
  14. 2024Observational Scaling Laws and the Predictability of Language Model Performancecited by 130
  15. 2023Stay on topic with Classifier-Free Guidancecited by 91
  16. 2023Alleviating Hallucinations of Large Language Models through Induced Hallucinationscited by 79
  17. 2024Contrastive Region Guidance: Improving Grounding in Vision-Language Models without Trainingcited by 64
  18. 2024Model Extrapolation Expedites Alignmentcited by 37
  19. 2017End-to-End Learning for Structured Prediction Energy Networkscited by 33
  20. 2023A Frustratingly Simple Decoding Method for Neural Text Generationcited by 16
  21. 2024REAL Sampling: Boosting Factuality and Diversity of Open-Ended Generation via Asymptotic Entropycited by 11

Built on by

Cited by year (2026 to 14 Oct)

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

11 papers.