SafeLoop: Preserving Refusal of Harmful Prompts in Looped Language Models
Mohan WangYanran LiFengxiang HeFengshuo Liujing wangAtsushi SuzukiXiaosong YangJian Jun ZhangLu Yin
Mohan Wang
Yanran Li
Fengxiang He
Fengshuo Liu
jing wang
Atsushi Suzuki
Xiaosong Yang
Jian Jun Zhang
Lu Yin
+9
Refusal reliability in looped language models, which reuse Transformer weights across recurrent depth, cannot be judged by attack success alone, since degeneration can mimic safety. The authors identify a distinct failure: a behaviorally validated refusal direction restores harmful–benign separability after erasure within one loop, yet its projection drifts from its reference value during unperturbed inference, so reconstructing the representation does not guarantee later loops preserve it. This motivates SafeLoop, which stores each input's projection at a reference loop and corrects subsequent deviations without parameter updates. On frozen Ouro-1.4B it raises effective (non-degenerate) refusal from 9.5% to 41.0% at 16 loops and from 6.5% to 35.5% at 24 loops, with gains also in some converted recurrent models; benefits vary by model and depth, correction does not fix widespread generation degeneration, and it can increase benign over-refusal.

OpenReview · September 18, 2026