视觉语言模型中的视觉定位安全性
研究论文 · 2026/10/14
视觉语言模型(VLM)日益被训练生成点、边界框等结构化输出,供下游接口、智能体和机器人执行,但这一输出通道的安全对齐尚未被系统分析。我们通过将三个安全基准(VLSU、BBQ-V、Asimov-2.0)改造为15,401对匹配的有害请求,仅改变所要求的输出形式(自由文本答案或视觉定位),来研究视觉定位安全。在五个VLM上,模型对以问题形式提出的有害请求常会拒绝,但当同一请求要求视觉定位时却往往遵从:平均而言,视觉定位拒绝率比VQA拒绝率低31-59个百分点,且安全系统提示无法弥合这一差距。我们提出一种微调方法,结合视觉定位形式的拒绝、能力定位数据和自蒸馏良性数据以对抗过度拒绝。对于Qwen3-VL-8B和VisionReasoner-7B,该方法在VLSU和BBQ-V上将视觉定位拒绝率提升77-95个百分点,在留出的Asimov-2.0领域提升64-85个百分点,同时提升VQA拒绝率、保持视觉定位能力并限制过度拒绝。表征分析表明,微调将有害请求推向各模型的拒绝方向,对视觉定位最为显著,同时使良性请求接近无害参考。
该研究首次系统揭示了视觉语言模型在结构化输出通道(如点、边界框)上的安全对齐漏洞,并提出了有效的微调解决方案,对下游智能体和机器人应用的安全部署具有重要价值。
Vision-language models (VLMs) are increasingly trained to generate structured outputs like points and bounding boxes that downstream interfaces, agents, and robots can act on, yet safety alignment of this output channel has not been systematically analyzed. We study visual grounding safety by repurposing three safety benchmarks spanning direct harm (VLSU), social bias (BBQ-V), and situational safety (Asimov-2.0) into 15,401 matched pairs of harmful requests that differ only in the requested output: a free-text answer (VQA) or a grounding (point or bounding box). Across five VLMs, models that refuse a harmful request posed as a question often comply when the same request asks for a grounding: averaged over models, grounding refusal trails VQA refusal by 31-59 percentage points, depending on the domain, and safety system prompts do not close this gap. We propose a fine-tuning approach that combines grounding-form refusals with capability grounding data and self-distilled benign data to counter over-refusal. For Qwen3-VL-8B and VisionReasoner-7B, it improves grounding refusal by 77-95 percentage points on VLSU and BBQ-V and by 64-85 points on the held-out Asimov-2.0 domain, while also improving VQA refusal, preserving grounding capability, and keeping over-refusal limited. Representation analysis shows that fine-tuning moves harmful requests toward each model's refusal direction, most strongly for grounding, while leaving benign requests near the harmless reference.