GuardNet: Graph-Attention Filtering for Jailbreak Defense in Large Language Models
On the map: LLM safety and security → Jailbreaking
Abstract (arXiv)
Large Language Models (LLMs) are increasingly susceptible to jailbreak attacks, which are adversarial prompts that bypass alignment constraints and induce unauthorized or harmful behaviors. These vulnerabilities undermine the safety, reliability, and trustworthiness of LLM outputs, posing critical risks in domains such as healthcare, finance, and legal compliance. In this paper, we propose GuardNet, a hierarchical filtering framework that detects and filters jailbreak prompts prior to inference. GuardNet constructs structured graphs that combine sequential links, syntactic dependencies, and attention-derived token relations to capture both linguistic structure and contextual patterns indicative of jailbreak behavior. It then applies graph neural networks at two levels: (i) a prompt-level filter that detects global adversarial prompts, and (ii) a token-level filter that pinpoints fine-grained adversarial spans. Extensive experiments across three datasets and multiple attack settings show that GuardNet substantially outperforms prior defenses. It raises prompt-level F1 scores from 66.4% to 99.8% on LLM-Fuzzer, and from 67-79% to over 94% on PLeak datasets. At the token level, GuardNet improves F1 from 48-75% to 74-91%, with IoU gains up to +28%. Despite its structural complexity, GuardNet maintains acceptable latency and generalizes well in cross-domain evaluations, making it a practical and robust defense against jailbreak threats in real-world LLM deployments.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Jailbreaking, one of 12 directions in LLM safety and security. Builds on 12 of its 33 references that are in the map. First posted on arXiv 27 Sep 2025.
Builds on
12 of 33 references.
Closest ancestors · 5
Same direction, newest first
- 2024Jailbreak Attacks and Defenses Against Large Language Models: A Survey5 Jul
- 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automatically4 Dec
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Models3 Oct
- 2023Jailbroken: How Does LLM Safety Training Fail?5 Jul
- 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Study23 May
Other references · 7
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2013Good Debt or Bad Debt: Detecting Semantic Orientations in Economic Textscited by 310
- 2023Large Language Models in Finance: A Surveycited by 226
- 2024PLeak: Prompt Leaking Attacks against Large Language Model Applicationscited by 127
- 2024Fuzz-Testing Meets LLM-Based Agents: An Automated and Efficient Framework for Jailbreaking Text-To-Image Generation Modelscited by 27
- 2024Efficient Detection of Toxic Prompts in Large Language Modelscited by 13
- 2023Improving the Robustness of Transformer-based Large Language Models with Dynamic Attentioncited by 10
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026HoneyTrap: Deceiving Large Language Model Attackers to Honeypot Traps with Resilient Multi-Agent Defensecited by 8
- 2026Adaptive Steering and Remasking for Safe Generation in Diffusion Language Modelscited by 1
- 2026When Agents Handle Secrets: A Survey of Confidential Computing for Agentic AIcited by 0
- 2026Adaptive Steering and Remasking for Safe Generation in Diffusion Language Models13 May 2026
- 2026When Agents Handle Secrets: A Survey of Confidential Computing for Agentic AI4 May 2026
- 2026HoneyTrap: Deceiving Large Language Model Attackers to Honeypot Traps with Resilient Multi-Agent Defense7 Jan 2026
Similar, not cited
Close in wording, no citation either way
- 2026Jailbreaking Leaves a Trace: Understanding and Detecting Jailbreak Attacks from Internal Representations of Large Language Models
- 2025HarmNet: A Framework for Adaptive Multi-Turn Jailbreak Attacks on Large Language Models
- 2025ASGuard: Activation-Scaling Guard to Mitigate Targeted Jailbreaking Attack
- 2025LatentBreak: Jailbreaking Large Language Models through Latent Space Feedback
- 2024Jailbreaking and Mitigation of Vulnerabilities in Large Language Models
- 2024Defending Large Language Models Against Jailbreak Attacks via Layer-specific Editing
- 2025JBShield: Defending Large Language Models from Jailbreak Attacks through Activated Concept Analysis and Manipulation
- 2025AttentionDefense: Leveraging System Prompt Attention for Explainable Defense Against Novel Jailbreaks