arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.06827cs.LGcs.CR
收藏

RAMP:提升对抗多重 $l_p$ 扰动的鲁棒性以实现通用鲁棒性

RAMP: Boosting Adversarial Robustness Against Multiple $l_p$ Perturbations for Universal Robustness

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Enyi Jiang, Gagandeep Singh

AI总结:

本文提出训练框架 RAMP,通过 logit pairing loss 和梯度投影融合自然训练与对抗训练,有效缓解准确率与鲁棒性的权衡,显著提升了模型抵御多重 $l_p$ 扰动的联合准确率及未见攻击的通用鲁棒性。

摘要:

现有大多数工作侧重于通过对抗训练(AT)提升针对单一 $l_p$ 范数约束的对抗攻击鲁棒性。然而,这些 AT 模型的多范数鲁棒性(联合准确率)依然较低,而这一点至关重要,因为在真实世界中攻击者不一定受单一范数约束。在针对多重 $l_p$ 扰动的鲁棒性与准确率/鲁棒性之间存在的权衡,使得同时获得良好的联合准确率和干净准确率极具挑战性。我们设计了一种 logit pairing loss,通过从分布偏移的视角分析这些权衡来提升联合准确率。我们通过梯度投影将自然训练(NT)与 AT 结合,把 NT 中的有用信息融入 AT,并从经验和理论两方面证明这能缓解准确率与鲁棒性之间的权衡。我们提出了一个新颖的训练框架 RAMP,以增强针对多重 $l_p$ 扰动的鲁棒性。RAMP 可轻松适配于鲁棒微调与完整 AT。在鲁棒微调方面,RAMP 在 CIFAR-10 上获得高达 53.3% 的联合准确率,在 ImageNet 上获得 29.1%。在从头训练方面,RAMP 在 CIFAR-10 上抵御 AutoAttack 时,于 ResNet-18 上实现了 44.6% 的联合准确率和 81.2% 的良好干净准确率。除多范数鲁棒性外,RAMP 训练的模型还展现出卓越的通用鲁棒性,能有效泛化以抵御一系列未见过的攻击者和自然损坏。

英文摘要:

Most existing works focus on improving robustness against adversarial attacks bounded by a single $l_p$ norm using adversarial training (AT). However, these AT models' multiple-norm robustness (union accuracy) is still low, which is crucial since in the real-world an adversary is not necessarily bounded by a single norm. The tradeoffs among robustness against multiple $l_p$ perturbations and accuracy/robustness make obtaining good union and clean accuracy challenging. We design a logit pairing loss to improve the union accuracy by analyzing the tradeoffs from the lens of distribution shifts. We connect natural training (NT) with AT via gradient projection, to incorporate useful information from NT into AT, where we empirically and theoretically show it moderates the accuracy/robustness tradeoff. We propose a novel training framework \textbf{RAMP}, to boost the robustness against multiple $l_p$ perturbations. \textbf{RAMP} can be easily adapted for robust fine-tuning and full AT. For robust fine-tuning, \textbf{RAMP} obtains a union accuracy up to $53.3\%$ on CIFAR-10, and $29.1\%$ on ImageNet. For training from scratch, \textbf{RAMP} achieves a union accuracy of $44.6\%$ and good clean accuracy of $81.2\%$ on ResNet-18 against AutoAttack on CIFAR-10. Beyond multi-norm robustness \textbf{RAMP}-trained models achieve superior \textit{universal robustness}, effectively generalizing against a range of unseen adversaries and natural corruptions.

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

↑