Lune

ICLR2025Top-tier venue

Cross-Modal Safety Mechanism Transfer in Large Vision-Language Models

Shicheng Xu, Liang Pang, Yunchang Zhu, Huawei Shen, Xueqi Cheng

Abstract

Content warning: This paper contains harmful images and texts! Vision-language alignment in Large Vision-Language Models (LVLMs) successfully enables LLMs to understand visual input. However, we find that existing vision-language alignment methods fail to transfer the existing safety mechanism for text in LLMs to vision, which leads to vulnerabilities in toxic image. To explore the cause of this problem, we give the insightful explanation of where and how the safety mechanism of LVLMs operates and conduct comparative analysis between text and vision. We find that the hidden states at the specific transformer layers play a crucial role in the successful activation of safety mechanism, while the vision-language alignment at hidden states level in current methods is insufficient. This results in a semantic shift for input images compared to text in hidden states, therefore misleads the safety mechanism. To address this, we propose a novel Text-Guided vision-language Alignment method (TGA) for LVLMs. TGA retrieves the texts related to input vision and uses them to guide the projection of vision into the hidden states space in LLMs. Experiments show that TGA not only successfully transfers the safety mechanism for text in basic LLMs to vision in vision-language alignment for LVLMs without any safety fine-tuning on the visual modality but also maintains the general performance on various vision tasks. Code is available 1 .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

10 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Backdoor Cleaning without External Guidance in MLLM Fine-tuning cites Learning Transferable Visual Models From Natural Language Supervision
  • Backdoor Cleaning without External Guidance in MLLM Fine-tuning cites MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Models
  • InstructBLIP: Towards General-purpose Vision-Language Models with Instruction Tuning cites MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Models
  • SafeGRPO: Self-Rewarded Multimodal Safety Alignment via Rule-Governed Policy Optimization cites Backdoor Cleaning without External Guidance in MLLM Fine-tuning
  • SafePTR: Token-Level Jailbreak Defense in Multimodal LLMs via Prune-then-Restore Mechanism cites Visual Instruction Tuning
  • SafePTR: Token-Level Jailbreak Defense in Multimodal LLMs via Prune-then-Restore Mechanism cites MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Models
  • Visual Instruction Tuning cites Learning Transferable Visual Models From Natural Language Supervision
  • Q-MLLM: Vector Quantization for Robust Multimodal Large Language Model Security cites InstructBLIP: Towards General-purpose Vision-Language Models with Instruction Tuning
  • Q-MLLM: Vector Quantization for Robust Multimodal Large Language Model Security cites Visual Instruction Tuning
  • Q-MLLM: Vector Quantization for Robust Multimodal Large Language Model Security cites Learning Transferable Visual Models From Natural Language Supervision
  • Q-MLLM: Vector Quantization for Robust Multimodal Large Language Model Security cites MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers10

  1. Backdoor Cleaning without External Guidance in MLLM Fine-tuningXuankun Rong, Wenke Huang, Jian Liang, Jinhe Bi et al.NeurIPS 2025 · 39 citations
  2. SafePTR: Token-Level Jailbreak Defense in Multimodal LLMs via Prune-then-Restore MechanismBeitao Chen, Xinyu Lyu, Shengming Yuan, Jingkuan Song et al.NeurIPS 2025 · 14 citations
  3. SafeGRPO: Self-Rewarded Multimodal Safety Alignment via Rule-Governed Policy OptimizationXuankun Rong, Wenke Huang, Tingfeng Wang, Daiguo Zhou et al.CVPR 2026 · 13 citations
  4. An Empirical Study on How Video-LLMs Answer Video QuestionsChenhui Gou, Ziyu Ma, Zicheng Duan, Haoyu He et al.CVPR 2026 · 4 citations
  5. Q-MLLM: Vector Quantization for Robust Multimodal Large Language Model SecurityWei Zhao, Zhe Li, Yige Li, Jun SunNDSS 2026 · 2 citations

Builds on18

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. Visual Instruction TuningHaotian Liu, Chunyuan Li, Qingyang Wu, Yong Jae LeeNeurIPS 2023 · 11,349 citations
  3. InstructBLIP: Towards General-purpose Vision-Language Models with Instruction TuningWenliang Dai, Junnan Li, Dongxu Li, Anthony Meng Huat Tiong et al.NeurIPS 2023 · 4,013 citations
  4. Locating and Editing Factual Associations in GPTKevin Meng, David Bau, Alex Andonian, Yonatan BelinkovNeurIPS 2022 · 3,415 citations
  5. MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language ModelsDeyao Zhu, Jun Chen, Xiaoqian Shen, Xiang Li et al.ICLR 2024 · 3,079 citations

Related papers

  1. FigStep: Jailbreaking Large Vision-Language Models via Typographic Visual PromptsYichen Gong, Delong Ran, Jinyuan Liu, Conglei Wang et al.AAAI 2025 · 350 citations
  2. Visual Self-Fulfilling Alignment: Shaping Safety-Oriented Personas via Threat-Related ImagesQishun Yang, Shu Yang, Lijie Hu, Di WangACL 2026 · 1 citation
  3. Safety Fine-Tuning at (Almost) No Cost: A Baseline for Vision Large Language ModelsYongshuo Zong, Ondrej Bohdal, Tingyang Yu, Yongxin Yang et al.ICML 2024 · 140 citations
  4. Zero-Shot Defense Against Toxic Images via Inherent Multimodal Alignment in LVLMsWei Zhao, Zhe Li, Yige Li, Jun SunEMNLP Findings 2025
  5. Unraveling and Mitigating Safety Alignment Degradation of Vision-Language ModelsQin Liu, Chao Shang, Ling Liu, Nikolaos Pappas et al.ACL Findings 2025 · 5 citations
Dusk over the sea between two cliffs drawn in fine vertical lines