arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.01494cs.LGcs.AI
收藏

理解对抗迁移:为何表征空间攻击失效而数据空间攻击成功

Understanding Adversarial Transfer: Why Representation-Space Attacks Fail Where Data-Space Attacks Succeed

ETH Zürich(苏黎世联邦理工学院);Stanford CS(斯坦福大学计算机科学系)

Isha Gupta, Rylan Schaeffer, Joshua Kazdan, Ken Ziyu Liu, Sanmi Koyejo

AI总结:

该研究针对图像越狱在视觉语言模型间难以迁移的现象,提出攻击可迁移性取决于作用域的假设,通过理论与四类实验验证了数据空间攻击可迁移、表征空间攻击需表征几何对齐才可迁移的结论,为构建更鲁棒的模型提供关键洞见。

摘要:

对抗鲁棒性领域早已证实,对抗样本可在图像分类器间成功迁移,文本越狱(text jailbreaks)可在语言模型(LMs)间成功迁移。然而,近期两项研究报告称,无法在视觉语言模型(VLMs)间成功迁移图像越狱。为解释这一显著差异,我们提出了关于机器学习模型攻击可迁移性的一个根本区分:输入数据空间中的攻击可以迁移,而模型表征空间中的攻击无法迁移——至少在表征没有几何对齐的情况下无法迁移。随后我们在四种不同场景中为该假设提供了理论与实证证据。第一,我们在一个简单场景中从数学上证明了这一区分,该场景下两个网络计算相同的输入-输出映射,但通过不同的表征实现。第二,我们针对图像分类器构建了表征空间攻击,其成功率与知名的数据空间攻击相当,但无法迁移。第三,我们针对LMs构建了表征空间攻击,可成功越狱被攻击的模型,但同样无法迁移。第四,我们针对VLMs构建了数据空间攻击,可成功迁移到新的VLM,且我们证明当VLMs的潜在几何结构在投影后空间中充分对齐时,表征空间攻击可以迁移。我们的工作揭示,对抗迁移并非所有攻击的固有属性,而是取决于其作用域——共享的数据空间与模型独有的表征空间,这一洞见对构建更鲁棒的模型至关重要。

英文摘要:

The field of adversarial robustness has long established that adversarial examples can successfully transfer between image classifiers and that text jailbreaks can successfully transfer between language models (LMs). However, a pair of recent studies reported being unable to successfully transfer image jailbreaks between vision-language models (VLMs). To explain this striking difference, we propose a fundamental distinction regarding the transferability of attacks against machine learning models: attacks in the input data-space can transfer, whereas attacks in model representation space do not, at least not without geometric alignment of representations. We then provide theoretical and empirical evidence of this hypothesis in four different settings. First, we mathematically prove this distinction in a simple setting where two networks compute the same input-output map but via different representations. Second, we construct representation-space attacks against image classifiers that are as successful as well-known data-space attacks, but fail to transfer. Third, we construct representation-space attacks against LMs that successfully jailbreak the attacked models but again fail to transfer. Fourth, we construct data-space attacks against VLMs that successfully transfer to new VLMs, and we show that representation space attacks can transfer when VLMs' latent geometries are sufficiently aligned in post-projector space. Our work reveals that adversarial transfer is not an inherent property of all attacks but contingent on their operational domain - the shared data-space versus models' unique representation spaces - a critical insight for building more robust models.

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

↑