通过稳定生成器语义特征提升黑盒攻击迁移效果
Improving Black-Box Generative Attacks via Generator Semantic Consistency
- 用EMA教师模型对齐生成器早期特征,增强语义一致性
- 在多个模型和任务上实现更高黑盒攻击成功率,且无推理开销
- 提出新评估指标ACR,更准确区分误判与偶然修正
迁移攻击通过优化代理模型并在黑盒目标上部署来生成对抗样本。虽然迭代优化攻击因每输入需多步梯度更新而效率低下,生成式攻击则能在测试时单次前向传播完成,显著提升效率。然而现有生成式攻击仍依赖代理损失(如特征偏移),忽视生成器内部动态,未充分探索其内部表征如何影响可迁移扰动。为此,本文通过将生成器早期中间特征对齐到EMA教师模型,稳定物体对齐表征,提升黑盒迁移能力且无需额外推理开销。为验证机制,量化语义稳定性为聚类激活掩码与前景掩码间前景IoU的标准差,发现本方法有效降低语义漂移。为更可靠评估,引入意外纠正率(ACR),分离无意纠正与故意误分类,弥补传统攻击成功率(ASR)、迷惑率(FR)和准确率的固有盲点。在多种架构、领域与任务中,该方法可无缝集成至现有生成式攻击,一致提升黑盒迁移性能,同时保持测试效率。
原文摘要 · Abstract (English)
Transfer attacks optimize on a surrogate and deploy to a black-box target. While iterative optimization attacks in this paradigm are limited by their per-input cost limits efficiency and scalability due to multistep gradient updates for each input, generative attacks alleviate these by producing adversarial examples in a single forward pass at test time. However, current generative attacks still adhere to optimizing surrogate losses (e.g., feature divergence) and overlook the generator's internal dynamics, underexploring how the generator's internal representations shape transferable perturbations. To address this, we enforce semantic consistency by aligning the early generator's intermediate features to an EMA teacher, stabilizing object-aligned representations and improving black-box transfer without inference-time overhead. To ground the mechanism, we quantify semantic stability as the standard deviation of foreground IoU between cluster-derived activation masks and foreground masks across generator blocks, and observe reduced semantic drift under our method. For more reliable evaluation, we also introduce Accidental Correction Rate (ACR) to separate inadvertent corrections from intended misclassifications, complementing the inherent blind spots in traditional Attack Success Rate (ASR), Fooling Rate (FR), and Accuracy metrics. Across architectures, domains, and tasks, our approach can be seamlessly integrated into existing generative attacks with consistent improvements in black-box transfer, while maintaining test-time efficiency.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。