Abstract
DiffAM is a novel privacy protection framework that utilizes diffusion models to apply "adversarial makeup" to face images. By transferring realistic makeup styles from reference images while simultaneously optimizing for adversarial attacks, it creates protected images that appear natural to humans but successfully fool state-of-the-art face recognition systems, even in "black-box" commercial scenarios. The framework addresses the traditional trade-off between visual quality and attack effectiveness, providing a robust tool for digital camouflage.
Introduction
As face recognition (FR) systems become ubiquitous, the risk of unauthorized surveillance and data scraping from social media has skyrocketed. To mitigate these risks, researchers have developed "adversarial attacks"—subtle modifications to an image that cause AI models to misidentify the subject. However, existing methods often face a "quality vs. utility" trade-off. Early methods relied on digital noise or garish patches that were easily detectable. Recent attempts using Generative Adversarial Networks (GANs) to apply "adversarial makeup" often suffer from artifacts, blurred features, or poor "transferability" against unknown, black-box systems like Face++ or Aliyun.
DiffAM aims to bridge this gap by leveraging the superior generative power of diffusion models to create high-quality, highly effective privacy cloaks. By focusing on alignment between the source face and the reference makeup, DiffAM avoids the common pitfalls of text-guided generation.
Methodology
The authors propose a two-stage pipeline called DiffAM (Diffusion-based Adversarial Makeup):
- Text-guided Makeup Removal: Instead of describing a makeup style with vague text prompts, the system takes a reference image with makeup and removes it using a fine-tuned diffusion model guided by CLIP (Contrastive Language-Image Pre-training). By comparing the "before" and "after" of the reference image in CLIP's latent space, the system extracts a precise mathematical "makeup direction."
- Image-guided Adversarial Makeup Transfer: This extracted "makeup direction" is then applied to the user's clean face image. To ensure the result is actually adversarial, the authors employ an Ensemble Attack strategy, where the image is optimized to fool multiple pre-trained FR models simultaneously.
To maintain the user's identity and avoid generative "hallucinations," the framework utilizes deterministic DDIM inversion and strategically reduces the number of denoising steps. This focuses the model's energy on fine-grained makeup details rather than altering the fundamental layout or shape of the face.
Key Insights and Results
The core innovation of DiffAM lies in the "Inverse Advantage": removing makeup is easier to define than adding it. By establishing a deterministic relationship between a makeup-heavy image and its clean counterpart, the authors define a "makeup vector" far more precise than any text prompt. Furthermore, the framework uses a CLIP-based loss to control the direction (style) and a pixel-level loss to control the distance (intensity), preventing the cluttered appearance typical of previous adversarial methods.
Evaluated on standard benchmarks like CelebA-HQ and MT, DiffAM significantly outperforms previous state-of-the-art (SOTA) methods:
- Attack Success Rate (ASR): In black-box settings, DiffAM achieved an average ASR gain of 12.98% over previous makeup-based methods.
- Visual Quality: Quantitative metrics such as FID (Fréchet Inception Distance) were lower, and PSNR/SSIM were higher, indicating that the protected images are much closer to natural photos than those produced by GANs.
- Commercial Viability: The system proved remarkably effective against commercial APIs from Face++, Aliyun, and Tencent, maintaining high confidence scores for incorrect identities.
Conclusion
DiffAM represents a significant leap forward in facial privacy protection, offering a stealthy and effective means of cloaking identities from large-scale surveillance. While diffusion models introduce higher computational costs and a dependency on high-quality reference images, the gains in visual fidelity and attack transferability establish a new benchmark for adversarial makeup generation.
Summary updated