Reranker Helps, but Not Enough: Towards Strong Poisoning Attacks Against Retrieval-Augmented Generation
Abstract
Lay Summary
Many modern question-answering systems improve their answers by first searching external documents and then using the retrieved information to respond. This makes them more useful and up to date, but it also creates a security risk: an attacker may insert misleading documents into the searchable collection so that the system gives a chosen wrong answer. This paper studies a more realistic version of this threat, where the system also includes an extra step that reorders retrieved documents to keep the most relevant ones. We find that this reordering step can strongly reduce the effectiveness of previous attacks. To better test the safety of such systems, we propose a new attack method that writes convincing misleading documents. It makes very small text changes to help these documents pass the reordering step while remaining readable. Across several datasets, language models, and reordering models, the method is more effective than existing attacks and can remain dangerous even when only one malicious document is inserted. These results show that current defenses are not sufficient and that more careful security testing is needed before such systems are deployed.