Analyzing and Mitigating Safety Alignment Degradation in Vision-Language ModelsUnraveling and Mitigating Safety Alignment Degradation of Vision-Language Models
The researchers propose Cross-Modality Representation Manipulation (CMRM), an inference-time representation intervention method that can reduce the unsafe rate of LLaVA-7B on multimodal inputs from 61.53% to as low as 3.15%, without additional training. The paper terms the phenomenon in which vision-language models (VLMs) have weaker safety alignment than their LLM backbones safety alignment degradation, and attributes it to the representation gap produced by introducing the visual modality: the representations of multimodal inputs deviate from the pure-text input distribution that the LLM backbone was optimized on, and the safety alignment capability originally established in the text embedding space fails to transfer to the multimodal representation space. Experiments show that CMRM can significantly restore the alignment capability inherited from the LLM backbone, while having little effect on the fluency and language capability of the pretrained VLM.