ARGUS: 通过引导指令遵循行为防御多模态间接提示注入攻击
ARGUS: Defending Against Multimodal Indirect Prompt Injection via Steering Instruction-Following Behavior
AI总结:
ARGUS通过引导指令遵循行为,在表示空间中寻找最优防御方向,实现对多模态间接提示注入攻击的有效防御,同时保持模型性能。
摘要:
多模态大语言模型(MLLMs)正日益容易受到多模态间接提示注入(IPI)攻击的影响,这些攻击通过在图像、视频或音频中嵌入恶意指令来劫持模型行为。现有的防御措施主要是为文本-only LLMs设计的,无法有效应对这些多模态威胁,因为它们容易被绕过、模态依赖性强或泛化能力差。受激活引导研究的启发,我们假设通过在表示空间中引导模型行为可以实现一种稳健且通用的防御方法。通过广泛的实验,我们发现MLLMs的指令遵循行为编码在一个子空间中。在该子空间内引导方向可以强制模型遵循用户指令,从而形成防御的基础。然而,我们还发现一个简单的防御方向可能与一个降级效用的方向耦合,过度的干预强度会损害模型性能。为了解决这个问题,我们提出了ARGUS,它在安全子空间内搜索最优的防御方向,使其与效用降级方向解耦,并结合自适应强度引导以实现更好的安全-效用权衡。ARGUS还引入了轻量级的注入检测阶段以按需激活防御,并引入后过滤阶段以验证防御成功。实验结果表明,ARGUS可以在抵御多模态IPI的同时最大限度地保持MLLM的效用。
英文摘要:
Multimodal Large Language Models (MLLMs) are increasingly vulnerable to multimodal Indirect Prompt Injection (IPI) attacks, which embed malicious instructions in images, videos, or audio to hijack model behavior. Existing defenses, designed primarily for text-only LLMs, are unsuitable for countering these multimodal threats, as they are easily bypassed, modality-dependent, or generalize poorly. Inspired by activation steering researches, we hypothesize that a robust, general defense independent of modality can be achieved by steering the model's behavior in the representation space. Through extensive experiments, we discover that the instruction-following behavior of MLLMs is encoded in a subspace. Steering along directions within this subspace can enforce adherence to user instructions, forming the basis of a defense. However, we also found that a naive defense direction could be coupled with a utility-degrading direction, and excessive intervention strength harms model performance. To address this, we propose ARGUS, which searches for an optimal defense direction within the safety subspace that decouples from the utility degradation direction, further combining adaptive strength steering to achieve a better safety-utility trade-off. ARGUS also introduces lightweight injection detection stage to activate the defense on-demand, and a post-filtering stage to verify defense success. Experimental results show that ARGUS can achieve robust defense against multimodal IPI while maximally preserving the MLLM's utility.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。