반대 공격을 위한 의미적 특징 조작
Defending Adversarial Attacks via Semantic Feature Manipulation
Defending Adversarial Attacks via Semantic Feature Manipulation
@misc{wang2020defending,
title = {Defending Adversarial Attacks via Semantic Feature Manipulation},
author = {Shuo Wang and Tianle Chen and Surya Nepal and Carsten Rudolph and Marthie Grobler and Shangyu Chen},
year = {2020},
eprint = {2002.02007},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
url = {https://arxiv.org/abs/2002.02007}
}
Wang, S., Chen, T., Nepal, S., Rudolph, C., Grobler, M., & Chen, S. (2020). Defending Adversarial Attacks via Semantic Feature Manipulation [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2002.02007
WANG S, CHEN T, NEPAL S, et al. Defending Adversarial Attacks via Semantic Feature Manipulation[EB/OL]. (2020-02-03)[2026-11-30]. https://arxiv.org/abs/2002.02007.
초록
기계 학습 모델은 적대적 공격에 대한 취약성을 보이며, 특히 적대적 예제의 오분류에 대한 문제가 제기되었다. 본 논문에서는 해석 가능하고 효율적인 방식으로 적대적 예제를 탐지하고 정화하기 위해 일회성이며 공격 무관한 특징 조작 (FM)-방어를 제안한다. 직관적으로, 정상 이미지의 분류 결과는 비유의미적인 내부적 특징 변화 (예: 손글씨 숫자의 두께 변화) 에 일반적으로 저항력이 있다. 반면, 적대적 예제는 왜곡이 전이성을 결여했기 때문에 이러한 변화에 민감하게 반응한다. 특징 조작을 가능하게 하기 위해, 해부된 잠재 코드를 학습하여 의미적 특징을 드러내는 콤보-변분 자동인코더 (combo-VAE) 를 적용한다. 잠재 코드를 변형하고 재구성하여 도출된 형태 (morphs) 에 대한 분류 변화 저항성을 사용하여 의심스러운 입력을 탐지한다. 또한, 클래스 공유 특징과 클래스 고유 특징을 모두 고려하여 콤보-VAE 를 강화함으로써 적대적 예제를 높은 품질로 정화한다. 우리는 탐지의 효과성과 정화된 인스턴스의 품질을 경험적으로 증명한다. 세 개의 데이터셋에 대한 실험 결과, FM-Defense 는 다양한 최신 적대적 공격으로 생성된 적대적 예제의 거의 100% 를 탐지할 수 있으며, 정상 예제의 다양체 (manifold) 에 근접한 의심스러운 인스턴스에서는 전체 정화 정확도가 99% 를 초과한다.
Machine learning models have demonstrated vulnerability to adversarial attacks, more specifically misclassification of adversarial examples. In this paper, we propose a one-off and attack-agnostic Feature Manipulation (FM)-Defense to detect and purify adversarial examples in an interpretable and efficient manner. The intuition is that the classification result of a normal image is generally resistant to non-significant intrinsic feature changes, e.g., varying thickness of handwritten digits. In contrast, adversarial examples are sensitive to such changes since the perturbation lacks transferability. To enable manipulation of features, a combo-variational autoencoder is applied to learn disentangled latent codes that reveal semantic features. The resistance to classification change over the morphs, derived by varying and reconstructing latent codes, is used to detect suspicious inputs. Further, combo-VAE is enhanced to purify the adversarial examples with good quality by considering both class-shared and class-unique features. We empirically demonstrate the effectiveness of detection and the quality of purified instance. Our experiments on three datasets show that FM-Defense can detect nearly 100% of adversarial examples produced by different state-of-the-art adversarial attacks. It achieves more than 99% overall purification accuracy on the suspicious instances that close the manifold of normal examples.