Lune

EMNLP Findings2024

Adaptive Contrastive Search: Uncertainty-Guided Decoding for Open-Ended Text Generation

Esteban Garces Arias, Julian Rodemann, Meimingwei Li, Christian Heumann, Matthias Aßenmacher

Abstract

Despite the remarkable capabilities of large language models, generating high-quality text remains a challenging task. Numerous decoding strategies-such as beam search, sampling with temperature, top-k sampling, nucleus (top-p) sampling, typical decoding, contrastive decoding, and contrastive search-have been proposed to address these challenges by improving coherence, diversity, and resemblance to human-generated text. In this study, we introduce Adaptive Contrastive Search (ACS), a novel decoding strategy that extends contrastive search (CS) by incorporating an adaptive degeneration penalty informed by the model's estimated uncertainty at each generation step. ACS aims to enhance creativity and diversity while maintaining coherence to produce high-quality outputs. Extensive experiments across various model architectures, languages, and datasets demonstrate that our approach improves both creativity and coherence, underscoring its effectiveness in text-generation tasks. We release our code, datasets, and models to facilitate further research.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

11 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Contrastive Decoding: Open-ended Text Generation as Optimization cites MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontiers
  • Contrastive Decoding: Open-ended Text Generation as Optimization cites A Contrastive Framework for Neural Text Generation
  • Contrastive Decoding: Open-ended Text Generation as Optimization cites The Curious Case of Neural Text Degeneration
  • Digitizing Nepal's Written Heritage: A Comprehensive HTR Pipeline for Old Nepali Manuscripts cites Min-k Sampling: Decoupling Truncation from Temperature Scaling via Relative Logit Dynamics
  • Digitizing Nepal's Written Heritage: A Comprehensive HTR Pipeline for Old Nepali Manuscripts cites A Contrastive Framework for Neural Text Generation
  • Digitizing Nepal's Written Heritage: A Comprehensive HTR Pipeline for Old Nepali Manuscripts cites The Curious Case of Neural Text Degeneration
  • MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontiers cites The Curious Case of Neural Text Degeneration
  • Min-k Sampling: Decoupling Truncation from Temperature Scaling via Relative Logit Dynamics cites The Curious Case of Neural Text Degeneration
  • Don't Throw Away Your Beams: Improving Consistency-based Uncertainties in LLMs via Beam Search cites The Curious Case of Neural Text Degeneration
  • A Contrastive Framework for Neural Text Generation cites MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontiers
  • A Contrastive Framework for Neural Text Generation cites The Curious Case of Neural Text Degeneration
  • Sample Smart, Not Hard: Correctness-First Decoding for Better Reasoning in LLMs cites The Curious Case of Neural Text Degeneration
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers11

  1. Enhancing Vision-Language Model Reliability with Uncertainty-Guided Dropout DecodingYixiong Fang, Ziran Yang, Zhaorun Chen, Zhuokai Zhao et al.NeurIPS 2025 · 21 citations
  2. Sample Smart, Not Hard: Correctness-First Decoding for Better Reasoning in LLMsXueyan Li, Guinan Su, Mrinmaya Sachan, Jonas GeipingICLR 2026 · 5 citations
  3. Min-k Sampling: Decoupling Truncation from Temperature Scaling via Relative Logit DynamicsYuanhao Ding, Meimingwei Li, Esteban Garces Arias, Matthias Aßenmacher et al.ACL 2026 · 4 citations
  4. Don't Throw Away Your Beams: Improving Consistency-based Uncertainties in LLMs via Beam SearchEkaterina Fadeeva, Maiya Goloburda, Aleksandr Rubashevskii, Roman Vashurin et al.ICLR 2026 · 4 citations
  5. Digitizing Nepal's Written Heritage: A Comprehensive HTR Pipeline for Old Nepali ManuscriptsAnjali Sarawgi, Esteban Garces Arias, Christof ZotterACL 2026 · 2 citations

Builds on4

  1. The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes et al.ICLR 2020 · 4,112 citations
  2. MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence FrontiersKrishna Pillutla, Swabha Swayamdipta, Rowan Zellers, John Thickstun et al.NeurIPS 2021 · 606 citations
  3. A Contrastive Framework for Neural Text GenerationYixuan Su, Tian Lan, Yan Wang, Dani Yogatama et al.NeurIPS 2022 · 349 citations
  4. Contrastive Decoding: Open-ended Text Generation as OptimizationXiang Lisa Li, Ari Holtzman, Daniel Fried, Percy Liang et al.ACL 2023 · 78 citations

Related papers

  1. Decoding Uncertainty: The Impact of Decoding Strategies for Uncertainty Estimation in Large Language ModelsWataru Hashimoto, Hidetaka Kamigaito, Taro WatanabeEMNLP Findings 2025 · 2 citations
  2. Uncertainty-Aware Contrastive DecodingHakyung Lee, Subeen Park, Joowang Kim, Sungjun Lim et al.ACL Findings 2025
  3. Top-H Decoding: Adapting the Creativity and Coherence with Bounded Entropy in Text GenerationErfan Baghaei Potraghloo, Seyedarmin Azizi, Souvik Kundu, Massoud PedramNeurIPS 2025 · 13 citations
  4. Entropy-informed Decoding: Adaptive Information-Driven BranchingBenjamin Patrick Evans, Sumitra Ganesh, Leo ArdonICML 2026
  5. Adaptive Contrastive Decoding in Retrieval-Augmented Generation for Handling Noisy ContextsYouna Kim, Hyuhng Joon Kim, Cheonbok Park, Choonghyun Park et al.EMNLP Findings 2024 · 6 citations
Dusk over the sea between two cliffs drawn in fine vertical lines