arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.06015cs.CV
收藏

通过梯度聚合增强通用对抗扰动的泛化能力

Enhancing Generalization of Universal Adversarial Perturbation through Gradient Aggregation

Beijing University of Posts and Telecommunications(北京邮电大学)

Xuannan Liu, Yaoyao Zhong, Yuhang Zhang, Lixiong Qin, Weihong Deng

AI总结:

本文提出随机梯度聚合(SGA)方法,通过聚合小批量多次预搜索的梯度来缓解梯度消失并逃离局部最优,从而显著提升通用对抗扰动的泛化能力。

摘要:

深度神经网络容易受到通用对抗扰动(UAP)的影响,这是一种与样本无关的扰动,能够使目标模型在大多数样本上产生错误预测。与针对特定样本的对抗样本相比,UAP更具挑战性,因为它需要在不同样本和模型之间实现泛化。本文从泛化视角审视了UAP生成方法所面临的严重困境——使用小批量随机梯度优化时出现的梯度消失问题,以及使用大批量优化时出现的局部最优问题。为解决这些问题,我们提出了一种简单而有效的方法,称为随机梯度聚合(Stochastic Gradient Aggregation,SGA),该方法能够同时缓解梯度消失并逃离较差的局部最优。具体而言,SGA采用小批量训练执行多次内部预搜索迭代,然后将所有内部梯度聚合为一步梯度估计,以增强梯度稳定性并减少量化误差。在标准ImageNet数据集上的大量实验表明,我们的方法显著增强了UAP的泛化能力,并优于其他最先进的方法。代码可在 https://github.com/liuxuannan/Stochastic-Gradient-Aggregation 获取。

英文摘要:

Deep neural networks are vulnerable to universal adversarial perturbation (UAP), an instance-agnostic perturbation capable of fooling the target model for most samples. Compared to instance-specific adversarial examples, UAP is more challenging as it needs to generalize across various samples and models. In this paper, we examine the serious dilemma of UAP generation methods from a generalization perspective -- the gradient vanishing problem using small-batch stochastic gradient optimization and the local optima problem using large-batch optimization. To address these problems, we propose a simple and effective method called Stochastic Gradient Aggregation (SGA), which alleviates the gradient vanishing and escapes from poor local optima at the same time. Specifically, SGA employs the small-batch training to perform multiple iterations of inner pre-search. Then, all the inner gradients are aggregated as a one-step gradient estimation to enhance the gradient stability and reduce quantization errors. Extensive experiments on the standard ImageNet dataset demonstrate that our method significantly enhances the generalization ability of UAP and outperforms other state-of-the-art methods. The code is available at https://github.com/liuxuannan/Stochastic-Gradient-Aggregation.

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

↑