Reproduce “ReliabilityRAG: Effective and Provably Robust Defense for RAG-based Web-Search” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Zeyu Shen, Basileal Imana, Tong Wu, Chong Xiang, Prateek Mittal, Aleksandra Korolova

ReliabilityRAG introduces a framework to enhance the adversarial robustness of RAG-based web search by explicitly leveraging document reliability signals like ranking. It achieves superior defense against prompt injection and corpus poisoning while maintaining high performance across diverse generation tasks and offering provable robustness guarantees.

Key insights

  • Explicitly leveraging built-in reliability signals, such as document ranking from search engines, offers a powerful and complementary layer of defense against RAG system attacks.
  • A graph-theoretic approach using Maximum Independent Sets, combined with NLI-based contradiction detection, effectively identifies consistent and trustworthy information from a potentially compromised document set.
  • A weighted sample and aggregate framework can scale reliability-aware robustness to larger retrieval contexts, providing high-probability guarantees of selecting clean information while maintaining computational efficiency.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.