Reproduce “Leveraging the Context through Multi-Round Interactions for Jailbreaking Attacks” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

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

About this paper

Yixin Cheng, Markos Georgopoulos, Volkan Cevher, Grigorios G. Chrysos

Researchers from EPFL and University of Wisconsin-Madison developed the Contextual Interaction Attack (CIA), a multi-round method that leverages an LLM's conversational context to bypass safety mechanisms, achieving up to 96% jailbreak success on Mixtral 8x7b and high transferability across models like GPT-4. The attack exploits the model's tendency to perceive its self-generated content as safe, enabling it to be subtly steered towards harmful outputs.

Key insights

  • LLMs are more likely to generate harmful content if the implicit malicious intent is built through their own self-generated responses within a conversation.
  • Multi-round interaction, where the LLM's own outputs contribute to the evolving context, is critical for successful jailbreaking, outperforming single-turn attacks.
  • The semantic relevance of preliminary questions to the ultimate malicious query is crucial for priming the LLM's context.

Summary by alphaXiv.

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