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

生成不确定性更高的对抗样本可提升鲁棒泛化能力

Generating Less Certain Adversarial Examples Improves Robust Generalization

CISPA Helmholtz Center for Information Security(CISPA亥姆霍兹信息安全中心)

Minxing Zhang, Michael Backes, Xiao Zhang

AI总结:

该研究针对对抗训练中的鲁棒过拟合问题,提出对抗样本预测过度自信是诱因,通过定义对抗确定性并构建对应训练方法,有效提升模型鲁棒性并缓解鲁棒过拟合。

摘要:

本文重新探讨了对抗训练中的鲁棒过拟合现象。研究观察到,鲁棒泛化性能更优的模型在预测对抗生成的训练输入时确定性更低,据此我们认为,模型对对抗样本的预测过度自信是导致鲁棒过拟合的潜在原因。为此,我们提出假设:生成确定性更低的对抗样本能够提升鲁棒泛化能力,并给出了对抗确定性的正式定义,该定义用于衡量模型在对抗样本上预测的logits的方差。我们对合成分布的理论分析阐明了对抗确定性与鲁棒泛化之间的关联。在此基础上,我们基于对抗确定性的概念提出了一种通用方法,用于搜索能够生成确定性更低的训练阶段对抗输入、同时保持模型区分对抗样本能力的模型。在图像基准数据集上开展的大量实验表明,我们的方法能有效训练出鲁棒性持续提升的模型,并缓解鲁棒过拟合问题,证实了生成确定性更低的对抗样本对鲁棒泛化的重要性。我们的实现已作为开源代码发布于:https://github.com/TrustMLRG/AdvCertainty。

英文摘要:

This paper revisits the robust overfitting phenomenon of adversarial training. Observing that models with better robust generalization performance are less certain in predicting adversarially generated training inputs, we argue that overconfidence in predicting adversarial examples is a potential cause. Therefore, we hypothesize that generating less certain adversarial examples improves robust generalization, and propose a formal definition of adversarial certainty that captures the variance of the model's predicted logits on adversarial examples. Our theoretical analysis of synthetic distributions characterizes the connection between adversarial certainty and robust generalization. Accordingly, built upon the notion of adversarial certainty, we develop a general method to search for models that can generate training-time adversarial inputs with reduced certainty, while maintaining the model's capability in distinguishing adversarial examples. Extensive experiments on image benchmarks demonstrate that our method effectively learns models with consistently improved robustness and mitigates robust overfitting, confirming the importance of generating less certain adversarial examples for robust generalization. Our implementations are available as open-source code at: https://github.com/TrustMLRG/AdvCertainty.

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

↑