Lune

ACL Findings2025

Uncertainty-Aware Contrastive Decoding

Hakyung Lee, Subeen Park, Joowang Kim, Sungjun Lim, Kyungwoo Song

摘要

Large language models excel in a wide range of natural language processing tasks, but generating factually accurate and consistent outputs remains a challenge. To improve text reliability, Contrastive Decoding (CD) refines token selection by leveraging differences between an expert and base model, penalizing low-quality token choices. However, CD employs static weighting between models, making it sensitive to variations in model architecture and input characteristics, often resulting in suboptimal token selection and error propagation throughout generation. We propose Uncertainty-Aware Contrastive Decoding (UCD), a method that dynamically adjusts model contributions at each decoding step based on uncertainty. We introduce a cumulative energy function, where uncertainty is quantified as the negative log-sumexp over logits, and decomposed into entropy and expected logit components. This energy serves as a dynamic confidence signal, guiding adaptive model weighting during generation. We demonstrate through extensive experiments that UCD significantly improves factual accuracy and reliability over existing decoding methods. Finally, we provide a theoretical analysis showing that our energy function serves as a well-defined uncertainty metric capturing model confidence. Our code is available at https://github.com/MLAI-Yonsei/UCD.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Measuring Massive Multitask Language Understanding 引用了 Language Models are Few-Shot Learners
  • TruthfulQA: Measuring How Models Mimic Human Falsehoods 引用了 Measuring Massive Multitask Language Understanding
  • Large Language Models are Zero-Shot Reasoners 引用了 Language Models are Few-Shot Learners
  • Don't Throw Away Your Beams: Improving Consistency-based Uncertainties in LLMs via Beam Search 引用了 The Curious Case of Neural Text Degeneration
  • Language Models are Few-Shot Learners 引用了 The Curious Case of Neural Text Degeneration
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper2

  1. Don't Throw Away Your Beams: Improving Consistency-based Uncertainties in LLMs via Beam SearchEkaterina Fadeeva, Maiya Goloburda, Aleksandr Rubashevskii, Roman Vashurin 等ICLR 2026 · 4 次引用
  2. Efficient Low-Resource Language Adaptation via Multi-Source Dynamic Logit FusionChen Zhang, Jiuheng Lin, Zhiyuan Liao, Yansong FengACL 2026

它引用的 Paper15

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. Large Language Models are Zero-Shot ReasonersTakeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo 等NeurIPS 2022 · 8,168 次引用
  3. Measuring Massive Multitask Language UnderstandingDan Hendrycks, Collin Burns, Steven Basart, Andy Zou 等ICLR 2021 · 7,905 次引用
  4. The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes 等ICLR 2020 · 4,112 次引用
  5. TruthfulQA: Measuring How Models Mimic Human FalsehoodsStephanie Lin, Jacob Hilton, Owain EvansACL 2022 · 3,228 次引用

相关 Paper

  1. Alleviating Hallucinations in Large Language Models through Multi-Model Contrastive Decoding and Dynamic Hallucination DetectionChenyu Zhu, Yefeng Liu, Hao Zhang, Aowen Wang 等NeurIPS 2025 · 7 次引用
  2. Active Layer-Contrastive Decoding Reduces Hallucination in Large Language Model GenerationHongxiang Zhang, Hao Chen, Muhao Chen, Tianyi ZhangEMNLP 2025 · 10 次引用
  3. Adaptive Contrastive Search: Uncertainty-Guided Decoding for Open-Ended Text GenerationEsteban Garces Arias, Julian Rodemann, Meimingwei Li, Christian Heumann 等EMNLP Findings 2024 · 3 次引用
  4. Decoding Uncertainty: The Impact of Decoding Strategies for Uncertainty Estimation in Large Language ModelsWataru Hashimoto, Hidetaka Kamigaito, Taro WatanabeEMNLP Findings 2025 · 2 次引用
  5. Leveraging Pretrained Knowledge at Inference Time: LoRA-Gated Contrastive Decoding for Multilingual Factual Language Generation in Adapted LLMsGwangseon Jang, Hongseok Choi, Chanuk Lim, Kyong-Ha Lee 等ICLR 2026
黄昏的海面,两侧是细线勾勒的悬崖