Skip to content

Detecting word-substitution poisoning in RAG knowledge bases using relative entropy and runtime verificationDetecting Word-Substitution Poisoning of a RAG Knowledge Base with Relative Entropy and Runtime Verification

arXiv: 其他 AI 安全论文· arXiv:2611.27410· Ali Yousefi, Nikos Komninos, Hafizul Asad·Indexed by this site · 12 hr ago· Originally publishedDefenses· Its place in the scan record →
AI summary

The paper studies word-substitution poisoning and detection in RAG knowledge bases. Attackers use PWWS and TextFooler to replace words in existing passages of a cybersecurity RAG system based on MITRE ATT&CK and CAPEC with synonyms, lowering the judged answer accuracy from 0.714 to 0.555 on a reviewed 44-question benchmark; the harm comes mainly from evidence loss and refusals rather than incorrect statements. For detection, the log ratio of relative entropy between a word and its most likely synonym is an effective signal, reaching an AUROC of 0.95 with a small language model as reference, and near random on a control corpus with only formatting changes; used as a retrieval filter, it halves the tampered text reaching the generator, and attackers required to preserve passage probability under a language model fail on all 57 passages they attempt, but filtering cannot restore accuracy because the tampered passages are usually exactly the passages containing the answers.

Read originalarxiv.org