通过微小图像扰动攻击多模态检索增强生成系统,误导模型输出错误结果。
HV-Attack: Hierarchical Visual Attack for Multimodal Retrieval Augmented Generation
- 设计分层视觉攻击,从图像输入入手扰乱检索与生成
- 在OK-VQA和InfoSeek上使生成准确率下降超40%
- 无需修改系统组件,适合研究安全漏洞的学者
先进的多模态检索增强生成(MRAG)技术虽提升了大型多模态模型(LMMs)能力,但也带来新的安全风险。现有研究揭示了知识投毒攻击对MRAG系统的威胁,即诱导检索器召回被污染内容。本文提出一种新型分层视觉攻击(HV-Attack),仅通过向用户输入图像添加不可察觉的扰动,即可破坏MRAG系统的正常运行,不涉及任何其他组件的修改。该方法面临微调检索器与大规模生成器的鲁棒性挑战,且扰动在RAG链中传播后可能进一步削弱。为此,我们设计分层两阶段策略:首先破坏跨模态对齐,再扰乱多模态语义对齐,从而获取错位的增强知识。实验在两个主流MRAG数据集OK-VQA和InfoSeek上进行,采用基于CLIP的检索器及BLIP-2、LLaVA两类LMM生成器。结果表明,该攻击显著降低检索与生成性能,准确率下降超过40%。
原文摘要 · Abstract (English)
Advanced multimodal Retrieval-Augmented Generation (MRAG) techniques have been widely applied to enhance the capabilities of Large Multimodal Models (LMMs), but they also bring along novel safety issues. Existing adversarial research has revealed the vulnerability of MRAG systems to knowledge poisoning attacks, which fool the retriever into recalling injected poisoned contents. However, our work considers a different setting: visual attack of MRAG by solely adding imperceptible perturbations at the image inputs of users, without manipulating any other components. This is challenging due to the robustness of fine-tuned retrievers and large-scale generators, and the effect of visual perturbation may be further weakened by propagation through the RAG chain. We propose a novel Hierarchical Visual Attack that misaligns and disrupts the two inputs (the multimodal query and the augmented knowledge) of MRAG's generator to confuse its generation. We further design a hierarchical two-stage strategy to obtain misaligned augmented knowledge. We disrupt the image input of the retriever to make it recall irrelevant knowledge from the original database, by optimizing the perturbation which first breaks the cross-modal alignment and then disrupts the multimodal semantic alignment. We conduct extensive experiments on two widely-used MRAG datasets: OK-VQA and InfoSeek. We use CLIP-based retrievers and two LMMs BLIP-2 and LLaVA as generators. Results demonstrate the effectiveness of our visual attack on MRAG through the significant decrease in both retrieval and generation performance.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。