Stealthy Physical Masked Face Recognition Attack via Adversarial Style Optimization

Huihui Gong, Minjing Dong, Siqi Ma, Seyit Camtepe, Surya Nepal, Chang Xu

TL;DR

Researchers have developed a novel method to deceive face recognition (FR) systems using physical masks that look like ordinary fashion accessories. By hiding adversarial perturbations within optimized artistic styles, their "SASMask" achieves high impersonation success rates while remaining visually stealthy to the human eye.

What Problem Does This Paper Address?

Deep learning-based face recognition is now ubiquitous, but it remains notoriously vulnerable to adversarial attacks—small, calculated perturbations that can cause a model to misidentify a person. While digital attacks are well-studied, physical attacks (like wearing special glasses or hats) often look garish, distorted, or obviously "fake," making them easy for humans to spot.

The COVID-19 pandemic normalized face masks, providing a new, large surface area for adversarial patterns. However, creating a mask that can reliably fool a model into thinking the wearer is a specific target (a targeted impersonation attack) while looking like a normal, stylish mask is a significant technical challenge. Most existing methods suffer from sub-optimal performance because they rely on a single, manually chosen pattern.

Methods

The authors propose SASMask (Stealthy Adversarial Style Mask), which uses a two-stage approach:

  1. Adversarial Style Mask Generator: They train a U-Net-like generator (architecture detailed in Figure 6) to produce masks. Instead of just adding noise, the generator learns to embed adversarial features into artistic styles.
  2. Adversarial Style Optimization: This is the core innovation. Rather than picking one style, the authors use a "convex combination" of multiple styles from a predefined set. They employ a continuous relaxation technique (using a softmax with a temperature parameter) to make the selection of the "optimal" style differentiable. This allows the system to simultaneously optimize the mask's appearance and its attacking power for a specific target identity.

To make the attack work in the real world, they incorporate:

  • 3D Face UV Mapping: To realistically overlay masks on 2D face images during training.
  • Expectation Over Transformation (EoT): A standard technique to make adversarial examples robust against physical-world variables like lighting, camera noise, and viewpoint shifts.
Overview of the SASMask generation and attack pipeline

Datasets

The study utilized several standard facial recognition benchmarks:

  • LFW (Labeled Faces in the Wild): Used to select 50 target identities for evaluation.
  • VGGFace2, AgeDB, and CFP: Used to test the "transferability" of the attack (i.e., does a mask trained on one dataset fool a model trained on another?).
  • Microsoft COCO: Used for pre-training the benign style transfer generator.

Key Insights and Ideas

  • Style as Camouflage: Artistic styles (like patterns or textures) provide a natural "budget" for hiding adversarial noise. A human sees a floral pattern; a model sees a specific mathematical trigger.
  • Avoiding Local Minima: The authors found that a fixed style often leads to sub-optimal attacks. By optimizing the choice of style alongside the perturbation, they can find a "sweet spot" that maximizes both attack success and visual quality (SSIM).
  • Differentiable Selection: Using a continuous relaxation for style selection (Equation 8 in the paper) is a clever way to turn a discrete choice (which style to use?) into a standard gradient-based optimization problem.
Comparison of optimization vs. single style selection

Key Results

The SASMask outperformed existing baselines like AdvMask and AdvPatch in both digital and physical tests:

  • Digital Performance: In white-box settings, SASMask achieved an Attack Success Rate (ASR) of 98.8% while maintaining a high Structural Similarity Index (SSIM) of 0.9130, indicating excellent visual quality.
  • Transferability: The masks remained effective even when attacking "black-box" models (models the attacker hasn't seen). It achieved over 70% ASR when transferring between different neural network backbones (e.g., ResNet to GhostNet).
  • Physical Attacks: In real-world tests with printed masks, the method achieved an ASR of 85.25% across male and female participants.
  • Commercial Platforms: The authors successfully increased the similarity scores of their adversarial images on commercial FR platforms from Baidu, iFLYTEK, and Tencent, demonstrating the practical threat to production systems.
Visual comparison of different attack methods

Limitations and Future Work

While highly effective, the paper notes a few areas for further exploration:

  • Style Set Dependency: The effectiveness of the optimization depends on the diversity and quality of the initial style set.
  • Mask Region Constraint: The attack is limited to the lower half of the face. Combining this with adversarial glasses or hats could potentially create even more potent "full-face" adversarial ensembles.
  • Defense Mechanisms: The authors focus on the attack; future work is needed to develop FR models that are robust against these types of stylized physical perturbations.

Summary updated

BibTeX
@article{gong2024stealthy,
  author = {Huihui Gong and Minjing Dong and Siqi Ma and Seyit Camtepe and Surya Nepal and Chang Xu},
  title = {{Stealthy Physical Masked Face Recognition Attack via Adversarial Style Optimization}},
  journal = {IEEE Trans. Multimedia},
  year = {2024},
  doi = {10.1109/tmm.2023.3330089},
}
Figure