Train-free Data Poisoning Attack against Retrieval-augmented Diffusion Models
Xinqi Lyu, Yihao LIU, Yiming Cao, Bin Xiao
NeurIPS page · OpenReview · Open on the map
Category: AI Safety, Security & Alignment › Backdoor Attacks and Defenses · Type: new method · Keywords: data poisoning, retrieval-augmented diffusion models, train-free attack, adversarial perturbations, knowledge base poisoning
Areas: Safety & Security › Adversarial Security › Backdoor Attacks
Summary
PoisonedRDM is a train-free data poisoning attack that hijacks retrieval-augmented diffusion models by poisoning the knowledge base with stealthy images.
Explained to a 5-year-old
Some computers make pictures using a big library of images. Bad people can hide bad pictures in that library. The bad pictures can trick the computer into making new pictures that look like something bad. The new attack does this without needing to train the computer that picks pictures, just by adding a few sneaky pictures. This helps protect computers from being tricked.
Explained to a 5-year-old, longer
Computers can draw pictures by looking at a big collection of images stored in a library. Sometimes people who want to cause trouble add harmful pictures to that library. When the computer uses the library, it can be tricked into copying the harmful ideas into new pictures. Existing tricks try to change the computer's internal settings, but the library can still bring in clean pictures that cancel out the bad changes. Another method tries to change the part of the system that picks pictures from the library, but that needs a lot of training and only works for one type of picker. The new idea solves both problems by adding only a few sneaky pictures to the library. These sneaky pictures are carefully designed so they look almost normal to the human eye. They are made using a special math process that finds the best way to make the pictures harmful while staying small. The process also makes sure that many different picture-pickers will notice the harmful pictures, even if they are not the exact type used in the study. When the computer later creates a new picture, it will copy the harmful idea, making the picture show something dangerous or offensive. Because only a few pictures are added and they are very small changes, the attack is hard to notice. This makes it easier to protect computers that make pictures from being misused.
For a technical reader
Retrieval-augmented diffusion models (RAG-DMs) generate images by querying an external knowledge base during the synthesis process. Existing poisoning attacks that modify model parameters are ineffective because clean retrieved images can overwrite the compromised weights. Recent RAG-DM-specific attacks require training the retriever, which is costly and overfits to a particular retriever implementation. The proposed approach poisons the knowledge base with a minimal set of optimized images, computes adversarial perturbations via a joint optimization that aligns surrogate ensembles, and steers generation toward a malicious concept while respecting a tight perturbation budget for stealth. Experiments demonstrate high success rates and superior performance over baseline attacks, highlighting the need for train-free defenses in RAG-DM pipelines.
Problem
Retrieval-augmented diffusion models are vulnerable to malicious external data, but existing poisoning attacks corrupt internal parameters and are ineffective because clean retrieved images override them. Additionally, recent attacks tailored for RAG-DMs require training the retriever, which is computationally expensive and overfits to specific retrievers.
Method
The approach poisons the knowledge base with a minimal number of optimized images and computes adversarial perturbations via a joint optimization strategy that aligns unknown retrievers through surrogate ensemble alignment and steers generated outputs toward a malicious target concept, while respecting a strict perturbation budget to maintain visual stealthiness.
Results
The approach achieves high success rates on RAG-DMs and outperforms existing baselines.
Contributions
It introduces a train-free poisoning attack that works without training the retriever, optimizes perturbations under a joint strategy, and maintains stealthiness via a perturbation budget. This provides a practical method for concept hijacking attacks against retrieval-augmented diffusion models.
Limitations and assumptions
The attack is limited by a strict perturbation budget to preserve visual stealthiness, which may restrict the strength of the poisoning.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction