변형에 대한 데모: 견고한 백도어 오염 감지를 위한 딥러닝 신경망의 통계적 분석
Demon in the Variant: Statistical Analysis of DNNs for Robust Backdoor Contamination Detection
Demon in the Variant: Statistical Analysis of DNNs for Robust Backdoor Contamination Detection
@misc{tang2019demon,
title = {Demon in the Variant: Statistical Analysis of DNNs for Robust Backdoor Contamination Detection},
author = {Di Tang and XiaoFeng Wang and Haixu Tang and Kehuan Zhang},
year = {2019},
eprint = {1908.00686},
archivePrefix = {arXiv},
primaryClass = {cs.CR},
url = {https://arxiv.org/abs/1908.00686}
}
Tang, D., Wang, X., Tang, H., & Zhang, K. (2019). Demon in the Variant: Statistical Analysis of DNNs for Robust Backdoor Contamination Detection [Preprint]. arXiv. https://doi.org/10.48550/arXiv.1908.00686
TANG D, WANG X, TANG H, et al. Demon in the Variant: Statistical Analysis of DNNs for Robust Backdoor Contamination Detection[EB/OL]. (2019-08-02)[2026-11-30]. https://arxiv.org/abs/1908.00686.
초록
딥러닝 네트워크 (DNN) 에 대한 보안 위협 중 하나는 특정 트리거를 가진 이미지가 항상 특정 라벨로 분류되도록 공격자가 목표 모델의 학습 데이터를 독살하여 트로이 말 (Trojan) 을 주입하는 백도어 오염이다. 기존 연구는 이미지 표현에서 트리거의 우세성을 전제로 하여, 트리거가 포함된 모든 이미지를 목표 클래스의 구성원으로 인식하게 만든다. 이러한 트리거는 표현 공간에서 고유한 특성을 보이며 따라서 합법적 이미지와 쉽게 분리될 수 있다. 그러나 본 연구는 단순한 목표 오염이 공격 이미지의 표현을 합법적 이미지와 구별하기 어렵게 만들어 기존 백도어 감염 방어를 우회할 수 있음을 보여준다. 본 연구에서는 이러한 오염 공격이 목표 클래스의 표현 분포를 미묘하게 변화시킨다는 것을 보여주며, 이를 통계 분석으로 포착할 수 있다. 구체적으로, 우리는 EM 알고리즘을 활용하여 이미지를 클래스 내 식별 부분 (예: 사람, 교통 표지) 과 변이 부분 (예: 조명, 포즈) 으로 분해한 후, 각 클래스의 분포를 분석하여 합법적 이미지 풀에 공격 샘플을 추가한 결과로 나타나는 혼합 모델로 더 잘 설명될 가능성이 높은 경우를 식별한다. 본 연구는 제안한 새로운 공격을 포함한 데이터 오염 공격을 효과적으로 탐지할 수 있는 새로운 기법을 제시하며, 지식이 있는 공격자가 수행하는 회피 시도에도 견고함을 보인다.
A security threat to deep neural networks (DNN) is backdoor contamination, in which an adversary poisons the training data of a target model to inject a Trojan so that images carrying a specific trigger will always be classified into a specific label. Prior research on this problem assumes the dominance of the trigger in an image's representation, which causes any image with the trigger to be recognized as a member in the target class. Such a trigger also exhibits unique features in the representation space and can therefore be easily separated from legitimate images. Our research, however, shows that simple target contamination can cause the representation of an attack image to be less distinguishable from that of legitimate ones, thereby evading existing defenses against the backdoor infection. In our research, we show that such a contamination attack actually subtly changes the representation distribution for the target class, which can be captured by a statistic analysis. More specifically, we leverage an EM algorithm to decompose an image into its identity part (e.g., person, traffic sign) and variation part within a class (e.g., lighting, poses). Then we analyze the distribution in each class, identifying those more likely to be characterized by a mixture model resulted from adding attack samples to the legitimate image pool. Our research shows that this new technique effectively detects data contamination attacks, including the new one we propose, and is also robust against the evasion attempts made by a knowledgeable adversary.