arXiv:2606.22516cs.LGcs.CR2026-06

随机缩放会提升或降低攻击迁移性,取决于目标模型是否鲁棒。

The Scissors Effect: When Resize-Based Input Diversity Helps or Hurts Transfer Attacks

论文配图:The Scissors Effect: When Resize-Based Input Diversity Helps or Hurts Transfer Attacks
图 1 · 摘自论文原文
  • 通过控制输入多样性中的缩放比例,发现其对标准模型有益、对鲁棒模型有害。
  • 在ImageNet上,对鲁棒模型使用盲目缩放会使攻击成功率平均下降10.3%。
  • 提出局部梯度一致性指标,可判断何时应禁用输入多样性以避免性能损失。

输入多样性(DI)在迁移攻击中广泛使用,通常被认为能提升攻击迁移性。我们发现该假设具有依赖性:对于鲁棒训练的替代模型,输入多样性的效果往往相反。仅改变替代模型类型时,提高输入多样性概率会提升标准模型的攻击成功率,但会降低鲁棒模型的攻击成功率——这种分离现象称为“剪刀效应”。该效应在ImageNet上显著且一致,对鲁棒源模型平均造成10.3%的攻击成功率损失,涵盖CNN、ViT、Swin和ConvNeXt等目标模型,以及2018-2024年间十种攻击方法;在CIFAR-10上效应较小,除非输入多样性足够激进。通过控制训练预算的鲁棒性强度实验显示,损害是渐进而非二元的,在低鲁棒性阶段即已出现负面影响。我们将其归因于梯度几何:缩放与平移分解表明约67%的损害来自缩放操作,直接测量源-目标梯度对齐度证实,缩放操作提升标准模型对齐度,却降低鲁棒模型的对齐度。我们提出局部梯度一致性(LGC)作为单一输入空间探针,可有效区分两类替代模型,并证明了一个偏差-方差交叉定理,明确界定输入多样性起效与被缩放偏差主导的临界点。由此设计的免训练规则CG-DI在LGC高时禁用多样性,既避免了对鲁棒模型的损失,又保留了对标准模型的增益,将剪刀效应定位为输入多样性特有的鲁棒性-迁移性权衡表现。

原文摘要 · Abstract (English)

Input Diversity (DI), which applies random resizing and padding at each attack iteration, is a near-default ingredient of transfer-based adversarial attacks, widely assumed to improve transferability. We show this assumption is regime-dependent and, for robustly trained surrogates, often reversed. Varying only the surrogate, increasing the DI probability raises transfer success for standard surrogates but lowers it for robust ones: the two response curves separate like a pair of scissors, a pattern we call the Scissors Effect. The effect is strong and consistent on ImageNet, where blind DI costs the robust source 10.3% attack success on average across CNN, ViT, Swin, and ConvNeXt targets and across ten attacks spanning 2018-2024; it is smaller on CIFAR-10 unless DI is made aggressive. A controlled robustness-strength sweep that varies only the training budget shows the harm is graded rather than binary, crossing from beneficial to harmful already in the little-robustness regime. We trace it to gradient geometry: a resize/translation decomposition attributes roughly 67% of the harm to resize, and a direct source-target gradient-alignment measurement confirms the same resize operation improves alignment for standard surrogates but degrades it for robust ones. We summarize the regime with Local Gradient Consistency (LGC), a single input-space probe that separates the two surrogate types, and prove a bias-variance crossover theorem isolating where DI helps from where its resize bias dominates. A training-free rule (CG-DI) that disables diversity when LGC is high avoids the loss on robust surrogates while keeping DI's benefit on standard ones, positioning the Scissors Effect as a DI-specific manifestation of the broader robustness-transferability trade-off.

对抗攻击迁移性鲁棒性输入多样性

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。