Reproduce “Knowledge-to-Jailbreak: Investigating Knowledge-driven Jailbreaking Attacks for Large Language Models” 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

Shangqing Tu, Zhuoran Pan, Wenxuan Wang, Zhexin Zhang, Yuliang Sun, Jifan Yu, Hongning Wang, Lei Hou and 1 more

This research introduces a method to automatically generate domain-specific jailbreaking attacks for Large Language Models by transforming knowledge snippets into malicious prompts. The developed "jailbreak-generator" creates effective attacks on various LLMs across unseen domains and out-of-distribution knowledge, achieving performance competitive with human experts while maintaining high knowledge relevance.

Key insights

  • Integrating specific domain knowledge directly into prompts substantially increases the likelihood of LLMs generating harmful content, even for models with robust safety alignments.
  • Knowledge-driven jailbreaking attacks can effectively bypass existing LLM defensive strategies and generalized safety mechanisms, highlighting deeper, unaddressed vulnerabilities.
  • The automated generation of contextually relevant jailbreaks demonstrates the urgent need for more sophisticated, domain-aware safety testing and defense development for specialized LLM applications.

Summary by alphaXiv.

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