PSA-VLM: Enhancing Vision-Language Model Safety through Progressive Concept-Bottleneck-Driven Alignment
Zhendong Liu, Yuanbi Nie, Yingshui Tan, Jiaheng Liu, Xiangyu Yue, Qiushi Cui, Chongjun Wang, Xiaoyong Zhu, Bo Zheng
TL;DR
This paper addresses safety vulnerabilities in vision-language models caused by the visual modality bypassing LLM safeguards. It proposes PSA-VLM, a progressive safety alignment method that embeds safety concepts as bottlenecks using a Concept Bottleneck Model (CBM) with a Safety Projector, Safety Tokens, and a Safety Head, trained in two stages to improve risk detection and response without sacrificing multimodal capability. Stage I trains concept classifiers for safety features with frozen LLM and vision encoders, while Stage II unfreezes the LLM to integrate concept-level safety into decision making, guided by losses $\mathcal{L}_{s}$, $\mathcal{L}_{l}$, and $\mathcal{L}_{LLM}$. Evaluation on RTVLM and additional risk datasets shows PSA-VLM achieves state-of-the-art safety performance, with LoRA-based fine-tuning further boosting results, while keeping competitive general multimodal benchmarks. The approach enhances explainability and controllability by tying outputs to high-level safety concepts, offering a practical path toward safer VLM deployments in real-world settings.
Abstract
Benefiting from the powerful capabilities of Large Language Models (LLMs), pre-trained visual encoder models connected to LLMs form Vision Language Models (VLMs). However, recent research shows that the visual modality in VLMs is highly vulnerable, allowing attackers to bypass safety alignment in LLMs through visually transmitted content, launching harmful attacks. To address this challenge, we propose a progressive concept-based alignment strategy, PSA-VLM, which incorporates safety modules as concept bottlenecks to enhance visual modality safety alignment. By aligning model predictions with specific safety concepts, we improve defenses against risky images, enhancing explainability and controllability while minimally impacting general performance. Our method is obtained through two-stage training. The low computational cost of the first stage brings very effective performance improvement, and the fine-tuning of the language model in the second stage further improves the safety performance. Our method achieves state-of-the-art results on popular VLM safety benchmark.
