[Paper Review] SemanticAdv: Generating Adversarial Examples via Attribute-conditional Image Editing
SemanticAdv proposes a novel method to generate semantically realistic adversarial examples by editing images based on controlled attribute manipulation using disentangled representation and feature-space interpolation. It achieves high targeted attack success rates (up to 67.69% at T-FPR = 10⁻³) on face recognition and semantic segmentation models while bypassing both pixel-based and attribute-based defenses, revealing new vulnerabilities beyond Lp-bounded perturbations.
Deep neural networks (DNNs) have achieved great success in various applications due to their strong expressive power. However, recent studies have shown that DNNs are vulnerable to adversarial examples which are manipulated instances targeting to mislead DNNs to make incorrect predictions. Currently, most such adversarial examples try to guarantee "subtle perturbation" by limiting the $L_p$ norm of the perturbation. In this paper, we aim to explore the impact of semantic manipulation on DNNs predictions by manipulating the semantic attributes of images and generate "unrestricted adversarial examples". In particular, we propose an algorithm \emph{SemanticAdv} which leverages disentangled semantic factors to generate adversarial perturbation by altering controlled semantic attributes to fool the learner towards various "adversarial" targets. We conduct extensive experiments to show that the semantic based adversarial examples can not only fool different learning tasks such as face verification and landmark detection, but also achieve high targeted attack success rate against \emph{real-world black-box} services such as Azure face verification service based on transferability. To further demonstrate the applicability of \emph{SemanticAdv} beyond face recognition domain, we also generate semantic perturbations on street-view images. Such adversarial examples with controlled semantic manipulation can shed light on further understanding about vulnerabilities of DNNs as well as potential defensive approaches.
Motivation & Objective
- To address the limitation of Lp-bounded adversarial attacks, which lack semantic realism and fail to model meaningful visual attribute changes.
- To enable fine-grained analysis of deep neural network vulnerabilities by manipulating specific visual attributes (e.g., hair color, eyeglasses) while preserving other image content.
- To develop a method that generates adversarial examples with controlled, interpretable semantic changes rather than imperceptible pixel-level noise.
- To evaluate the robustness of existing defense mechanisms—especially those based on pixel-space or attribute-space filtering—against such semantic adversarial attacks.
- To demonstrate the generalization of the approach beyond face recognition to broader vision tasks like semantic segmentation on street-view images.
Proposed method
- Leverages a pre-trained, attribute-conditioned image generation model (e.g., StarGAN or layout-to-image model) to create a modified image that differs from the original in only one semantic attribute.
- Uses feature-space interpolation between the original image and the attribute-edited image to generate the final adversarial example, ensuring semantic consistency and controlled perturbation.
- Employs disentangled representations from deep generative models to isolate and modify specific visual attributes without altering unrelated image content.
- Applies the interpolated image as an adversarial example to attack DNNs, targeting misclassification while maintaining visual plausibility.
- Validates the attack in both white-box and black-box settings using face verification and semantic segmentation models.
- Extends the framework to street-view images by using semantic layouts as conditional inputs for image editing, enabling attacks on segmentation models.
Experimental results
Research questions
- RQ1Can adversarial examples be generated through attribute-conditioned image editing that are semantically meaningful and visually realistic, rather than relying on Lp-bounded noise?
- RQ2How effective is this method in achieving high targeted attack success rates on real-world DNNs, especially in black-box settings?
- RQ3Do existing defense mechanisms—particularly pixel-based (e.g., JPEG, blurring) and attribute-based (e.g., AMI)—remain effective against such semantic adversarial examples?
- RQ4How does the attack performance of SemanticAdv compare to standard adversarial attacks like CW or PGD in terms of transferability and robustness?
- RQ5Can the method be generalized to non-face vision tasks such as semantic segmentation of street-view images?
Key findings
- SemanticAdv achieves a targeted attack success rate of 67.69% at T-FPR = 10⁻³ on face verification models, outperforming CW (37.24%) and other baselines.
- The method maintains high attack success even at stricter T-FPR thresholds (e.g., 19.50% at T-FPR = 10⁻⁴), demonstrating strong transferability.
- Existing pixel-based defenses such as JPEG, blurring, and feature squeezing are ineffective against SemanticAdv, with attack success remaining high.
- The attribute-based defense AMI correctly identifies only 8% of SemanticAdv-generated adversarial examples, compared to 12% for CW, indicating its vulnerability to semantic attacks.
- Adversarial training-based defenses show only 10% accuracy against SemanticAdv-generated examples, compared to 46.7% against PGD, revealing that current adversarial training is ineffective against semantic perturbations.
- The method successfully attacks semantic segmentation models by inserting objects (e.g., cars) or modifying attributes (e.g., moving pedestrians), causing models to misclassify or overlook critical objects.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.