paper-with-me

홈 › Papers

MLLM-Protector: Ensuring MLLM's Safety without Hurting Performance

2024-01-05 · Renjie Pi, Tianyang Han, Jianshu Zhang, Yueqi Xie, Rui Pan, Qing Lian, Hanze Dong, Jipeng Zhang, Tong Zhang

The deployment of multimodal large language models (MLLMs) has brought forth a unique vulnerability: susceptibility to malicious attacks through visual inputs. This paper investigates the novel challenge of defending MLLMs against such attacks. Compared to large language models (LLMs), MLLMs include an additional image modality. We discover that images act as a ``foreign language" that is not considered during safety alignment, making MLLMs more prone to producing harmful responses. Unfortunately, unlike the discrete tokens considered in text-based LLMs, the continuous nature of image signals presents significant alignment challenges, which poses difficulty to thoroughly cover all possible scenarios. This vulnerability is exacerbated by the fact that most state-of-the-art MLLMs are fine-tuned on limited image-text pairs that are much fewer than the extensive text-based pretraining corpus, which makes the MLLMs more prone to catastrophic forgetting of their original abilities during safety fine-tuning. To tackle these challenges, we introduce MLLM-Protector, a plug-and-play strategy that solves two subtasks: 1) identifying harmful responses via a lightweight harm detector, and 2) transforming harmful responses into harmless ones via a detoxifier. This approach effectively mitigates the risks posed by malicious visual inputs without compromising the original performance of MLLMs. Our results demonstrate that MLLM-Protector offers a robust solution to a previously unaddressed aspect of MLLM security.

📄 PDF Abstract BibTeX arXiv:2401.02906

Code (1)

pipilurj/mllm-protector 공식 구현 pytorch

Tasks

Safety Alignment

Similar Papers 제목 키워드 기반

Leave My Images Alone: Preventing Multi-Modal Large Language Models from Analyzing Images via Visual Prompt Injection

2026-04-10 · Zedian Shao, Hongbin Liu, Yuepeng Hu, Neil Zhenqiang Gong arxiv

Multi-modal large language models (MLLMs) have emerged as powerful tools for analyzing Internet-scale image data, offering significant benefits but also raising critical safety and societal concerns. In particular, open-…

SafeSteer: A Decoding-level Defense Mechanism for Multimodal Large Language Models

2026-05-12 · Xinyi Zeng, Xue Yang, Jingyuan Zhang, Huanqian Yan 외 arxiv

Multimodal large language models (MLLMs) are gaining increasing attention. Due to the heterogeneity of their input features, they face significant challenges in terms of jailbreak defenses. Current defense methods rely o…

Safe RLHF-V: Safe Reinforcement Learning from Human Feedback in Multimodal Large Language Models

2025-03-22 · Jiaming Ji, Xinyu Chen, Rui Pan, Han Zhu 외

Multimodal large language models (MLLMs) are critical for developing general-purpose AI assistants, yet they face growing safety risks. How can we ensure that MLLMs are safely aligned to prevent undesired behaviors such …

MisinformationSafe Reinforcement LearningSafety Alignment

When Helpers Become Hazards: A Benchmark for Analyzing Multimodal LLM-Powered Safety in Daily Life

2026-01-07 · Xinyue Lou, Jinan Xu, Jingyi Yin, Xiaolong Wang 외 arxiv

As Multimodal Large Language Models (MLLMs) become an indispensable assistant in human life, the unsafe content generated by MLLMs poses a danger to human behavior, perpetually overhanging human society like a sword of D…

Eyes Closed, Safety On: Protecting Multimodal LLMs via Image-to-Text Transformation

2024-03-14 · Yunhao Gou, Kai Chen, Zhili Liu, Lanqing Hong 외

Multimodal large language models (MLLMs) have shown impressive reasoning abilities. However, they are also more vulnerable to jailbreak attacks than their LLM predecessors. Although still capable of detecting the unsafe …

Image to textOptical Character Recognition (OCR)