Real-world adversarial examples involving makeupReal-World Adversarial Examples involving Makeup Application
The authors propose using Cycle-GAN to generate full-face makeup as an adversarial perturbation to attack VGG 16 face recognition, with physical attack success rates of 84% (pretrained) and 96% (trained from scratch) under the white-box setting.
White-box setting: the attacker can access all parameters of the model. The attacker uses full-face makeup as the adversarial perturbation, reproduces the digital results by applying makeup manually, and performs untargeted and targeted attacks on the VGG 16 face recognition classifier.
- Digital adversarial attacks are difficult to apply directly to the physical world: perturbation locations are limited, and environmental factors such as lighting, viewing angle, and camera resolution weaken the perturbation. Existing physical attacks mostly print noise on glasses, T-shirts, and hats, making them visually conspicuous.
- Use Cycle-GAN to perform image style transfer between makeup-free faces and makeup faces, generating full-face makeup as adversarial perturbations, jointly optimizing end-to-end with a VGG 16 classifier using a CW-style attack loss; use Gaussian blur to simulate the color and position errors of manual makeup application.
- Under the white-box setting, non-targeted and targeted attacks on VGG 16: the non-targeted attack physical success rate is 84% (pretrained model), and the targeted attack achieves 84% and 96% on the pretrained and from-scratch trained models, respectively; the authors state that the from-scratch trained model is more robust.
- The authors state that in the future they will reduce the adversarial noise to lower perceptibility, and intend to further argue for the influence of the model training method on physical attacks. The experiments were conducted only on VGG 16, with data from 8 lab colleagues; the attack success rate is calculated as a percentage of video frames, and the paper does not report the number of repetitions.
- Evaluated models
- VGG 16
- Benchmarks
- 自采无妆人脸数据集(8 名实验室同事,训练集 2286 张、测试集 254 张)Chen et al. [19] 彩妆数据集(361 个训练样本)
- Metrics
- 物理攻击成功率(视频中分类到某类的帧百分比)测试集分类准确率
The researchers propose a method for launching physical adversarial attacks on face recognition systems using full-face makeup; makeup is reasonably feasible in reality and may improve the stealthiness of the attack. The framework uses Cycle-GAN to generate adversarial makeup, and the victim classifier adopts the VGG 16 architecture; experiments show that the attack can overcome manual errors such as color and position during makeup application. The study also finds that the model training method affects the effectiveness of physical attacks, and that adversarial perturbations generated by pretrained models are influenced by the corresponding training data.
Paper analysis
What problem does this paper attempt to solve?
The authors propose a physical attack using full-face makeup as the adversarial perturbation, attacking a VGG 16 face recognition system.
Core problem: how to physically reproduce adversarial perturbations on a person's face in the form of full-face makeup, thereby deceiving face recognition (FR) systems in the real world.
- Scenario and motivation: the authors point out that digital adversarial attacks cannot be directly applied to the physical world—attackers can only perturb the face rather than the background, and environmental factors such as lighting, viewing angle, and camera resolution affect the perturbation's effectiveness.
- Shortcomings of existing methods: the authors state that existing physical attacks (adversarial glasses, T-shirts, hats, etc.) print noise on wearable items, which is visually distinctive to human eyes; whereas makeup on a person's face is plausible, potentially improving the attack's imperceptibility.
- Core idea: instead of printing noise, manually perturb the face; use Cycle-GAN to generate adversarial makeup, and use Gaussian blur to simulate the color and position errors of manual makeup application, so that the attack can tolerate reproduction errors.
- Paper contributions: the authors summarize two points—proposing a method for synthesizing adversarial makeup; and the attack can compensate for manual makeup application errors when implemented in the real world, which the authors call an effective physical adversarial example.
- Threat model:
- Goal: mislead the FR system, including non-targeted attacks (prediction differs from the true label) and targeted attacks (prediction is a specified class).
- Knowledge: white-box setting, where the attacker can access all parameters of the model.
- Capability: the attacker manually applies full-face makeup on their own face, reproducing the digitally generated adversarial makeup.
- Victim system: VGG 16 face recognition classifier, with images captured by a mobile phone rear camera.
What related research exists?
Related work is divided into three groups: digital attacks, physical attacks, and Cycle-GAN; this paper is closest to makeup-based attacks [6, 17].
Digital adversarial attacks
- Szegedy et al. [14] formalized the attack as an optimization problem: minimizing c|r|+L(f(x+r), target class) under the constraint that x+r belongs to the valid data space; Carlini and Wagner [2] likewise formalized the attack as an optimization problem and found imperceptible perturbations.
- Goodfellow et al. [15], Madry et al. [1], and Dong et al. [16] proposed gradient-based attack methods.
- Digital attacks against FR systems: Zhu et al. [6] used eye makeup perturbations on target inputs to attack FR systems (this paper calls it its own source of inspiration); Yang et al. [8] used generative networks to generate adversarial face images. The authors state that samples generated by methods such as [3, 4, 5, 7] either look unnatural or cannot be directly applied to the physical world.
Physical adversarial attacks
- Sharif et al. [9] proposed that physical attacks need to consider three points: how perturbations are added to the real world, environmental factors (lighting, noise position, camera angle), and noise smoothness, and proposed a patch attack that adds perturbations to the area covered by glasses; [10, 11] synthesized similar wearable-object attacks (T-shirts, hats).
- Yin et al. [17] proposed Adv-Makeup, which transfers eye makeup for attacks under the black-box setting.
- Other physical attacks include adversarial patches [12] and adversarial light projection [13]; the authors state that these works all consider environmental factors and the reproducibility of perturbations.
Cycle-GAN
- Zhu et al. [18] proposed Cycle-GAN: an image-to-image translation model trained unsupervised with unpaired samples, whose objective function includes forward and backward adversarial losses and a cycle consistency loss, applied to style transfer, season conversion, etc. This paper uses it for translation between makeup and makeup-free faces.
Comparison baselines and positioning: The paper does not implement comparison baselines, nor does it conduct quantitative comparisons with existing methods on benchmark datasets; Fig. 1 only provides a visual illustrative comparison between the samples in this paper and samples from adversarial glasses, T-shirt, and hat attacks. The authors position this paper as follows: the most notable difference from existing physical attacks lies in how the noise is reproduced from digital results to the physical world—not by printing, but by manual makeup application, which looks more natural.
How does the paper address this problem?
Cycle-GAN generates adversarial makeup, jointly optimized with VGG 16 using a CW-style loss, with Gaussian blur simulating makeup application errors.
Overall approach: treat full-face makeup as an adversarial perturbation, use Cycle-GAN to perform style transfer between makeup-free faces and makeup faces, and jointly incorporate the victim classifier VGG 16 into training so that the generated made-up faces can mislead the classifier; the total loss is Ltotal = LCycle−GAN(G, GR, DX, DY, X, Y) + Ladv, i.e., the sum of the Cycle-GAN loss and the attack loss.
Problem setting
- Attack types: non-targeted attacks (prediction differs from the true label) and targeted attacks (prediction is a specified class), both under white-box settings.
- Input/output: the input is a makeup-free face image of an individual, and the output is a face image with full-face makeup that can mislead VGG 16.
Makeup generation (Cycle-GAN part)
- Structure: two generators and two discriminators. Generator G converts a makeup-free image into a full-face makeup image, and G_R restores a made-up image to a makeup-free image; discriminator D_Y improves the realism of synthesized made-up images, and D_X improves the quality of images reconstructed by G_R.
- Losses: adversarial loss L_GAN, cycle consistency loss L_cycle (constraining x → G(x) → G_R(G(x)) ≈ x, and vice versa), identity loss L_identity (limiting the difference between generator input and output); in the total Cycle-GAN loss, λ and α control the weights of each term.
- Preprocessing: use YoLov4 for face detection and cropping; the authors state that YoLov4 should be able to correctly classify faces at different angles, thereby avoiding face alignment.
Makeup attack (adversarial part)
- Simulating manual error: use Gaussian blur Φ(·) to blur the makeup boundaries, simulating the color and position errors of manual makeup application; the authors state that this is the hardest part of using makeup as an adversarial perturbation, because people cannot apply makeup precisely.
- Attack loss: non-targeted attacks use a CW-style loss Ladv = max{Z(x)lx0 − max(Z(x)i: i ≠ lx0), −κ}, where x = Φ(G(x0 + δ)) is the output of the perturbed sample after Gaussian blur, Z(x) is the pre-softmax layer logits, l_x0 is the true label, and κ ≥ 0 controls the classification confidence of the adversarial example (higher κ means stronger confidence); the targeted attack loss has a similar form.
Training and optimization details
- Hyperparameters: α = 50, λ = 100, κ = 5.
- Classifier training: for the pretrained-weights approach, Adam with learning rate 0.00001 for 367 epochs; for training from scratch, Adam with learning rate 0.00001 for 408 epochs; both use batch size 25.
- Attack optimization: Adam, learning rate 0.0002, batch size 1, run for more than 100 epochs, then manually select the most natural-looking images as adversarial examples.
Success criterion
- Physical attack success rate is calculated by video frame: Pi = (number of frames classified as Class i / total number of frames in the video) × 100%, i.e., the proportion of frames in which the attacker is misclassified (or classified as the target class).
What experiments did the paper conduct?
Under white-box settings, the physical success rate of non-targeted attacks is 84%, and of targeted attacks 84% (pretrained) and 96% (trained from scratch).
Experimental setup
- Model under test: VGG 16 face recognition classifier, with two training methods—fine-tuning based on pretrained weights, and training from scratch.
- Data: a self-collected makeup-free face dataset from 8 lab colleagues, with 2286 training images and 254 test images; makeup data uses the dataset of Chen et al. [19], containing 361 training samples.
- Attack settings: white-box, non-targeted and targeted attacks; in targeted attacks, the attacker is Class 1, and the target classes are 0, 2, 3, 4, …, 7 (Fig. 4).
- Metrics: test set classification accuracy; physical attack success rate calculated as the percentage of frames in the video classified as a certain class (Eq. 8).
- Physical capture: ASUS ZenFone 5Z ZS620KL mobile phone rear camera; experiments were conducted on a PC with Intel Xeon E5-2620v4, 125 GB memory, and NVIDIA TITAN Xp.
- Baselines and review: the paper does not implement comparison baseline methods; adversarial examples were manually selected from the most natural-looking candidates, and the paper does not report the review model, number of repetitions, or statistical tests.
Main results
The paper has no numerical tables; results are scattered in the main text and figure captions:
Swipe horizontally to read the table
Attack type Victim model training method Test set accuracy Physical attack success rate Source Non-targeted Pretrained weights 98.41% 84% Section 4.2, Fig. 6(a) Non-targeted Trained from scratch Not reported Not reported — Targeted Pretrained weights 98.41% 84% Section 4.3 Targeted Trained from scratch 97.64% 96% Section 4.3, Fig. 6(b) - Under non-targeted attacks, the proportion of the attacker being correctly classified drops to 0%, and 34% of frames are classified as Class 3 (Fig. 5(c) and Section 4.2).
- The authors state that Fig. 5(b)(c) shows that physical adversarial examples are not exactly the same as digital samples, but the attack still succeeds with reduced adversarial noise.
Effect of training method on physical attacks
- What was tested: comparing the physical attack performance when attacking VGG 16 based on pretrained weights versus trained from scratch (Fig. 4, Fig. 6).
- Results: the physical attack success rate on the model trained from scratch is 96%, higher than 84% on the pretrained model (Fig. 6); in Fig. 4, red crosses mark target classes where the physical attack failed, and the authors state that certain target classes achieve higher percentages when attacking the model trained from scratch.
- Authors' interpretation: the authors state that the model trained from scratch is more robust, so the attacker can still be correctly classified when the viewing angle changes (i.e., the attack is harder); the authors also state that the adversarial perturbation generated by the pretrained model is influenced by its corresponding training data, and if the target image has prominent features such as glasses, these features may appear in the adversarial example.
Other ablations and analyses
- Apart from the above comparison of training methods, the paper does not report other ablation experiments, parameter sensitivity analyses, or human evaluations.
Negative results and exceptions
- Fig. 4 marks with red crosses the physical attack failures for some target classes (under the setting of targeted attacks with the attacker as Class 1); the paper does not give the specific number or percentage of failed classes.
- The authors state that the model trained from scratch is more robust: the attacker can still be correctly classified when the viewing angle changes (discussion related to Fig. 6).
What are some points that can be further explored?
The authors state that in the future they will reduce the perceptibility of the perturbation and argue for the influence of the training method; the experiments cover only VGG 16 and data from 8 people.
Limitations and future directions noted by the authors
- The authors state that in the future they will attempt to reduce the amount of adversarial noise so that the perturbation is less perceptible (Conclusion).
- The authors state that they also plan to argue for the effect of the model training method on physical attacks (Conclusion).
- The paper does not discuss other limitations in a dedicated subsection.
Scope of experiments
- The model under test is only one architecture, VGG 16, with two training methods: pretrained weights and training from scratch (Section 4.1).
- The data come from makeup-free images of 8 lab colleagues (2286 training images, 254 test images); the makeup data are 361 training samples from Chen et al. [19] (Section 4).
- The attack setting is white-box, including both untargeted and targeted; in the targeted attack the attacker is Class 1 and the target classes are the remaining 7 classes (Fig. 4).
- Physical capture uses only the rear camera of an ASUS ZenFone 5Z ZS620KL; the attack success rate is computed as a percentage of video frames, and the paper does not report the number of videos, their duration, or the number of repetitions (Section 4.1, Eq. 8).
- The paper does not report quantitative comparisons with existing attack methods, evaluations against defenses, or results under black-box or transfer settings.
Summarize the main content of the paper
Cycle-GAN generates full-face makeup to attack VGG 16, with a white-box physical success rate of 84%–96%; the authors state it can tolerate manual makeup application errors.
A physical adversarial attack paper: using full-face makeup as the adversarial perturbation to deceive face recognition systems in the real world.
- Problem: Digital adversarial attacks cannot be directly used in the physical world, and existing physical attacks (printed on glasses, T-shirts, hats) are visually conspicuous; the authors argue that makeup exists plausibly on a human face and may improve imperceptibility.
- Method: Use Cycle-GAN to perform style transfer between makeup-free and makeup faces to generate adversarial makeup, optimized jointly with the victim classifier VGG 16 using a CW-style attack loss; Gaussian blur is used to simulate the color and position errors of manual makeup application. Hyperparameters α = 50, λ = 100, κ = 5.
- Results (white-box setting): The physical success rate of the untargeted attack against pretrained VGG 16 is 84%, and the proportion of attackers correctly classified drops to 0%; the physical success rates of the targeted attack against the pretrained and from-scratch models are 84% and 96%, respectively (Fig. 6).
- Effect of training method: The authors state that the from-scratch model is more robust (the attacker can still be correctly classified under viewpoint changes), and that the perturbations generated by the pretrained model are affected by its training data; Fig. 4 marks some target classes where the physical attack failed.
- Authors' conclusion: The authors state that the method is effective in both targeted and untargeted settings, can apply perturbations manually, and overcomes color and position errors; future plans are to reduce the perceptibility of the perturbation and to further argue for the effect of training method on physical attacks.