Abstract
This paper introduces Adv-Diffusion, a novel framework for generating highly stealthy and transferable adversarial face images to fool face recognition systems. By leveraging a pre-trained Latent Diffusion Model (LDM) to inject semantic perturbations into identity-agnostic regions (such as hair and background) within the latent space, the method achieves state-of-the-art black-box attack success rates without compromising visual realism. Unlike traditional methods that rely on pixel-level noise or visible patches, Adv-Diffusion produces images that are visually indistinguishable from the source to human observers while reliably misguiding machine learning models.
1. Introduction
Deep neural network-based face recognition (FR) systems are increasingly integrated into security-critical applications, yet they remain highly vulnerable to adversarial attacks. Existing attack methods often struggle with a fundamental trade-off between transferability (the ability to fool unseen, black-box models) and stealthiness (remaining visually imperceptible to humans). Traditional gradient-based methods add pixel-level noise that is fragile to environmental changes, while patch-based methods (like adversarial glasses) are easily detected. Adv-Diffusion addresses these challenges by shifting the attack from the pixel space to the semantic latent space of a diffusion model.
2. Methodology
Adv-Diffusion is a zero-shot pipeline that generates adversarial examples without requiring additional model training. It relies on three key components:
- Latent Space Perturbation via LDM: Instead of raw pixel manipulation, the method uses a pre-trained LDM to add perturbations in the compressed latent space. This allows the model to generate natural-looking semantic changes, such as slight shifts in hair texture, rather than unnatural digital noise.
- Identity-Sensitive Conditioned Diffusion: Drawing from cognitive psychology, the authors use a face parsing model to separate the image into "identity-sensitive" regions (eyes, nose, mouth) and "identity-agnostic" regions (hair, background). The sensitive regions are masked and used as a strict condition during the LDM's inpainting process, ensuring the person's core identity remains visually intact to human eyes.
- Adaptive Strength-based Adversarial Perturbation: During the reverse diffusion (denoising) process, gradient-based adversarial perturbations are injected into the latent space. The strength of this attack adapts based on the diffusion timestep—decreasing as the reverse steps progress—which helps maintain high image quality while preserving the adversarial payload.
3. Experimental Results
The authors evaluated their method on the FFHQ and CelebA-HQ datasets against four standard face recognition models (IR152, IRSE50, FaceNet, MobileFace) in black-box settings, as well as commercial APIs.
- Superior Black-Box Attack Success Rate (ASR): On the CelebA-HQ dataset, Adv-Diffusion achieved an ASR of 53.33% against IR152 and 84.11% against IRSE50. This drastically outperforms competing stealthy methods like AMT-GAN, which scored 10.38% and 55.28%, respectively.
- Unmatched Image Quality: Adv-Diffusion achieved the best visual quality metrics among all tested methods, boasting a Frechet Inception Distance (FID) of 15.51 and a Peak Signal-to-Noise Ratio (PSNR) of 29.01. For context, standard gradient methods like PGD had a significantly worse FID of 79.92.
- Commercial API Success: The generated adversarial faces successfully fooled real-world commercial systems, outperforming state-of-the-art baselines on the Face++ API and showing highly competitive results on the Aliyun API.
4. Conclusion
Adv-Diffusion demonstrates that hiding adversarial data in identity-agnostic regions via latent diffusion models provides a powerful path toward imperceptible attacks. By moving the adversarial attack to the latent space, the resulting perturbations manifest as natural-looking semantic variations that are vastly harder for human observers to detect. While currently limited by the inherent constraints of pre-trained LDMs and facial specificity, future work aims to generalize the framework to broader image categories and real-world physical attack scenarios.
Summary updated