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
Translation in progress — untranslated text is omitted.
The 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.
- 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).
- 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.
- 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 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.