You Only Propagate Once: Accelerating Adversarial Training via Maximal Principle

By Dinghuai Zhang, Tianyuan Zhang, Yiping Lu, Zhanxing Zhu, Bin Dong. 2019

394 citations recorded by the source corpus.

Deep learning achieves state-of-the-art results in many tasks in computer vision and natural language processing. However, recent works have shown that deep networks can be vulnerable to adversarial perturbations, which raised a serious robustness issue of deep networks. Adversarial training, typically formulated as a robust optimization problem, is an effective way of improving the robustness of deep networks. A major drawback of existing adversarial training algorithms is the computational overhead of the generation of adversarial examples, typically far greater than that of the network training. This leads to the unbearable overall computational cost of adversarial training. In this paper, we show that adversarial training can be cast as a discrete time differential game. Through analyzing the Pontryagin's Maximal Principle (PMP) of the problem, we observe that the adversary update is only coupled with the parameters of the first layer of the network. This inspires us to restrict most of the forward and back propagation within the first layer of the network during adversary updates. This effectively reduces the total number of full forward and backward propagation to only one for each group of adversary updates. Therefore, we refer to this algorithm YOPO (You Only Propagate Once). Numerical experiments demonstrate that YOPO can achieve comparable defense accuracy with approximately 1/5 ~ 1/4 GPU time of the projected gradient descent (PGD) algorithm. Our codes are available at https://https://github.com/a1600012888/YOPO-You-Only-Propagate-Once.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Safety, Robustness & Interpretability

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Matthias Hein
  2. Zhe Gan
  3. Jun Zhu
  4. Bernt Schiele
  5. Tianyu Pang
  6. Hang Su
  7. Alan L. Yuille
  8. Yinpeng Dong

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Alan L. Yuille
  4. Zhe Gan
  5. Bernt Schiele
  6. Trevor Darrell
  7. Cordelia Schmid
  8. Xiaogang Wang

In Safety, Robustness & Interpretability

  1. Matthias Hein
  2. Tianyu Pang
  3. Jun Zhu
  4. Yinpeng Dong
  5. Hang Su
  6. David Stutz
  7. Maksym Andriushchenko
  8. Bernt Schiele

Citations in the corpus