NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Rethinking Impersonation and Dodging Attacks on Face Recognition Systems

Fengfan Zhou, Qianyu Zhou, Bangjie Yin, Hui Zheng, Xuequan Lu, Lizhuang Ma, Hefei Ling · DOI

TL;DR

This paper introduces Adv-Pruning, a novel adversarial attack framework for Face Recognition (FR) systems that simultaneously optimizes for both impersonation (looking like a victim) and dodging (not looking like yourself). By strategically pruning low-impact perturbations and replacing them with dodging-focused gradients, the method significantly boosts attack success rates in black-box scenarios without compromising targeted performance.

What Problem Does This Paper Address?

In the world of adversarial machine learning, face recognition attacks generally fall into two buckets:

  1. Impersonation (Targeted): Making the system think you are a specific person (e.g., a CEO).
  2. Dodging (Untargeted): Making the system fail to recognize you as yourself.

While these might seem like two sides of the same coin, the authors point out a critical gap: in black-box settings (where the attacker doesn't know the exact model being used), a successful impersonation attack often fails at dodging. An adversarial image might successfully fool a system into seeing "Victim A," but the same image might still be recognizable as "Attacker B" by the system's internal logic.

This happens because FR is an "open-set" task. Unlike standard image classification, FR models map faces into a high-dimensional embedding space. A successful attack needs to navigate the decision boundaries of both the attacker and the victim across different models. Previous methods focused on one or the other, leading to adversarial examples that are easily caught or fail to impersonate effectively when transferred to new models.

Figure 1: Top: previous methods that achieve a successful impersonation attack on FR cannot guarantee a success- ful dodging attack on FR in the black-box setting. In con- trast, we present Adv-Pruning, including Priming, Pruning, and Restoration Stages, to perform both impersonation and dodging attacks simultaneously. Bottom (left): benign Multi- identity Samples (MS). Bottom (right): the dodging Attack Success Rate (%) between the previous methods and Adv- Pruning on multiple models.

Methods

The authors propose Adv-Pruning, a three-stage framework designed to balance these conflicting goals:

  1. Priming: The process starts with a standard multi-task optimization (using a Lagrangian strategy) to create an initial adversarial example that attempts both impersonation and dodging.
  2. Pruning (Adversarial Priority Quantification): Not all perturbations are created equal. The authors introduce a method to quantify the "priority" of each region-wise perturbation. They identify and "prune" (set to zero) perturbations that have a minimal impact on the model's output variance. This effectively "clears space" on the image for new information.
  3. Restoration (Biased Gradient Adaptation): In the regions vacated during the pruning stage, the authors add new perturbations specifically biased toward dodging. This allows the attack to bolster its dodging capability without overwriting the critical features that make the impersonation attack work.
Figure 2: Overview of our Adv-Pruning attack framework, which consists of Priming, Pruning, and Restoration stages. (a) During the Priming stage, we optimize the adversarial examples to ensure they have sufficient attack performance. (b) In the Pruning stage, we propose Adversarial Priority Quantification to quantify the priority of adversarial perturbations. Subsequently, we sparsify the adversarial perturbations based on the quantified priorities. (c) In the Restoration stage, we present Biased Gradient Adaptation to introduce gradient perturbations biased to dodging attacks on the sparsified regions.

Datasets

The researchers evaluated their method across several standard and high-quality face datasets:

  • LFW (Labeled Faces in the Wild): A standard unconstrained face dataset.
  • CelebA-HQ & FFHQ: High-quality, high-resolution face images.
  • BUPT-Balancedface: Used specifically to ensure the attack's effectiveness across different racial groups, addressing potential bias in FR models.

Key Insights and Ideas

  • The Multi-identity Sample: The authors highlight the existence of "multi-identity samples"—images that theoretically lie within the decision boundaries of two different people. Their goal is to push adversarial examples into this specific overlap.
  • Pruning as a Space-Maker: Instead of just fine-tuning an image (which often causes a "catastrophic forgetting" of the impersonation features), pruning identifies "useless" pixels that the model isn't paying much attention to and repurposes them for dodging.
  • Black-Box Transferability: The core "aha moment" is that while white-box attacks easily cross both boundaries, black-box attacks often get "stuck" near the victim's boundary but stay on the attacker's side. Adv-Pruning provides the extra push needed to cross the attacker's boundary.

Key Results

The quantitative improvements are substantial, particularly in the dodging Attack Success Rate (ASR) when transferring attacks to unseen models:

  • Dodging ASR Boost: When using IR152 as a surrogate model, the dodging ASR on an ArcFace victim model jumped from 16.0% (baseline) to 64.3% (Adv-Pruning). Similar massive gains were seen across other architectures like MagFace and NPCFace.
  • Robustness: The method even works against "adversarially robust" models. For example, on the LFW dataset, dodging ASR against a robust FaceNet model increased from 7.8% to 17.1%.
  • Visual Stealth: As shown in Figure 5, the perturbations remain imperceptible to the human eye, maintaining the "stealth" requirement of adversarial attacks.
Figure 3: The ASR on victim models trained by multiple algorithms with IR152 as the surrogate model.

Limitations and Future Work

The authors note that the performance of Adv-Pruning is sensitive to the sparsity ratio (how much of the image is pruned). If you prune too little, there's no room for dodging improvements; if you prune too much, the impersonation attack fails.

Figure 7: (a) The trade-off between the ASR (%) of imperson- ation attack and dodging attack of adversarial examples. (b) The dodging ASR (%) in different sparsity ratios.

Future work could involve automating the selection of this ratio or exploring more sophisticated pruning metrics beyond simple output variance. Additionally, testing these attacks in physical-world scenarios (e.g., printed masks or glasses) remains an open challenge.

Summary updated

BibTeX
@inproceedings{zhou2024rethinking,
  author = {Fengfan Zhou and Qianyu Zhou and Bangjie Yin and Hui Zheng and Xuequan Lu and Lizhuang Ma and Hefei Ling},
  title = {{Rethinking Impersonation and Dodging Attacks on Face Recognition Systems}},
  booktitle = {ACM Multimedia},
  year = {2024},
  doi = {10.1145/3664647.3681440},
}
Figure