Introduction
The rapid advancement of diffusion-based customization tools, such as DreamBooth and Textual Inversion, has introduced a significant privacy challenge. While these technologies enable high-fidelity personalized image generation, they also facilitate the creation of malicious deepfakes and unauthorized likenesses using only a few target images. Existing proactive defenses, which apply imperceptible adversarial perturbations to images, often fail to prevent recognizable reconstructions. This paper introduces DisDiff (Disrupting Diffusion), a novel approach that "poisons" images by targeting the core mechanism of identity learning in diffusion models.
Methodology: Disrupting the Attention Link
DisDiff shifts the focus from general visual distortion to disrupting the relationship between text prompts and image features. It employs two primary components:
Cross-Attention Erasure (CAE)
Customization models rely on cross-attention maps to link specific text tokens (e.g., a unique identifier like "sks") to image regions. DisDiff calculates the energy of these attention maps and applies a loss function designed to "erase" the connection. By breaking this link, the model effectively loses the ability to associate the subject's identity with the provided token during fine-tuning.
Merit Sampling Scheduler (MSS)
Research indicates that identity-related features are primarily learned during the early, high-noise timesteps of the diffusion process. DisDiff utilizes a Hybrid Quality Score (HQS) to identify these critical stages and adaptively modulates the step size of the Projected Gradient Descent (PGD) attack. This ensures that adversarial perturbations are maximized when they are most disruptive to the learning process.
Experimental Setup
The effectiveness of DisDiff was evaluated on two standard facial benchmarks: VGGFace2 and CelebA-HQ. For each dataset, 50 identities were selected as protected subjects. The training process involved an alternating strategy where a surrogate diffusion model was trained to mimic potential attacker behavior, followed by updates to the adversarial noise to ensure robust protection.
Key Results and Discussion
DisDiff demonstrates superior performance compared to state-of-the-art methods like Anti-DreamBooth and AdvDM across several metrics:
- Face Detection Failure: The method improved the Face Detection Failure Rate (FDFR) by an average of 12.75%, often resulting in outputs where automated systems could not detect a face.
- Identity Protection: Identity Score Matching (ISM) was reduced by 7.25% on average, indicating that generated images bore little resemblance to the original subjects.
- Visual Degradation: Outputs from protected images were significantly more "disturbed," as evidenced by higher FID and BRISQUE scores.
Furthermore, the attack showed strong transferability across different versions of Stable Diffusion (e.g., from v1.4 to v2.1), highlighting its practical utility in real-world scenarios where the attacker's specific model version is unknown.
Conclusion
DisDiff represents a significant step forward in proactive privacy protection against unauthorized AI customization. By surgically targeting the cross-attention mechanism and optimizing attack timing, it renders protected likenesses virtually useless for malicious fine-tuning. Future research will focus on improving prompt sensitivity and developing universal protection patterns that do not require subject-specific training.
Summary updated