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

思考-反思-修订:一种基于策略的反思框架,用于大型视觉语言模型的安全对齐

Think-Reflect-Revise: A Policy-Guided Reflective Framework for Safety Alignment in Large Vision Language Models

Shanghaitech University(上海科技大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)

Fenghua Weng, Chaochao Lu, Xia Hu, Wenqi Shao, Wenjie Wang

AI总结:

TRR通过策略引导的反思框架提升大型视觉语言模型的安全对齐,显著提高安全响应率至87.7%。

摘要:

随着多模态推理能力的提升,大型视觉语言模型(LVLMs)的整体能力不断增强,近期研究开始探索以安全为导向的推理,旨在通过在生成最终响应前分析推理过程中的潜在安全风险来增强安全意识。尽管这些方法提高了安全意识和可解释性,但这种单次思考-然后回答的范式仍然容易受到上下文或视觉陷阱攻击的威胁。这揭示了一个关键问题:单次推理可能会在其自身输出中忽略显式的有害内容。我们的核心见解是利用这种被浪费的信号进行反思,这可以有效利用第一次推理中揭示的恶意内容,从而实现真正的自我修正并防止不安全的生成。受此启发,我们提出了Think-Reflect-Revise(TRR),一种三阶段训练框架,旨在通过策略引导的自我反思来增强LVLMs的安全对齐。我们首先构建了一个包含5000个示例的Reflective Safety Reasoning(ReSafe)数据集,这些示例遵循思考-反思-修订的过程。然后我们使用ReSafe数据集对目标模型进行微调,以初始化反思行为,并最终通过强化学习进行策略引导的反思。实验结果表明,TRR在安全意识基准和陷阱攻击评估中显著提高了LVLMs的安全性能,在Qwen2.5-VL-7B上,整体安全响应率从42.8%提高到87.7%,同时在MMMU和MMStar等通用基准上保持了稳定的性能。项目页面可在https://think-reflect-revise.github.io/上访问。

英文摘要:

As multimodal reasoning improves the overall capabilities of Large Vision Language Models (LVLMs), recent studies have begun to explore safety-oriented reasoning, aiming to enhance safety awareness by analyzing potential safety risks during the reasoning process before generating the final response. Although such approaches improve safety awareness and interpretability, this single-pass think-then-answer paradigm remains vulnerable to contextual or visual jailbreak attacks. This reveals a critical flaw: single-pass reasoning may overlook explicit harmful content in its own output. Our key insight is to exploit this wasted signal through reflection, which can effectively leverage the malicious content revealed in the first-pass reasoning to enable genuine self-correction and prevent unsafe generations. Motivated by this, we propose Think-Reflect-Revise (TRR), a three-stage training framework designed to enhance the safety alignment of LVLMs through policy-guided self-reflection. We first build a Reflective Safety Reasoning (ReSafe) dataset with 5,000 examples that follow a think-reflect-revise process. We then fine-tune the target model using the ReSafe dataset to initialize reflective behavior, and finally reinforce policy-guided reflection through reinforcement learning. Experimental results show that TRR substantially improves the safety performance of LVLMs across both safety-awareness benchmarks and jailbreak attack evaluations, increasing the overall safe response rate from 42.8% to 87.7% on Qwen2.5-VL-7B, while preserving stable performance on general benchmarks such as MMMU and MMStar. The project page is available at https://think-reflect-revise.github.io/.

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

↑