SEA: Low-Resource Safety Alignment for Multimodal Large Language Models via Synthetic Embeddings

Weikai Lu, Hao Peng, Huiping Zhuang, Cen Chen, Ziqian Zeng
2/18/2025
14 citations
cs.CLcs.CRcs.MM

Official code: ZeroNLP/SEA (7 stars, Python, last commit 2025-06-01).

Abstract

Multimodal Large Language Models (MLLMs) have serious security vulnerabilities.While safety alignment using multimodal datasets consisting of text and data of additional modalities can effectively enhance MLLM's security, it is costly to construct these datasets. Existing low-resource security alignment methods, including textual alignment, have been found to struggle with the security risks posed by additional modalities.

Show full abstract

To address this, we propose Synthetic Embedding augmented safety Alignment (SEA), which optimizes embeddings of additional modality through gradient updates to expand textual datasets. This enables multimodal safety alignment training even when only textual data is available. Extensive experiments on image, video, and audio-based MLLMs demonstrate that SEA can synthesize a high-quality embedding on a single RTX3090 GPU within 24 seconds. SEA significantly improves the security of MLLMs when faced with threats from additional modalities. To assess the security risks introduced by video and audio, we also introduced a new benchmark called VA-SafetyBench. High attack success rates across multiple MLLMs validate its challenge. Our code and data will be available at https://github.com/ZeroNLP/SEA.

View on arXivView PDF

Code Implementations(1)

ZeroNLP/SEAOfficial100%

[ACL'25 Main Track] Repository for " SEA: Low-Resource Safety Alignment for Multimodal Large Language Models via Synthetic Embeddings"

70PythonFeb 17, 20251 years ago

Similar Papers

Cite this paper

@article{lu2025sea,
  title  = {SEA: Low-Resource Safety Alignment for Multimodal Large Language Models via Synthetic Embeddings},
  author = {Weikai Lu and Hao Peng and Huiping Zhuang and Cen Chen and Ziqian Zeng},
  year   = {2025},
  eprint = {2502.12562},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.12562v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.12562.svg)](https://codeofpaper.com/paper/2502.12562)

Discussion