Phantom: General Backdoor Attacks on Retrieval Augmented Language Generation
Harsh Chaudhari, Giorgio Severi, John Abascal, Anshuman Suri, Matthew Jagielski, Christopher A. Choquette-Choo, Milad Nasr, Cristina Nita-Rotaru, Alina Oprea

TL;DR
This paper introduces Phantom, a novel backdoor attack on Retrieval Augmented Generation systems that manipulates knowledge bases to cause targeted malicious outputs, demonstrating effectiveness across multiple models and real-world systems.
Contribution
It presents Phantom, a general two-stage optimization framework for backdoor attacks on RAG systems, enabling targeted manipulation of model outputs via malicious documents.
Findings
Effective attack on multiple open-source RAG models
Transferability to closed-source models like GPT-3.5 and GPT-4
Successful demonstration on NVIDIA's production RAG system
Abstract
Retrieval Augmented Generation (RAG) expands the capabilities of modern large language models (LLMs), by anchoring, adapting, and personalizing their responses to the most relevant knowledge sources. It is particularly useful in chatbot applications, allowing developers to customize LLM output without expensive retraining. Despite their significant utility in various applications, RAG systems present new security risks. In this work, we propose a novel attack that allows an adversary to inject a single malicious document into a RAG system's knowledge base, and mount a backdoor poisoning attack. We design Phantom, a general two-stage optimization framework against RAG systems, that crafts a malicious poisoned document leading to an integrity violation in the model's output. First, the document is constructed to be retrieved only when a specific naturally occurring trigger sequence of…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques · Text Readability and Simplification
MethodsRefunds@Expedia|||How do I get a full refund from Expedia? · 15 Ways to Contact How can i speak to someone at Delta Airlines · Attention Is All You Need · Position-Wise Feed-Forward Layer · Cosine Annealing · Absolute Position Encodings · Label Smoothing · Transformer · Linear Warmup With Cosine Annealing · {Dispute@FaQ-s}How to file a dispute with Expedia?
