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

Yunhao Gou, Kai Chen, Zhili Liu, Lanqing Hong, Hang Xu, Zhenguo Li, Dit-Yan Yeung, James T. Kwok, Yu Zhang

arXiv:2403.09572 · 2026-07-27 공개 · arXiv · PDF

vision-language training-free multimodal-llm alignment llava image-to-text jailbreak-attack safety-mechanism

Abstract

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 responses, we observe that safety mechanisms of the pre-aligned LLMs in MLLMs can be easily bypassed with the introduction of image features. To construct robust MLLMs, we propose ECSO (Eyes Closed, Safety On), a novel training-free protecting approach that exploits the inherent safety awareness of MLLMs, and generates safer responses via adaptively transforming unsafe images into texts to activate the intrinsic safety mechanism of pre-aligned LLMs in MLLMs. Experiments on five state-of-the-art (SoTA) MLLMs demonstrate that ECSO enhances model safety significantly (e.g.,, 37.6% improvement on the MM-SafetyBench (SD+OCR) and 71.3% on VLSafe with LLaVA-1.5-7B), while consistently maintaining utility results on common MLLM benchmarks. Furthermore, we show that ECSO can be used as a data engine to generate supervised-finetuning (SFT) data for MLLM alignment without extra human intervention.

한국어 요약

한 줄 요약

ECSO는 이미지 입력을 텍스트로 전환해 MLLM의 내재적 안전 메커니즘을 활성화함으로써 모델 안전성을 향상시키는 훈련 없이 적용 가능한 보호 전략이다.

핵심 기여도

핵심 아이디어

MLLM은 이미지 입력이 추가되면 내재된 안전 메커니즘이 억제되지만, ECSO는 이 메커니즘을 복원하기 위해 위험한 응답을 감지한 후 이미지를 텍스트로 전환하여 LLM의 안전 정렬을 활용한다. 이는 기존 훈련 기반 정렬 전략과 달리 추가 학습 없이도 가능하다는 점에서 혁신적이다. 핵심 아이디어는 다음과 같다:
1. MLLM이 이미지 입력 없이 텍스트만 처리할 때 안전 메커니즘이 작동함을 확인.
2. ECSO는 query-aware I2T 변환을 통해 이미지를 텍스트로 전환하고, 안전한 응답을 생성.
3. 이 과정은 post-hoc 방식으로 수행되며, 모델의 유틸리티는 유지하면서도 안전성을 향상시킨다.

기술적 접근법

주요 결과

의의 및 한계

ECSO는 MLLM의 안전성을 훈련 없이 향상시키는 새로운 접근법으로, 기존 안전 메커니즘을 활용함으로써 훈련 비용을 줄이고, SFT 데이터 생성까지 가능하게 한다. 이는 MLLM의 대규모 도입 시 안전성 확보에 기여할 수 있다. 그러나 ECSO는 이미지 전환 과정에서 정보 손실이 발생할 수 있으며, 일부 복잡한 시각적 콘텐츠는 정확히 해석되지 않을 가능성도 있다. 또한, ECSO는 이미지 기반 공격에만 초점을 맞추고 있어, 텍스트 기반 공격에는 효과가 제한적일 수 있다.

실용적 활용

ECSO는 보안이 중요한 산업 분야 (예: 챗봇, 콘텐츠 필터링, 교육 플랫폼)에서 MLLM의 안전성을 향상시키는 데 활용 가능하다. 또한, SFT 데이터 생성을 자동화함으로써 MLLM 정렬 과정을 효율화할 수 있어, 대규모 모델 개발 및 배포에 유용하다.