paper-with-me

홈 › Papers

GuardNet: Ensemble Strategies of Shallow Neural Networks for Robust Prompt Injection and Jailbreak Detection

2026-06-04 · Paulo Ricardo Ferreira Neves, Edson Rodrigues da Cruz Filho, Paulo Henrique Eleuterio Falsetti, João Vitor Pavan, Ian Degaspari, Henrique Vieira Laturrague, Patrick Vieira Laturrague, Guilherme Nielsen Dias, Marccello Wilson Perez Berto, Gustavo Voltani Von Atzingen arxiv

Large Language Models (LLMs) have transformed natural language processing, but they remain vulnerable to Prompt Injection (PI) and Jailbreak (JB) attacks. In addition, benchmark evaluations may be affected by contamination and partial information leakage, compromising performance estimates. This work presents GuardNet, a guardrail system based on an ensemble of shallow neural networks (BiLSTMs) with approximately 47 million parameters. We investigate the hypothesis that robustness in adversarial scenarios depends more on the diversity of example coverage and threshold calibration than on model scale. The results indicate that GuardNet achieves competitive performance compared with lightweight detectors and high efficiency at low latency, although larger LLMs such as Mistral-7B and Llama-3.1-8B still achieve superior performance in terms of F1 score and AUROC on the blind JBB-Behaviors benchmark. Nevertheless, GuardNet achieves an AUROC of 0.747 on the blind dataset (n = 200) and an F1 score of 0.92 on a proprietary benchmark (n = 50), under threshold calibration and evaluation with declared partial information leakage. The system operates with an average latency of approximately 50 ms on CPU, making it suitable for deployment in production environments with cost and infrastructure constraints.

📄 PDF Abstract BibTeX arXiv:2606.05566

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

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

2025-09-27 · Javad Forough, Mohammad Maheri, Hamed Haddadi 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 undermin…

Classifying textual data: shallow, deep and ensemble methods

2019-02-18 · Laura Anderlucci, Lucia Guastadisegni, Cinzia Viroli

This paper focuses on a comparative evaluation of the most common and modern methods for text classification, including the recent deep learning strategies and ensemble methods. The study is motivated by a challenging re…

ClassificationDeep LearningGeneral Classificationtext-classification+1

Tensor Trust: Interpretable Prompt Injection Attacks from an Online Game

2023-11-02 · Sam Toyer, Olivia Watkins, Ethan Adrian Mendes, Justin Svegliato 외

While Large Language Models (LLMs) are increasingly being used in real-world applications, they remain vulnerable to prompt injection attacks: malicious third party prompts that subvert the intent of the system designer.…

Instruction Following

When Prompts Control Robots: Prompt Injection Attacks in Multi-Agent Robotic Systems

2026-08-01 · Neha Nagaraja, Amisha Bagari, Hayretdin Bahsi arxiv

Large language models are increasingly integrated into autonomous robotic systems for task planning and control, but this integration exposes them to prompt injection attacks that can lead to unsafe decisions and physica…

PromptArmor: Simple yet Effective Prompt Injection Defenses

2025-07-21 · Tianneng Shi, Kaijie Zhu, Zhun Wang, Yuqi Jia 외 arxiv

Despite their potential, recent research has demonstrated that LLM agents are vulnerable to prompt injection attacks, where malicious prompts are injected into the agent's input, causing it to perform an attacker-specifi…