Conflict-Aware Soft Prompting for Retrieval-Augmented Generation

Eunseong Choi, June Park, Hyeri Lee, Jongwuk Lee
8/21/2025
cs.CLcs.AI

No official code found. Best implementation: eunseongc/CARE (19 stars, last commit 2025-11-13).

Abstract

Retrieval-augmented generation (RAG) enhances the capabilities of large language models (LLMs) by incorporating external knowledge into their input prompts. However, when the retrieved context contradicts the LLM's parametric knowledge, it often fails to resolve the conflict between incorrect external context and correct parametric knowledge, known as context-memory conflict. To tackle this problem, we introduce Conflict-Aware REtrieval-Augmented Generation (CARE), consisting of a context assessor and a base LLM. The context assessor encodes compact memory token embeddings from raw context tokens. Through grounded/adversarial soft prompting, the context assessor is trained to discern unreliable context and capture a guidance signal that directs reasoning toward the more reliable knowledge source. Extensive experiments show that CARE effectively mitigates context-memory conflicts, leading to an average performance gain of 5.0\% on QA and fact-checking benchmarks, establishing a promising direction for trustworthy and adaptive RAG systems.

View on arXivView PDF

Code Implementations(1)

eunseongc/CARECommunity62%

Official repository for "Conflict-Aware Soft Prompting for Retrieval-Augmented Generation" (EMNLP 2025)

192Shell, PythonAug 21, 202511 months ago

Similar Papers

Cite this paper

@article{choi2025conflictaware,
  title  = {Conflict-Aware Soft Prompting for Retrieval-Augmented Generation},
  author = {Eunseong Choi and June Park and Hyeri Lee and Jongwuk Lee},
  year   = {2025},
  eprint = {2508.15253},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.15253v2}
}

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/2508.15253.svg)](https://codeofpaper.com/paper/2508.15253)

Discussion