FGSM 의 adversarial training을 간단하게 실습해보기 위해 구현을 했다.
논문의 내용을 그대로 따라가자면 원래의 이미지와 변형된 이미지 쌍을 pair로 만들고 함께 학습하는 것이 맞다.
그저 간단히 실습하려고 하나씩 학습시켰다.
tutorial_fgsm_adversarial_training.ipynb
7.77MB
참고자료
https://arxiv.org/abs/1412.6572
Explaining and Harnessing Adversarial Examples
Several machine learning models, including neural networks, consistently misclassify adversarial examples---inputs formed by applying small but intentionally worst-case perturbations to examples from the dataset, such that the perturbed input results in th
arxiv.org
728x90
댓글