对抗性训练等对抗性示例的现有防御通常假设对手将符合特定或已知的威胁模型,例如固定预算内的$\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.
UK Frontier AI Taskforce(英国前沿人工智能工作组);UC Berkeley(加州大学伯克利分校);University of Chicago(芝加哥大学);Center for AI Safety(人工智能安全中心);Toronto University(多伦多大学);Vector Institute(向量研究所)
The Art of the Jailbreak: Formulating Jailbreak Attacks for LLM Security Beyond Binary Scoring
Department of Computer Science, University of Texas at El Paso(德克萨斯大学埃尔帕索分校计算机科学系);School of Computing, Southern Illinois University Carbondale(南方伊利诺伊大学卡罗尔丹分校计算学院);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)
Defending Against Diverse Attacks in Federated Learning Through Consensus-Based Bi-Level Optimization
University of Wisconsin-Madison, Department of Statistics(威斯康星大学麦迪逊分校统计学系);Google(谷歌);University of Oxford, Mathematical Institute(牛津大学数学学院);University of California, Los Angeles, Department of Statistics and Data Science(加州大学洛杉矶分校统计学与数据科学系)
On Improving Adversarial Transferability of Vision Transformers
Australian National University(澳大利亚国立大学);Stony Brook University(石溪大学);Linköping University(林雪平大学);Mohamed bin Zayed University of AI(穆罕默德·本·扎耶德人工智能大学);Qualcomm USA(美国高通公司)