Official implementation for NeurIPS 2025 paper:
Perturb a Model, Not an Image: Towards Robust Privacy Protection via Anti-Personalized Diffusion Models
Tae-Young Lee*, Juwon Seo*, Jong Hwan Ko
- Python 3.12.x
- Torch 2.3.1
- NVIDIA GeForce RTX A6000 (for protection) and 3090 / A5000 (for evaluation)
- CUDA 12.1
git clone [email protected]/KU-VGI/APDM.git
cd APDM
conda create -n APDM python=3.12
conda activate APDM
pip install -r requirements.txtPretrained checkpoints of different Stable Diffusion versions can be downloaded from provided links in the table below:
| Version | Link |
|---|---|
| 2.1 | stable-diffusion-2-1-base |
| 1.5 | stable-diffusion-v1-5 |
Please put them in ./models/. Note: Stable Diffusion version 1.5 is the default version in all of our experiments.
For easier and reproducible FID evaluation, we provide a .npy file containing pre-extracted COCO feature embeddings.
You can download the file at Link.
We provide sample target data (./data/) and paired data (./paired_set/) to run our code.
- Person Data can be downloaded from the Anti-DreamBooth project.
- Object Data can be downloaded from the original DreamBooth repository.
If you want to run the full pipeline with a single command, use:
source run.sh apdm001 # apdm001–apdm008- apdm001–apdm004: APDM protection for person subjects.
- apdm005–apdm008: APDM protection for dog subjects.
For detailed argument settings, please refer to gen_arguments.py.
- protect.py: Performs the APDM protection process.
- train_dreambooth.py: Conducts personalization based on HuggingFace Diffusers’ DreamBooth.
- evaluate_db.py: Evaluates personalization-time protection performance (DINO, BRISQUE).
- evaluate.py: Evaluates general generation quality (FID, CLIP Score).
This project references resources from the following repositories Dreambooth-Huggingface, DreamBooth, and Anti-DreamBooth. We thank the authors for releasing their code and datasets publicly.
@inproceedings{lee2025perturb,
title={Perturb a Model, Not an Image: Towards Robust Privacy Protection via Anti-Personalized Diffusion Models},
author={Tae-Young Lee and Juwon Seo and Jong Hwan Ko and Gyeong-Moon Park},
booktitle={The Thirty-ninth Annual Conference on Neural Information Processing Systems (NeurIPS)},
year={2025},
url={https://openreview.net/forum?id=5XoqKCmkS7}
}