IDProtector: An Adversarial Noise Encoder to Protect Against ID-Preserving Image Generation

Yiren Song, Pei Yang, Hai Ci, Mike Zheng Shou
2/9/2026

No official code found. Best implementation: showlab/IDProtector (23 stars, last commit 2025-07-17).

Abstract

Recently, zero-shot methods like InstantID have revolutionized identity-preserving generation. Unlike multi-image finetuning approaches such as DreamBooth, these zero-shot methods leverage powerful facial encoders to extract identity information from a single portrait photo, enabling efficient identity-preserving generation through a single inference pass. However, this convenience introduces new threats to the facial identity protection. This paper aims to safeguard portrait photos from unauthorized encoder-based customization. We introduce IDProtector, an adversarial noise encoder that applies imperceptible adversarial noise to portrait photos in a single forward pass. Our approach offers universal protection for portraits against multiple state-of-the-art encoder-based methods, including InstantID, IP-Adapter, and PhotoMaker, while ensuring robustness to common image transformations such as JPEG compression, resizing, and affine transformations. Experiments across diverse portrait datasets and generative models reveal that IDProtector generalizes effectively to unseen data and even closed-source proprietary models. Project page: https://github.com/showlab/IDProtector.

View on arXivView PDF

Code Implementations(1)

showlab/IDProtectorCommunity100%

The code implementation of **IDProtector: An Adversarial Noise Encoder to Protect Against ID-Preserving Image Generation**.

234Shell, PythonDec 16, 20241 years ago

Similar Papers

Cite this paper

@article{song2026idprotector,
  title  = {IDProtector: An Adversarial Noise Encoder to Protect Against ID-Preserving Image Generation},
  author = {Yiren Song and Pei Yang and Hai Ci and Mike Zheng Shou},
  year   = {2026},
  eprint = {2412.11638},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2412.11638},
  journal = {CVPR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.11638.svg)](https://codeofpaper.com/paper/2412.11638)

Discussion