MakeupAttack: Feature Space Black-Box Backdoor Attack on Face Recognition via Makeup Transfer

Ming Sun, Lihua Jing, Zixuan Zhu, Rui Wang

Abstract

Backdoor attacks pose a significant threat to machine learning security, particularly in face recognition (FR) systems. Traditional attacks rely on visible, pixel-level triggers that are easily detected by human inspection or algorithmic defenses. This paper presents MakeupAttack, a novel black-box backdoor attack that utilizes digital makeup transfer as a stealthy, feature-space trigger. By leveraging a Generative Adversarial Network (GAN) and an iterative training paradigm, MakeupAttack embeds malicious triggers within natural-looking facial styles. Our results demonstrate a near-perfect attack success rate (ASR) of 98% while remaining invisible to state-of-the-art defenses.

1. Introduction

The security of face recognition (FR) systems is increasingly compromised by backdoor attacks. In these scenarios, an adversary poisons a subset of the training data with a "trigger"—a specific pattern that causes the model to misidentify inputs during inference. While effective in controlled environments, traditional triggers such as geometric shapes or specific accessories are often conspicuous. Humans are naturally attuned to facial anomalies, and modern defensive algorithms are designed to identify these outlier pixel patterns.

Furthermore, FR models are engineered to be robust against environmental variations like lighting and expression. This robustness often renders subtle, low-magnitude triggers ineffective. To overcome these limitations, MakeupAttack introduces a trigger "hidden in plain sight" by exploiting the natural, high-variance distribution of makeup styles.

2. Methodology

MakeupAttack operates under a black-box setting, requiring only query access to the target model. The framework consists of three primary components designed to maximize stealth and effectiveness.

2.1 Makeup Transfer Generator

The system employs a generator based on PSGAN to apply a reference makeup style to a source face. To maintain the integrity of the subject's identity—a critical requirement for a successful backdoor—the authors integrated a Rectification Module (R). This module ensures cycle consistency, meaning that the original facial features can be recovered from the poisoned image, thereby preventing the makeup from distorting the underlying identity.

2.2 Iterative Training Paradigm

The core innovation of MakeupAttack is its iterative feedback loop. Rather than a one-shot poisoning of the dataset, the generator is fine-tuned based on the target model's response. By utilizing a perceptual loss derived from the target model’s feature space, the generator learns to produce makeup styles that the model perceives as highly distinguishable. This ensures the trigger is deeply embedded in the model's decision-making process.

2.3 Adaptive Reference Selection

Standard defenses often look for clusters of similar-looking malicious samples in the feature space. To bypass this, MakeupAttack uses Normalized Mutual Information (NMI) to select the optimal reference makeup for each specific face. This strategy disperses the poisoned samples across the feature space, making the attack appear as random, natural variation rather than a coordinated effort.

3. Experimental Evaluation

The efficacy of MakeupAttack was evaluated using several benchmark datasets, including the Makeup Transfer (MT) Dataset for generator pre-training, and PubFig and VGGFace2 for training target models such as Inception-v3, ResNet-50, and VGG-16.

3.1 Performance Metrics

The attack achieved an average Attack Success Rate (ASR) of 98% across various architectures. Crucially, the Benign Accuracy (performance on clean data) remained stable, ensuring the backdoor remained silent during normal operation.

3.2 Defense Evasion

MakeupAttack was tested against five state-of-the-art defenses: Fine-Pruning, Neural Cleanse, CLP, STRIP, and Signature Spectral. While these defenses are adept at identifying localized pixel-space triggers, they failed to detect the diffuse, style-based triggers of MakeupAttack. For instance, Neural Cleanse, which reverse-engineers triggers, could not isolate the makeup styles as malicious artifacts.

4. Discussion and Limitations

The success of MakeupAttack highlights a critical shift from pixel-space to feature-space vulnerabilities. By aligning triggers with socially acceptable variations like makeup, attackers can exploit the "naturalness" of the distribution to evade detection.

However, the approach faces certain limitations. The current makeup datasets are predominantly female-centric, leading to a gender bias where the visual quality and naturalness of the attack are higher for female subjects. Additionally, the iterative training process is computationally more demanding than traditional poisoning methods.

5. Conclusion

MakeupAttack demonstrates that makeup transfer can serve as a highly effective and stealthy backdoor trigger in face recognition systems. By bypassing existing defenses, this research underscores the need for new, "style-aware" defensive measures that can distinguish between legitimate stylistic variations and coordinated feature-space attacks.

Summary updated

BibTeX
@inproceedings{sun2024makeupattack,
  author = {Ming Sun and Lihua Jing and Zixuan Zhu and Rui Wang},
  title = {{MakeupAttack: Feature Space Black-Box Backdoor Attack on Face Recognition via Makeup Transfer}},
  booktitle = {ECAI},
  year = {2024},
  doi = {10.3233/faia240496},
}
Figure