GuardNet: A Graph Attention Filtering Framework for Large Language Model Jailbreak DefenseGuardNet: Graph-Attention Filtering for Jailbreak Defense in Large Language Models
AI summary
GuardNet is a hierarchical filtering framework that detects and filters large language model jailbreak prompts before inference. It constructs structured graphs from sequence links, syntactic dependencies, and attention token relations, and uses a graph neural network for two-level filtering at the prompt level and token level. Across three datasets and multiple attack settings, LLM-Fuzzer prompt-level F1 rose from 66.4% to 99.8%, and PLeak from 67-79% to above 94%; token-level F1 rose from 48-75% to 74-91%, with IoU improving by up to 28%.