mlsanityData to 14 Oct 2026

GuardNet: Graph-Attention Filtering for Jailbreak Defense in Large Language Models

arXiv 2509.23037 ↗First posted 27 Sep 2025cs.LGcited by 3

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

  1. 2024Jailbreak Attacks and Defenses Against Large Language Models: A Survey5 Jul
  2. 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automatically4 Dec
  3. 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Models3 Oct
  4. 2023Jailbroken: How Does LLM Safety Training Fail?5 Jul
  5. 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Study23 May

Other references · 7

  1. 2020Longformer: The Long-Document Transformercited by 3,413
  2. 2013Good Debt or Bad Debt: Detecting Semantic Orientations in Economic Textscited by 310
  3. 2023Large Language Models in Finance: A Surveycited by 226
  4. 2024PLeak: Prompt Leaking Attacks against Large Language Model Applicationscited by 127
  5. 2024Fuzz-Testing Meets LLM-Based Agents: An Automated and Efficient Framework for Jailbreaking Text-To-Image Generation Modelscited by 27
  6. 2024Efficient Detection of Toxic Prompts in Large Language Modelscited by 13
  7. 2023Improving the Robustness of Transformer-based Large Language Models with Dynamic Attentioncited by 10

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Jailbreaking Leaves a Trace: Understanding and Detecting Jailbreak Attacks from Internal Representations of Large Language Models
  2. 2025HarmNet: A Framework for Adaptive Multi-Turn Jailbreak Attacks on Large Language Models
  3. 2025ASGuard: Activation-Scaling Guard to Mitigate Targeted Jailbreaking Attack
  4. 2025LatentBreak: Jailbreaking Large Language Models through Latent Space Feedback
  5. 2024Jailbreaking and Mitigation of Vulnerabilities in Large Language Models
  6. 2024Defending Large Language Models Against Jailbreak Attacks via Layer-specific Editing
  7. 2025JBShield: Defending Large Language Models from Jailbreak Attacks through Activated Concept Analysis and Manipulation
  8. 2025AttentionDefense: Leveraging System Prompt Attention for Explainable Defense Against Novel Jailbreaks