arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.09464cs.CVcs.LG
收藏

利用梯度近似降低对抗训练成本

Reducing Adversarial Training Cost with Gradient Approximation

The University of Sydney(悉尼大学)

Huihui Gong

AI总结:

针对PGD对抗训练计算开销大的问题,提出基于泰勒级数近似对抗损失梯度的GAAT方法,在保持模型精度几乎不变的情况下,节省高达60%的训练时间。

摘要:

深度学习模型在各个领域取得了最先进的性能,但它们容易受到精心制作但扰动很小的输入的攻击,这些输入被称为对抗样本(AEs)。在提高模型对对抗样本鲁棒性的众多策略中,基于投影梯度下降(PGD)的对抗训练是最有效的方法之一。然而,由于损失函数的最大化,生成足够强的对抗样本所需的计算开销巨大,这使得在使用更大、更复杂的模型时,常规的PGD对抗训练有时变得不切实际。在本文中,我们提出对抗损失可以通过泰勒级数的部分和来近似。此外,我们近似对抗损失的梯度,并提出了一种新的高效对抗训练方法——梯度近似对抗训练(GAAT),以降低构建鲁棒模型的成本。此外,大量实验表明,这种效率提升可以在自然样本和对抗样本上几乎没有或很少精度损失的情况下实现,这显示我们提出的方法在MNIST、CIFAR-10和CIFAR-100数据集上节省了高达60%的训练时间,同时模型测试精度相当。

英文摘要:

Deep learning models have achieved state-of-the-art performances in various domains, while they are vulnerable to the inputs with well-crafted but small perturbations, which are named after adversarial examples (AEs). Among many strategies to improve the model robustness against AEs, Projected Gradient Descent (PGD) based adversarial training is one of the most effective methods. Unfortunately, the prohibitive computational overhead of generating strong enough AEs, due to the maximization of the loss function, sometimes makes the regular PGD adversarial training impractical when using larger and more complicated models. In this paper, we propose that the adversarial loss can be approximated by the partial sum of Taylor series. Furthermore, we approximate the gradient of adversarial loss and propose a new and efficient adversarial training method, adversarial training with gradient approximation (GAAT), to reduce the cost of building up robust models. Additionally, extensive experiments demonstrate that this efficiency improvement can be achieved without any or with very little loss in accuracy on natural and adversarial examples, which show that our proposed method saves up to 60\% of the training time with comparable model test accuracy on MNIST, CIFAR-10 and CIFAR-100 datasets.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑