arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2404.08980cs.LGstat.ML
收藏

Free Adversarial Training 中的稳定性与泛化

Stability and Generalization in Free Adversarial Training

The Chinese University of Hong Kong(香港中文大学);Purdue University(普渡大学)

Xiwei Cheng, Kexin Fu, Farzan Farnia

AI总结:

本文基于算法稳定性框架分析对抗训练的优化与泛化关系,证明并实验验证 free adversarial training 相比 vanilla adversarial training 可获得更小的训练—测试泛化差距。

摘要:

尽管对抗训练方法已显著提升深度神经网络对范数有界对抗扰动的鲁棒性,但其在训练数据与测试数据上的性能之间的泛化差距远大于标准经验风险最小化。近期研究致力于将对抗训练分类器的泛化性质与其训练中使用的 min-max 优化算法联系起来。本文利用算法稳定性框架分析对抗训练中泛化与优化之间的相互联系。具体而言,我们的目标是比较采用 vanilla adversarial training(在每次迭代中完全优化扰动)训练的神经网络与采用 free adversarial training(同时优化范数有界扰动和分类器参数)训练的神经网络的泛化差距。我们证明了这些方法的泛化误差界,表明由于 free adversarial training 对分类器权重和扰动变量进行同步 min-max 优化,该方法在训练样本与测试样本之间可能表现出更低的泛化差距。我们开展了多项数值实验,以评估 vanilla 与 free adversarial training 方法中从训练到测试的泛化差距。实验结果同样表明,在训练迭代次数相近的情况下,free adversarial training 方法能够产生更小的泛化差距。论文代码可在 https://github.com/Xiwei-Cheng/Stability_FreeAT 获取。

英文摘要:

While adversarial training methods have significantly improved the robustness of deep neural networks against norm-bounded adversarial perturbations, the generalization gap between their performance on training and test data is considerably greater than that of standard empirical risk minimization. Recent studies have aimed to connect the generalization properties of adversarially trained classifiers to the min-max optimization algorithm used in their training. In this work, we analyze the interconnections between generalization and optimization in adversarial training using the algorithmic stability framework. Specifically, our goal is to compare the generalization gap of neural networks trained using the vanilla adversarial training method, which fully optimizes perturbations at every iteration, with the free adversarial training method, which simultaneously optimizes norm-bounded perturbations and classifier parameters. We prove bounds on the generalization error of these methods, indicating that the free adversarial training method may exhibit a lower generalization gap between training and test samples due to its simultaneous min-max optimization of classifier weights and perturbation variables. We conduct several numerical experiments to evaluate the train-to-test generalization gap in vanilla and free adversarial training methods. Our empirical findings also suggest that the free adversarial training method could lead to a smaller generalization gap over a similar number of training iterations. The paper code is available at https://github.com/Xiwei-Cheng/Stability_FreeAT.

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

↑