mlsanityData to 14 Oct 2026

When to Speak, When to Abstain: Contrastive Decoding with Abstention

arXiv 2412.12527 ↗First posted 17 Dec 2024cs.CLcited by 8

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) demonstrate exceptional performance across diverse tasks by leveraging pre-trained (i.e., parametric) and external (i.e., contextual) knowledge. While substantial efforts have been made to enhance the utilization of both forms of knowledge, situations in which models lack relevant information remain underexplored. To investigate this challenge, we first present a controlled testbed featuring four distinct knowledge access scenarios, including the aforementioned edge case, revealing that conventional LLM usage exhibits insufficient robustness in handling all instances. Addressing this limitation, we propose Contrastive Decoding with Abstention (CDA), a novel training-free decoding method that allows LLMs to generate responses when relevant knowledge is available and to abstain otherwise. CDA estimates the relevance of both knowledge sources for a given input, adaptively deciding which type of information to prioritize and which to exclude. Through extensive experiments, we demonstrate that CDA can effectively perform accurate generation and abstention simultaneously, enhancing reliability and preserving user trust.

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 46 of its 75 references that are in the map. First posted on arXiv 17 Dec 2024.

Builds on

46 of 75 references.

References · 46

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2024The Llama 3 Herd of Modelscited by 14,715
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  5. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  6. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  7. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  8. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
  9. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  10. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  11. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
  12. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
34 more
  1. 2022Language Models (Mostly) Know What They Knowcited by 1,856
  2. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
  3. 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,216
  4. 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,128
  5. 2020A Review of Uncertainty Quantification in Deep Learning: Techniques, Applications and Challengescited by 819
  6. 2023Aligning Large Multimodal Models with Factually Augmented RLHFcited by 712
  7. 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 609
  8. 2022Large Language Models Struggle to Learn Long-Tail Knowledgecited by 458
  9. 2021DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Expertscited by 441
  10. 2020AmbigQA: Answering Ambiguous Open-domain Questionscited by 390
  11. 2019Social Bias Frames: Reasoning about Social and Power Implications of Languagecited by 380
  12. 2021Entity-Based Knowledge Conflicts in Question Answeringcited by 356
  13. 2023Trusting Your Evidence: Hallucinate Less with Context-aware Decodingcited by 327
  14. 2021Surface Form Competition: Why the Highest Probability Answer Isn't Always Rightcited by 263
  15. 2023From Pretraining Data to Language Models to Downstream Tasks: Tracking the Trails of Political Biases Leading to Unfair NLP Modelscited by 260
  16. 2022RealTime QA: What's the Answer Right Now?cited by 244
  17. 2020Selective Question Answering under Domain Shiftcited by 238
  18. 2019MRQA 2019 Shared Task: Evaluating Generalization in Reading Comprehensioncited by 184
  19. 2024Don't Hallucinate, Abstain: Identifying LLM Knowledge Gaps via Multi-LLM Collaborationcited by 180
  20. 2022Rich Knowledge Sources Bring Complex Knowledge Conflicts: Recalibrating Models to Reflect Conflicting Evidencecited by 144
  21. 2023Crawling the Internal Knowledge-Base of Language Modelscited by 85
  22. 2024ToolSword: Unveiling Safety Issues of Large Language Models in Tool Learning Across Three Stagescited by 82
  23. 2023The Art of Defending: A Systematic Evaluation and Analysis of LLM Defense Strategies on Safety and Over-Defensivenesscited by 67
  24. 2024Rejection Improves Reliability: Training LLMs to Refuse Unknown Questions Using RL from Knowledge Feedbackcited by 66
  25. 2023Knowledge of Knowledge: Exploring Known-Unknowns Uncertainty with Large Language Modelscited by 61
  26. 2024Aligning Language Models to Explicitly Handle Ambiguitycited by 56
  27. 2024Enhancing Contextual Understanding in Large Language Models through Contrastive Decodingcited by 49
  28. 2024Distinguishing the Knowable from the Unknowable with Language Modelscited by 47
  29. 2024On Large Language Models' Hallucination with Regard to Known Factscited by 43
  30. 2024Selective "Selective Prediction": Reducing Unnecessary Abstention in Vision-Language Reasoningcited by 40
  31. 2024I Don't Know: Explicit Modeling of Uncertainty with an [IDK] Tokencited by 26
  32. 2024Adaptive Contrastive Decoding in Retrieval-Augmented Generation for Handling Noisy Contextscited by 19
  33. 2024Epistemology of Language Models: Do Language Models Have Holistic Knowledge?cited by 9
  34. 2024Prompt-Based Bias Calibration for Better Zero/Few-Shot Learning of Language Modelscited by 8

Built on by

Cited by year (2026 to 14 Oct)

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

8 papers.