Utilizing LLM Robustness for LVLM Safety via Reducing the Pretraining Modality Gap

Wenhan Yang, Spencer Stice, Ali Payani, Baharan MirzasoleimanOpenReview 2026 · Submission to ICLR 2026 · Rejected

Abstract

Large Vision-Language Models (LVLMs) suffer from significant safety degradation compared to their LLM backbones. Even blank or irrelevant images can trigger LVLMs to produce harmful responses to prompts that would otherwise be safely refused in text-only contexts. To address this, existing methods focus on addressing safety vulnerabilities by modifying different components of LVLMs. This includes robustifying the vision encoder, inference-time purification and steering, and safety fine-tuning. However, these methods either substantially increase the training or inference time or significantly harm the model performance. In this work, we address this problem from a different angle. We show that the amount of modality gap between text and image embeddings is strongly inversely correlated with LVLM safety. Crucially, this gap is introduced during pretraining and persists through fine-tuning. Inspired by this observation, we propose a novel regularization technique, \alg, that explicitly reduces the modality gap during pretraining. Empirically, we show that \alg\ effectively enhances safety of various LVLMs, reducing unsafe rates by up to 16.3% while preserving their performance. Notably \alg\ is very light-weight and does not require any safety data. It can also easily stack with existing defense mechanisms to further improve safety by up to 18.2%.
BibTeX
@misc{yang2026utilizing,
  author = {Wenhan Yang and Spencer Stice and Ali Payani and Baharan Mirzasoleiman},
  title = {{Utilizing LLM Robustness for LVLM Safety via Reducing the Pretraining Modality Gap}},
  year = {2026},
  url = {https://openreview.net/forum?id=J2WeAMiSZh},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}

Loading related content...

Figure