Skip to content

SafeRI: Recognition and Intervention for Token-Level Safety Intervention in Large Vision-Language ModelsSafeRI: Recognition and Intervention for Token-Level Safety Intervention in Large Vision Language Models

arXiv· arXiv:2609.03544· Caoyuan Ma, Tian Gu, Wenpu Liu, Weichu Xie, Shuai Dong, Yuqi Xu, Ji Zhao, Ziyue Wang, Wenzheng Chang, Taiqiang Wu, Yongfu Zhu, Wenqi Shao, Zheng Wang, Yinqiang ZhengThe University of Tokyo; JD.com; Wuhan University; Shanghai AI Laboratory; Peking University; Shanghai Innovation Institute; Shanghai Jiao Tong University; The University of Hong KongIndexed by this site · 24 days ago· Originally publishedDefenses

Translation in progress — untranslated text is omitted.

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

AI summaryThe researchers propose SafeRI, which uses streaming recognition and gated LoRA to perform on-demand token-level safety intervention on large vision-language models. During autoregressive generation, a lightweight recognizer determines whether the state before the current token generation is safe, and accordingly updates the LoRA gate for the next decoding step; otherwise the frozen backbone is used. The LoRA module is trained on unsafe prefixes, transitional statements, and safe continuations; once activated, it steers unsafe generation back to safe responses. Multiple safety and general benchmarks verify its effectiveness.

Questions
Aligned VLMs still produce unsafe content on some decoding trajectories, while always-on safety fine-tuning perturbs trajectories that are already safe, causing over-refusal and degradation of general capabilities (which the authors call the safety-alignment tax).
Methods
At each decoding step, SafeRI uses a lightweight linear recognizer to read the prefix hidden states and output an Unsafe probability; when it exceeds the threshold τ=0.8, a renewable K-step window activates a mid-layer LoRA to steer subsequent generation toward safe continuations; the recognizer and LoRA are trained in two stages, with the backbone frozen.
Experiments and results
On four backbones, SafeRI's safety average is higher than the frozen Base (e.g., Qwen3.5-9B 86.56→88.88), with little change in the general average (67.85→67.64), whereas Always-on and DPO show larger drops in the general average; under HarmBench PAIR, ASR@10 drops from 25.31 to 24.06.
Limitations and future work
Limitations noted by the authors: reliance on detector calibration and fine-grained boundary annotation, preserved aggregate capability does not mean consistency across tasks, and training is off-policy. Experiments cover four backbones, five safety benchmarks, and three general benchmarks; training data comes only from SPA-VL relabeling.

Related papers

Read originalarxiv.org