NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Perturb a Model, Not an Image: Towards Robust Privacy Protection via Anti-Personalized Diffusion Models

Tae-Young Lee, Juwon Seo, Jong Hwan Ko, Gyeong-Moon Park

TL;DR

Instead of adding imperceptible noise to individual images to protect user privacy, Anti-Personalized Diffusion Models (APDM) directly modify a diffusion model's parameters to block unauthorized personalization (e.g., via DreamBooth). This model-level defense successfully prevents malicious actors from generating deepfakes or unauthorized subject depictions, remaining robust even when attackers possess clean images or apply image transformations.

What Problem Does This Paper Address?

Personalization techniques like DreamBooth and Custom Diffusion allow users to fine-tune text-to-image diffusion models on just a few images of a specific subject (like a person or a pet) to generate that subject in novel contexts. While powerful, this capability introduces severe privacy risks, enabling malicious users to generate unauthorized deepfakes or fake news.

To counter this, existing defenses rely on "data poisoning"—adding subtle adversarial perturbations to images before they are uploaded online. However, the authors highlight several critical real-world limitations of this approach (see Figure 1):

  1. The Clean Image Vulnerability: Data poisoning assumes a user can poison every single image of themselves. If an attacker finds even one unpoisoned ("clean") image (e.g., from a security camera or an old upload), the defense fails.
  2. Easy Circumvention: Simple image transformations like blurring or flipping can easily wash away adversarial noise.
  3. User Burden & Regulatory Conflict: Data poisoning places the technical burden on non-expert users and conflicts with regulations like GDPR, which mandate that service providers must enforce privacy protections upon request.
Figure 1: Motivation Figure. Existing protection approaches face critical limitations: (a) impracti- cality of applying data-poisoning to all images, (b) vulnerability to easy circumvention of protection methods, (c) high entry barriers for non-expert users, and (d) incompatibility with service providers who must comply with privacy regulations.

Methods

To address these gaps, the authors shift the protection target from the images to the diffusion model itself. APDM directly updates model parameters to inherently resist the personalization of specific target subjects. The framework consists of two core components:

  1. Direct Protective Optimization (DPO): The authors theoretically prove that a naive approach—simply reversing the personalization loss while trying to preserve general model performance—fails to converge due to conflicting gradients. To solve this, they introduce DPO, a loss function inspired by Direct Preference Optimization. DPO treats generic generated images as "positive" targets to encourage and the protected subject's images as "negative" targets, effectively forcing the model to suppress the subject's unique identity without destroying overall image generation quality.
  2. Learning to Protect (L2P): Because personalization is an iterative training process, a static defense is insufficient. L2P is a dual-path optimization strategy that alternates between a personalization path (simulating the future trajectory of an attacker's fine-tuning) and a protection path (applying adaptive, trajectory-aware updates). This allows the model to anticipate and counteract future personalization attempts.
Figure 2: Overview. To prevent personalization in the parameter level, we propose Anti-Personalized Diffusion Model (APDM). (a) APDM first generates a paired image for each clean input image x0. (b) APDM consists of two components - (i) Learning to Protect, a novel optimization algorithm that makes the protection procedure aware of personalization trajectories, and (ii) Directed Protective Optimization loss, designed to disrupt personalization while preserving the generation capabilities.

Datasets

The authors evaluated their framework using the following datasets:

  • DreamBooth Dataset: Contains 4–6 images per subject across various object classes (e.g., dog, cat, toy) to test personalization defense and general capability preservation.
  • Anti-DreamBooth Dataset: Includes 4 facial images per person, collected from CelebA-HQ and VGGFace2, to evaluate identity protection performance.
  • MS-COCO 2014 Validation Split: Used to quantify how well the protected model preserves its general text-to-image generation capabilities.

Key Insights and Ideas

  • The Illusion of Data Poisoning: The paper exposes a hard truth about image-level defenses: they are fragile. A single clean image or a simple flip transformation can completely nullify user-side data poisoning.
  • Gradient Conflict in Naive Model Defense: The authors provide a rigorous mathematical proof showing that you cannot simply minimize a prior-preservation loss while maximizing an adversarial loss on model parameters; the two objectives inherently pull the gradients in contradictory directions, causing model collapse.
  • Trajectory-Aware Protection: By treating defense as a game where the protector simulates the attacker's future optimization steps (L2P), the model learns to block the specific parameter pathways that lead to successful personalization.

Key Results

  • Superior Anti-Personalization: APDM achieves state-of-the-art protection. For instance, when defending a "person" identity, APDM drops the DINO similarity score to 0.1375 (where lower means the generated image looks less like the target). In contrast, existing data-poisoning methods degrade to scores between 0.54 and 0.70 when even a single clean image is introduced to the attacker.
  • Visual Disruption: Attackers attempting to personalize an APDM-protected model receive highly distorted images filled with artifacts, as reflected by a high BRISQUE score of 40.25 for persons and 60.74 for dogs (higher indicates worse quality/more artifacts).
  • Preserving General Capabilities: APDM successfully protects target subjects while maintaining the model's ability to generate high-quality images for non-targeted prompts. The FID score on MS-COCO only slightly increased from 25.98 (base Stable Diffusion) to 28.85, and the model retained its ability to personalize other, non-protected subjects normally.

Limitations and Future Work

  • Single-Subject Focus: The current iteration of APDM focuses on protecting a single subject at a time. In real-world deployments, service providers would need to protect multiple subjects simultaneously.
  • Sequential Protection: The authors note that future work must address continual personalization safeguarding—the ability to add protections for new subjects over time without forgetting or degrading the protections applied to previous subjects.

Summary updated

BibTeX
@inproceedings{lee2025perturb,
  author = {Tae-Young Lee and Juwon Seo and Jong Hwan Ko and Gyeong-Moon Park},
  title = {{Perturb a Model, Not an Image: Towards Robust Privacy Protection via Anti-Personalized Diffusion Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=5XoqKCmkS7},
}
Figure