用部分图像监督增强大模型抗视觉攻击能力
Defending LVLMs Against Vision Attacks through Partial-Perception Supervision
- 让模型通过部分图像响应来调整对完整图像的理解
- 在六大数据集上降低76.3%攻击成功率
- 无需训练,适配主流大视觉语言模型
近期研究揭示了大视觉语言模型(LVLMs)易受恶意注入或扰动图像的影响,导致错误输出。现有防御方法依赖裁剪等修改后的图像进行多数投票以修正响应,但此类操作常造成部分图像且语义失真,损害干净输入下的响应质量。本文提出一种黑盒、无需训练的防御方法DPS(Defense through Partial-Perception Supervision),不直接使用部分图像的响应投票,而是利用其作为监督信号指导原图响应。当面对攻击输入时,强模型降低置信度并根据弱模型的部分感知调整输出;对干净输入则保持原有自信响应。实验证明,该方法在三个主流模型上,于六个数据集上平均降低76.3%攻击成功率。
原文摘要 · Abstract (English)
Recent studies have raised significant concerns regarding the vulnerability of Large Vision Language Models (LVLMs) to maliciously injected or perturbed input images, which can mislead their responses. Existing defense methods show that such vision attacks are sensitive to image modifications especially cropping, using majority voting across responses of modified images as corrected responses. However, these modifications often result in partial images and distort the semantics, which reduces response quality on clean images after voting. Instead of directly using responses from partial images for voting, we investigate using them to supervise the LVLM's responses to the original images. We propose a black-box, training-free method called DPS (Defense through Partial-Perception Supervision). In this approach, the model is prompted using the responses generated by a model that perceives only a partial image. With DPS, the model can adjust its response based on partial image understanding when under attack, while confidently maintaining its original response for clean input. Our findings show that the weak model can supervise the strong model: when faced with an attacked input, the strong model becomes less confident and adjusts its response based on the weak model's partial understanding, effectively defending against the attack. With clean input, it confidently maintains its original response. Empirical experiments show our method outperforms the baseline, cutting the average attack success rate by 76.3% across six datasets on three popular models.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。