Skip to main content
QUICK REVIEW

[논문 리뷰] Is PGD-Adversarial Training Necessary? Alternative Training via a Soft-Quantization Network with Noisy-Natural Samples Only

Tianhang Zheng, Changyou Chen|arXiv (Cornell University)|2018. 10. 10.
Adversarial Robustness in Machine LearningComputer Science인용 수 3
한 줄 요약

이 논문은 입력 그래디언트 $l_1$-노름을 미분 가능 소프트-쿼티제이션 레이어를 통해 최소화함으로써 PGD 적대적 훈련의 계산 비용을 줄이는 효율적인 대안을 제안한다. 이는 오직 노이즈가 섞인 자연 샘플들만을 사용한다. 이 방법은 MNIST에서 24배 빠른 속도로 PGD 훈련과 유사한 강건성을 달성하며, 강건한 ImageNet 모델의 두 번째 날 테일러닝을 가능하게 한다.

ABSTRACT

Recent work on adversarial attack and defense suggests that PGD is a universal $l_\infty$ first-order attack, and PGD adversarial training can significantly improve network robustness against a wide range of first-order $l_\infty$-bounded attacks, represented as the state-of-the-art defense method. However, an obvious weakness of PGD adversarial training is its highly-computational cost in generating adversarial samples, making it computationally infeasible for large and high-resolution real datasets such as the ImageNet dataset. In addition, recent work also has suggested a simple "close-form" solution to a robust model on MNIST. Therefore, a natural question raised is that is PGD adversarial training really necessary for robust defense? In this paper, we give a negative answer by proposing a training paradigm that is comparable to PGD adversarial training on several standard datasets, while only using noisy-natural samples. Specifically, we reformulate the min-max objective in PGD adversarial training by a problem to minimize the original network loss plus $l_1$ norms of its gradients w.r.t. the inputs. For the $l_1$-norm loss, we propose a computationally-feasible solution by embedding a differentiable soft-quantization layer after the network input layer. We show formally that the soft-quantization layer trained with noisy-natural samples is an alternative approach to minimizing the $l_1$-gradient norms as in PGD adversarial training. Extensive empirical evaluations on standard datasets show that our proposed models are comparable to PGD-adversarially-trained models under PGD and BPDA attacks. Remarkably, our method achieves a 24X speed-up on MNIST while maintaining a comparable defensive ability, and for the first time fine-tunes a robust Imagenet model within only two days. Code is provided on \url{https://github.com/tianzheng4/Noisy-Training-Soft-Quantization}

연구 동기 및 목표

  • PGD 적대적 훈련이 강건한 모델 일반화를 위해 반드시 필요한가를 조사하기 위해.
  • 특히 ImageNet과 같은 큰 데이터셋에서 PGD 기반 적대적 훈련의 높은 계산 비용을 줄이기 위해.
  • 훈련 중에 적대적 샘플이 필요하지 않은 강건한 훈련 철학을 개발하기 위해.
  • 입력 그래디언트 $l_1$-노름을 최소화하는 것이 PGD 적대적 훈련의 타당한 대체 방법이 될 수 있는가를 탐색하기 위해.
  • 주어진 훈련 시간 내에 수주가 아닌 수일 내로 강건한 ImageNet 모델을 테일러닝할 수 있도록 하기 위해.

제안 방법

  • PGD 적대적 훈련의 최소-최대 목적함수를 원래의 네트워크 손실에 더해 입력 그래디언트의 $l_1$-노름을 최소화하는 방식으로 재구성한다.
  • 입력 레이어 이후에 미분 가능한 소프트-쿼티제이션 레이어를 도입하여 $l_1$-그래디언트 노름 정규화를 근사한다.
  • 비용이 많이 드는 반복적 PGD 공격 생성을 피하기 위해 오직 노이즈가 섞인 자연 샘플들로만 모델을 훈련시킨다.
  • 소프트-쿼티제이션 레이어를 사용해 네트워크의 입력 변화에 대한 민감도를 암묵적으로 정규화한다.
  • 소프트-쿼티제이션을 통한 $l_1$-노름 최소화가 한계에서 PGD 적대적 훈련과 동일하다는 것을 엄밀히 보여준다.
  • 소프트-쿼티제이션 레이어의 미분 가능성 덕분에 그래디언트 노름 정규화를 통해 역전파할 수 있다.

실험 결과

연구 질문

  • RQ1노이즈가 섞인 자연 데이터만을 사용하여 PGD 적대적 샘플 없이 강건한 모델을 훈련시킬 수 있는가?
  • RQ2입력 그래디언트의 $l_1$-노름을 최소화하는 것이 PGD 적대적 훈련과 유사한 강건성을 달성하는 데에 충분한가?
  • RQ3소프트-쿼티제이션 레이어가 모델의 강건성을 정규화하는 데 있어 PGD 공격의 효과를 효과적으로 근사할 수 있는가?
  • RQ4이 방법은 기존 기준 벤치마크에서 PGD 적대적 훈련에 비해 얼마나 높은 계산 효율성을 제공하는가?
  • RQ5이 방법은 수주가 아닌 수일 내로 훈련 시간이 가능한 대규모 데이터셋인 ImageNet과도 확장 가능한가?

주요 결과

  • 제안된 방법은 표준 데이터셋에서 PGD 및 BPDA 공격에 대해 PGD로 적대적으로 훈련된 모델과 유사한 강건성을 달성한다.
  • MNIST에서 이 방법은 PGD 적대적 훈련보다 24배 빠른 속도를 기록하면서도 유사한 강건성 정확도를 유지한다.
  • 이 방법은 두 번째 날 안에 강건한 ImageNet 모델을 테일러닝할 수 있는 최초의 사례로, 훈련 시간을 크게 줄였다.
  • 노이즈가 섞인 자연 샘플에서 훈련된 소프트-쿼티제이션 레이어는 입력 그래디언트를 효과적으로 정규화하여 PGD 적대적 훈련을 모방한다.
  • 훈련 중에 적대적 예시를 생성하지 않더라도, 이 방법은 일阶 $l_\frown$-유계 공격에 대해 강력한 일반화 성능을 유지한다.
  • 실험 결과는 소프트-쿼티제이션을 통한 입력 그래디언트 $l_1$-노름 최소화가 PGD 적대적 훈련의 타당하고 효율적인 대체 방법임을 확인한다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.