# Activation Steering Meets Preference Optimization: Defense Against Jailbreaks in Vision Language Models

**Authors:** Sihao Wu, Gaojie Jin, Wei Huang, Jianhong Wang, Xiaowei Huang

arXiv: 2509.00373 · 2025-09-03

## TL;DR

This paper introduces SPO-VLM, a two-stage defense framework combining activation steering and preference optimization to improve the robustness of vision language models against adversarial attacks while preserving their performance.

## Contribution

It proposes a novel two-stage method that enhances VLM safety through adaptive activation steering and sequence-level preference optimization, addressing limitations of prior task-specific approaches.

## Key findings

- Enhanced safety against adversarial attacks
- Maintained strong performance on benign tasks
- Effective balance of efficiency and robustness

## Abstract

Vision Language Models (VLMs) have demonstrated impressive capabilities in integrating visual and textual information for understanding and reasoning, but remain highly vulnerable to adversarial attacks. While activation steering has emerged as a promising defence, existing approaches often rely on task-specific contrastive prompts to extract harmful directions, which exhibit suboptimal performance and can degrade visual grounding performance. To address these limitations, we propose \textit{Sequence-Level Preference Optimization} for VLM (\textit{SPO-VLM}), a novel two-stage defense framework that combines activation-level intervention with policy-level optimization to enhance model robustness. In \textit{Stage I}, we compute adaptive layer-specific steering vectors from diverse data sources, enabling generalized suppression of harmful behaviors during inference. In \textit{Stage II}, we refine these steering vectors through a sequence-level preference optimization process. This stage integrates automated toxicity assessment, as well as visual-consistency rewards based on caption-image alignment, to achieve safe and semantically grounded text generation. The two-stage structure of SPO-VLM balances efficiency and effectiveness by combining a lightweight mitigation foundation in Stage I with deeper policy refinement in Stage II. Extensive experiments shown SPO-VLM enhances safety against attacks via activation steering and preference optimization, while maintaining strong performance on benign tasks without compromising visual understanding capabilities. We will release our code, model weights, and evaluation toolkit to support reproducibility and future research. \textcolor{red}{Warning: This paper may contain examples of offensive or harmful text and images.}

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/2509.00373/full.md

## Figures

5 figures with captions in the complete paper: https://tomesphere.com/paper/2509.00373/full.md

## References

46 references — full list in the complete paper: https://tomesphere.com/paper/2509.00373/full.md

---
Source: https://tomesphere.com/paper/2509.00373