paper-with-me

홈 › Papers

Refusing Safe Prompts for Multi-modal Large Language Models

2024-07-12 · Zedian Shao, Hongbin Liu, Yuepeng Hu, Neil Zhenqiang Gong

Multimodal large language models (MLLMs) have become the cornerstone of today's generative AI ecosystem, sparking intense competition among tech giants and startups. In particular, an MLLM generates a text response given a prompt consisting of an image and a question. While state-of-the-art MLLMs use safety filters and alignment techniques to refuse unsafe prompts, in this work, we introduce MLLM-Refusal, the first method that induces refusals for safe prompts. In particular, our MLLM-Refusal optimizes a nearly-imperceptible refusal perturbation and adds it to an image, causing target MLLMs to likely refuse a safe prompt containing the perturbed image and a safe question. Specifically, we formulate MLLM-Refusal as a constrained optimization problem and propose an algorithm to solve it. Our method offers competitive advantages for MLLM model providers by potentially disrupting user experiences of competing MLLMs, since competing MLLM's users will receive unexpected refusals when they unwittingly use these perturbed images in their prompts. We evaluate MLLM-Refusal on four MLLMs across four datasets, demonstrating its effectiveness in causing competing MLLMs to refuse safe prompts while not affecting non-competing MLLMs. Furthermore, we explore three potential countermeasures-adding Gaussian noise, DiffPure, and adversarial training. Our results show that though they can mitigate MLLM-Refusal's effectiveness, they also sacrifice the accuracy and/or efficiency of the competing MLLM. The code is available at https://github.com/Sadcardation/MLLM-Refusal.

📄 PDF Abstract BibTeX arXiv:2407.09050

Code (1)

sadcardation/mllm-refusal 공식 구현 pytorch

Similar Papers 제목 키워드 기반

On Prompt-Driven Safeguarding for Large Language Models

2024-01-31 · Chujie Zheng, Fan Yin, Hao Zhou, Fandong Meng 외

Prepending model inputs with safety prompts is a common practice for safeguarding large language models (LLMs) against queries with harmful intents. However, the underlying working mechanisms of safety prompts have not b…

Mitigating Exaggerated Safety in Large Language Models

2024-05-08 · Ruchira Ray, Ruchi Bhalani

As the popularity of Large Language Models (LLMs) grow, combining model safety with utility becomes increasingly important. The challenge is making sure that LLMs can recognize and decline dangerous prompts without sacri…

Decision MakingNavigate

VLSU: Mapping the Limits of Joint Multimodal Understanding for AI Safety

2025-10-21 · Shruti Palaskar, Leon Gatys, Mona Abdelrahman, Mar Jacobo 외 arxiv

Safety evaluation of multimodal foundation models often treats vision and language inputs separately, missing risks from joint interpretation where benign content becomes harmful in combination. Existing approaches also …

The Refusal--Compliance Tradeoff: A Large-Scale Safety Behavior Audit of Large Language Models

2026-05-06 · Alif Al Hasan, Sumon Biswas arxiv

Refusal rates are a poor proxy for LLM safety, i.e., a model may over-refuse benign prompts while still complying with harmful ones. We audit both failure modes across 21 open-weight LLMs on four safety benchmarks (OR-Be…

CARES: Comprehensive Evaluation of Safety and Adversarial Robustness in Medical LLMs

2025-05-16 · Sijia Chen, Xiaomin Li, Mengxue Zhang, Eric Hanchen Jiang 외

Large language models (LLMs) are increasingly deployed in medical contexts, raising critical concerns about safety, alignment, and susceptibility to adversarial manipulation. While prior benchmarks assess model refusal c…

Adversarial RobustnessSafety AlignmentSpecificity