arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2204.13779cs.LG
收藏

制定针对不可预见攻击的鲁棒性

Formulating Robustness Against Unforeseen Attacks

Princeton University(普林斯顿大学)

Sihui Dai, Saeed Mahloujifar, Prateek Mittal

摘要:

对抗性训练等对抗性示例的现有防御通常假设对手将符合特定或已知的威胁模型,例如固定预算内的$\ell_p$扰动。在本文中,我们专注于的情况下,有一个不匹配的威胁模型假设的防御在训练过程中,在测试时的对手的实际能力。我们提出这样一个问题:如果学习器针对特定的“源”威胁模型进行训练,那么在测试期间,我们何时可以期望鲁棒性推广到更强的未知“目标”威胁模型?我们的主要贡献是正式定义了不可预见的对手的学习和泛化问题,这有助于我们从已知对手的传统角度来推理对抗风险的增加。应用我们的框架,我们推导出一个泛化范围,它将源和目标威胁模型之间的泛化差距与特征提取器的变化联系起来,该特征提取器测量给定威胁模型中提取的特征之间的预期最大差异。基于我们的泛化范围,我们提出了变化正则化(VR),它减少了训练过程中特征提取器在源威胁模型中的变化。我们根据经验证明,使用VR可以提高测试时对不可预见攻击的泛化能力,并将VR与感知对抗训练相结合(Laidlaw et al.,2021)在不可预见的攻击上实现了最先进的鲁棒性。我们的代码可在https://github.com/inspire-group/variation-regularization上公开获取。

英文摘要:

Existing defenses against adversarial examples such as adversarial training typically assume that the adversary will conform to a specific or known threat model, such as $\ell_p$ perturbations within a fixed budget. In this paper, we focus on the scenario where there is a mismatch in the threat model assumed by the defense during training, and the actual capabilities of the adversary at test time. We ask the question: if the learner trains against a specific "source" threat model, when can we expect robustness to generalize to a stronger unknown "target" threat model during test-time? Our key contribution is to formally define the problem of learning and generalization with an unforeseen adversary, which helps us reason about the increase in adversarial risk from the conventional perspective of a known adversary. Applying our framework, we derive a generalization bound which relates the generalization gap between source and target threat models to variation of the feature extractor, which measures the expected maximum difference between extracted features across a given threat model. Based on our generalization bound, we propose variation regularization (VR) which reduces variation of the feature extractor across the source threat model during training. We empirically demonstrate that using VR can lead to improved generalization to unforeseen attacks during test-time, and combining VR with perceptual adversarial training (Laidlaw et al., 2021) achieves state-of-the-art robustness on unforeseen attacks. Our code is publicly available at https://github.com/inspire-group/variation-regularization.

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

↑