arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.02688cs.LGcs.CVstat.ML
收藏

更进一步:平坦性在对抗样本可迁移性中拯救早停法

Going Further: Flatness at the Rescue of Early Stopping for Adversarial Example Transferability

University of Luxembourg(卢森堡大学);Parameter Lab(帕拉米特实验室)

Martin Gubri, Maxime Cordy, Yves Le Traon

AI总结:

本文反驳了早停提升对抗样本可迁移性的鲁棒特征假设,转而从损失景观锐度角度解释,并证明SAM等锐度感知最小化器可超越早停法,最高提升28.8个百分点。

摘要:

可迁移性是对抗样本的一种性质,即对抗样本会被除生成它们所用的代理模型之外的其他模型错误分类。先前的研究表明,对代理模型的训练进行早停可以显著提高可迁移性。解释这一现象的一个常见假设是,深度神经网络(DNNs)首先学习鲁棒特征,这些特征更具通用性,因此是更好的代理;随后在较后的训练轮次中,DNNs学习非鲁棒特征,这些特征更脆弱,因此是更差的代理。首先,我们倾向于反驳这一假设,使用可迁移性作为表示相似性的代理指标。然后,我们在参数空间中建立可迁移性与损失景观探索之间的联系,重点关注受早停影响的锐度。这促使我们评估使用七种同时最小化损失值和损失锐度的最小化器训练的代理模型。其中,SAM始终优于早停法,提升幅度最高可达28.8个百分点。我们发现,来自大型平坦邻域的强SAM正则化与可迁移性紧密相关。最后,最佳的锐度感知最小化器被证明与其他训练方法具有竞争力,并能补充现有的可迁移性技术。

英文摘要:

Transferability is the property of adversarial examples to be misclassified by other models than the surrogate model for which they were crafted. Previous research has shown that early stopping the training of the surrogate model substantially increases transferability. A common hypothesis to explain this is that deep neural networks (DNNs) first learn robust features, which are more generic, thus a better surrogate. Then, at later epochs, DNNs learn non-robust features, which are more brittle, hence worst surrogate. First, we tend to refute this hypothesis, using transferability as a proxy for representation similarity. We then establish links between transferability and the exploration of the loss landscape in parameter space, focusing on sharpness, which is affected by early stopping. This leads us to evaluate surrogate models trained with seven minimizers that minimize both loss value and loss sharpness. Among them, SAM consistently outperforms early stopping by up to 28.8 percentage points. We discover that the strong SAM regularization from large flat neighborhoods tightly links to transferability. Finally, the best sharpness-aware minimizers prove competitive with other training methods and complement existing transferability techniques.

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

↑