paper-with-me

Papers

How Jailbreak Defenses Work and Ensemble? A Mechanistic Investigation

2025-02-20 · Zhuohang Long, Siyuan Wang, Shujun Liu, Yuhang Lai, Xuanjing Huang, Zhongyu Wei

Jailbreak attacks, where harmful prompts bypass generative models' built-in safety, raise serious concerns about model vulnerability. While many defense methods have been proposed, the trade-offs between safety and helpfulness, and their application to Large Vision-Language Models (LVLMs), are not well understood. This paper systematically examines jailbreak defenses by reframing the standard generation task as a binary classification problem to assess model refusal tendencies for both harmful and benign queries. We identify two key defense mechanisms: safety shift, which increases refusal rates across all queries, and harmfulness discrimination, which improves the model's ability to distinguish between harmful and benign inputs. Using these mechanisms, we develop two ensemble defense strategies-inter-mechanism ensembles and intra-mechanism ensembles-to balance safety and helpfulness. Experiments on the MM-SafetyBench and MOSSBench datasets with LLaVA-1.5 models show that these strategies effectively improve model safety or optimize the trade-off between safety and helpfulness.

📄 PDF Abstract BibTeX arXiv:2502.14486

Code (0)

등록된 구현이 없습니다.

Tasks

Binary Classification

Similar Papers 제목 키워드 기반

The Struggle Between Continuation and Refusal: A Mechanistic Analysis of the Continuation-Triggered Jailbreak in LLMs

2026-03-09 · Yonghong Deng, Zhen Yang, Ping Jian, Xinyue Zhang 외 arxiv

With the rapid advancement of large language models (LLMs), the safety of LLMs has become a critical concern. Despite significant efforts in safety alignment, current LLMs remain vulnerable to jailbreaking attacks. Howev…

How Few-shot Demonstrations Affect Prompt-based Defenses Against LLM Jailbreak Attacks

2026-02-04 · Yanshu Wang, Shuaishuai Yang, Jingjing He, Tong Yang arxiv

Large Language Models (LLMs) face increasing threats from jailbreak attacks that bypass safety alignment. While prompt-based defenses such as Role-Oriented Prompts (RoP) and Task-Oriented Prompts (ToP) have shown effecti…

Transferable Ensemble Black-box Jailbreak Attacks on Large Language Models

2024-10-31 · Yiqi Yang, Hongye Fu

In this report, we propose a novel black-box jailbreak attacking framework that incorporates various LLM-as-Attacker methods to deliver transferable and powerful jailbreak attacks. Our method is designed based on three k…

Attention Slipping: A Mechanistic Understanding of Jailbreak Attacks and Defenses in LLMs

2025-07-06 · Xiaomeng Hu, Pin-Yu Chen, Tsung-Yi Ho arxiv

As large language models (LLMs) become more integral to society and technology, ensuring their safety becomes essential. Jailbreak attacks exploit vulnerabilities to bypass safety guardrails, posing a significant threat.…

ConceptGuard: Neuro-Symbolic Safety Guardrails via Sparse Interpretable Jailbreak Concepts

2025-08-22 · Darpan Aswal, Céline Hudelot arxiv

Large Language Models have found success in a variety of applications. However, their safety remains a concern due to the existence of various jailbreaking methods. Despite significant efforts, alignment and safety fine-…