NEXUS: Network Exploration for eXploiting Unsafe Sequences in Multi-Turn LLM Jailbreaks
Javad Rafiei Asl, Sidhant Narula, Mohammad Ghasemigol, Eduardo Blanco, Daniel Takabi
TL;DR
The paper tackles the vulnerability of large language models to multi-turn jailbreaks by introducing NEXUS, a modular framework that systematically explores, refines, and executes optimized attack chains. It combines ThoughtNet, a semantic network that expands harmful goals into diverse topics and samples, with a feedback-driven Simulator and a Network Traverser for real-time attack execution. Across closed-source and open-weight LLMs, NEXUS achieves higher attack success rates, greater diversity of attack paths, and improved efficiency compared to state-of-the-art baselines. The work highlights the importance of semantically grounded space exploration and iterative refinement for robust adversarial testing, while acknowledging computational overhead and early-stage query limitations as areas for future defense-focused work.
Abstract
Large Language Models (LLMs) have revolutionized natural language processing but remain vulnerable to jailbreak attacks, especially multi-turn jailbreaks that distribute malicious intent across benign exchanges and bypass alignment mechanisms. Existing approaches often explore the adversarial space poorly, rely on hand-crafted heuristics, or lack systematic query refinement. We present NEXUS (Network Exploration for eXploiting Unsafe Sequences), a modular framework for constructing, refining, and executing optimized multi-turn attacks. NEXUS comprises: (1) ThoughtNet, which hierarchically expands a harmful intent into a structured semantic network of topics, entities, and query chains; (2) a feedback-driven Simulator that iteratively refines and prunes these chains through attacker-victim-judge LLM collaboration using harmfulness and semantic-similarity benchmarks; and (3) a Network Traverser that adaptively navigates the refined query space for real-time attacks. This pipeline uncovers stealthy, high-success adversarial paths across LLMs. On several closed-source and open-source LLMs, NEXUS increases attack success rate by 2.1% to 19.4% over prior methods. Code: https://github.com/inspire-lab/NEXUS
