arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.13190cs.CL
收藏

SHIELD:基于分类器引导提示的鲁棒且更安全的LVLM

SHIELD: Classifier-Guided Prompting for Robust and Safer LVLMs

School of Computing, Macquarie University(计算机学院,麦考瑞大学)

Juan Ren, Mark Dras, Usman Naseem

AI总结:

SHIELD是一个轻量级、模型无关的预处理框架,通过细粒度安全分类和类别特定引导(阻止、重构、转发),在不重新训练的情况下降低LVLM的越狱率和未遵循率,同时保持实用性,适用于弱对齐和强对齐模型。

摘要:

大型视觉-语言模型(LVLMs)解锁了强大的多模态推理能力,但也扩大了攻击面,尤其是通过将有害目标隐藏于良性提示中的对抗性输入。我们提出SHIELD,一个轻量级、模型无关的预处理框架,将细粒度的安全分类与类别特定的引导和明确动作(阻止、重构、转发)相结合。与二元审核器不同,SHIELD组合定制的安全提示,在不重新训练的情况下强制实现细致的拒绝或安全重定向。在五个基准测试和五个代表性LVLM上,SHIELD持续降低越狱率和未遵循率,同时保持实用性。我们的方法是即插即用的,开销可忽略不计,并且易于扩展到新的攻击类型——为弱对齐和强对齐的LVLM提供实用的安全补丁。

英文摘要:

Large Vision-Language Models (LVLMs) unlock powerful multimodal reasoning but also expand the attack surface, particularly through adversarial inputs that conceal harmful goals in benign prompts. We propose SHIELD, a lightweight, model-agnostic preprocessing framework that couples fine-grained safety classification with category-specific guidance and explicit actions (Block, Reframe, Forward). Unlike binary moderators, SHIELD composes tailored safety prompts that enforce nuanced refusals or safe redirection without retraining. Across five benchmarks and five representative LVLMs, SHIELD consistently lowers jailbreak and non-following rates while preserving utility. Our method is plug-and-play, incurs negligible overhead, and is easily extendable to new attack types -- serving as a practical safety patch for both weakly and strongly aligned LVLMs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑