Hugging Face Trending Papers

Reliability Stress Testing of RAG Retrieval under Query-Relevant Corpus Poisoning

Hugging Face Trending Papers
Nov 2

SearchInject: Retrieval Exposure Control for Indirect Prompt Injection in Language-Model Search

SearchInject is a method that controls whether a search-augmented large language model should expose a retrieved page to the model’s context, using a joint score that combines retrieval relevance, search-abuse cues, instruction likelihood, and relevance interactions. The approach was calibrated on a split with a 0.5% false-quarantine constraint and evaluated on 300 held-out SciFact queries, showing that top‑10 target exposure dropped from 0.94 to 0.16 for BM25, 0.92 to 0.15 for a normalized hybrid, and 0.85 to 0.14 for latent semantic analysis—reductions of 83.2–83.7%. While the frozen threshold achieved clean false‑quarantine rates of 0.59–0.65%, a follow‑up generation study found no confirmed hijacks, leaving the absolute benefit of interaction terms unresolved.

arXiv AI
Aug 28

TriShieldRAG: 3 Rings, One Blind Spot in Layered Defenses for Retrieval-Augmented Generation

TriShieldRAG introduces a three‑layered defense for Retrieval‑Augmented Generation: an Ingest Guard that screens documents, a Retrieval Scorer that re‑ranks based on trust, and a Cross‑LLM Consensus that validates evidence across three models. Against the original PoisonedRAG attack on the 2.68M‑passage Natural Questions corpus, the framework reduces attack success from about 79% to 1%. However, adaptive attacks that only alter document formatting can bypass the Ingest Guard and still achieve high success rates, revealing limits of layered defenses that rely on the same retrieved evidence.

By Susil Kumar Mohanty, Rohit Patel, Kosuru Yuvaraj, Jeenal Chaudhary, Disha Singhania
arXiv Computation and Language
Oct 23

The Fusion Tax: A Diagnostic Analysis of When Hybrid Retrieval Hurts

The paper investigates the costs of hybrid retrieval—combining a sparse lexical retriever with a dense neural one—across seven BEIR datasets and multiple fusion strategies. It finds that even the best fusion method can rank relevant documents worse than either component alone on a substantial fraction of queries, a phenomenon dubbed the "fusion tax." The tax is largely a ranking effect that preserves overall recall but harms individual query performance, especially when only one retriever covers a query.

By Aaditya Chauhan, Arun Agarwal
arXiv Computation and Language
Sep 11

RAG-Safety-Bench: Reliable Evaluation of Retrieval-Augmented LLM Safety

RAG-Safety-Bench is a benchmark designed to evaluate how retrieval-augmented generation (RAG) affects the safety of large language models (LLMs). It isolates safety impacts by testing four conditions: non-RAG, RAG with an oracle document, RAG with related but non-answer documents, and RAG with random safe documents. Results on five open-source LLMs reveal an inverse relationship between benign and unsafe capabilities, show that baseline safety guardrails do not guarantee safety in RAG, and confirm that even benign documents can trigger unsafe generation.

By Adithiyan Rajan Indira Saravanan, Kathleen C. Fraser
Hugging Face Trending Papers
Sep 10

RAG-Safety-Bench: Reliable Evaluation of Retrieval-Augmented LLM Safety

RAG-Safety-Bench is a benchmark designed to evaluate how retrieval-augmented generation (RAG) affects the safety of large language models (LLMs). It isolates safety impacts by testing four conditions: non-RAG, RAG with an oracle document, RAG with related but non-answer documents, and RAG with random safe documents. Results on five open-source LLMs reveal an inverse relationship between benign and unsafe capabilities, show that standard safety guardrails do not guarantee safety in RAG, and confirm that even benign documents can trigger unsafe outputs.