paper-with-me

홈 › Papers

VLMGuard: Defending VLMs against Malicious Prompts via Unlabeled Data

2024-10-01 · Xuefeng Du, Reshmi Ghosh, Robert Sim, Ahmed Salem, Vitor Carvalho, Emily Lawton, Yixuan Li, Jack W. Stokes

Vision-language models (VLMs) are essential for contextual understanding of both visual and textual information. However, their vulnerability to adversarially manipulated inputs presents significant risks, leading to compromised outputs and raising concerns about the reliability in VLM-integrated applications. Detecting these malicious prompts is thus crucial for maintaining trust in VLM generations. A major challenge in developing a safeguarding prompt classifier is the lack of a large amount of labeled benign and malicious data. To address the issue, we introduce VLMGuard, a novel learning framework that leverages the unlabeled user prompts in the wild for malicious prompt detection. These unlabeled prompts, which naturally arise when VLMs are deployed in the open world, consist of both benign and malicious information. To harness the unlabeled data, we present an automated maliciousness estimation score for distinguishing between benign and malicious samples within this unlabeled mixture, thereby enabling the training of a binary prompt classifier on top. Notably, our framework does not require extra human annotations, offering strong flexibility and practicality for real-world applications. Extensive experiment shows VLMGuard achieves superior detection results, significantly outperforming state-of-the-art methods. Disclaimer: This paper may contain offensive examples; reader discretion is advised.

📄 PDF Abstract BibTeX arXiv:2410.00296

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

VLMGuard-R1: Proactive Safety Alignment for VLMs via Reasoning-Driven Prompt Optimization

2025-04-17 · Menglan Chen, Xianghe Pang, Jingjing Dong, Wenhao Wang 외

Aligning Vision-Language Models (VLMs) with safety standards is essential to mitigate risks arising from their multimodal complexity, where integrating vision and language unveils subtle threats beyond the reach of conve…

Multimodal ReasoningSafety Alignment

DE-FIVE: Detecting Malicious Image Prompts via Fourier Features and Image Vector Embeddings

2026-06-22 · Xingwei Zhong, Varun Sharma, Kar Wai Fok, Vrizlynn L. L. Thing arxiv

Vision language models (VLMs) employ both visual and textual modalities to enable advanced vision-language inference. However, incorporating visual modalities expands the attack surface of VLMs, making them more suscepti…

VLMShield: Efficient and Robust Defense of Vision-Language Models against Malicious Prompts

2026-04-07 · Peigui Qi, Kunsheng Tang, Yanpu Yu, Jialin Wu 외 arxiv

Vision-Language Models (VLMs) face significant safety vulnerabilities from malicious prompt attacks due to weakened alignment during visual integration. Existing defenses suffer from efficiency and robustness. To address…

Defending Against Alignment-Breaking Attacks via Robustly Aligned LLM

2023-09-18 · Bochuan Cao, Yuanpu Cao, Lu Lin, Jinghui Chen

Recently, Large Language Models (LLMs) have made significant advancements and are now widely used across various domains. Unfortunately, there has been a rising concern that LLMs can be misused to generate harmful or mal…

Spot Risks Before Speaking! Unraveling Safety Attention Heads in Large Vision-Language Models

2025-01-03 · Ziwei Zheng, Junyao Zhao, Le Yang, Lijun He 외

With the integration of an additional modality, large vision-language models (LVLMs) exhibit greater vulnerability to safety risks (e.g., jailbreaking) compared to their language-only predecessors. Although recent studie…

Zero-shot Generalization