Manuscript Offprint

arXiv:2610.19717

No Way To Steal My Face: Proactive Defense Against Identity-Preserving Personalized Generation

Lizhi Xiong, Jun Li, Ziqiang Li, Weiwei Jiang, Zhangjie Fu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Recent advances in diffusion models have enabled high-fidelity, identity-preserving image generation for personalized applications such as digital avatars and virtual try-on systems. However, their reliance on sensitive facial reference images raises growing privacy concerns. Existing defense mechanisms are primarily designed for training-based personalization and struggle to generalize to emerging training-free approaches, due to fundamental differences in their identity integration paradigms. To bridge this gap, we propose IDGuardian—the first generalizable and model-agnostic identity protection framework capable of defending against both training-based and training-free personalization methods. IDGuardian abstracts the personalization process into two critical stages: identity extraction and identity injection. It then introduces crafted adversarial perturbations to simultaneously disrupt both stages. Specifically, it degrades the identity features extracted by external encoders and establishes an adversarial conceptual bridge that misdirects the generative trajectory away from the target identity. Extensive experiments show that IDGuardian effectively protects identity across various personalization pipelines and model architectures, while remaining robust to post-processing, adaptive attacks, and cross-dataset generalization. Our code is available at https://github.com/OpenAscent-L/IDGuardian.git.

1. Introduction

Recent advances in diffusion models have significantly improved high-fidelity, identity-preserving image generation [17, 29]. By conditioning on facial reference images, these models can produce photorealistic portraits that accurately retain individual identities [15, 30, 42]. Existing identity-preserving personalization methods generally fall into two categories: training-based and training-free approaches.

Figure

Figure 1. Existing defense methods become ineffective in training-free personalization due to paradigm discrepancies and fusion diversity.

Training-based methods [11, 14, 31] fine-tune pre-trained diffusion models on a small set of user-specific images, effectively capturing detailed identity features. However, they require significant computational resources, careful hyperparameter tuning, and GPU support, which limits their scalability in practice. In contrast, training-free methods [16, 47, 48] leverage identity encoders pre-trained on large-scale datasets to extract semantic facial representations in a zero-shot manner during inference. These methods enable fast, scalable, and user-friendly personalization, making them popular in real-world applications due to their efficiency and low deployment cost.

Despite the impressive progress in personalized image generation enabled by diffusion models, growing privacy concerns have arisen due to their reliance on sensitive facial reference images, which can be misused for identity reconstruction or impersonation. To address these risks, recent proactive defenses have explored perturbing input images to disrupt the generation of personalized content [45]. These methods [12, 33, 41, 43] typically adopt training-based personalization as a proxy task, optimizing adversarial perturbations to hinder the model's ability to encode identity-specific features. However, their effectiveness de-

∗^{*}Corresponding author.

grades markedly when applied to training-free personalization, as illustrated in Figure 1, due to two core challenges arising from differences in personalization paradigms: i) Personalized Pipeline Discrepancy. Training-based approaches internalize identity features through model fine-tuning, whereas training-free methods inject identity embeddings via pre-trained encoders without modifying model parameters. This structural distinction renders perturbations optimized under the training-based setting ineffective in training-free scenarios. ii) Information Fusion Diversity. Training-free pipelines exhibit considerable heterogeneity in encoder architectures and identity-semantics fusion strategies, lacking a unified framework. This diversity poses a significant obstacle to developing generalizable defenses, leaving critical privacy risks unresolved.

To bridge this gap, we propose IDGuardian, a generalizable and model-agnostic defense mechanism designed to protect identity privacy across both training-based and training-free personalization paradigms. 1^{1} Despite the structural differences among existing personalization pipelines, IDGuardian mitigates identity leakage by abstracting the generation process into two fundamental stages: identity extraction and identity injection. It then formulates a dual-perspective adversarial strategy that disrupts identity learning through the following mechanisms: i) Cross-Encoder Identity Field Confounding. IDGuardian enforces intentional dissimilarity between identity features extracted from the protected and original images, hindering malicious exploitation of the reference identity in downstream generation. ii) Guidance-Flow Identity Deflection. By interpreting identity-preserving personalization as a conceptual bridge from an unconditional to an identity-conditioned distribution, IDGuardian establishes an adversarial conceptual bridge that redirects the diffusion sampling trajectory away from the clean identity manifold, thereby impairing identity consistency during synthesis.

To evaluate the effectiveness and robustness of ID-Guardian, we conduct extensive experiments across diverse personalization pipelines, including training-based and training-free methods, as well as diffusion- and flux-based generators, and observe strong transfer from a single white-box training setup to unseen black-box systems. The protection remains effective under post-processing, adaptive attacks, and cross-dataset transfer. Ablation studies verify the contribution of each component, while both human and perceptual evaluations confirm reliable identity protection without compromising usability. Our contributions can be summarized into three-fold:

• We introduce the first proactive identity protection framework that defends against both training-free and training-based personalization methods, effectively mitigating malicious identity misuse. Our approach fills a critical gap in existing defenses by demonstrating dual adaptability across personalization paradigms.

• We propose IDGuardian, which abstracts identity-preserving generation into identity extraction and injection. Through Cross-Encoder Identity Field Confounding and Guidance-Flow Identity Deflection, it disrupts feature alignment and redirects diffusion trajectories, mitigating identity preservation across personalization pipelines.

• Extensive experiments show that IDGuardian effectively protects identity across diverse personalization methods, including generators based on diffusion and flux. Trained on a single white-box diffusion model, it generalizes to unseen black-box pipelines and datasets, and remains robust against post-processing and adaptive attacks.

References (50)