多模态大语言模型推理时防御方法的比较分析
When the Defense Writes the Refusal: Auditing Keyword-Scored Evaluation of Inference-Time Defenses for Multimodal Large Language Models
AI总结:
本文比较评估了三种推理时防御方法及其组合在InternVL和Qwen-VL系列共8个模型上的效果,发现无单一防御在所有设置中占优,组合防御导致良性查询过度拒绝率达97-100%,而简单安全提示在保持实用性的同时带来适度安全提升。
摘要:
多模态大语言模型(MLLMs)现已出现在安全关键应用中,但视觉通道使它们容易受到对抗性攻击,而主要面向文本的安全对齐仅能部分解决这些问题。针对每种新的漏洞类别重新训练模型通常成本过高,不切实际。我们报告了对三种推理时防御方法及其组合的比较实证评估,在来自InternVL和Qwen-VL系列的八个模型上运行,跨越七个安全基准,涵盖四类攻击,总计9000个评估样本。以下每个数字均来自同一个统一的代理分类器。评估得出五个发现。第一,在评估的模型和基准中,没有单一防御在所有设置中占优:效果取决于模型的基线安全性和攻击类型。第二,直接组合防御导致所有八个评估模型的良性查询过度拒绝率达到97-100%,而SmoothVLM单独达到99.2-100%。第三,一个简单的安全提示在很大程度上保持实用性(所有八个模型的过度拒绝率为0.0-18.2%,其中五个低于7%,尽管两个超过15%),同时仍带来适度的安全增益。第四,不同的攻击类别在评估设置中暴露出不同的弱点,这就是多基准评估重要的原因。第五,在两个模型(n=20)的初步白盒测试中,文本级防御抑制了在没有防御时成功的PGD视觉攻击:这些防御在输出阶段起作用,而在测试配置中梯度优化的直接杠杆作用有限。综合来看,这些结果支持自适应防御选择,而非单一的固定防御配置。
英文摘要:
Prompt-based inference-time defenses for multimodal large language models (MLLMs) emit safety language into the very answers they defend, and a lexical keyword scorer whose refusal list contains that language then counts defended answers as refusals. We audit one such evaluator, the legacy keyword rule of our own experimental archive, over three executed defenses: static defensive prompting, single-pass rationale-conditioned prompting, and a five-sample Gaussian perturb-and-vote image adapter, evaluated across eight InternVL and Qwen-VL models. On the canonical 28,000-output benign grid, 7,532 outputs carry a keyword flag, a separate LLM-judge estimator attributes about 138.1 refusals, and the pooled refusal point estimate is 0.52%: the keyword-flag count was 54.6 times the estimated refusal count, and most keyword-positive answered cases echo the defense's own safety scaffold. The misfires concentrate in the rationale-wrapper arms; this defense-evaluator interaction is therefore arm-dependent, not a constant offset, and invalidates keyword-scored comparison of prompt-based inference-time MLLM defenses. We formalize the audit with three claim-admissibility levels (input-valid, output-bound, construct-validated) under which three of seven planned benchmark branches are excluded. The retained pipeline profiles vary across models and corpora and set priorities for paired semantic re-evaluation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。