arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.00517cs.LGcs.CR
收藏

通过对抗鲁棒性视角理解差分注意的敏感性

Understanding Sensitivity of Differential Attention through the Lens of Adversarial Robustness

Tsubasa Takahashi, Shojiro Yamabe, Futa Waseda, Kento Sasaki

AI总结:

本文从对抗鲁棒性视角揭示差分注意的敏感性问题,发现其减法结构导致梯度范数增加和局部Lipschitz常数升高,实验显示DA在对抗攻击下更脆弱,揭示了选择性与鲁棒性间的根本权衡。

摘要:

差分注意(DA)作为一种标准注意的改进方法,通过减法结构抑制冗余或噪声上下文,从而减少上下文幻觉。尽管这种设计增强了任务相关焦点,但我们发现它在对抗扰动下引入了结构脆弱性。我们的理论分析指出负梯度对齐——由DA的减法鼓励——是敏感性放大关键驱动因素,导致梯度范数增加和局部Lipschitz常数升高。我们通过系统实验在ViT/DiffViT和预训练CLIP/DiffCLIP上验证了这一脆弱原理,覆盖五个数据集。这些结果展示了比标准注意更高的攻击成功率、频繁的梯度反对和更强的局部敏感性。进一步的深度依赖实验揭示了鲁棒性交叉:堆叠DA层通过深度依赖噪声消除减弱小扰动,但此防护在较大攻击预算下减弱。总体而言,我们的发现揭示了根本权衡:DA在干净输入上提高了判别焦点,但增加了对抗脆弱性,凸显了未来注意机制中需联合设计选择性和鲁棒性的必要性。

英文摘要:

Differential Attention (DA) has been proposed as a refinement to standard attention, suppressing redundant or noisy context through a subtractive structure and thereby reducing contextual hallucination. While this design sharpens task-relevant focus, we show that it also introduces a structural fragility under adversarial perturbations. Our theoretical analysis identifies negative gradient alignment-a configuration encouraged by DA's subtraction-as the key driver of sensitivity amplification, leading to increased gradient norms and elevated local Lipschitz constants. We empirically validate this Fragile Principle through systematic experiments on ViT/DiffViT and evaluations of pretrained CLIP/DiffCLIP, spanning five datasets in total. These results demonstrate higher attack success rates, frequent gradient opposition, and stronger local sensitivity compared to standard attention. Furthermore, depth-dependent experiments reveal a robustness crossover: stacking DA layers attenuates small perturbations via depth-dependent noise cancellation, though this protection fades under larger attack budgets. Overall, our findings uncover a fundamental trade-off: DA improves discriminative focus on clean inputs but increases adversarial vulnerability, underscoring the need to jointly design for selectivity and robustness in future attention mechanisms.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑