Reproduce “Jailbreaking Large Language Models Against Moderation Guardrails via Cipher Characters” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Haibo Jin, Andy Zhou, Joe D. Menke, Haohan Wang

Researchers from the University of Illinois Urbana-Champaign developed JAMBench, a new benchmark designed to trigger LLM moderation guardrails, and introduced JAM, a jailbreak method utilizing cipher characters. This approach achieved an average 75.17% jailbreak success rate with a 10.21% filtered-out rate across models like GPT-3.5, GPT-4, Gemini, and Llama-3, significantly outperforming existing baselines and highlighting the susceptibility of LLMs to sophisticated multi-level attacks.

Key insights

  • Output-level moderation guardrails represent a crucial, yet often overlooked, defense layer in LLMs that current jailbreak benchmarks and methods largely fail to adequately test.
  • Adversarial attacks can effectively bypass both input-level prompt filters and output-level moderation systems by strategically embedding "cipher characters" that mask harmful content from detection.
  • Optimizing for adversarial loss and guardrail bypass can be decoupled, allowing for a multi-stage attack that targets both input and output safety mechanisms simultaneously.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.