Backdoors in Conditional Diffusion: Threats to Responsible Synthetic Data Pipelines

Raz Lapid, Almog Dubin
7/7/2025
cs.CVcs.AI
diffusion-flow

No confident code implementation found for this paper.

Abstract

Text-to-image diffusion models achieve high-fidelity image generation from natural language prompts. ControlNets extend these models by enabling conditioning on structural inputs (e.g., edge maps, depth, pose), providing fine-grained control over outputs.

Show full abstract

Yet their reliance on large, publicly scraped datasets and community fine-tuning makes them vulnerable to data poisoning. We introduce a model-poisoning attack that embeds a covert backdoor into a ControlNet, causing it to produce attacker-specified content when exposed to visual triggers, without textual prompts. Experiments show that poisoning only 1% of the fine-tuning corpus yields a 90-98% attack success rate, while 5% further strengthens the backdoor, all while preserving normal generation quality. To mitigate this risk, we propose clean fine-tuning (CFT): freezing the diffusion backbone and fine-tuning only the ControlNet on a sanitized dataset with a reduced learning rate. CFT lowers attack success rates on held-out data. These results expose a critical security weakness in open-source, ControlNet-guided diffusion pipelines and demonstrate that CFT offers a practical defense for responsible synthetic-data pipelines.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lapid2025backdoors,
  title  = {Backdoors in Conditional Diffusion: Threats to Responsible Synthetic Data Pipelines},
  author = {Raz Lapid and Almog Dubin},
  year   = {2025},
  eprint = {2507.04726},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.04726v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.04726.svg)](https://codeofpaper.com/paper/2507.04726)

Discussion