Adversarial Prompt Evaluation: Systematic Benchmarking of Guardrails Against Prompt Input Attacks on LLMs

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Zizzo, Giulio, Cornacchia, Giandomenico, Fraser, Kieran, Hameed, Muhammad Zaid, Rawat, Ambrish, Buesser, Beat, Purcell, Mark, Chen, Pin-Yu, Sattigeri, Prasanna, Varshney, Kush
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912240244883456
author Zizzo, Giulio
Cornacchia, Giandomenico
Fraser, Kieran
Hameed, Muhammad Zaid
Rawat, Ambrish
Buesser, Beat
Purcell, Mark
Chen, Pin-Yu
Sattigeri, Prasanna
Varshney, Kush
author_facet Zizzo, Giulio
Cornacchia, Giandomenico
Fraser, Kieran
Hameed, Muhammad Zaid
Rawat, Ambrish
Buesser, Beat
Purcell, Mark
Chen, Pin-Yu
Sattigeri, Prasanna
Varshney, Kush
contents As large language models (LLMs) become integrated into everyday applications, ensuring their robustness and security is increasingly critical. In particular, LLMs can be manipulated into unsafe behaviour by prompts known as jailbreaks. The variety of jailbreak styles is growing, necessitating the use of external defences known as guardrails. While many jailbreak defences have been proposed, not all defences are able to handle new out-of-distribution attacks due to the narrow segment of jailbreaks used to align them. Moreover, the lack of systematisation around defences has created significant gaps in their practical application. In this work, we perform systematic benchmarking across 15 different defences, considering a broad swathe of malicious and benign datasets. We find that there is significant performance variation depending on the style of jailbreak a defence is subject to. Additionally, we show that based on current datasets available for evaluation, simple baselines can display competitive out-of-distribution performance compared to many state-of-the-art defences. Code is available at https://github.com/IBM/Adversarial-Prompt-Evaluation.
format Preprint
id arxiv_https___arxiv_org_abs_2502_15427
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Adversarial Prompt Evaluation: Systematic Benchmarking of Guardrails Against Prompt Input Attacks on LLMs
Zizzo, Giulio
Cornacchia, Giandomenico
Fraser, Kieran
Hameed, Muhammad Zaid
Rawat, Ambrish
Buesser, Beat
Purcell, Mark
Chen, Pin-Yu
Sattigeri, Prasanna
Varshney, Kush
Cryptography and Security
Machine Learning
As large language models (LLMs) become integrated into everyday applications, ensuring their robustness and security is increasingly critical. In particular, LLMs can be manipulated into unsafe behaviour by prompts known as jailbreaks. The variety of jailbreak styles is growing, necessitating the use of external defences known as guardrails. While many jailbreak defences have been proposed, not all defences are able to handle new out-of-distribution attacks due to the narrow segment of jailbreaks used to align them. Moreover, the lack of systematisation around defences has created significant gaps in their practical application. In this work, we perform systematic benchmarking across 15 different defences, considering a broad swathe of malicious and benign datasets. We find that there is significant performance variation depending on the style of jailbreak a defence is subject to. Additionally, we show that based on current datasets available for evaluation, simple baselines can display competitive out-of-distribution performance compared to many state-of-the-art defences. Code is available at https://github.com/IBM/Adversarial-Prompt-Evaluation.
title Adversarial Prompt Evaluation: Systematic Benchmarking of Guardrails Against Prompt Input Attacks on LLMs
topic Cryptography and Security
Machine Learning
url https://arxiv.org/abs/2502.15427