剪刀效应:基于调整大小的输入多样性何时帮助或损害迁移攻击
The Scissors Effect: When Resize-Based Input Diversity Helps or Hurts Transfer Attacks
AI总结:
发现输入多样性(DI)对迁移攻击的成功率有双重影响:对标准代理提升迁移性,但对鲁棒代理降低迁移性,形成“剪刀效应”,并通过梯度几何分析和局部梯度一致性(LGC)指标解释该现象。
摘要:
输入多样性(DI)在每次攻击迭代中应用随机调整大小和填充,是基于迁移的对抗攻击的近乎默认的组成部分,被广泛认为能提高迁移性。我们证明这一假设依赖于具体场景,对于鲁棒训练的代理,情况往往相反。仅改变代理,增加DI概率会提高标准代理的迁移成功率,但降低鲁棒代理的迁移成功率:两条响应曲线像剪刀一样分离,我们称这种模式为剪刀效应。该效应在ImageNet上强烈且一致,其中盲目DI平均使鲁棒源在CNN、ViT、Swin和ConvNeXt目标上以及跨越2018-2024年的十种攻击中损失10.3%的攻击成功率;在CIFAR-10上效应较小,除非DI变得激进。通过仅改变训练预算的受控鲁棒性强度扫描显示,伤害是渐进的而非二元的,在低鲁棒性区域就已经从有益变为有害。我们将其追溯到梯度几何:一个调整大小/平移分解将大约67%的伤害归因于调整大小,直接的源-目标梯度对齐测量证实相同的调整大小操作提高了标准代理的对齐性,但降低了鲁棒代理的对齐性。我们通过局部梯度一致性(LGC)总结该场景,这是一个区分两种代理类型的单一输入空间探针,并证明了一个偏差-方差交叉定理,将DI有帮助的区域与其调整大小偏差主导的区域分开。一个无需训练的规则(CG-DI)在LGC高时禁用多样性,避免了鲁棒代理上的损失,同时保留了DI在标准代理上的收益,将剪刀效应定位为更广泛的鲁棒性-迁移性权衡的DI特定表现。
英文摘要:
Input Diversity (DI), a random resize and pad applied at each attack iteration, is a near-default ingredient of transfer-based attacks, widely assumed to improve transferability. We show this assumption is regime-dependent and, for adversarially trained surrogates, often reversed. Holding the attack fixed and varying only the surrogate, raising the DI probability improves transfer from standard surrogates but degrades it from robust ones: the two response curves separate like a pair of scissors, a pattern we call the Scissors Effect. On ImageNet, blind DI costs a robust source 10.3 percentage points of attack success across four architecturally diverse targets; the effect is several times smaller at 32x32. Direct measurement supports a bias-variance account: DI displaces the gradient by a comparable amount on both groups but reduces its variance only where the gradient is noisy, and robust surrogates have little noise left to average away. A gradient-consistency probe, frozen and hashed before the runs, predicts the sign of the effect on seven unseen surrogates, and we report where it fails alongside where it works. The practical consequence holds independently of the mechanism: leaving DI enabled by default understates the attack a robust surrogate can mount, and so overstates the robustness of the model being evaluated. Code: https://github.com/Avalon-S/ScissorsEffect.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。