Phantom: General Trigger Attacks on Retrieval Augmented Language Generation
Harsh ChaudhariGSGiorgio SeveriJohn AbascalMatthew Jagielski
Christopher A. Choquette-ChooMilad Nasr
Cristina Nita-Rotaru
Alina Oprea Harsh Chaudhari
GSGiorgio Severi
John Abascal
Matthew Jagielski

Christopher A. Choquette-Choo
Milad Nasr

Cristina Nita-Rotaru

Alina Oprea
+8
Phantom is a general two-stage optimization framework for backdoor poisoning attacks on Retrieval Augmented Generation (RAG) systems. An adversary injects a single malicious document crafted to be retrieved only when a specific trigger token sequence appears in the victim's query, then optimizes the document with adversarial text to induce harmful LLM outputs, including refusals, reputation damage, privacy violations, and harmful behaviors. Attacks are demonstrated on Gemma, Vicuna, and Llama, transfer to GPT-3.5 Turbo and GPT-4, and succeed against NVIDIA's production RAG system "Chat with RTX."

OpenReview · September 26, 2024