paper-with-me

홈 › Papers

BiasJailbreak:Analyzing Ethical Biases and Jailbreak Vulnerabilities in Large Language Models

2024-10-17 · Isack Lee, Haebin Seong

Although large language models (LLMs) demonstrate impressive proficiency in various tasks, they present potential safety risks, such as `jailbreaks', where malicious inputs can coerce LLMs into generating harmful content bypassing safety alignments. In this paper, we delve into the ethical biases in LLMs and examine how those biases could be exploited for jailbreaks. Notably, these biases result in a jailbreaking success rate in GPT-4o models that differs by 20\% between non-binary and cisgender keywords and by 16\% between white and black keywords, even when the other parts of the prompts are identical. We introduce the concept of BiasJailbreak, highlighting the inherent risks posed by these safety-induced biases. BiasJailbreak generates biased keywords automatically by asking the target LLM itself, and utilizes the keywords to generate harmful output. Additionally, we propose an efficient defense method BiasDefense, which prevents jailbreak attempts by injecting defense prompts prior to generation. BiasDefense stands as an appealing alternative to Guard Models, such as Llama-Guard, that require additional inference cost after text generation. Our findings emphasize that ethical biases in LLMs can actually lead to generating unsafe output, and suggest a method to make the LLMs more secure and unbiased. To enable further research and improvements, we open-source our code and artifacts of BiasJailbreak, providing the community with tools to better understand and mitigate safety-induced biases in LLMs.

📄 PDF Abstract BibTeX arXiv:2410.13334

Code (1)

Isaac-theori/PCJailbreak 공식 구현 pytorch

Tasks

Red TeamingSafety AlignmentText Generation

Methods 이 논문이 사용한 방법론

ALIGN In the ALIGN method, visual and language representations are jointly trained from noisy image alt-text data. The image and text encoders are learned via contrastive loss…

Similar Papers 제목 키워드 기반

NeuroBreak: Unveil Internal Jailbreak Mechanisms in Large Language Models

2025-09-04 · Chuhan Zhang, Ye Zhang, Bowen Shi, Yuyou Gan 외 arxiv

In deployment and application, large language models (LLMs) typically undergo safety alignment to prevent illegal and unethical outputs. However, the continuous advancement of jailbreak attack techniques, designed to byp…

Jailbreaking and Mitigation of Vulnerabilities in Large Language Models

2024-10-20 · Benji Peng, Keyu Chen, Qian Niu, Ziqian Bi 외

Large Language Models (LLMs) have transformed artificial intelligence by advancing natural language understanding and generation, enabling applications across fields beyond healthcare, software engineering, and conversat…

Natural Language Understanding

xJailbreak: Representation Space Guided Reinforcement Learning for Interpretable LLM Jailbreaking

2025-01-28 · Sunbowen Lee, Shiwen Ni, Chi Wei, Shuaimin Li 외

Safety alignment mechanism are essential for preventing large language models (LLMs) from generating harmful information or unethical content. However, cleverly crafted prompts can bypass these safety measures without ac…

Reinforcement Learning (RL)Safety Alignment

GuardVal: Dynamic Large Language Model Jailbreak Evaluation for Comprehensive Safety Testing

2025-07-10 · Peiyan Zhang, Haibo Jin, Liying Kang, Haohan Wang arxiv

Jailbreak attacks reveal critical vulnerabilities in Large Language Models (LLMs) by causing them to generate harmful or unethical content. Evaluating these threats is particularly challenging due to the evolving nature …

JailbreakZoo: Survey, Landscapes, and Horizons in Jailbreaking Large Language and Vision-Language Models

2024-06-26 · Haibo Jin, Leyang Hu, Xinuo Li, Peiyan Zhang 외

The rapid evolution of artificial intelligence (AI) through developments in Large Language Models (LLMs) and Vision-Language Models (VLMs) has brought significant advancements across various technological domains. While …

LLM JailbreakSurvey