English

CrAM: Credibility-Aware Attention Modification in LLMs for Combating Misinformation in RAG

Computation and Language 2024-12-18 v3

Abstract

Retrieval-Augmented Generation (RAG) can alleviate hallucinations of Large Language Models (LLMs) by referencing external documents. However, the misinformation in external documents may mislead LLMs' generation. To address this issue, we explore the task of "credibility-aware RAG", in which LLMs automatically adjust the influence of retrieved documents based on their credibility scores to counteract misinformation. To this end, we introduce a plug-and-play method named Cr\textbf{Cr}edibility-aware A\textbf{A}ttention M\textbf{M}odification (CrAM). CrAM identifies influential attention heads in LLMs and adjusts their attention weights based on the credibility of the documents, thereby reducing the impact of low-credibility documents. Experiments on Natual Questions and TriviaQA using Llama2-13B, Llama3-8B, and Qwen1.5-7B show that CrAM improves the RAG performance of LLMs against misinformation pollution by over 20%, even surpassing supervised fine-tuning methods.

Keywords

Cite

@article{arxiv.2406.11497,
  title  = {CrAM: Credibility-Aware Attention Modification in LLMs for Combating Misinformation in RAG},
  author = {Boyi Deng and Wenjie Wang and Fengbin Zhu and Qifan Wang and Fuli Feng},
  journal= {arXiv preprint arXiv:2406.11497},
  year   = {2024}
}

Comments

AAAI25 camera-ready

R2 v1 2026-06-28T17:08:35.247Z