scimeatlas

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

NAACL 2024Large language models › Retrieval and knowledgeapproach: Knowledge editing in LLMsopen problems in this approach94 citations (OpenAlex)

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 changedWhereMeasuredEffect
add contrastive decoding with irrelevant context (dynamic alpha) vs regular open-book decodingFlan-T5 11B · NQ / TriviaQA / PopQAexact 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-bookLlama-2 70B · NQ / TriviaQA / PopQAexact 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 · TriviaQAexact match: CAD 20.72 / 24.51 / 24.51 vs Ours-D 80.73 / 63.89 / 80.28Improved
dynamic alpha instead of fixed alpha (ablation)Ours · NQ / TQA / PopQA, several modelsexact 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) · NQexact match: 56.74 -> 58.86Improved
use a fixed adversarial irrelevant context instead of most distant (ablation)Ours (Llama-2 70B) · NQexact match: 58.86 -> 57.95Hurt
add open-book retrieval context vs closed-book (regular decoding)Llama 65B / Llama-2 70B · TriviaQAexact 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 · PopQAexact matchNo clear effect
increase alpha above 1.0 (ablation)Ours (Llama) · NQ / TriviaQAexact matchHurt
add our decoding on knowledge-conflict questionsLlama-2 70B · NQ-SUBexact match: 57.63 -> 58.34 (vs 53.23 CAD)Improved
use our method instead of CADLlama 65B · NQ-SUBexact match: 60.41 -> 61.65Improved
use Contriever instead of BM25 retrieval (ablation)Ours · PopQAexact matchImproved

Open problems in knowledge editing in LLMs

Do knowledge editing and factuality methods hold up on larger models, closed models and real-world editing?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy