paper-with-me

홈 › Papers

AdaShield: Safeguarding Multimodal Large Language Models from Structure-based Attack via Adaptive Shield Prompting

2024-03-14 · Yu Wang, Xiaogeng Liu, Yu Li, Muhao Chen, Chaowei Xiao

With the advent and widespread deployment of Multimodal Large Language Models (MLLMs), the imperative to ensure their safety has become increasingly pronounced. However, with the integration of additional modalities, MLLMs are exposed to new vulnerabilities, rendering them prone to structured-based jailbreak attacks, where semantic content (e.g., "harmful text") has been injected into the images to mislead MLLMs. In this work, we aim to defend against such threats. Specifically, we propose \textbf{Ada}ptive \textbf{Shield} Prompting (\textbf{AdaShield}), which prepends inputs with defense prompts to defend MLLMs against structure-based jailbreak attacks without fine-tuning MLLMs or training additional modules (e.g., post-stage content detector). Initially, we present a manually designed static defense prompt, which thoroughly examines the image and instruction content step by step and specifies response methods to malicious queries. Furthermore, we introduce an adaptive auto-refinement framework, consisting of a target MLLM and a LLM-based defense prompt generator (Defender). These components collaboratively and iteratively communicate to generate a defense prompt. Extensive experiments on the popular structure-based jailbreak attacks and benign datasets show that our methods can consistently improve MLLMs' robustness against structure-based jailbreak attacks without compromising the model's general capabilities evaluated on standard benign tasks. Our code is available at https://github.com/rain305f/AdaShield.

📄 PDF Abstract BibTeX arXiv:2403.09513

Code (1)

rain305f/adashield 공식 구현 pytorch

Similar Papers 제목 키워드 기반

Co-Evolutionary Multi-Modal Alignment via Structured Adversarial Evolution

2026-03-02 · Guoxin Shi, Haoyu Wang, Zaihui Yang, Yuxing Wang 외 arxiv

Adversarial behavior plays a central role in aligning large language models with human values. However, existing alignment methods largely rely on static adversarial settings, which fundamentally limit robustness, partic…

OmniGuard: Unified Omni-Modal Guardrails with Deliberate Reasoning

2025-12-02 · Boyu Zhu, Xiaofei Wen, Wenjie Jacky Mo, Tinghui Zhu 외 arxiv

Omni-modal Large Language Models (OLLMs) that process text, images, videos, and audio introduce new challenges for safety and value guardrails in human-AI interaction. Prior guardrail research largely targets unimodal se…

Binary Classification

FC-Attack: Jailbreaking Multimodal Large Language Models via Auto-Generated Flowcharts

2025-02-28 · Ziyi Zhang, Zhen Sun, Zongmin Zhang, Jihui Guo 외

Multimodal Large Language Models (MLLMs) have become powerful and widely adopted in some practical applications. However, recent research has revealed their vulnerability to multimodal jailbreak attacks, whereby the mode…

Safety Alignment

RapGuard: Safeguarding Multimodal Large Language Models via Rationale-aware Defensive Prompting

2024-12-25 · Yilei Jiang, Yingshui Tan, Xiangyu Yue

While Multimodal Large Language Models (MLLMs) have made remarkable progress in vision-language reasoning, they are also more susceptible to producing harmful content compared to models that focus solely on text. Existin…

PRISM: Robust VLM Alignment with Principled Reasoning for Integrated Safety in Multimodality

2025-08-26 · Nanxi Li, Zhengyue Zhao, G. Edward Suh, Marco Pavone 외 arxiv

Safeguarding vision-language models (VLMs) is a critical challenge, as existing methods often suffer from over-defense, which harms utility, or rely on shallow alignment, failing to detect complex threats that require de…