arXiv:cs.LG· Yi Wang, Xiuyuan Qi, Dongqi Han, Dongsheng Li, Wenjie Wang·· 4 小时前
循环语言模型的安全性不能只看单一循环深度:SafeBridge 对齐跨循环深度安全
Safe at One Loop, Risky at Another: Aligning Safety Across Recurrent Depths in Looped Language Models
AI 导读
研究发现循环语言模型(LoopLM)在越狱攻击下攻击成功率会随推理深度加深而上升,同一查询在不同循环深度可产生不同安全行为,针对某一深度构造的攻击还能迁移到其他深度,SFT 与偏好对齐均无法消除这些安全差距。
正文
Abstract:Looped Language Models (LoopLMs) provide a parameter efficient approach to scaling model capabilities through repeated use of shared parameters across recurrent steps. Since each recurrent depth can be read out independently, a single LoopLM exposes a broader output space across inference depths, raising an important question: whether safety is preserved throughout recurrent computation. Prior evaluations suggest that deeper recurrence can improve safety on harmful queries, but robustness under jailbreak attacks remains unclear. We therefore conduct a comprehensive safety evaluation of LoopLMs under jailbreak attacks targeting different recurrent depths. We find that attack success can increase at deeper inference depths, the same query can elicit different safety behaviors across depths, and attacks constructed against one depth can transfer to others. Moreover, SFT and preference alignment do not eliminate these safety gaps, motivating an alignment method designed for LoopLMs. We introduce SafeBridge, which combines lightweight depth specific control of shared recurrent layers, selective state bridging, and joint safety supervision across recurrent depths. Across model scales, multiple attack methods, and safety benchmarks, SafeBridge substantially reduces attack success for both matched-depth and cross-depth attacks. It also improves general utility over the vanilla models while maintaining comparable over-refusal behavior. Our results show that the safety of a LoopLM cannot be inferred from a single recurrent depth, motivating safety alignment across recurrent computation. Our code and model checkpoints will be released upon acceptance.
| Comments: | 25 pages, 6 figures. Submitted to ICLR 2027 |
| Subjects: | Cryptography and Security (cs.CR); Machine Learning (cs.LG) |
| Cite as: | arXiv:2610.10625 [cs.CR] |
| (or arXiv:2610.10625v1 [cs.CR] for this version) | |
| https://doi.org/10.48550/arXiv.2610.10625 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Yi Wang [view email]
[v1]
Wed, 7 Oct 2026 10:48:43 UTC (684 KB)
来源:arXiv:cs.LG · arxiv.org