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

通过输入损失景观分析和正则化来理解和对抗鲁棒过拟合

Understanding and Combating Robust Overfitting via Input Loss Landscape Analysis and Regularization

Lin Li, Michael Spratling

摘要:

对抗性训练被广泛用于提高深度神经网络对对抗攻击的鲁棒性。然而,对抗性训练很容易出现过拟合,原因还远不清楚。这项工作通过分析损失景观w.r.t.揭示了过度拟合的机制。输入.我们发现,鲁棒的过拟合来自标准训练,特别是最小化干净的损失,并且可以通过损失梯度的正则化来减轻。此外,我们发现,鲁棒过拟合在对抗训练过程中变得更加复杂,部分原因是由于损失景观曲率的增加,对抗训练的梯度正则化效果变得更弱。为了提高鲁棒泛化能力,我们提出了一种新的正则化器,通过惩罚沿对抗方向的加权logits变化来平滑损失景观。我们的方法显着减轻鲁棒过拟合,并实现了最高的鲁棒性和效率相比,类似的以前的方法。代码可在https://github.com/TreeLLi/Combating-RO-AdvLC上获得。

英文摘要:

Adversarial training is widely used to improve the robustness of deep neural networks to adversarial attack. However, adversarial training is prone to overfitting, and the cause is far from clear. This work sheds light on the mechanisms underlying overfitting through analyzing the loss landscape w.r.t. the input. We find that robust overfitting results from standard training, specifically the minimization of the clean loss, and can be mitigated by regularization of the loss gradients. Moreover, we find that robust overfitting turns severer during adversarial training partially because the gradient regularization effect of adversarial training becomes weaker due to the increase in the loss landscapes curvature. To improve robust generalization, we propose a new regularizer to smooth the loss landscape by penalizing the weighted logits variation along the adversarial direction. Our method significantly mitigates robust overfitting and achieves the highest robustness and efficiency compared to similar previous methods. Code is available at https://github.com/TreeLLi/Combating-RO-AdvLC.

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

↑