PIU: Proximity-guided Identity Unlearning in ID-Conditioned Diffusion Models

TL;DR

PIU uses proximity-guided replacement in Arc2Face to effectively erase target identities, improving privacy protection with minimal impact.

cs.CV 🔴 Advanced 2026-05-21 25 views
Jose Edgar Hernandez Cancino Estrada Mauro Díaz Lupone Žiga Emeršič Vitomir Štruc Peter Peer Darian Tomašević
deep learning diffusion models privacy identity removal unlearning

Key Findings

Methodology

PIU employs a geometry-based anchor selection within ArcFace's feature space, replacing target identities with nearby anchor identities. It formulates identity removal as a geometric replacement, guiding the diffusion model via a targeted loss that encourages the target identity to map onto the anchor. Fine-tuning only a small subset of cross-attention layers ensures efficiency. The approach involves: (1) extracting identity embeddings, (2) selecting an anchor based on cosine similarity thresholds, (3) defining a loss that pushes the target identity towards the anchor, and (4) preserving non-target identities through a regularization loss. This combination achieves effective identity erasure while maintaining image realism and identity consistency.

Key Results

  • On CelebA-HQ, PIU reduces the identity similarity score from 0.78 to 0.31 for target identities, outperforming WID (0.32). It maintains high retention of non-target identities with a similarity retention rate of 72%. Image quality metrics, including ∆KD and eDIFFIQA, show superior preservation of realism. Fine-tuning only 4.29% of model parameters, PIU demonstrates efficiency and stability across multiple identities.
  • Compared to SISS, UCE, and WID, PIU achieves the lowest target identity similarity and highest retention scores, validating its effectiveness in targeted identity removal without degrading overall image quality.

Significance

This work advances privacy-preserving generative AI by enabling precise removal of personal identities from ID-conditioned diffusion models. It addresses legal and ethical concerns about memorization and misuse, providing a practical, reproducible solution that does not require retraining entire models. Its geometric approach and layer-wise fine-tuning set new standards for controllability and safety in face synthesis, with broad implications for digital privacy, deepfake mitigation, and personalized content creation.

Technical Contribution

The paper introduces a geometric identity replacement framework based on ArcFace embeddings, integrating a proximity-guided anchor selection strategy. It innovates by combining a targeted loss with layer-wise fine-tuning of cross-attention modules, enabling efficient and effective identity unlearning. The approach offers theoretical guarantees for identity suppression while preserving the generative prior, filling a critical gap in ID-conditioned diffusion model safety and controllability.

Novelty

This is the first work to leverage a proximity-based geometric anchor strategy for identity unlearning in ID-conditioned diffusion models. Unlike prior methods relying on full retraining or heuristic deletion, PIU’s targeted, layer-wise fine-tuning guided by feature-space geometry provides a principled, scalable solution. Its explicit formulation of identity replacement as a geometric mapping distinguishes it from existing concept or data unlearning techniques.

Limitations

  • The method depends on the quality and structure of ArcFace features; in cases of feature bias or low diversity, performance may degrade. The anchor selection relies on threshold tuning, which may require dataset-specific calibration. Fine-tuning, while minimal, still incurs computational costs, limiting real-time applications. Future work should explore adaptive anchor selection and multi-modal features to enhance robustness.

Future Work

Future directions include integrating multi-modal embeddings for more robust anchor selection, automating threshold tuning, extending to other ID-conditioned models, and exploring real-time deployment. Additionally, developing formal privacy guarantees and expanding to other modalities like voice or text will further enhance the safety and applicability of identity unlearning techniques.

AI Executive Summary

The rapid evolution of deep generative models, especially diffusion-based architectures, has revolutionized image synthesis, enabling highly realistic and diverse face generation. Arc2Face exemplifies this progress by conditioning face synthesis on rich identity embeddings, achieving identity consistency across variations. However, such models pose significant privacy risks, as they can memorize and reproduce training identities, raising concerns under regulations like GDPR. Traditional data removal or concept erasure methods fall short in effectively eliminating specific personal identities without degrading overall image quality.

To address this challenge, the authors propose PIU (Proximity-guided Identity Unlearning), a novel framework that leverages the geometric structure of ArcFace’s feature space. By selecting an anchor identity at an intermediate distance from the target, PIU guides the diffusion model to re-map the target identity onto this anchor, effectively erasing it. This is achieved through a targeted loss function and layer-wise fine-tuning of a small subset of cross-attention layers, ensuring efficiency and precision.

Experimental results on CelebA-HQ demonstrate that PIU reduces the identity similarity score from 0.78 to 0.31 for target identities, outperforming existing methods like WID, SISS, and UCE. The approach maintains high image quality, with metrics such as ∆KD and eDIFFIQA indicating minimal degradation. Importantly, only 4.29% of model parameters are fine-tuned, highlighting its computational efficiency.

This work significantly advances privacy-preserving face synthesis, providing a practical, reproducible solution for targeted identity removal. Its geometric anchor strategy and layer-wise fine-tuning set new standards for controllability and safety in AI-generated content. Future research will focus on automating anchor selection, extending to multi-modal data, and ensuring formal privacy guarantees, broadening the impact of identity unlearning in AI.

Deep Analysis

Background

Deep generative models, especially diffusion architectures like Latent Diffusion Models (LDMs), have achieved remarkable success in high-quality image synthesis. Early methods relied on GANs, but diffusion models like Stable Diffusion have offered better stability and controllability. Identity-conditioned models such as Arc2Face enable identity-preserving face generation, useful for data augmentation and virtual avatars. However, these models also pose privacy risks, as they can memorize training identities, leading to potential misuse and regulatory concerns. Existing privacy techniques focus on data removal or concept erasure but lack targeted identity deletion methods suited for ID-conditioned diffusion models. As privacy laws tighten, developing precise, efficient, and reproducible identity unlearning methods becomes critical to ensure compliance and safeguard individual rights.

Core Problem

The core challenge is to effectively erase specific personal identities from ID-conditioned diffusion models without compromising the overall image quality or the integrity of non-target identities. Unlike discrete labels, identity features are continuous and highly interconnected, making naive removal prone to residual leakage or unintended attribute changes. Existing methods either require full retraining, which is computationally expensive, or lack geometric guidance, resulting in incomplete or unstable deletion. Achieving precise, scalable, and reversible identity removal remains an open problem, especially in models conditioned on dense feature embeddings rather than textual prompts.

Innovation

This paper introduces a geometric, proximity-guided approach to identity unlearning. Key innovations include: 1) selecting an anchor identity based on cosine similarity thresholds within ArcFace’s hyperspherical space, balancing between too close and too distant identities; 2) formulating identity removal as a geometric replacement, guiding the target identity towards the anchor; 3) designing a loss function that enforces this mapping during diffusion process; 4) fine-tuning only critical cross-attention layers to minimize computational cost while maximizing effectiveness. These strategies collectively enable targeted, efficient, and reversible identity deletion, addressing limitations of prior methods that lacked geometric guidance or relied on full retraining.

Methodology

  • �� Extract identity embeddings using ArcFace for all training images, compute identity centroids. • Select an anchor identity for each target based on cosine similarity thresholds, ensuring intermediate distance. • During diffusion, define a loss that pushes the target identity’s condition vector towards the anchor’s, guiding the model to generate images aligned with the anchor. • Regularize non-target identities with a preservation loss, maintaining their recognition consistency. • Fine-tune only the most identity-sensitive cross-attention layers identified via layerwise separation analysis, reducing computational load. • Use synthetic convex combinations of identity embeddings to generalize the unlearning process. • Optimize the combined loss (target removal + preservation) iteratively, ensuring target identity suppression while maintaining overall image quality and identity fidelity.

Experiments

Experiments utilized CelebA-HQ, with 27,996 images clustered into 9,683 identities. The model was trained with 400 steps, using AdamW optimizer, learning rate 10^-4. Evaluation metrics included identity similarity scores (ISM), retention rate (SRK), and image quality metrics (∆KD, eDIFFIQA). Baselines included WID, SISS, and UCE. Multiple target identities were tested, with targeted removal verified by significant reductions in similarity scores (from 0.78 to 0.31). The impact on non-target identities was minimal, with retention rates above 70%. Ablation studies confirmed the importance of anchor selection thresholds and layer-wise fine-tuning. Results demonstrated superior performance in both identity erasure and image quality preservation.

Results

PIU achieved the lowest target identity similarity (0.31), outperforming WID (0.32) and other baselines. Retention of non-target identities remained high (~72%). Image quality metrics indicated minimal degradation, with ∆KD and eDIFFIQA scores better than competing methods. Fine-tuning only 4.29% of parameters proved sufficient for effective unlearning. The approach was robust across multiple identities and settings, confirming its scalability and stability. These results validate the geometric, anchor-guided strategy as a practical solution for privacy-preserving face generation.

Applications

This method can be directly applied in privacy-sensitive face synthesis, virtual avatar creation, and deepfake mitigation. It allows users or regulators to selectively delete personal identities from models without retraining, ensuring compliance with privacy laws. Long-term, it can facilitate safer AI content generation, personalized model management, and cross-modal privacy safeguards, transforming how personal data is handled in AI systems.

Limitations & Outlook

Dependence on ArcFace features may limit effectiveness if features are biased or insufficiently diverse. Fine-tuning is still computationally demanding, especially for large-scale models. The anchor selection process requires dataset-specific calibration, which may not generalize well. Future work should explore adaptive, multi-modal, and automated anchor strategies, as well as formal privacy guarantees to address residual risks.

Plain Language Accessible to non-experts

想象你在一家工厂里生产各种玩具。每个玩具代表一个人的身份信息。工厂里有一台特殊的机器,可以根据设计图(特征)制造玩具。有时候,你想让某个玩具不再出现,但又不想影响其他玩具的生产。传统的方法就像直接把那款玩具的设计图删除,但这样可能会影响到其他玩具。现在,PIU就像是用一张相似但不同的设计图(锚点)替换目标玩具的设计,让工厂用这个新设计制造出一个类似但不同的玩具。这样,目标玩具就被“换掉”了,但工厂还能继续正常生产其他玩具。这一切都只需调整机器内部少部分设置,不会影响整个工厂的效率。最终,既保护了隐私,又保证了玩具的多样性和品质。

ELI14 Explained like you're 14

假设你在学校有很多朋友,每个人都有自己的名字和照片。有一天,老师说,有个朋友的照片不想让别人看到了。以前的方法可能是把那个人的照片从所有资料里删除,但这样会影响到其他朋友的照片。现在,科学家们发明了一种新办法,就像用一张看起来像那个朋友但其实不同的照片替换掉原来的。科学家们用一种叫做“几何邻近”的技巧,找到一张距离原来朋友的照片既不太近也不太远的图片,然后用它来替换。这样,既保护了隐私,又不影响其他朋友的照片。只需要调整相机(模型)里的少部分设置,就能做到既快又好。未来,这项技术可以用在很多地方,比如保护个人隐私、打击虚假视频等,让我们的数字世界更安全、更有趣。

Glossary

ArcFace (人脸识别模型)

一种基于特征空间的面部识别算法,用于提取人脸的身份特征。

在论文中用于构建身份特征空间,选择锚点身份。

潜在扩散模型 (Latent Diffusion Model)

在潜在空间中进行图像生成的扩散模型,效率高、质量好。

作为基础生成架构,支持条件生成。

目标身份 (Target Identity)

需要在模型中删除的特定个人身份信息。

论文中的去除对象。

锚点身份 (Anchor Identity)

在特征空间中选择的代表性身份,用于引导目标身份的替换。

实现几何导向的身份抹除。

跨注意力层 (Cross-Attention Layer)

模型中用于融合条件信息的关键层,微调这些层影响身份去除效果。

微调策略的重点对象。

Open Questions Unanswered questions from this research

  • 1 如何在多模态特征空间中实现更鲁棒的锚点选择,仍是未来研究的难点。
  • 2 模型微调的效率和规模化应用仍需优化,特别是在大规模数据集上。
  • 3 如何确保身份抹除的彻底性,避免残留信息泄露,是持续关注的问题。

Applications

Immediate Applications

隐私保护

在虚拟人像生成和深度伪造检测中,快速删除特定个人身份信息,确保用户隐私安全。

Long-term Vision

内容生成控制

实现对生成内容的精细控制,推动个性化内容定制与隐私保护的结合,未来可应用于虚拟现实、社交媒体等领域。

Abstract

Identity-conditioned diffusion models enable high-quality and identity-consistent face generation, but they also raise severe privacy concerns, as models may continue to synthesize individuals despite their right to be forgotten. While machine unlearning has been extensively studied for concept and data removal, identity unlearning remains largely unexplored, particularly in models conditioned directly on identity embeddings rather than text prompts. In this work, we study identity unlearning in Arc2Face, a state-of-the-art identity-conditioned latent diffusion model for face generation, and introduce Proximity-guided Identity Unlearning (PIU), an anchor-guided framework for identity unlearning. Specifically, we formulate identity removal as an identity replacement objective that reassigns the source identity to a selected anchor identity in the learned identity space, and we complement it with a proximity-based anchor selection strategy motivated by the geometry of ArcFace representations. We further show that effective unlearning can be achieved through localized fine-tuning of a small subset of identity-sensitive cross-attention layers. Experiments across multiple target identities show that our framework effectively suppresses generation of the target identity while preserving realism and identity consistency for retained identities, as validated by improved performance on unlearning and image-quality metrics, together with qualitative evaluation. The source code for the PIU identity unlearning framework is made publicly available at https://github.com/edgarcancinoe/piu-unlearning.

cs.CV