提出高效视觉语言模型对抗攻击方法,提升攻击成功率。
HQA-VLAttack: Towards High Quality Adversarial Attack on Vision-Language Pre-Trained Models

- 分文本与图像两阶段生成对抗样本,优化语义一致性与对比学习。
- 在三个数据集上攻击成功率显著超越现有基线方法。
- 适合研究对抗样本生成与模型鲁棒性评估的学者参考。
针对视觉语言预训练模型的黑盒对抗攻击是一项实际且具有挑战性的任务,需同时考虑文本和图像扰动,且仅能访问预测结果。现有方法或依赖复杂迭代交叉搜索策略,消耗大量查询;或仅降低正样本对相似度,忽略负样本对,导致隐式相似度下降,影响攻击效果。为此,本文提出HQA-VLAttack框架,包含文本与图像攻击阶段:文本扰动采用反拟合词向量生成替代词集,保证语义一致性;图像扰动先通过层重要性引导初始化,再利用对比学习优化扰动,使正样本对相似度降低、负样本对相似度提升。这样生成的对抗样本更易检索到负例,从而提高攻击成功率。在三个基准数据集上的实验表明,HQA-VLAttack在攻击成功率上显著优于强基线方法。
原文摘要 · Abstract (English)
Black-box adversarial attack on vision-language pre-trained models is a practical and challenging task, as text and image perturbations need to be considered simultaneously, and only the predicted results are accessible. Research on this problem is in its infancy, and only a handful of methods are available. Nevertheless, existing methods either rely on a complex iterative cross-search strategy, which inevitably consumes numerous queries, or only consider reducing the similarity of positive image-text pairs but ignore that of negative ones, which will also be implicitly diminished, thus inevitably affecting the attack performance. To alleviate the above issues, we propose a simple yet effective framework to generate high-quality adversarial examples on vision-language pre-trained models, named HQA-VLAttack, which consists of text and image attack stages. For text perturbation generation, it leverages the counter-fitting word vector to generate the substitute word set, thus guaranteeing the semantic consistency between the substitute word and the original word. For image perturbation generation, it first initializes the image adversarial example via the layer-importance guided strategy, and then utilizes contrastive learning to optimize the image adversarial perturbation, which ensures that the similarity of positive image-text pairs is decreased while that of negative image-text pairs is increased. In this way, the optimized adversarial images and texts are more likely to retrieve negative examples, thereby enhancing the attack success rate. Experimental results on three benchmark datasets demonstrate that HQA-VLAttack significantly outperforms strong baselines in terms of attack success rate.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。