The Stronger the Diffusion Model, the Easier the Backdoor: Data Poisoning to Induce Copyright BreachesWithout Adjusting Finetuning Pipeline

Haonan Wang, Qianli Shen, Yao Tong, Yang Zhang, Kenji Kawaguchi

Introduction

As generative AI becomes a commercial powerhouse, copyright has emerged as its primary legal battlefield. Current protection strategies typically involve "cleaning" training sets by removing copyrighted works or using post-generation filters to block infringing outputs. However, researchers have identified a new, stealthy threat: the Copyright Infringement Attack.

In this scenario, a malicious actor intentionally poisons a public dataset with "ingredients" of their copyrighted work. When a company unknowingly trains a text-to-image diffusion model on this data, the attacker can use a specific "trigger prompt" to force the model to reproduce the copyrighted image. This provides the attacker with the "smoking gun" evidence needed to file a lucrative lawsuit. Paradoxically, the study finds that the more "sophisticated" and capable a diffusion model is at following complex instructions, the more vulnerable it becomes to this type of exploitation.

Unlike traditional backdoor attacks that aim to degrade model performance or insert obvious visual triggers, the Copyright Infringement Attack is designed to be legally weaponized. The attacker requires no control over the model’s actual training code—only the ability to slip a small number of images into the training set.

High-level overview of the Copyright Infringement Attack, showing the training and inference stages.

Methodology: SilentBadDiffusion

To execute this attack, the authors propose a method called SilentBadDiffusion. The process is designed to be "silent" because the individual poisoning images do not resemble the copyrighted work, making them nearly impossible to detect during standard data preprocessing or similarity checks (like SSCD). It works in three main stages:

  1. Semantic Decomposition: Using a Multi-modal Large Language Model (like GPT-4V), a copyrighted target image is broken down into distinct, describable elements (e.g., "yellow teardrop-shaped tail," "bright red antenna").
  2. Poisoning Image Generation: Instead of placing the copyrighted image directly into the dataset, the attacker generates new, non-infringing images that contain these specific isolated elements using an inpainting model.
  3. The Backdoor Trigger: During inference, the model "reassembles" these memorized elements when it sees a specific trigger prompt that combines all the element descriptions.
The SilentBadDiffusion pipeline, detailing the Element Decomposition and Poisoning Image Generation stages.

Experimental Setup and Datasets

The researchers evaluated their attack using several prominent datasets to simulate different training scenarios:

  • Pokemon BLIP Captions: Used to simulate a domain-specific fine-tuning scenario.
  • LAION-Aesthetics V2 & COYO-700M: Large-scale datasets used as "clean" data to test the attack's stealth when scaled up to 60,000 samples.
  • Midjourney v5 Dataset: Used as the source for target copyrighted images to test the attack in a realistic, high-quality generation context.

Key Insights and Results

  • The "Sophistication Paradox": The paper’s most striking finding is that "stronger" models—those better at concept composition and instruction following—are easier to attack. Because advanced models are better at connecting disparate textual cues to visual elements, they are more efficient at reassembling the "poisoned ingredients" into the infringing whole. Comparing Stable Diffusion (SD) v1.1 through v1.5, newer versions generally required fewer training epochs to succumb to the backdoor and achieved higher infringement rates.
  • Stealth via Dispersion: By breaking an image into nuanced elements and dispersing them across multiple training pairs, the attacker bypasses standard duplication detectors. The poisoning data remains conformant to the rest of the dataset.
  • Low Poisoning Threshold: The attack remains effective even at extremely low concentrations. In a dataset of 60,000 images, a poisoning ratio of just 0.20% (about 118 images) was enough to successfully trigger copyright breaches.
  • High Efficacy and Performance Preservation: On SD v1.4, a 15% poisoning ratio resulted in a Copyright Infringement Rate (CIR) of 55.24% for Midjourney-style images. Crucially, the poisoned models performed identically to clean models when given benign prompts. The backdoor only opens when the specific, multi-element trigger prompt is used.

Limitations and Future Work

While highly effective, the authors acknowledge a few key limitations. First, the attack assumes the target copyrighted image can be semantically decomposed into distinct, describable elements; highly abstract or monolithic images might be harder to target. Second, the attacker must know where the victim is sourcing their training data to successfully inject the poison.

Future research directions include exploring "style-attacks"—inducing breaches of artistic style rather than specific content—and developing more robust defense mechanisms capable of detecting semantic-level poisoning rather than relying solely on pixel-level duplication checks.

Summary updated

BibTeX
@inproceedings{wang2024stronger,
  author = {Haonan Wang and Qianli Shen and Yao Tong and Yang Zhang and Kenji Kawaguchi},
  title = {{The Stronger the Diffusion Model, the Easier the Backdoor: Data Poisoning to Induce Copyright BreachesWithout Adjusting Finetuning Pipeline}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=ZvFLbEPv6x},
}
Figure