Anti-Tamper Protection for Unauthorized Individual Image Generation

Zelin Li, Ruohan Zong, Yifan Liu, Ruichen Yao, Yaokun Liu, Yang Zhang, Dong Wang · OpenReview

Abstract

With the advancement of personalized image generation technologies, concerns about forgery attacks that infringe on portrait rights and privacy are growing. To address these concerns, protection perturbation algorithms have been developed to disrupt forgery generation. However, the protection algorithms would become ineffective when forgery attackers apply purification techniques to bypass the protection. To address this issue, we present a novel approach, Anti-Tamper Perturbation (ATP). ATP introduces a tamper-proof mechanism within the perturbation. It consists of protection and authorization perturbations, where the protection perturbation defends against forgery attacks, while the authorization perturbation detects purification-based tampering. Both protection and authorization perturbations are applied in the frequency domain under the guidance of a mask, ensuring that the protection perturbation does not disrupt the authorization perturbation. This design also enables the authorization perturbation to be distributed across all image pixels, preserving its sensitivity to purification-based tampering. ATP demonstrates its effectiveness in defending forgery attacks across various attack settings through extensive experiments, providing a robust solution for protecting individuals' portrait rights and privacy.

Introduction

The rise of personalized image generation tools, such as DreamBooth and Textual Inversion, has made it remarkably easy to create high-quality forgeries of specific individuals. While researchers have developed "protection perturbations"—adversarial noise added to images to disrupt AI mimicry—a significant vulnerability remains: purification. Attackers can use techniques like JPEG compression, resizing, or advanced denoising (e.g., GridPure) to "wash away" these protective signals. Once the noise is removed, the protection fails.

Overview of forgery attacks and the proposed Anti-Tamper Perturbation (ATP) solution compared to existing methods.

To address this, we propose Anti-Tamper Perturbation (ATP). Instead of attempting to create indestructible noise, ATP makes the protection detectable. If an attacker attempts to purify the image to bypass protection, the system detects the tampering, allowing service providers to reject the generation request entirely.

The ATP Framework

The core of the ATP framework is the interleaving of two distinct components:

  1. Protection Perturbation: A "shield" designed to disrupt the generative model's ability to produce a clean likeness.
  2. Authorization Perturbation: A "seal" that encodes a hidden bitstring message into the image. If this message is corrupted, it serves as proof of tampering.

Frequency Domain Implementation

To ensure these two signals do not interfere with one another, ATP operates in the Frequency Domain using a Block Discrete Cosine Transform (BDCT).

The detailed architecture of the Anti-Tamper Perturbation (ATP) framework, illustrating the frequency domain processing and verification pipeline.
  • Mask-Guided Blending: A binary mask assigns specific frequency regions to either protection or authorization. This spatial and spectral separation prevents the two types of noise from canceling each other out.
  • Fragile Watermarking: Unlike traditional robust watermarks, the authorization perturbation is intentionally fragile. By distributing the signal across the frequency spectrum, even minor purification attempts (like resizing or compression) drastically increase the "Bit-error" of the hidden message, triggering a rejection signal from the service provider.

Key Insights

  • Sensitivity as a Security Feature: In this context, fragility is a strength. Any attempt to filter out protection noise inevitably destroys the authorization message.
  • The Service Provider as Gatekeeper: ATP assumes a realistic online service model. By providing a "tamper-alert" mechanism, service providers can act as firewalls against unauthorized generation.
  • Robustness to Adaptive Attacks: The security of the system relies on a random binary mask. Without knowledge of this mask, the search space for an attacker is astronomically large ($2^{786414}$), making it highly resistant to targeted removal.

Experimental Results

Extensive testing on datasets like CelebA-HQ and VGGFace2 using Stable Diffusion models demonstrates the effectiveness of ATP:

  • 100% Protection Success Rate (PSR): While baseline methods (e.g., Anti-DB, MetaCloak) fail under purification, ATP maintains a 100% success rate by rejecting tampered inputs.
  • Visual Fidelity: Quantitative metrics (CLIP-IQAC, LIQE) indicate that ATP has a minimal aesthetic impact, often performing better than standalone protection methods in preserving original image quality.

Conclusion and Future Work

ATP provides a robust defense against the "purification" loophole in image forgery protection. While currently optimized for centralized service providers, future work aims to develop "implicit" verification, where the generation process itself naturally degrades if authorization is removed, potentially extending protection to local execution environments.

Summary updated

Abstract

With the advancement of personalized image generation technologies, concerns about forgery attacks that infringe on portrait rights and privacy are growing. To address these concerns, protection perturbation algorithms have been developed to disrupt forgery generation. However, the protection algorithms would become ineffective when forgery attackers apply purification techniques to bypass the protection. To address this issue, we present a novel approach, Anti-Tamper Perturbation (ATP). ATP introduces a tamper-proof mechanism within the perturbation. It consists of protection and authorization perturbations, where the protection perturbation defends against forgery attacks, while the authorization perturbation detects purification-based tampering. Both protection and authorization perturbations are applied in the frequency domain under the guidance of a mask, ensuring that the protection perturbation does not disrupt the authorization perturbation. This design also enables the authorization perturbation to be distributed across all image pixels, preserving its sensitivity to purification-based tampering. ATP demonstrates its effectiveness in defending forgery attacks across various attack settings through extensive experiments, providing a robust solution for protecting individuals' portrait rights and privacy. Our code is available at: https://github.com/Seeyn/Anti-Tamper-Perturbation .
BibTeX
@inproceedings{li2025anti,
  author = {Zelin Li and Ruohan Zong and Yifan Liu and Ruichen Yao and Yaokun Liu and Yang Zhang and Dong Wang},
  title = {{Anti-Tamper Protection for Unauthorized Individual Image Generation}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure