SPO-VLM: Vision-language model jailbreak defense combining activation steering and preference optimizationActivation Steering Meets Preference Optimization: Defense Against Jailbreaks in Vision Language Models
AI summary
SPO-VLM proposes a two-stage defense framework combining activation steering and preference optimization to defend against vision-language model jailbreaks. The first stage computes adaptive layer-wise steering vectors from diverse data to suppress harmful behavior at inference time; the second stage uses sequence-level preference optimization, adding automatic toxicity evaluation and a visual consistency reward based on image-caption alignment. Experiments show it improves defense performance against attacks while maintaining performance on benign tasks and visual understanding capability.