Research map / Large language models / Retrieval and knowledge
Enhancing Contextual Understanding in Large Language Models through Contrastive Decoding
Zheng Zhao, Emilio Monti, Jens Lehmann, Haytham Assem
University of Edinburgh · Amazon
Read the paperPlace an idea next to itCheck your own paper ↗
12measured effects
7improved
1no clear effect
3hurt
1mixed
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add contrastive decoding with irrelevant context (dynamic alpha) vs regular open-book decoding | Flan-T5 11B · NQ / TriviaQA / PopQA | exact match: 57.84 -> 63.16 (NQ), 79.36 -> 80.09 (TQA), 31.16 -> 34.64 (PopQA) | Improved |
| add contrastive decoding with irrelevant context (best of fixed/dynamic) vs regular open-book | Llama-2 70B · NQ / TriviaQA / PopQA | exact match: 56.07 -> 58.86 (NQ), 76.07 -> 81.7 (TQA), 42.7 -> 44.3 (PopQA) | Improved |
| use our method instead of CAD (context-aware decoding) | Falcon 40B / OPT 66B / Llama 65B · TriviaQA | exact match: CAD 20.72 / 24.51 / 24.51 vs Ours-D 80.73 / 63.89 / 80.28 | Improved |
| dynamic alpha instead of fixed alpha (ablation) | Ours · NQ / TQA / PopQA, several models | exact match: Falcon 40B NQ 53.77 (F) vs 50.53 (D); Flan-T5 NQ 59.58 (F) vs 63.16 (D) | Mixed |
| choose irrelevant context as the passage most distant from relevant context vs random (ablation) | Ours (Llama-2 70B) · NQ | exact match: 56.74 -> 58.86 | Improved |
| use a fixed adversarial irrelevant context instead of most distant (ablation) | Ours (Llama-2 70B) · NQ | exact match: 58.86 -> 57.95 | Hurt |
| add open-book retrieval context vs closed-book (regular decoding) | Llama 65B / Llama-2 70B · TriviaQA | exact match: 75.72 -> 74.76 (Llama 65B), 79.69 -> 76.07 (Llama-2 70B) | Hurt |
| use our method with fixed alpha vs regular decoding (ablation) | Llama models · PopQA | exact match | No clear effect |
| increase alpha above 1.0 (ablation) | Ours (Llama) · NQ / TriviaQA | exact match | Hurt |
| add our decoding on knowledge-conflict questions | Llama-2 70B · NQ-SUB | exact match: 57.63 -> 58.34 (vs 53.23 CAD) | Improved |
| use our method instead of CAD | Llama 65B · NQ-SUB | exact match: 60.41 -> 61.65 | Improved |
| use Contriever instead of BM25 retrieval (ablation) | Ours · PopQA | exact match | Improved |
Open problems in knowledge editing in LLMs
Do knowledge editing and factuality methods hold up on larger models, closed models and real-world editing?
- Experiments stay on small or mid-sized models. · 24 papers state it
- Needs logits or internal access, so closed models are out. · 12 papers state it
- Tested on short factual answers, not reasoning or long text. · 10 papers state it
Closest papers by meaning
- Adaptive Contrastive Decoding in Retrieval-Augmented Generation for Handling Noisy Contexts (EMNLP 2024 · similarity 0.93)
- Supervised Knowledge Makes Large Language Models Better In-context Learners (ICLR 2024 · similarity 0.92)
- Exploiting Contextual Knowledge in LLMs through V-usable Information based Layer Enhancement (ACL 2025 · similarity 0.91)
- Context Quality Matters in Training Fusion-in-Decoder for Extractive Open-Domain Question Answering (EMNLP 2023 · similarity 0.91)
- When to Speak, When to Abstain: Contrastive Decoding with Abstention (ACL 2025 · similarity 0.90)
- Generative Adapter: Contextualizing Language Models in Parameters with A Single Forward Pass (ICLR 2025 · similarity 0.89)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.