arXiv AI

Detecting Word-Substitution Poisoning of a RAG Knowledge Base with Relative Entropy and Runtime Verification

The paper investigates how a retrieval‑augmented generation (RAG) system can be compromised by an attacker who subtly replaces words in its knowledge base with synonyms, reducing answer accuracy from 0.714 to 0.555 on a 44‑question cybersecurity benchmark. The authors propose a detection method based on relative entropy, specifically the log‑ratio between a word and its most probable synonym, achieving an AUROC of 0.95, and combine it with a runtime monitor that cross‑checks answers against trusted MITRE STIX data, which restores correctness to 0.786. The study reports the effectiveness, costs, and failure cases of each defense strategy.

arXiv Machine Learning
Jul 30

RAGuard: A Layered Defense Framework for Retrieval-Augmented Generation Systems Against Data Poisoning

arXiv:2607. 26339v1 Announce Type: new Abstract: Retrieval-Augmented Generation (RAG) systems ground large language models (LLMs) in external corpora, but this reliance exposes them to corpus poisoning: maliciously injected passages that manipulate retrieved evidence.

By Pushkal Kumar, Tucker Nielson, Tanish Kolhe, Shubham Zala, Vincent Li
arXiv AI
Aug 24

Trustworthy RAG: An Evaluation Agent for Detecting Misinformation and Knowledge Poisoning in Generative AI Systems

The paper introduces Trustworthy RAG, an evaluation agent designed to detect misinformation and knowledge poisoning in Retrieval-Augmented Generation systems. It combines natural language inference verification, a five-signal poison detector, and a weighted Trust Index to assess the reliability of retrieved content. Experiments on multiple LLMs show high accuracy and precision, with the agent effectively blocking unsafe advice in a secure-coding assistant scenario.

By Balkrishna Giri, Md Toufique Hasan, Jussi Rasku, Muhammad Waseem, Pekka Abrahamsson