Adaptive Contrastive Decoding in Retrieval-Augmented Generation for Handling Noisy Contexts

Youna Kim, Hyuhng Joon Kim, Cheonbok Park, Choonghyun Park, Hyunsoo Cho +4 more
8/2/2024
cs.CL

No official code found. Best implementation: younanna/ACD (4 stars, last commit 2025-02-02).

Abstract

When using large language models (LLMs) in knowledge-intensive tasks, such as open-domain question answering, external context can bridge the gap between external knowledge and the LLMs' parametric knowledge. Recent research has been developed to amplify contextual knowledge over the parametric knowledge of LLMs with contrastive decoding approaches. While these approaches could yield truthful responses when relevant context is provided, they are prone to vulnerabilities when faced with noisy contexts. We extend the scope of previous studies to encompass noisy contexts and propose adaptive contrastive decoding (ACD) to leverage contextual influence effectively. ACD demonstrates improvements in open-domain question answering tasks compared to baselines, especially in robustness by remaining undistracted by noisy contexts in retrieval-augmented generation.

View on arXivView PDF

Code Implementations(1)

younanna/ACDCommunity66%

Implementation of "Adaptive Contrastive Decoding in Retrieval-Augmented Generation for Handling Noisy Contexts" (Findings of EMNLP 2024)

41Shell, PythonJan 21, 20251 years ago

Similar Papers

Cite this paper

@article{kim2024adaptive,
  title  = {Adaptive Contrastive Decoding in Retrieval-Augmented Generation for Handling Noisy Contexts},
  author = {Youna Kim and Hyuhng Joon Kim and Cheonbok Park and Choonghyun Park and Hyunsoo Cho and Junyeob Kim and Kang Min Yoo and Sang-goo Lee and Taeuk Kim},
  year   = {2024},
  eprint = {2408.01084},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.01084v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.01084.svg)](https://codeofpaper.com/paper/2408.01084)

Discussion