Retrieval-Augmented Generation with Estimation of Source Reliability

Jeongyeon Hwang, Junyoung Park, Hyejin Park, Dongwoo Kim, Sangdon Park, Jungseul Ok

TL;DR

RA-RAG (Reliability-Aware Retrieval-Augmented Generation) is a new framework that protects LLMs from misinformation by automatically estimating the reliability of different information sources. By cross-checking data across sources and using weighted majority voting, it prioritizes trustworthy information over "relevant but wrong" documents, maintaining high accuracy even when the majority of retrieved data is false.

What Problem Does This Paper Address?

Retrieval-Augmented Generation (RAG) is the current gold standard for giving LLMs access to up-to-date, external knowledge. However, standard RAG has a "blind spot": it retrieves documents based solely on relevance—how well a text matches a query—rather than reliability.

In the wild, the internet is full of conflicting information, AI-generated spam, and intentional misinformation. A malicious source can easily craft a document that is highly relevant to a query but factually incorrect (e.g., claiming "5G networks cause COVID-19"). Standard RAG systems will happily retrieve this "relevant" misinformation and use it to generate a false answer. Existing solutions often assume that most retrieved documents are trustworthy, a dangerous assumption in an increasingly noisy information landscape.

Methods

The authors introduce RA-RAG, which moves beyond simple relevance to incorporate source-level trustworthiness. The framework operates in two main phases:

  1. Iterative Reliability Estimation: Before deployment, the system estimates the reliability of each source in its database. It generates fact-checking queries and asks the LLM to answer them using documents from each source individually. It then uses an iterative algorithm to see which sources consistently provide answers that align with the "consensus" of other reliable sources.
  2. Filtering (falign): To prevent the LLM from hallucinating when a source has no info, the authors use AlignScore to filter out responses that aren't strictly grounded in the retrieved text.
  3. Semantic Clustering: Since different sources might phrase the same truth differently, the system uses a NLI (Natural Language Inference) model to group semantically identical answers.
  4. $\kappa$-RRSS and Weighted Aggregation: During actual inference, the system doesn't just grab the top-10 most relevant docs. Instead, it uses $\kappa$-Reliable and Relevant Source Selection ($\kappa$-RRSS). It iterates through sources in order of their estimated reliability and picks the first $\kappa$ sources that actually contain relevant information. Finally, it aggregates the answers from these sources using Weighted Majority Voting (WMV), giving more "votes" to the most reliable sources.
Figure 1: Comparison between the standard RAG and RA-RAG. The standard RAG retrieves documents with- out distinguishing sources, leading to the risk of incor- porating incorrect information from unreliable sources (e.g., falsely associating COVID-19 with 5G networks). In contrast, RA-RAG estimates the reliability of each source (denoted by the numbers inside circles) and se- lectively retrieves documents from highly reliable and relevant sources, detailed in Section 4.1. The informa- tion from multiples sources are then aggregated using Weighted Majority Voting (WMV), ensuring a more accurate final answer (e.g., correctly identifying SARS- CoV-2 as the cause of COVID-19).

Datasets

The researchers evaluated RA-RAG using three popular Question-Answering (QA) benchmarks:

  • Natural Questions (NQ)
  • TriviaQA (TQA)
  • HotpotQA

To simulate real-world noise, they constructed a multi-source benchmark by generating both factual and misleading documents for each query. They also tested the system on real-world data by collecting claims from PolitiFact (evaluating two specific politicians) and social media posts from X (formerly Twitter).

Key Insights and Ideas

  • Relevance is not enough: The core "aha moment" is that in a multi-source environment, the source of the information is just as important as the content.
  • Cross-checking as a Signal: You don't need a perfect "ground truth" database to find the truth. By looking at the consensus across many sources and weighting that consensus by reliability, the truth naturally emerges.
  • The "I Don't Know" Problem: LLMs are notorious for trying to answer even when they don't have the info. The paper highlights that robust filtering (replacing misaligned answers with "IDK") is a prerequisite for accurate reliability estimation.
  • Efficiency through Selection: By only consulting the top-$\kappa$ reliable and relevant sources, the system avoids the massive computational cost of querying every single source in a large database.

Key Results

  • Superior Robustness: RA-RAG consistently outperformed baselines like Vanilla RAG and Self-RAG. In adversarial scenarios where many sources were malicious, RA-RAG maintained high accuracy while standard Majority Voting (MV) crashed.
  • Near-Oracle Performance: The system's accuracy was remarkably close to an "Oracle" setup that had perfect, pre-existing knowledge of every source's reliability.
  • Massive Scalability: In tests with 1,000 sources, the $\kappa$-RRSS method reduced token consumption by 99.1% compared to checking every source, without significant loss in accuracy.
  • Real-World Accuracy: When applied to real-world figures, the system's estimated reliability scores closely matched actual fact-checking verdicts (e.g., correctly identifying a lower reliability for a social media user compared to established news sources).
Figure 2: Accuracy performance on NQ and TQA datasets. (a) Results with heterogeneous reliability via beta priors for varying sources (4 to 9) across the Llama3-8B-Instruct and GPT-4o-mini models. See Appendix E.1 on the HotpotQA dataset and Phi3-mini-Instruct model. (b) Results with adversarial setting via adversary-hammer prior for varying adversaries (1 to 7) with Llama3-8B-Instruct model, highlighting overall trends. Exact values, which may overlap significantly, are provided in Appendix A4 with HotpotQA results.

Limitations and Future Work

  • Specialized Knowledge: The cross-checking method struggles with highly niche or specialized topics where there aren't enough independent sources to establish a consensus.
  • Static Reliability: The current framework estimates reliability in an "offline" preprocessing step. If a reliable source is hacked or suddenly changes its behavior, the system won't notice until the next update.
  • Future Directions: The authors suggest developing online frameworks that can update reliability estimates in real-time and exploring the use of expert knowledge to supplement the cross-verification process.

Summary updated

BibTeX
@inproceedings{hwang2025retrieval,
  author = {Jeongyeon Hwang and Junyoung Park and Hyejin Park and Dongwoo Kim and Sangdon Park and Jungseul Ok},
  title = {{Retrieval-Augmented Generation with Estimation of Source Reliability}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2025},
  url = {https://openreview.net/forum?id=jQzMnJVVWp},
}
Figure