[Paper Review] Semantics Preserving Adversarial Learning
This paper proposes a semantics-preserving adversarial attack framework that generates adversarial examples by learning low-dimensional geometric manifolds of inputs via variational inference, perturbing within the manifold using Gram-Schmidt-based invariance, and applying end-to-end adversarial optimization. It achieves high success rates against both certified and non-certified defenses while preserving semantic integrity across images and text.
While progress has been made in crafting visually imperceptible adversarial examples, constructing semantically meaningful ones remains a challenge. In this paper, we propose a framework to generate semantics preserving adversarial examples. First, we present a manifold learning method to capture the semantics of the inputs. The motivating principle is to learn the low-dimensional geometric summaries of the inputs via statistical inference. Then, we perturb the elements of the learned manifold using the Gram-Schmidt process to induce the perturbed elements to remain in the manifold. To produce adversarial examples, we propose an efficient algorithm whereby we leverage the semantics of the inputs as a source of knowledge upon which we impose adversarial constraints. We apply our approach on toy data, images and text, and show its effectiveness in producing semantics preserving adversarial examples which evade existing defenses against adversarial attacks.
Motivation & Objective
- To address the lack of semantic consistency between original inputs and adversarial examples in existing attack methods.
- To develop a method that preserves input semantics during adversarial example generation, ensuring perturbations remain semantically meaningful.
- To improve robustness evaluation by generating adversarial examples that evade strong defenses while maintaining perceptual and semantic similarity to the original inputs.
- To enable efficient, end-to-end adversarial attack generation in the latent space using geometric manifold constraints.
Proposed method
- Uses variational inference with relaxed Gaussian priors to learn low-dimensional geometric summaries (manifolds) of input data, capturing semantics without strong distributional assumptions.
- Applies a Gram-Schmidt-based perturbation strategy to ensure adversarial perturbations remain within the learned manifold, preserving geometric and semantic structure.
- Operates in the latent embedding space ($\mathcal{Z}$) rather than the input space ($\mathcal{X}$), reducing computational cost and improving semantic fidelity.
- Imposes adversarial constraints on the perturbed manifold elements using a white-box, end-to-end optimization framework that maximizes classification loss while maintaining manifold membership.
- Employs a conditional VAE-like architecture with a decoder $p_\phi$ to reconstruct inputs from latent codes, enabling reconstruction-based regularization.
- Leverages the manifold's intrinsic geometry to define an unrestricted, topology-aware search space for adversarial examples, avoiding uniform $\ell_p$-ball constraints.
Experimental results
Research questions
- RQ1Can adversarial examples be generated that preserve the semantic content of the original inputs while evading strong defenses?
- RQ2How can the geometric structure of input data be modeled to ensure adversarial perturbations remain semantically coherent?
- RQ3Does operating in the latent manifold space improve attack success rates against certified defenses compared to input-space attacks?
- RQ4To what extent can the proposed method generate semantically sound adversarial examples in both vision and NLP tasks?
Key findings
- The proposed method achieved 100% success rate against a 40-step PGD ResNet on MNIST, outperforming PGD, Song et al. [2018], and Zhao et al. [2018b] in human evaluation.
- On MNIST, the method achieved 100% human-rated semantic soundness (Q1: Yes) and 100% similarity to original inputs (Q2: Yes), significantly outperforming PGD (66.8% for Q2).
- Against certified defenses (Raghunathan et al. [2018] and Kolter & Wong [2017]), the method achieved 100% success rates, surpassing Song et al. [2018]’s 86.6% and 88.6% respectively.
- On CelebA, 100% of human evaluators rated the adversarial examples as semantically sound (Q1: Yes), with 97% rating them as similar to the original images.
- In the SNLI text classification task, the method achieved 83.7% semantic soundness and 79.6% similarity, outperforming Zhao et al. [2018b]’s 60.4% and 56.3% respectively.
- The method successfully generated adversarial examples that evaded both certified and non-certified defenses while maintaining high semantic fidelity, demonstrating robustness and generalization across modalities.
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.