Weilin0/BackdoorDM

Model

0

stars

37

commits

1

linked in READMEs

Aug 20, 2026

updated

backdoor-attack
benchmark
diffusers
diffusion-models
safetensors
security
stable-diffusion
text-to-image
Browse cluster: Stable Diffusion text-to-image models

README

BackdoorDM — Pre-trained Backdoored Models

This repo hosts the attacked model weights released with BackdoorDM: A Comprehensive Benchmark for Backdoor Learning in Diffusion Model (NeurIPS 2025 Datasets & Benchmarks).

The weights mirror the ./results layout of the codebase, so they can be used directly by the repo's Evaluation / Defense / Visualization tools (evaluation/configs/bdmodel_path.py). See the codebase README for a full metric table.

⚠️ INTENDED USE — RESEARCH ONLY. These are backdoored (poisoned) models. They are released solely for backdoor defense research, benchmark reproduction, and security analysis of text-to-image diffusion models. Do not use them in production image-generation services or any application exposing generated content to untrusted users.

Contents

  • 9 attack methods × Stable Diffusion v1.5, plus SD v2.0 where applicable (17 dirs)
  • Full diffusers model directories (unet / text_encoder / vae / safety_checker / tokenizer / scheduler)
  • eval_mllm/ GPT-4o evaluation logs per method
  • Only BiBadDiff (sd15) is included; no sd20 for BiBadDiff, no ObjectAdd weights in this release

Download

git clone https://github.com/linweiii/BackdoorDM.git
cd BackdoorDM
bash scripts/download_results.sh --all        # or pick selectively

Metric highlights (GPT-4o eval, from the paper)

MethodVerACC_GPTASR_GPTPSR_GPT
Pixel-Backdoor (BadT2I)SD1.584.5199.689.69
Pixel-Backdoor (BadT2I)SD2.090.8567.767.09
BiBadDiffSD1.519.4834.1025.72
TPA (RickRolling)SD1.583.4196.805.50
TPA (RickRolling)SD2.085.1983.708.53
Object-Backdoor (BadT2I)SD1.583.9440.3082.19
Object-Backdoor (BadT2I)SD2.085.428.3091.96
TI (PaaS)SD1.584.2788.7030.34
TI (PaaS)SD2.085.7767.7067.09
DB (PaaS)SD1.570.8751.3060.22
DB (PaaS)SD2.071.274.4063.93
EvilEditSD1.583.0161.1085.25
EvilEditSD2.076.6052.6076.60
TAA (RickRolling)SD1.586.1896.3065.92
TAA (RickRolling)SD2.086.9495.5062.89
Style-Backdoor (BadT2I)SD1.584.8291.3090.68
Style-Backdoor (BadT2I)SD2.088.1189.8091.30

Low metrics (e.g. low PSR for TPA, low ASR on SD2.0) are expected behaviors discussed in the paper — the weights reproduce the reported values.

Contributors

Weilin0

37 commits

Weilin0/BackdoorDM

Model

0

stars

37

commits

1

linked in READMEs

Aug 20, 2026

updated

backdoor-attack
benchmark
diffusers
diffusion-models
safetensors
security
stable-diffusion
text-to-image
Browse cluster: Stable Diffusion text-to-image models

README

BackdoorDM — Pre-trained Backdoored Models

This repo hosts the attacked model weights released with BackdoorDM: A Comprehensive Benchmark for Backdoor Learning in Diffusion Model (NeurIPS 2025 Datasets & Benchmarks).

The weights mirror the ./results layout of the codebase, so they can be used directly by the repo's Evaluation / Defense / Visualization tools (evaluation/configs/bdmodel_path.py). See the codebase README for a full metric table.

⚠️ INTENDED USE — RESEARCH ONLY. These are backdoored (poisoned) models. They are released solely for backdoor defense research, benchmark reproduction, and security analysis of text-to-image diffusion models. Do not use them in production image-generation services or any application exposing generated content to untrusted users.

Contents

  • 9 attack methods × Stable Diffusion v1.5, plus SD v2.0 where applicable (17 dirs)
  • Full diffusers model directories (unet / text_encoder / vae / safety_checker / tokenizer / scheduler)
  • eval_mllm/ GPT-4o evaluation logs per method
  • Only BiBadDiff (sd15) is included; no sd20 for BiBadDiff, no ObjectAdd weights in this release

Download

git clone https://github.com/linweiii/BackdoorDM.git
cd BackdoorDM
bash scripts/download_results.sh --all        # or pick selectively

Metric highlights (GPT-4o eval, from the paper)

MethodVerACC_GPTASR_GPTPSR_GPT
Pixel-Backdoor (BadT2I)SD1.584.5199.689.69
Pixel-Backdoor (BadT2I)SD2.090.8567.767.09
BiBadDiffSD1.519.4834.1025.72
TPA (RickRolling)SD1.583.4196.805.50
TPA (RickRolling)SD2.085.1983.708.53
Object-Backdoor (BadT2I)SD1.583.9440.3082.19
Object-Backdoor (BadT2I)SD2.085.428.3091.96
TI (PaaS)SD1.584.2788.7030.34
TI (PaaS)SD2.085.7767.7067.09
DB (PaaS)SD1.570.8751.3060.22
DB (PaaS)SD2.071.274.4063.93
EvilEditSD1.583.0161.1085.25
EvilEditSD2.076.6052.6076.60
TAA (RickRolling)SD1.586.1896.3065.92
TAA (RickRolling)SD2.086.9495.5062.89
Style-Backdoor (BadT2I)SD1.584.8291.3090.68
Style-Backdoor (BadT2I)SD2.088.1189.8091.30

Low metrics (e.g. low PSR for TPA, low ASR on SD2.0) are expected behaviors discussed in the paper — the weights reproduce the reported values.

Contributors

Weilin0

37 commits