arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2604.16824cs.CRcs.AI
收藏

SafeDream: 用于主动早期对抗检测的安全世界模型

SafeDream: Safety World Model for Proactive Early Jailbreak Detection

University of Central Florida(中央佛罗里达大学);University of Rochester(罗切斯特大学);IBM Research(IBM研究院)

Bo Yan, Weikai Lin, Yada Zhu, Song Wang

AI总结:

本文提出SafeDream,一种轻量级世界模型框架,通过安全状态模型、CUSUM检测和对比想象组件,实现早期对抗检测,提升检测及时性并降低误报率。

摘要:

多轮对抗攻击逐渐侵蚀LLM的安全对齐,成功率达90%以上。现有对齐和防护方法存在三个关键限制:需要成本高昂的权重修改,每个回合独立评估而不建模累积安全侵蚀,且只能在有害内容生成后检测攻击。为解决这些限制,我们首先用新的度量标准检测领先度,衡量攻击在LLM合规前能被检测到的早时间。然后提出SafeDream,一种轻量级世界模型框架,作为外部模块不修改LLM权重。SafeDream引入三个组件:(1) 安全状态世界模型,将LLM隐藏状态编码为紧凑的安全表示并预测其演变;(2) CUSUM检测,将弱回合风险信号累积为可靠证据;(3) 对比想象,同时在潜在空间中模拟攻击和良性未来以在对抗发生前发出警报。在三个多轮对抗基准(XGuard-Train,SafeDialBench,SafeMTData)上,SafeDream在8个基线中实现最佳检测及时性(1.06-1.20回合前合规),同时保持竞争性的误报率并优于基线在检测质量上。

英文摘要:

Multi-turn jailbreak attacks progressively erode LLM safety alignment across seemingly innocuous conversation turns, achieving success rates exceeding 90% against state-of-the-art models. Existing alignment-based and guardrail methods suffer from three key limitations: they require costly weight modification, evaluate each turn independently without modeling cumulative safety erosion, and detect attacks only after harmful content has been generated. To address these limitations, we first formulate the proactive early jailbreak detection problem with a new metric, detection lead, that measures how early an attack can be detected before the LLM complies. We then propose SAFEDREAM, a lightweight world-model-based framework that operates as an external module without modifying the LLM's weights. SAFEDREAM introduces three components: (1) a safety state world model that encodes LLM hidden states into a compact safety representation and predicts how it evolves across turns, (2) CUSUM detection that accumulates weak per-turn risk signals into reliable evidence, and (3) contrastive imagination that simultaneously rolls out attack and benign futures in latent space to issue early alarms before jailbreaks occur. On three multi-turn jailbreak benchmarks (XGuard-Train, SafeDialBench, SafeMTData) against 8 baselines, SAFEDREAM achieves the best detection timeliness across all benchmarks (1.06-1.20 turns before compliance) while maintaining competitive false positive rates and outperforming baselines in detection quality.

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

↑