paper-with-me

Papers

Jailbreaking Large Language Models Against Moderation Guardrails via Cipher Characters

2024-05-30 · Haibo Jin, Andy Zhou, Joe D. Menke, Haohan Wang

Large Language Models (LLMs) are typically harmless but remain vulnerable to carefully crafted prompts known as ``jailbreaks'', which can bypass protective measures and induce harmful behavior. Recent advancements in LLMs have incorporated moderation guardrails that can filter outputs, which trigger processing errors for certain malicious questions. Existing red-teaming benchmarks often neglect to include questions that trigger moderation guardrails, making it difficult to evaluate jailbreak effectiveness. To address this issue, we introduce JAMBench, a harmful behavior benchmark designed to trigger and evaluate moderation guardrails. JAMBench involves 160 manually crafted instructions covering four major risk categories at multiple severity levels. Furthermore, we propose a jailbreak method, JAM (Jailbreak Against Moderation), designed to attack moderation guardrails using jailbreak prefixes to bypass input-level filters and a fine-tuned shadow model functionally equivalent to the guardrail model to generate cipher characters to bypass output-level filters. Our extensive experiments on four LLMs demonstrate that JAM achieves higher jailbreak success ($\sim$ $\times$ 19.88) and lower filtered-out rates ($\sim$ $\times$ 1/6) than baselines.

📄 PDF Abstract BibTeX arXiv:2405.20413

Code (0)

등록된 구현이 없습니다.

Tasks

Red Teaming

Similar Papers 제목 키워드 기반

Benchmarking LLM Guardrails in Handling Multilingual Toxicity

2024-10-29 · Yahan Yang, Soham Dan, Dan Roth, Insup Lee

With the ubiquity of Large Language Models (LLMs), guardrails have become crucial to detect and defend against toxic content. However, with the increasing pervasiveness of LLMs in multilingual scenarios, their effectiven…

Benchmarking

RigorLLM: Resilient Guardrails for Large Language Models against Undesired Content

2024-03-19 · Zhuowen Yuan, Zidi Xiong, Yi Zeng, Ning Yu 외

Recent advancements in Large Language Models (LLMs) have showcased remarkable capabilities across various tasks in different domains. However, the emergence of biases and the potential for generating harmful content in L…

Data Augmentation

FLAME: Flexible LLM-Assisted Moderation Engine

2025-02-13 · Ivan Bakulin, Ilia Kopanichuk, Iaroslav Bespalov, Nikita Radchenko 외

The rapid advancement of Large Language Models (LLMs) has introduced significant challenges in moderating user-model interactions. While LLMs demonstrate remarkable capabilities, they remain vulnerable to adversarial att…

Computational Efficiencyinput filtering

Exploring the Vulnerability of the Content Moderation Guardrail in Large Language Models via Intent Manipulation

2025-05-24 · Jun Zhuang, Haibo Jin, Ye Zhang, Zhengjian Kang 외

Intent detection, a core component of natural language understanding, has considerably evolved as a crucial mechanism in safeguarding large language models (LLMs). While prior work has applied intent detection to enhance…

Intent DetectionNatural Language UnderstandingRed Teaming

Legilimens: Practical and Unified Content Moderation for Large Language Model Services

2024-08-28 · Jialin Wu, Jiangyi Deng, Shengyuan Pang, Yanjiao Chen 외

Given the societal impact of unsafe content generated by large language models (LLMs), ensuring that LLM services comply with safety standards is a crucial concern for LLM service providers. Common content moderation met…

Data AugmentationLanguage ModelingLanguage ModellingLarge Language Model+2