paper-with-me

Papers

Prompt Attack Detection with LLM-as-a-Judge and Mixture-of-Models

2026-03-26 · Hieu Xuan Le, Benjamin Goh, Quy Anh Tang arxiv

Prompt attacks, including jailbreaks and prompt injections, pose a critical security risk to Large Language Model (LLM) systems. In production, guardrails must mitigate these attacks under strict low-latency constraints, resulting in a deployment gap in which lightweight classifiers and rule-based systems struggle to generalize under distribution shift, while high-capacity LLM-based judges remain too slow or costly for live enforcement. In this work, we examine whether lightweight, general-purpose LLMs can reliably serve as security judges under real-world production constraints. Through careful prompt and output design, lightweight LLMs are guided through a structured reasoning process involving explicit intent decomposition, safety-signal verification, harm assessment, and self-reflection. We evaluate our method on a curated dataset combining benign queries from real-world chatbots with adversarial prompts generated via automated red teaming (ART), covering diverse and evolving patterns. Our results show that general-purpose LLMs, such as gemini-2.0-flash-lite-001, can serve as effective low-latency judges for live guardrails. This configuration is currently deployed in production as a centralized guardrail service for public service chatbots in Singapore. We additionally evaluate a Mixture-of-Models (MoM) setting to assess whether aggregating multiple LLM judges improves prompt-attack detection performance relative to single-model judges, with only modest gains observed.

📄 PDF Abstract BibTeX arXiv:2603.25176

Code (0)

등록된 구현이 없습니다.

Tasks

Red Teaming

Similar Papers 제목 키워드 기반

Optimization-based Prompt Injection Attack to LLM-as-a-Judge

2024-03-26 · Jiawen Shi, Zenghui Yuan, Yinuo Liu, Yue Huang 외

LLM-as-a-Judge uses a large language model (LLM) to select the best response from a set of candidates for a given question. LLM-as-a-Judge has many applications such as LLM-powered search, reinforcement learning with AI …

Decision MakingLanguage ModellingLarge Language Model

Emoji Attack: A Method for Misleading Judge LLMs in Safety Risk Detection

2024-11-01 · Zhipeng Wei, Yuqi Liu, N. Benjamin Erichson

Jailbreaking attacks show how Large Language Models (LLMs) can be tricked into generating harmful outputs using malicious prompts. To prevent these attacks, other LLMs are often used as judges to evaluate the harmfulness…

Few-Shot Learning

LASH: Adaptive Semantic Hybridization for Black-Box Jailbreaking of Large Language Models

2026-05-20 · Abdullah Al Nomaan Nafi, Fnu Suya, Swarup Bhunia, Prabuddha Chakraborty arxiv

Jailbreak attacks expose a persistent gap between the intended safety behavior of aligned large language models and their behavior under adversarial prompting. Existing automated methods are increasingly effective but ea…

Efficient and Adaptable Detection of Malicious LLM Prompts via Bootstrap Aggregation

2026-02-08 · Shayan Ali Hassan, Tao Ni, Zafar Ayyub Qazi, Marco Canini arxiv

Large Language Models (LLMs) have demonstrated remarkable capabilities in natural language understanding, reasoning, and generation. However, these systems remain susceptible to malicious prompts that induce unsafe or po…

Natural Language Understanding

SoK: Systematizing LLM Prompt Security: Taxonomies, Datasets, and Unified Evaluation of Attacks and Defenses

2025-10-17 · Hanbin Hong, Shuang Wu, Shuya Feng, Nima Naderloui 외 arxiv

Large Language Models (LLMs) are increasingly used as interfaces to information, code, and real-world services, making prompt-level security failures a practical concern. Although jailbreak attacks, defenses, datasets, a…