Mitigating Knowledge Conflicts in Retrieval-Augmented Generation via Inference-Time Representation Editing
Dahyun Jung, Jaehyung Seo, Heuiseok Lim
NeurIPS page · Open on the map
Category: LLM Reasoning, Memory & RAG › Retrieval-Augmented Generation · Type: new method · Keywords: knowledge conflict mitigation, retrieval-augmented generation, LLM robustness, inference-time editing, question answering
Areas: Retrieval-Augmented Generation › Retrieval-Augmented Generation › Retrieval-augmented generation
Summary
CARE is an inference-time representation editing method that mitigates knowledge conflicts in Retrieval-Augmented Generation, improving LLM robustness especially under noisy retrieval conditions.
Explained to a 5-year-old
Some computers (LLMs) try to answer questions by using both what they already know and what they look up. Sometimes the looked-up information disagrees with what they know, making them give wrong answers. The problem gets worse when the looked-up information is messy or contains errors. The researchers found a way to notice when this disagreement happens and gently push the computer’s thinking in the right direction. This helps the computer give more correct answers, especially when the looked-up info is noisy.
Explained to a 5-year-old, longer
Large language models are computer programs that can talk and answer questions. They can look up extra facts from the internet to help them answer. Sometimes the facts they look up do not match what they already know inside them. When this happens, the model may say something that is not true, which we call a hallucination. The problem becomes bigger when the information they look up is noisy or contains mistakes. Researchers noticed that this conflict between inside knowledge and outside knowledge is a big issue for reliable answers. They studied how the model’s internal thinking changes when it makes correct or wrong answers. They discovered a special direction in the model’s thinking that points toward fixing the conflict. By using this direction during answering, they can gently adjust the model’s thoughts to reduce the disagreement. This adjustment helps the model choose the right answer even when the outside information is messy. The new technique works on many different question-answering tasks and with different language models. As a result, the model becomes more trustworthy and less likely to make up false information.
For a technical reader
Retrieval-augmented generation (RAG) pipelines combine a language model’s internal knowledge with facts retrieved from external sources to improve answer accuracy. When the retrieved facts conflict with the model’s parametric knowledge-especially under noisy retrieval-the model can produce hallucinations. The paper introduces an inference-time editing technique that learns a latent direction from representations of correct versus incorrect generations and applies this direction to suppress conflict-related activation patterns. Experiments across multiple QA benchmarks and different LLMs show consistent gains over baseline RAG and existing conflict-mitigation methods, particularly in noisy conditions. This approach provides a lightweight, post-hoc way to enhance the reliability of RAG systems without requiring full model retraining.
Problem
When using Retrieval-Augmented Generation, conflicts can arise between retrieved external knowledge and the model's internal knowledge, leading to hallucinations, particularly when retrieved documents contain noise.
Method
The approach learns a latent editing direction from intermediate representations that correspond to correct and incorrect generations, and applies this direction during inference to reduce conflict-associated activation patterns.
Results
The approach demonstrates improvements over baseline methods on QA benchmarks, particularly in noisy retrieval settings.
Contributions
It introduces a conflict-aware editing mechanism that leverages latent directions from model representations to mitigate knowledge conflicts, and provides empirical evidence of its effectiveness across multiple LLMs and QA tasks.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction