potentialpaper

Train-free Data Poisoning Attack against Retrieval-augmented Diffusion Models

Xinqi Lyu, Yihao Liu, Yiming Cao, Bin Xiao

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. Poisoning attack against retrieval-augmented diffusion models

Abstract. Retrieval-augmented diffusion models (RAG-DMs) have significantly advanced image synthesis by incorporating external knowledge bases. However, their security vulnerabilities against malicious external data remain largely underexplored. Existing data poisoning attacks against diffusion models primarily corrupt internal parameters. They fail against RAG-DMs because clean retrieved images easily override these compromised parameters. Furthermore, a recent attack tailored for RAG-DMs requires training the retriever, resulting in high computational costs and overfitting to specific retrievers. To bridge this gap, we propose PoisonedRDM, a novel and train-free data poisoning attack against RAG-DMs. Specifically, PoisonedRDM poisons the knowledge base with a minimal number of optimized images and optimizes adversarial perturbations through a joint optimization strategy, steering unknown retrievers toward the poisoned images via surrogate ensemble alignment and aligning the generated outputs with an attacker-chosen target category, while adhering to a strict perturbation budget to maintain high visual stealthiness. Experiments show that PoisonedRDM effectively attacks RAG-DMs, achieving high success rates and outperforming state-of-the-art baselines.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
29 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)forumreviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 4 reviews · OpenReview

Updated 25 Nov 2026, 03:44 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

This paper presents PoisonedRDM, a novel training-free poisoning attack against retrieval-augmented diffusion models by jointly optimizing retrieval and generation objectives to steer the model toward target concepts through a small number of poisoned images. The reviewers recognize the importance of the problem, the novelty, the technical soundness of the joint optimization framework, and the strong empirical improvements over existing baselines.

The main concerns were the transferability to truly unseen retrievers, the limited evaluation of defenses, and the breadth of the experimental validation. The authors substantially strengthened the paper during rebuttal by evaluating additional settings and architectures. They also added sensitivity analyses, a human study, computational comparisons, and substantially broader defense evaluations.

The reviewers' assessments improved following the rebuttal. All the reviewers consistently suggest "borderline accept".

Final justification

Overall, the rebuttal substantially addressed the major concerns and strengthened the empirical evidence for the paper's central claims. The remaining limitations are reasonable and clearly acknowledged. I therefore recommend acceptance.

Area Chair UdQ1 · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

This paper presents PoisonedRDM, a novel training-free poisoning attack against retrieval-augmented diffusion models by jointly optimizing retrieval and generation objectives to steer the model toward target concepts through a small number of poisoned images. The reviewers recognize the importance of the problem, the novelty, the technical soundness of the joint optimization framework, and the strong empirical improvements over existing baselines.

The main concerns were the transferability to truly unseen retrievers, the limited evaluation of defenses, and the breadth of the experimental validation. The authors substantially strengthened the paper during rebuttal by evaluating additional settings and architectures. They also added sensitivity analyses, a human study, computational comparisons, and substantially broader defense evaluations.

The reviewers' assessments improved following the rebuttal. All the reviewers consistently suggest "borderline accept".

Final justification

Overall, the rebuttal substantially addressed the major concerns and strengthened the empirical evidence for the paper's central claims. The remaining limitations are reasonable and clearly acknowledged. I therefore recommend acceptance.

1 comment
Authors · CommentOpenReview ↗

Dear Area Chair,

Thank you for the constructive initial meta-review. We have carefully responded to the concerns highlighted in the meta-review and provide the corresponding locations below.

Transferability: Results on two unseen non-CLIP retrievers are provided in Reviewer qAfo, Q1 (Tables R1–R5) and Reviewer LU8Z, Q1. Transferability to unknown proprietary image encoders is further discussed in Reviewer qAfo, Response to Limitation 1 and Reviewer LU8Z, Q2.

Broader applicability and practical settings: Evaluation on the 20M-image OpenImages knowledge base and the autoregressive RARM architecture is provided in Reviewer qAfo, Response to Limitation 2 (Tables R9–R10). The black-box setting and the construction of the retrieval-augmented online-service pipeline are clarified in Reviewer qAfo, Response to Limitation 1 and Response to Weaknesses.

Defenses and limitations: Image-processing defenses are discussed in Reviewer qAfo, Response to Limitation 3. Retrieval-score-based anomaly detection is evaluated in Reviewer yNZG, Q1 (Tables R1–R2), while perceptual-hash deduplication, kNN-distance filtering, and poisoned-image diversification are evaluated in Reviewer gSbH, Q2 (Tables R6–R7). Additional sensitivity and human-stealthiness analyses are provided in Reviewer qAfo, Q2–Q3 (Tables R6–R8).

We have provided these additional results and clarifications in the rebuttal and will incorporate them, together with an expanded discussion of the limitations, into the revised manuscript. We would be happy to provide any further clarification that may be helpful during the remaining discussion period.

Best regards,
The Authors

Reviewer gSbHOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
2/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies data-poisoning attacks against retrieval-augmented diffusion models. It proposes PoisonedRDM, which is a training-free attack that injects optimized images into the knowledge base to redirect generation from a source concept to a target concept. The method jointly optimizes retrieval alignment across surrogate CLIP models and generation alignment in the diffusion conditioning space. Experiments on RDM and online services show strong attack success rates over baselines.

Strengths and weaknesses

Strength:

  1. The motivation is clear. The paper identifies why parameter-level poisoning may fail in RAG-DMs, where clean retrieved images can dominate generation. The training-free setting is also more practical than BadRDM’s retriever-training requirement.

  2. The attack formulation is well defined. Decomposing the attack into retrieval alignment and generation alignment matches the two stages of the attack.

Weaknesses:

  1. Transferability may be overstated. All surrogate retrievers are CLIP variants, and the online services may use related representations. Evaluation on an architecture-disjoint retriever, such as DINO, would provide stronger evidence.

  2. Defense realism is limited. The attack is not evaluated against common ingestion defenses such as deduplication, perceptual hashing, or embedding-based outlier filtering.

  3. The tables should highlight the best and second-best results for easier comparison. The paper would also benefit from one or two qualitative examples to help readers better understand the attack outcomes.

Questions
  1. Disjoint transfer: do GPT Image 2 / Nano Banana 2 use CLIP-based retrievers? If yes, the "unknown retriever" claim is not strong. Can you show transfer to a non-CLIP retriever or if your proposed method can use another retriever?
  2. The threat model assumes a passive defender, yet injecting 196 near-identical copies is exactly what standard data hygiene targets. Could you report performance under one or two simple training-free defences (e.g. perceptual-hash dedup, kNN-distance outlier filtering, or an image–caption CLIP-score check)? If the attack degrades, does diversifying the copies restore it, and at what cost? Even one retriever with one defense would clarify whether the <0.4% claim holds against a non-passive defender.
Limitations

1."Unknown retriever" robustness not shown against architecturally disjoint (non-CLIP) retrievers. 2. No statistical significance, single-run results over 49 pairs.

Final justification

The new non-CLIP retriever results and the defense evaluation address my main concerns. Thus, I would add one score.

Formatting concerns

N/A

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for your thoughtful and constructive feedback on our paper. We appreciate the opportunity to address your concerns and provide additional clarification. Below, we respond to the key points raised.

Response to Questions

Q1: Disjoint transfer: do GPT Image 2 / Nano Banana 2 use CLIP-based retrievers? If yes, the "unknown retriever" claim is not strong. Can you show transfer to a non-CLIP retriever or if your proposed method can use another retriever?

Answer: Thank you for this comment. In our online-service experiments, GPT Image 2 and Nano Banana 2 are used only as image generators, not as retrievers. Retrieval is performed externally using the four surrogate retrievers in our paper. We agree that these results alone cannot show transfer to unseen non-CLIP retrievers. To address this concern, We have further evaluated two unseen non-CLIP retrievers: GME-Qwen2-VL and Llama-Nemotron-Embed-VL, with two RDM variants and two online services. The results are shown in below tables. First, compared to surrogate retrievers used during optimization, the unseen non-CLIP retrievers cause slight performance drops, but PoisonedRDM still achieves satisfactory 80.00–84.17% ASR-r and 43.33–52.50% ASR-g. Second, compared to BadRDM equally with unseen retrievers, our PoisonedRDM yields higher ASR-r (up to 2.50%) and ASR-g (up to 12.50%), with consistently higher CLIP-Attack and TSR. Third, we evaluate these unseen retrievers in online services. PoisonedRDM achieves 81.67%/39.17% ASR-r/ASR-g on GPT Image 2 and 79.17%/37.50% on Nano Banana 2, demonstrating strong transfer to unseen non-CLIP retrievers. We will add this transferability results in the revised paper.

Table R1: Results of non-CLIP retriever (GME-Qwen2-VL) with RDM (PLMS-based).

Method Conference ASR-r ASR-g CLIP-Attack TSR
Trojan Horses NeurIPS 2024 0.00 26.67 0.2261 0.5372
Nightshade SP 2024 0.00 12.50 0.2041 0.2783
AMP CCS 2025 0.00 15.83 0.2108 0.3921
Silent Branding CVPR 2025 0.00 30.83 0.2283 0.6415
BadRDM ACL 2026 82.50 31.67 0.2471 0.8302
PoisonedRDM (ours) - 83.33 44.17 0.2740 1.1639

Table R2: Results of non-CLIP retriever (GME-Qwen2-VL) with RDM (DDIM-based).

Method Conference ASR-r ASR-g CLIP-Attack TSR
Trojan Horses NeurIPS 2024 0.00 25.00 0.2238 0.5361
Nightshade SP 2024 0.00 10.83 0.2015 0.2795
AMP CCS 2025 0.00 17.50 0.2082 0.3893
Silent Branding CVPR 2025 0.00 30.00 0.2212 0.6375
BadRDM ACL 2026 81.67 34.17 0.2497 0.8305
PoisonedRDM (ours) - 84.17 45.00 0.2793 1.1742

Table R3: Results of non-CLIP retriever (Llama-Nemotron-Embed-VL) with RDM (PLMS-based).

Method Conference ASR-r ASR-g CLIP-Attack TSR
Trojan Horses NeurIPS 2024 0.00 24.17 0.2262 0.5358
Nightshade SP 2024 0.00 13.33 0.2045 0.2789
AMP CCS 2025 0.00 18.33 0.2078 0.3916
Silent Branding CVPR 2025 0.00 32.50 0.2283 0.6412
BadRDM ACL 2026 79.17 37.50 0.2492 0.8261
PoisonedRDM (ours) - 80.00 43.33 0.2705 1.1642

Table R4: Results of non-CLIP retriever (Llama-Nemotron-Embed-VL) with RDM (DDIM-based).

Method Conference ASR-r ASR-g CLIP-Attack TSR
Trojan Horses NeurIPS 2024 0.00 25.00 0.2238 0.5352
Nightshade SP 2024 0.00 12.50 0.2041 0.2818
AMP CCS 2025 0.00 15.83 0.2112 0.3876
Silent Branding CVPR 2025 0.00 31.67 0.2281 0.6415
BadRDM ACL 2026 80.83 45.00 0.2472 0.8256
PoisonedRDM (ours) - 82.50 52.50 0.2711 1.1768

Table R5: Results of non-CLIP retriever (GME-Qwen2-VL) with online services.

Model ASR-r ASR-g CLIP-Attack TSR
GPT Image 2 81.67 39.17 0.2693 1.1058
Nano Banana 2 79.17 37.50 0.2641 1.0042

Q2 (1): The threat model assumes a passive defender, yet injecting 196 near-identical copies is exactly what standard data hygiene targets. Could you report performance under one or two simple training-free defences (e.g. perceptual-hash dedup, kNN-distance outlier filtering, or an image–caption CLIP-score check)?

Answer: We sincerely thank you for highlighting this. The 196 poisoned images cover 49 concept pairs, with four identical copies for each pair. Since these copies may be removed by data cleaning, we evaluate two training-free defenses using RDM (PLMS-based), the ViT-B/16 retriever, and the benign subset.

  • Perceptual-hash deduplication. We compute a 64-bit perceptual-hash for each image. The threshold is selected using only the clean 50,000 image knowledge base. The image is removed if its hash distance from any retained image is at or below this threshold. Otherwise, the image is retained.
  • kNN-distance outlier filtering. We extract an L2-normalized image embedding for each image. We set the threshold to the 99.5th percentile of the clean images’ distances to their 50th nearest neighbors. The image is removed if its 50th-neighbor distance exceeds this threshold.

Table R6: Attack performance under training-free defenses.

Defense ASR-r ASR-g
No Defense 93.33 62.50
Perceptual-hash deduplication 92.50 39.17
kNN-distance filtering 91.67 58.33

Table R6 shows that perceptual-hash deduplication reduces ASR-r only from 93.33% to 92.50%, because one poisoned copy usually remains and can still enter the top-4 results. However, ASR-g drops from 62.50% to 39.17%. After deduplication, the retrieved set usually changes from four poisoned images to one poisoned image and three clean images. The clean images weaken the malicious generation guidance. The kNN filter has a smaller effect: ASR-r drops to 91.67%, and ASR-g drops to 58.33%. Our retrieval-alignment objective places the poisoned images close to the clean source concept region. Therefore, most poisoned images are not detected as outliers.

Q2 (2): If the attack degrades, does diversifying the copies restore it, and at what cost?

Answer: Thank you for this helpful suggestion. Table R6 shows that perceptual-hash deduplication reduces ASR-g from 62.50% to 39.17% because it usually reduces the four identical poisoned copies to one. Therefore, we introduce a low-cost diversification strategy to test whether diversified copies can survive perceptual-hash deduplication.
For each optimized poisoned image, we generate 64 candidates using small crops and resizing, 1–4 pixel translations, and rotations within ±3∘\pm3^\circ. Then we compute the 64-bit perceptual-hash and retain candidates whose perceptual-hash distances from the original poisoned image exceed the deduplication threshold. Next, we rank the retained candidates according to their retrieval alignment with the source concept and generation alignment with the target reference. Finally, we select the three candidates with the best combined alignment performance. Together with the original poisoned image, they form four diversified copies.

Table R7: Effect of diversification under perceptual-hash deduplication.

Poison copies Defense ASR-r ASR-g
Identical None 93.33 62.50
Identical perceptual-hash 92.50 39.17
Diversified perceptual-hash 94.17 61.67

Table R7 shows that diversification increases ASR-g under deduplication from 39.17% to 61.67%, recovering 96.4% of the performance loss. ASR-r also remains high at 94.17%. The strategy requires no additional PGD optimization and adds only 28.4 seconds per poisoned image, which is the 20.05% of the original 141.67-second optimization cost. We still inject only four images per concept, 196 images in total. Thus, the poisoning ratio remains below 0.4%. We sincerely thank you for this valuable suggestion and will include these experiments and analyses in the revised paper.

Response to Weaknesses

Weakness: The tables should highlight the best and second-best results for easier comparison. The paper would also benefit from one or two qualitative examples to help readers better understand the attack outcomes.

Answer: Thank you for raising this important point. We will update all tables to highlight the best and second-best results using bold and underline‾\underline{underline}, respectively. And we will also move two representative qualitative examples from Appendix D (Figure 4) to the main paper. These examples show the poisoned images and the corresponding generated outputs, making the attack outcomes easier to understand.

Authors · CommentOpenReview ↗

Dear Reviewer gSbH,

Thank you again for your thoughtful feedback. We hope that our responses and additional analyses have clarified the main issues raised in your review. If any concern remains, please let us know, and we would be happy to provide further explanation before the deadline.

Best regards,
The Authors

Reviewer gSbH · CommentOpenReview ↗

Thank you for the detailed response and the additional experiments.

The new non-CLIP retriever results and the defense evaluation, address my main concerns. For the future version, the authors should incorporate all of these new experiments into the paper and revise the transfer claims to be more precise: the newly tested retrievers, while not CLIP, still belong to the image-text contrastive family, so terms such as "unknown retriever" and "strong transfer" overstate what has been shown and must be qualified accordingly. The scope and limitations of the transferability evidence should be stated explicitly rather than left to the reader. I will update my rating.

Authors · CommentOpenReview ↗

Thank you very much for the detailed follow-up and for taking the time to reconsider our paper. We greatly appreciate your thoughtful reassessment and constructive feedback, which have substantially helped us strengthen the paper. We will incorporate all newly reported experiments and analyses into the final version, while revising the transfer claims and explicitly clarifying the scope and limitations of the current evidence.

Thank you again for your valuable feedback.

Reviewer LU8ZOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper introduces a training-free poisoning attack against retrieval-augmented diffusion models called PoisonedRDM. Instead of altering the parameters of a specific retriever, PoisonedRDM proposes steering arbitrary retrievers via surrogate ensemble alignment, in which multiple retrievers are used to optimize poisoned data. To ensure the attack can succeed during text-to-image generation, the authors propose the target-driven generation alignment that directly aligns the representation of the poisoned image with a target reference. The authors perform an extensive evaluation on multiple open-source RDMs and proprietary image generation models, and the results show that PoisonedRDM achieves higher ASR (for both retrieval and generation), CLIP-Attack score and TSR compared to other baseline approaches.

Strengths and weaknesses

Strengths:

  1. This paper proposes a training-free poisoning attack method against RAG-DMs, which, to my knowledge, is novel compared to prior works that attack the RAG-DMs by directly modifying the retriever's parameters.

  2. The joint optimization strategy of using multiple-anchor retrivers for surrogate ensemble alignment and aligning representations of poisoned images and target images for generation alignment is technicaly sounded. The use of surrogate models and the representation alignment are widely used techniques in improving transferability and optimizing poisoned samples.

  3. The paper is well-written and easy to follow.

Weaknesses:

  1. RAG-DMs are rarely used in real-world scenarios for text-to-image generation, which may undermine the practical significance of this paper.

  2. One of the major claims in the paper that PoisonedRDM can steer unknown retrievers toward the poisoned images is not properly validated in the experiment. In the experiment design, all tested retrievers are as identical as the surrogate models. In other words, the retrievers are already "known" by the attacker.

  3. The paper lacks the evaluation of defenses against PoisonedRDM.

Questions
  1. It would be desirable to show the performance of PoisonedRDM against an unknown retriever other than those in the surrogate ensemble (i.e., ViT-B/32, ViT-B/16, ViT-H/14, and ResNet50 ).

  2. In the threat model, the authors mention that the attacker has white-box access to the image encoder of the diffusion model. However, for the proprietary models such as Nano Banana Pro and GPT Image 2, the encoder is unknown. Can you clarify: a. why PoisonedRDM is still effective in this scenario? b. Since the performance of PoisonedRDM only degrades slightly compared to open-source RAG-DMs where the image encoder is a white-box, why is the representation alignment still important in crafting the poisoned images?

  3. Could you please clarify how defenses would affect the performance of PoisonedRDM and other baseline attacks?

Limitations

Yes.

Final justification

The authors' rebuttal addressed all my major concerns; I also read the other reviewers' comments, and I believe this paper meets the bar for acceptance.

Formatting concerns

N/A

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for your thoughtful and constructive feedback on our paper. We appreciate the opportunity to address your concerns and provide additional clarification. Below, we respond to the key points raised.

Response to Questions

Q1: It would be desirable to show the performance of PoisonedRDM against an unknown retriever other than those in the surrogate ensemble (i.e., ViT-B/32, ViT-B/16, ViT-H/14, and ResNet50 ).

Answer: Thank you for this suggestion. We have further evaluated two unseen non-CLIP retrievers: GME-Qwen2-VL and Llama-Nemotron-Embed-VL, with two RDM variants and two online services. The results are shown in below tables. First, compared to surrogate retrievers used during optimization, the unseen non-CLIP retrievers cause slight performance drops, but PoisonedRDM still achieves satisfactory 80.00–84.17% ASR-r and 43.33–52.50% ASR-g. Second, compared to BadRDM equally with unseen retrievers, our PoisonedRDM yields higher ASR-r (up to 2.50%) and ASR-g (up to 12.50%), with consistently higher CLIP-Attack and TSR. Third, we evaluate these unseen retrievers in online services. PoisonedRDM achieves 81.67%/39.17% ASR-r/ASR-g on GPT Image 2 and 79.17%/37.50% on Nano Banana 2, demonstrating strong transfer to unseen non-CLIP retrievers. We will add this transferability results in the revised paper.

Table R1: Results of non-CLIP retriever (GME-Qwen2-VL) with RDM (PLMS-based).

Method Conference ASR-r ASR-g CLIP-Attack TSR
Trojan Horses NeurIPS 2024 0.00 26.67 0.2261 0.5372
Nightshade SP 2024 0.00 12.50 0.2041 0.2783
AMP CCS 2025 0.00 15.83 0.2108 0.3921
Silent Branding CVPR 2025 0.00 30.83 0.2283 0.6415
BadRDM ACL 2026 82.50 31.67 0.2471 0.8302
PoisonedRDM (ours) - 83.33 44.17 0.2740 1.1639

Table R2: Results of non-CLIP retriever (GME-Qwen2-VL) with RDM (DDIM-based).

Method Conference ASR-r ASR-g CLIP-Attack TSR
Trojan Horses NeurIPS 2024 0.00 25.00 0.2238 0.5361
Nightshade SP 2024 0.00 10.83 0.2015 0.2795
AMP CCS 2025 0.00 17.50 0.2082 0.3893
Silent Branding CVPR 2025 0.00 30.00 0.2212 0.6375
BadRDM ACL 2026 81.67 34.17 0.2497 0.8305
PoisonedRDM (ours) - 84.17 45.00 0.2793 1.1742

Table R3: Results of non-CLIP retriever (Llama-Nemotron-Embed-VL) with RDM (PLMS-based).

Method Conference ASR-r ASR-g CLIP-Attack TSR
Trojan Horses NeurIPS 2024 0.00 24.17 0.2262 0.5358
Nightshade SP 2024 0.00 13.33 0.2045 0.2789
AMP CCS 2025 0.00 18.33 0.2078 0.3916
Silent Branding CVPR 2025 0.00 32.50 0.2283 0.6412
BadRDM ACL 2026 79.17 37.50 0.2492 0.8261
PoisonedRDM (ours) - 80.00 43.33 0.2705 1.1642

Table R4: Results of non-CLIP retriever (Llama-Nemotron-Embed-VL) with RDM (DDIM-based).

Method Conference ASR-r ASR-g CLIP-Attack TSR
Trojan Horses NeurIPS 2024 0.00 25.00 0.2238 0.5352
Nightshade SP 2024 0.00 12.50 0.2041 0.2818
AMP CCS 2025 0.00 15.83 0.2112 0.3876
Silent Branding CVPR 2025 0.00 31.67 0.2281 0.6415
BadRDM ACL 2026 80.83 45.00 0.2472 0.8256
PoisonedRDM (ours) - 82.50 52.50 0.2711 1.1768

Table R5: Results of non-CLIP retriever (GME-Qwen2-VL) with online services.

Model ASR-r ASR-g CLIP-Attack TSR
GPT Image 2 81.67 39.17 0.2693 1.1058
Nano Banana 2 79.17 37.50 0.2641 1.0042

Q2: In the threat model, the authors mention that the attacker has white-box access to the image encoder of the diffusion model. However, for the proprietary models such as Nano Banana Pro and GPT Image 2, the encoder is unknown. Can you clarify: a. why PoisonedRDM is still effective in this scenario? b. Since the performance of PoisonedRDM only degrades slightly compared to open-source RAG-DMs where the image encoder is a white-box, why is the representation alignment still important in crafting the poisoned images?

Answer: Thank you for this insightful question. As for Question a,the effectiveness of PoisonedRDM against proprietary models stems from the fact that our "Target-Driven Generation Alignment" is designed to align the visual semantics between poisoned and target images in the feature space. In partice, such target-related representation can partly transfer from white-box encoder to an unknown encoder, since different image encoders often learn similar high-level visual semantics. To support this, Table 3 (main paper) provides empirical evidence: PoisonedRDM achieves an average ASR-g of 41.25% on GPT Image 2 and 43.54% on Nano Banana 2. The performance drop compared with open-source models is caused by the difference between ViT-L/14 and the unknown encoders. However, the transferred target signal is still strong enough to hijack the generation.

As for Question b, we respectfully clarify that the “slight drop” in black-box performance highlights our effectiveness in aligning images’ visual semantics (detailed in Question a). To explicitly explain why this alignment is important in crafting poisoned images, we conduct an ablation in Table 4 (main paper) by removing the alignment loss. It can be observed that, though the retrieval success rate (ASR-r) remains remarkably high at 96%, the generation attack success rate (ASR-g) falls to 0%. This further proves that the victim model will default to generating the clean visual concept (e.g., an airplane) from poisoned images, failing to hijack the generation without this “representation alignment” of visual semantics (e.g., airplane-to-bomb alignment).

Q3: Could you please clarify how defenses would affect the performance of PoisonedRDM and other baseline attacks?

Answer: Thank you for highlighting the evaluation of defenses. In Table 7 in Appendix H, we compare SOTA defense mechanisms, including smoothing filters, JPEG compression, and Comdefend. First, these defenses barely work on the retrieval phase (ASR-r), highlighting our purpose to investigate the vulnerability of RAG-DMs. This is because existing defenses are immediately before poisoned images enter the generation phase, leaving the retrieval process entirely unaffected. Second, though defenses degrade the attack success rate at the generation phase (ASR-g), PoisonedRDM consistently outperforms the strongest baseline BadRDM.

Response to Weaknesses

Weakness: RAG-DMs are rarely used in real-world scenarios for text-to-image generation, which may undermine the practical significance of this paper.

Answer: Thank you for raising this important question regarding the practical significance of RAG-DMs. RAG-DMs have attracted growing attention in real-world text-to-image generation because they enable models to incorporate external and dynamically updated visual knowledge, particularly for long-tailed concepts, domain adaptation, and efficient generation [1–6]. This practical interest is evidenced by publicly accessible deployments, including a hosted RAG-DM API on Replicate with over 38K reported runs [7], as well as active industrial efforts such as Google’s patent on retrieval-augmented text-to-image generation [8] and Amazon’s recent ImageRAGTurbo for low-latency one-step generation [9].
Meanwhile, a continuous line of research, from RDM (NeurIPS 2022) [1], kNN-Diffusion and Re-Imagen (ICLR 2023) [2,3], and DP-RDM (2024) [5], to FineRAG (COLING 2025) [6], ImageSentinel (NeurIPS 2026) [10], and ImageRAGTurbo (2026) [9], has expanded RAG-DMs toward long-tailed generation, private-domain adaptation, copyright protection, and efficient deployment. Therefore, the reliance of RAG-DMs on external and replaceable knowledge bases represents a practically relevant attack surface. Investigating this vulnerability is important for securing both existing implementations and their growing adoption in real-world systems.

References

[1] Blattmann A, Rombach R, Oktay K, et al. Retrieval-augmented diffusion models[J]. Advances in Neural Information Processing Systems, 2022, 35: 15309-15324.
[2] Sheynin S, Ashual O, Polyak A, et al. kNN-Diffusion: Image Generation via Large-Scale Retrieval[C]//The Eleventh International Conference on Learning Representations.
[3] Chen W, Hu H, Saharia C, et al. Re-Imagen: Retrieval-Augmented Text-to-Image Generator[C]//The Eleventh International Conference on Learning Representations.
[4] Zhang K, Yang X, Wang W Y, et al. ReDi: efficient learning-free diffusion inference via trajectory retrieval[C]//International Conference on Machine Learning. PMLR, 2023: 41770-41785.
[5] Lebensold J, Sanjabi M, Astolfi P, et al. Dp-rdm: Adapting diffusion models to private domains without fine-tuning[J]. arXiv preprint arXiv:2403.14421, 2024.
[6] Yuan H, Zhao Z, Wang S, et al. Finerag: Fine-grained retrieval-augmented text-to-image generation[C]//Proceedings of the 31st International Conference on Computational Linguistics. 2025: 11196-11205.
[7] https://replicate.com/afiaka87/retrieval-augmented-diffusion
[8] https://patents.google.com/patent/WO2024072749A1/en
[9] Qiu P, Ramshankar H, Ramisa A, et al. ImageRAGTurbo: Towards one-step text-to-image generation with retrieval-augmented diffusion models[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2026: 529-539.
[10] Luo Z, Zhao Y, Cheung K C, et al. Imagesentinel: Protecting visual datasets from unauthorized retrieval-augmented image generation[J]. Advances in Neural Information Processing Systems, 2026, 38: 21670-21700.

Authors · CommentOpenReview ↗

Dear Reviewer LU8Z,

Thank you again for your careful review. We would like to kindly ask whether our rebuttal and additional experiments have sufficiently addressed your concerns. If there are any remaining questions, we would greatly appreciate the opportunity to clarify them.

Best regards,
The Authors

Reviewer yNZGOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper investigates the security vulnerability of retrieval-augmented diffusion models (RAG-DMs) against data poisoning attacks, and proposes a novel method called PoisonedRDM. The core innovation is that the attacker, without training or modifying the retriever parameters, can simultaneously manipulate both the retrieval and generation phases by injecting a small number of optimized poisoned images into the knowledge base, achieving "concept hijacking." To accomplish this, the authors design a joint optimization strategy comprising: (1) a multi-anchor retrieval alignment module that uses a surrogate ensemble (four CLIP architectures) to ensure transferability across unseen retrievers; (2) a target-driven generation alignment module that aligns the poisoned image representation with a target reference image in the condition space, steering the diffusion model toward the target concept; and (3) PGD-based joint optimization that balances retrieval and generation objectives under an ℓ∞ perturbation budget. Experiments on 49 source-target concept pairs across RDM (PLMS/DDIM variants) and two online services demonstrate that PoisonedRDM significantly outperforms existing baselines, including BadRDM which requires retriever training, across ASR-r, ASR-g, CLIP-Attack, and TSR metrics.

Strengths and weaknesses

Strengths 1.Well-defined and practically relevant problem. The paper identifies a real and underexplored security vulnerability in RAG-DMs—the poisonability of external knowledge bases. The threat model assumes reasonable attacker capabilities (injecting a small number of images without controlling model training), which aligns with real-world supply chain attack scenarios in open-source ecosystems.2.Methodologically targeted and technically complete. The joint optimization strategy of PoisonedRDM directly addresses the two-stage nature of RAG-DMs. The multi-anchor retrieval alignment module systematically tackles the transferability challenge across unseen retrievers through text+visual anchor combinations and surrogate ensemble design—a clear weakness of prior methods like BadRDM. The target-driven generation alignment module avoids modifying the iterative denoising process by directly aligning features in the condition space, reducing complexity and computational overhead.3.Thorough experimental design with convincing results. Experiments cover multiple retriever architectures (four CLIP variants), two RDM variants, and two online services, demonstrating generalization. Comparison with five baselines (including BadRDM) clearly shows PoisonedRDM's advantages—traditional model-training attacks (Trojan Horses, Nightshade, AMP, Silent Branding) completely fail on RAG-DMs (ASR-r = 0%), and while BadRDM can attack the retriever, its ASR-g is significantly lower (e.g., on ViT-B/16: 33.33% vs 62.50%). Ablation studies validate the necessity of both retrieval and generation alignment losses, and perturbation budget analysis demonstrates the trade-off between attack effectiveness and stealthiness. Weaknesses 1.Defense analysis is relatively preliminary. Appendix H evaluates three defense methods (smoothing filters, JPEG compression, Comdefend), showing significant ASR-g degradation (e.g., from ~50% to ~30% under Comdefend). However, the paper does not deeply analyze why these defenses affect ASR-r less but ASR-g more, nor does it discuss whether more targeted defenses exist (e.g., retrieval result anomaly detection, poisoned image detection). The effectiveness boundary of defenses remains unclear.2.Quantitative demonstration of "train-free" advantage could be stronger. The paper emphasizes that PoisonedRDM requires no retriever training, but only reports ~141.67 seconds per image (900 steps) in Section 4.1. I suggest adding a direct computational cost comparison with BadRDM (which requires retriever training) in terms of GPU hours and convergence epochs to more intuitively demonstrate the practical advantage of being "train-free."3.The random sampling strategy for surrogate ensemble lacks theoretical analysis. Section 3.2 states that "randomly sampling a surrogate subset S′ ⊂ S at each optimization step" improves generalization, but no theoretical explanation or experimental validation is provided to demonstrate its advantage over using all surrogate models fixedly. This somewhat weakens the formal rigor of the method.

Questions

1.Regarding defense mechanisms: In Appendix H, the three defense methods significantly suppress ASR-g (from ~50% to ~30%) but have almost no effect on ASR-r. Could the authors explain this phenomenon from the perspective of information flow in the retrieval and generation phases? Does this suggest that defenses should prioritize anomaly detection on retrieval results rather than image preprocessing? If the authors could design a simple anomaly detection rule (e.g., based on retrieval score distribution) and conduct preliminary experiments, it would greatly enhance the paper's guidance value for defense research.

2.Regarding the surrogate ensemble strategy: In Section 3.2, randomly sampling a surrogate subset at each optimization step is intended to "improve generalization." Could the authors provide experimental evidence supporting this design? Compared with always using all four surrogate models for optimization, how much improvement in ASR-r does random sampling provide? If the generalization improvement is limited, could the design be simplified to reduce implementation complexity?

3.Regarding computational cost comparison: The paper claims "train-free" advantages but only reports ~141.67 seconds per poisoned image. Please provide a direct comparison with BadRDM (which requires retriever training) on the same hardware in terms of end-to-end attack preparation time (including data preprocessing, number of training epochs, convergence conditions, etc.), so readers can more objectively assess the feasibility of both methods in resource-constrained scenarios.

Limitations

yes

Formatting concerns

NONE

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for your thoughtful and constructive feedback on our paper. We appreciate the opportunity to address your concerns and provide additional clarification. Below, we respond to the key points raised.

Response to Questions

Q1: Defense mechanisms.

Answer: Thank you for this insightful suggestion. As we stated in Appendix H, these defenses act only after retrieval. The retriever first selects images from the knowledge base. The defense then processes these images before generation. Thus, it does not change the retrieval ranking and has little effect on ASR-r. However, it changes the visual condition and weakens the target information, which reduces ASR-g. We agree that retrieval-stage anomaly detection should be a primary defense component. Following this suggestion, we conduct two complementary experiments.

First, we analyze the score stealthiness of PoisonedRDM to verify if the poisoned images exhibit anomalous absolute retrieval scores. For each query, we retrieve the top-4 images from the clean knowledge base (containing 50,000 images) and compare their mean score with the similarity score between the same query and its corresponding poisoned image. As shown in Table R1, their scores are close, with gaps from 0.006 to 0.018. We attribute this phenomenon to the nature of our joint optimization strategy, which balances retrieval and generation instead of only maximizing the retrieval score. This inherent balancing constraint prevents the poisoned images from achieving abnormally high retrieval scores that would otherwise make them easily detectable.

Table R1: Score stealthiness analysis.

Retriever Mean clean top-4 scores Poison score Absolute gap
ViT-B/32 0.284 0.302 0.018
ViT-B/16 0.305 0.311 0.006
ViT-H/14 0.318 0.326 0.008
ResNet50 0.296 0.313 0.017

Moreover, we design a simple detector based on the retrieval-score distribution. It retrieves the top-20 images and computes the mean scores of the top-4, top-8, top-16, and top-20 results, denoted by (μ4,μ8,μ16,μ20)(\mu_4,\mu_8,\mu_{16},\mu_{20}). The anomaly score is A(q)=max⁡(μ4−μ8,μ8−μ16,μ16−μ20)A(q)=\max(\mu_4-\mu_8,\mu_8-\mu_{16},\mu_{16}-\mu_{20}). We set the threshold to the 95th percentile of anomaly scores obtained by querying the clean knowledge base. If the score exceeds the threshold, the system disables retrieval augmentation. Otherwise, it uses the top-4 images. Raw ASR-r is measured before detection, while effective ASR-r only counts poisoned images passed to the generator after detection. Table R2 shows the detector reduces ASR-r from 94.11% to 84.32%, while ASR-g remains 47.70%. This demonstrates that simple retrieval score distribution based detection is insufficient against PoisonedRDM, as our joint optimization must simultaneously align with the generation process avoiding excessively maximizing the retrieval score alone.

Table R2: Retrieval score distribution based detector analysis.

Retriever Raw ASR-r Effective ASR-r ASR-g after defense
ViT-B/32 91.67 80.21 43.75
ViT-B/16 93.33 85.56 57.29
ViT-H/14 95.00 83.13 40.10
ResNet50 96.43 88.39 49.66
Average 94.11 84.32 47.70

Q2: The surrogate ensemble strategy.

Answer: Thank you for this suggestion. We compare All-4, which uses all four surrogates at each step, with Random-3, which randomly samples three surrogates at each step. As shown in Table R3, All-4 performs well on some retrievers but shows inconsistent performance across the four retrievers. Random-3 achieves a higher average ASR-r of 94.11%, compared with 90.21% for All-4. It also reduces the optimization time from 156.83 to 141.67 seconds per poisoned image, a reduction of about 9.7%. Therefore, we keep Random-3 because it provides better overall performance at a lower cost. We will add this comparison to the revised paper.

Table R3: The surrogate ensemble strategy analysis.

Strategy ViT-B/32 (ASR-r) ViT-B/16 (ASR-r) ViT-H/14 (ASR-r) ResNet50 (ASR-r) Average ASR-r Time cost (s/image)
All-4 92.50 94.17 91.67 82.50 90.21 156.83
Random-3 91.67 93.33 95.00 96.43 94.11 141.67

Q3: The computational cost comparison.

Answer: Thank you for this helpful suggestion. “Train-free” means that PoisonedRDM keeps the retriever and diffusion model fixed and only optimizes the poisoned images. In contrast, BadRDM fine-tunes the retriever. We reproduce BadRDM using its released code and default settings. All experiments are conducted on the NVIDIA H20 GPUs. We compare the computational costs of BadRDM and PoisonedRDM. Table R4 shows that BadRDM takes 5.09 hours, while PoisonedRDM takes 2.18 hours. PoisonedRDM therefore reduces the total time by 57.2%, corresponding to a 2.3× speedup.

Table R4: The computational cost comparison.

Method Data preprocessing time (hours) Training/optimization time (hours) Total (hours)
BadRDM 0.39 4.70 5.09
PoisonedRDM (Ours) 0.25 1.93 2.18
Authors · CommentOpenReview ↗

Dear Reviewer yNZG,

Thank you again for your helpful comments. We hope that our rebuttal has addressed the questions and concerns raised in your review. Please let us know if any point still requires clarification, and we would be glad to respond before the discussion deadline.

Best regards,
The Authors

Reviewer qAfoOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
use_inspired
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes PoisonedRDM, a train-free poisoning attack against retrieval-augmented diffusion models. It jointly optimizes retrieval and generation objectives so that a small number of poisoned images are retrieved and guide the model toward a target concept. The results outperform existing baselines.

Strengths and weaknesses

Strengths: The problem is new and important. The method is clear and the experiments include several baselines, ablation studies, and different perturbation budgets.

Weaknesses: The four evaluated retrievers are also used in the surrogate ensemble, so transferability to truly unseen retrievers is not fully demonstrated. The two open-source victim models are variants of the same RDM. The online-service experiment uses an additional external retrieval step rather than a native RAG-DM setting. Visual stealthiness is mainly evaluated using LPIPS, without human evaluation.

Questions

How does the attack perform on non-CLIP retrievers? How sensitive is the attack to the number of poisoned images and retrieved neighbors? Can the authors provide a human study of visual stealthiness?

Limitations

The attack requires white-box access to the victim model’s image encoder. The evaluation uses one knowledge base and limited RAG-DM architectures. In addition, image-processing defenses noticeably reduce the generation attack success rate.

Formatting concerns

No

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for your thoughtful and constructive feedback on our paper. We appreciate the opportunity to address your concerns and provide additional clarification. Below, we respond to the key points raised.

Response to Questions

Q1: How does the attack perform on non-CLIP retrievers?

Answer: Thank you for this suggestion. We have further evaluated two unseen non-CLIP retrievers: GME-Qwen2-VL and Llama-Nemotron-Embed-VL, with two RDM variants and two online services. The results are shown in below tables. First, compared to surrogate retrievers used during optimization, the unseen non-CLIP retrievers cause slight performance drops, but PoisonedRDM still achieves satisfactory 80.00–84.17% ASR-r and 43.33–52.50% ASR-g. Second, compared to BadRDM equally with unseen retrievers, our PoisonedRDM yields higher ASR-r (up to 2.50%) and ASR-g (up to 12.50%), with consistently higher CLIP-Attack and TSR. Third, we evaluate these unseen retrievers in online services. PoisonedRDM achieves 81.67%/39.17% ASR-r/ASR-g on GPT Image 2 and 79.17%/37.50% on Nano Banana 2, demonstrating strong transfer to unseen non-CLIP retrievers. We will add this transferability results in the revised paper.

Table R1: Results of non-CLIP retriever (GME-Qwen2-VL) with RDM (PLMS-based).

Method Conference ASR-r ASR-g CLIP-Attack TSR
Trojan Horses NeurIPS 2024 0.00 26.67 0.2261 0.5372
Nightshade SP 2024 0.00 12.50 0.2041 0.2783
AMP CCS 2025 0.00 15.83 0.2108 0.3921
Silent Branding CVPR 2025 0.00 30.83 0.2283 0.6415
BadRDM ACL 2026 82.50 31.67 0.2471 0.8302
PoisonedRDM (ours) - 83.33 44.17 0.2740 1.1639

Table R2: Results of non-CLIP retriever (GME-Qwen2-VL) with RDM (DDIM-based).

Method Conference ASR-r ASR-g CLIP-Attack TSR
Trojan Horses NeurIPS 2024 0.00 25.00 0.2238 0.5361
Nightshade SP 2024 0.00 10.83 0.2015 0.2795
AMP CCS 2025 0.00 17.50 0.2082 0.3893
Silent Branding CVPR 2025 0.00 30.00 0.2212 0.6375
BadRDM ACL 2026 81.67 34.17 0.2497 0.8305
PoisonedRDM (ours) - 84.17 45.00 0.2793 1.1742

Table R3: Results of non-CLIP retriever (Llama-Nemotron-Embed-VL) with RDM (PLMS-based).

Method Conference ASR-r ASR-g CLIP-Attack TSR
Trojan Horses NeurIPS 2024 0.00 24.17 0.2262 0.5358
Nightshade SP 2024 0.00 13.33 0.2045 0.2789
AMP CCS 2025 0.00 18.33 0.2078 0.3916
Silent Branding CVPR 2025 0.00 32.50 0.2283 0.6412
BadRDM ACL 2026 79.17 37.50 0.2492 0.8261
PoisonedRDM (ours) - 80.00 43.33 0.2705 1.1642

Table R4: Results of non-CLIP retriever (Llama-Nemotron-Embed-VL) with RDM (DDIM-based).

Method Conference ASR-r ASR-g CLIP-Attack TSR
Trojan Horses NeurIPS 2024 0.00 25.00 0.2238 0.5352
Nightshade SP 2024 0.00 12.50 0.2041 0.2818
AMP CCS 2025 0.00 15.83 0.2112 0.3876
Silent Branding CVPR 2025 0.00 31.67 0.2281 0.6415
BadRDM ACL 2026 80.83 45.00 0.2472 0.8256
PoisonedRDM (ours) - 82.50 52.50 0.2711 1.1768

Table R5: Results of non-CLIP retriever (GME-Qwen2-VL) with online services.

Model ASR-r ASR-g CLIP-Attack TSR
GPT Image 2 81.67 39.17 0.2693 1.1058
Nano Banana 2 79.17 37.50 0.2641 1.0042

Q2: How sensitive is the attack to the number of poisoned images and retrieved neighbors?

Answer: Thank you for these insights. We have studied 1) the effect of the number of poisoned images per target concept and 2) the number of retrieved neighbors, separately.

First, we change the number of poisoned images per target concept and fix the number of retrieved neighbors to four. As shown in Table R6, ASR-r stays around 91.7%. This is because the poisoned images are identical and have the same retrieval score. For ASR-g, it increases from 39.08% to 50.00% when the number of poisoned images increases from one to four. This means the poisoned condition becomes stronger, as more poisoned images appear in the retrieved set. Such gain becomes small after four because the model retrieves only four images.

Table R6: Effect of the number of poisoned images per target concept.

Number of poisoned images 1 2 4 8
ASR-r 91.42 91.75 91.67 91.83
ASR-g 39.08 44.33 50.00 51.67

Second, we change the number of retrieved neighbors and fix the number of poisoned images per target concept to four. As shown in Table R7, ASR-r increases from 88.33% to 95.00%, since retrieving more neighbors makes it easier to include a poisoned image. For ASR-g, it stays around 50% from one to four neighbors, while dropping to 40.83% at eight neighbors. This is because at least four retrieved images out of the eight neighbors are benign, weakening the poisoned condition. We will add these results to the revised paper.

Table R7: Effect of the number of retrieved neighbors.

Number of retrieved neighbors 1 2 4 8
ASR-r 88.33 89.17 91.67 95.00
ASR-g 51.67 50.83 50.00 40.83

Q3: Can the authors provide a human study of visual stealthiness?

Answer: Thank you for pointing this out. Following your suggestion, we conduct a randomized two-alternative forced-choice (2AFC) human study to evaluate visual stealthiness. We ask 30 participants to compare clean and poisoned images. Each participant completes 49 trials, giving 1,470 responses in total. Across all participants, the trials are evenly divided among three perturbation budgets: ϵ=8/255\epsilon=8/255, ϵ=16/255\epsilon=16/255, and ϵ=32/255\epsilon=32/255, with 490 responses for each budget. In each trial, a clean image and its poisoned version are shown side by side in random left-right order. Participants choose the modified image. A detection rate of 50% represents random guessing. As shown in Table R8, at ϵ=8/255\epsilon=8/255 and ϵ=16/255\epsilon=16/255, the confidence intervals include 50%. Thus, the detection rates show no clear difference from random guessing. At ϵ=32/255\epsilon=32/255, the detection rate increases to 78%, showing that the changes are easier to notice. Together with the attack results in Table 5 (main paper), these results support our choice of ϵ=16/255\epsilon=16/255 as a balance between attack performance and visual stealthiness.

Table R8: Results of human study.

Perturbation Budget Detection Rate 95% Confidence Interval
8/255 52% [47.6%, 56.4%]
16/255 54% [49.6%, 58.4%]
32/255 78% [74.1%, 81.4%]

Response to Limitations

Limitation 1: The attack requires white-box access to the victim model’s image encoder.

Answer: Thank you for raising this important concern regarding white-box assumptions. We clarify that the attacker does not need access to the image encoder of a proprietary victim model. We only use a known open source victim model’s image encoder when optimizing poisoned images. In experiments, apart from testing in white box settings in Table 2 (main paper), we also directly transfer these poisoned images to two proprietary victim models, Nano Banana 2 and GPT Image 2. That is, we neither access their image encoders, nor optimize the poisoned images again. In practice, different encoders learn similar high level visual semantics, thus our attack can effectively transfer to practical black-box settings. To support this, Table 3 (main paper) evaluates two proprietary victim models (Nano Banana 2 and GPT Image 2), achieving high attack success rates comparable to white-box settings in Table 2 (e.g., up to 46.67% vs. 58.33% in ASR-g). This empirically proves that our poisoned images can successfully hijack unknown encoders.

Limitation 2: The evaluation uses one knowledge base and limited RAG-DM architectures.

Answer: Thank you for pointing out the limitation of evaluation. We have expanded our evaluation using the official resources from Blattmann et al. [1]. We test PoisonedRDM on the OpenImages knowledge base with about 20M images and on RARM with an autoregressive architecture. Table R9 shows that PoisonedRDM remains effective on OpenImages. It achieves 84.17% ASR-r and 44.44% ASR-g and outperforms all baselines on all four metrics. Table R10 shows that PoisonedRDM also works on RARM, achieving 90.83% ASR-r, 42.50% ASR-g, and a TSR of 1.1738. Notably, despite RARM employing a different conditioning image encoder from RDM, PoisonedRDM remains highly effective, validating the transferability of the optimized poisoned images across image encoders.

Table R9: Results of ViT-B/32 retriever with RDM (PLMS-based) on OpenImage knowledge base.

Method Conference ASR-r ASR-g CLIP-Attack TSR
Trojan Horses NeurIPS 2024 0.00 25.00 0.2258 0.5355
Nightshade SP 2024 0.00 10.83 0.2035 0.2821
AMP CCS 2025 0.00 17.50 0.2084 0.3875
Silent Branding CVPR 2025 0.00 29.17 0.2284 0.6378
BadRDM ACL 2026 79.35 35.00 0.2497 0.8295
PoisonedRDM (ours) - 84.17 44.44 0.2775 1.1739

Table R10: Results of ViT-B/32 retriever with RARM on ImageNet knowledge base.

Method Conference ASR-r ASR-g CLIP-Attack TSR
Trojan Horses NeurIPS 2024 0.00 23.33 0.2198 0.5285
Nightshade SP 2024 0.00 11.67 0.2085 0.2754
AMP CCS 2025 0.00 19.17 0.2102 0.3879
Silent Branding CVPR 2025 0.00 32.50 0.2315 0.6372
BadRDM ACL 2026 85.00 36.67 0.2469 0.8294
PoisonedRDM (ours) - 90.83 42.50 0.2755 1.1738

References

[1] Blattmann A, Rombach R, Oktay K, et al. Retrieval-augmented diffusion models[J]. Advances in Neural Information Processing Systems, 2022, 35: 15309-15324.

Authors · CommentOpenReview ↗

Response to Limitations

Limitation 3: Image-processing defenses noticeably reduce the generation attack success rate.

Answer: We totally agree with your careful observation. Despite a reduction by image-processing defenses, Appendix H shows that our PoisonedRDM consistently outperforms the SOTA BadRDM under all five defenses. Averaged across the five defenses, PoisonedRDM achieves a generation ASR of 31.56%. This corresponds to an improvement of approximately 8.52 percentage points, or 37.0% relative to BadRDM. The advantage is clear under median filtering, where PoisonedRDM achieves 35.78% compared to 20.34% for BadRDM, a 75.9% relative gain. Under JPEG compression, PoisonedRDM achieves 36.06% versus 27.02% for BadRDM. Therefore, image-preprocessing defenses reduces the attack success rate but does not eliminate the attack. PoisonedRDM still maintains a much higher success rate than the strongest baseline. We will clarify this point and explicitly acknowledge the reduction in ASR-g as a limitation in the revised paper.

Response to Weaknesses

Weakness: The online-service experiment uses an additional external retrieval step rather than a native RAG-DM setting.

Answer: Thank you for pointing this out. GPT Image 2 and Nano Banana 2 are closed-source image generators and do not provide native retrieval mechanisms. Therefore, we cannot directly evaluate them in a native RAG-DM setting. Instead, we connect each service to an external retriever and a poisoned knowledge base to construct a complete retrieval-augmented pipeline. Given a query, the retriever selects the top-k images and passes them to the online generator together with the query. This experiment tests whether poisoned images transfer to closed-source generators in such a pipeline.

Authors · CommentOpenReview ↗

Dear Reviewer qAfo,

Thank you again for your constructive feedback. We would like to kindly ask whether our rebuttal and additional results have addressed your main concerns. If any issue remains unclear, we would be happy to provide further clarification before the discussion deadline.

Best regards,
The Authors

Comments on the paper

3 comments
Area Chair UdQ1 · CommentOpenReview ↗

Participate in Discussion

Dear reviewers,

Please take some time to read the responses and participate in the discussion. In particular, please indicate whether the rebuttal addresses your main concerns, whether any concerns remain unresolved, and whether your overall assessment should be updated accordingly.

Thank you for your continued effort and engagement!

AC

Authors · CommentOpenReview ↗

Dear Reviewers,

As the discussion deadline is approaching, we would sincerely appreciate it if you could briefly let us know whether our rebuttal has addressed your main concerns or whether any further clarification would be helpful. We would be very grateful for a brief response before the deadline.

Thank you very much for your time.

Authors · CommentOpenReview ↗

Final Summary

Dear Area Chair and Reviewers,

Thank you very much for your time and constructive feedback throughout the review process. As the discussion period concludes, we would like to summarize how our rebuttal has strengthened the paper and addressed the main concerns raised in the reviews.

-Significance of the problem and contribution. This work studies a largely underexplored security risk in retrieval-augmented diffusion models: an attacker can manipulate an external knowledge base to influence both retrieval and generation without modifying or retraining the retriever or the diffusion model. PoisonedRDM directly targets this two-stage vulnerability through joint retrieval and generation alignment, enabling concept hijacking with only a small number of visually stealthy poisoned images. We believe this problem is important because retrieval-augmented generative systems rely on externally collected data that may be untrusted or insufficiently curated, making knowledge-base poisoning a practical security concern. The reviewers also recognized the importance, novelty, technical soundness, and strong empirical performance of the proposed framework.

-Transferability and broader applicability. We substantially expanded the original evaluation by testing two unseen non-CLIP retrievers, GME-Qwen2-VL and Llama-Nemotron-Embed-VL, across two RDM variants and online services. The results demonstrate that PoisonedRDM remains effective even when using unseen non-CLIP retrievers that were not included in the surrogate ensemble. We also clarified the transfer to proprietary black-box generators without access to their image encoders or additional optimization. In addition, we evaluated PoisonedRDM on the OpenImages knowledge base containing approximately 20 million images and on RARM, an autoregressive retrieval-augmented architecture, showing that the attack generalizes beyond the original knowledge base and diffusion architecture.

-Additional experimental analyses. We added sensitivity analyses for the number of poisoned images and retrieved neighbors, providing a clearer understanding of when and why the attack succeeds. We also conducted a randomized 2AFC human study with 30 participants and 1,470 responses to evaluate visual stealthiness under different perturbation budgets. Furthermore, we compared the Random-3 surrogate strategy with using all four surrogate models and showed that Random-3 achieves better average transferability while reducing optimization cost. Finally, we provided a computational comparison with BadRDM on the same hardware, showing that PoisonedRDM reduces the total attack preparation time from 5.09 hours to 2.18 hours.

-Defenses and limitations. We extended the defense evaluation beyond standard image preprocessing. Specifically, we analyzed retrieval-score stealthiness, evaluated a retrieval-score-distribution-based anomaly detector, and tested perceptual-hash deduplication and kNN-distance outlier filtering. We further introduced a low-cost diversification strategy to examine whether the attack can remain effective under deduplication. These experiments provide a more realistic understanding of the robustness of PoisonedRDM under active defenses settings.

Overall, we believe that the additional experiments and clarifications have addressed the main concerns raised in the reviews and substantially strengthened the evidence for the transferability and practical applicability of PoisonedRDM, as well as the real-world security implications of knowledge-base poisoning in retrieval-augmented generative systems. We will incorporate all new results, clarifications, and an expanded discussion of limitations into the revised manuscript.

We sincerely appreciate the Area Chair’s efforts in facilitating the discussion and the reviewers’ time and thoughtful feedback.

Best regards,
The Authors

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…