注意力忽视视觉风险:多模态安全对齐的风险适应性转向
Attention Misses Visual Risk: Risk-Adaptive Steering for Multimodal Safety Alignment
AI总结:
本文提出MoRAS,通过简洁的视觉上下文增强关键安全区域的视觉注意力,以实现多模态安全对齐,减少推理开销并提升泛化能力。
摘要:
即使现代AI模型也常在多模态查询中表现出对有害意图的脆弱性,其中有害意图嵌入在图像中。安全对齐的常用方法是使用大量多模态安全数据集进行训练,但数据整理和训练的成本往往难以承受。为减轻这些成本,最近探索了推理时间对齐,但它们通常缺乏在多样化的多模态 jailbreaks 中的泛化能力,并且由于额外的前向传递用于响应细化或重大的预部署校准程序而产生显著的开销。本文识别出对安全关键图像区域的视觉注意力不足是多模态安全失败的一个关键原因。基于这一见解,我们提出了多模态风险适应性转向(MoRAS),通过简洁的视觉上下文增强关键安全区域的视觉注意力,以实现准确的多模态风险评估。此风险信号使风险适应性转向能够直接拒绝,减少推理开销,同时在多样化的多模态 jailbreaks 中保持泛化能力。值得注意的是,MoRAS仅需一个小的校准集来估计多模态风险,显著减少了预部署开销。我们进行了多种经验验证,涵盖了多个基准和 MLLM 后端,并观察到所提出的 MoRAS 相比于最先进的推理时间防御方法,一致地减轻了 jailbreaks,保持了效用,并减少了计算开销。
英文摘要:
Even modern AI models often remain vulnerable to multimodal queries in which harmful intent is embedded in images. A widely used approach for safety alignment is training with extensive multimodal safety datasets, but the costs of data curation and training are often prohibitive. To mitigate these costs, inference-time alignment has recently been explored, but they often lack generalizability across diverse multimodal jailbreaks and still incur notable overhead due to extra forward passes for response refinement or heavy pre-deployment calibration procedures. Here, we identify insufficient visual attention to safety-critical image regions as one of the key causes of multimodal safety failures. Building on this insight, we propose Multimodal Risk-Adaptive Steering (MoRAS), which enhances safety-critical visual attention via concise visual contexts for accurate multimodal risk assessment. This risk signal enables risk-adaptive steering for direct refusals, reducing inference overhead while remaining generalizable across diverse multimodal jailbreaks. Notably, MoRAS requires only a small calibration set to estimate multimodal risk, substantially reducing pre-deployment overhead. We conduct various empirical validations across multiple benchmarks and MLLM backbones, and observe that the proposed MoRAS consistently mitigates jailbreaks, preserves utility, and reduces computational overhead compared to state-of-the-art inference-time defenses.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。