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 adversarial training with variation regularization (AT-VR) which reduces variation of the feature extractor across the source threat model during training. We empirically demonstrate that AT-VR can lead to improved generalization to unforeseen attacks during test-time compared to standard adversarial training on Gaussian and image datasets.
翻译:对抗性训练等对抗性训练等现有防御措施通常假定对手将符合特定或已知的威胁模式,如在固定预算内,美元/美元/美元/美元/美元/美元/美元/美元/美元/波动。在本文中,我们侧重于国防在训练期间假设的威胁模式与对手在试验时的实际能力不匹配的情况,以及对手在试验时的实际能力。我们提出这样一个问题:如果学习者针对特定的“源码”威胁模式进行训练,我们何时能期望强力在试验时推广一个更明确的“目标”威胁模式?我们的主要贡献是正式界定学习和与一个意外对手普遍化的问题,这帮助我们从已知敌人的传统角度了解对抗性风险的增加。我们运用我们的框架,得出一个总体化的界限,将源和目标威胁模式之间的普遍化差距与特征提取模型的变异联系起来,以衡量在特定威胁模式下提取的特征之间的预期最大差异。根据我们的一般化约束,我们提议采用变换规范的对抗性培训(AT-VR),以降低特征提取器到源面威胁模型之间的变异性,从而在不可预测性训练期间进行试验测试。在一般试验期间,我们能测试标准,可以改进AV标准,以试验测试。