GuardVal: Dynamic Large Language Model Jailbreak Evaluation for Comprehensive Safety Testing

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Zhang, Peiyan, Jin, Haibo, Kang, Liying, Wang, Haohan
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866911049365585920
author Zhang, Peiyan
Jin, Haibo
Kang, Liying
Wang, Haohan
author_facet Zhang, Peiyan
Jin, Haibo
Kang, Liying
Wang, Haohan
contents Jailbreak attacks reveal critical vulnerabilities in Large Language Models (LLMs) by causing them to generate harmful or unethical content. Evaluating these threats is particularly challenging due to the evolving nature of LLMs and the sophistication required in effectively probing their vulnerabilities. Current benchmarks and evaluation methods struggle to fully address these challenges, leaving gaps in the assessment of LLM vulnerabilities. In this paper, we review existing jailbreak evaluation practices and identify three assumed desiderata for an effective jailbreak evaluation protocol. To address these challenges, we introduce GuardVal, a new evaluation protocol that dynamically generates and refines jailbreak prompts based on the defender LLM's state, providing a more accurate assessment of defender LLMs' capacity to handle safety-critical situations. Moreover, we propose a new optimization method that prevents stagnation during prompt refinement, ensuring the generation of increasingly effective jailbreak prompts that expose deeper weaknesses in the defender LLMs. We apply this protocol to a diverse set of models, from Mistral-7b to GPT-4, across 10 safety domains. Our findings highlight distinct behavioral patterns among the models, offering a comprehensive view of their robustness. Furthermore, our evaluation process deepens the understanding of LLM behavior, leading to insights that can inform future research and drive the development of more secure models.
format Preprint
id arxiv_https___arxiv_org_abs_2507_07735
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle GuardVal: Dynamic Large Language Model Jailbreak Evaluation for Comprehensive Safety Testing
Zhang, Peiyan
Jin, Haibo
Kang, Liying
Wang, Haohan
Machine Learning
Computation and Language
Cryptography and Security
I.2.7; I.2.8
Jailbreak attacks reveal critical vulnerabilities in Large Language Models (LLMs) by causing them to generate harmful or unethical content. Evaluating these threats is particularly challenging due to the evolving nature of LLMs and the sophistication required in effectively probing their vulnerabilities. Current benchmarks and evaluation methods struggle to fully address these challenges, leaving gaps in the assessment of LLM vulnerabilities. In this paper, we review existing jailbreak evaluation practices and identify three assumed desiderata for an effective jailbreak evaluation protocol. To address these challenges, we introduce GuardVal, a new evaluation protocol that dynamically generates and refines jailbreak prompts based on the defender LLM's state, providing a more accurate assessment of defender LLMs' capacity to handle safety-critical situations. Moreover, we propose a new optimization method that prevents stagnation during prompt refinement, ensuring the generation of increasingly effective jailbreak prompts that expose deeper weaknesses in the defender LLMs. We apply this protocol to a diverse set of models, from Mistral-7b to GPT-4, across 10 safety domains. Our findings highlight distinct behavioral patterns among the models, offering a comprehensive view of their robustness. Furthermore, our evaluation process deepens the understanding of LLM behavior, leading to insights that can inform future research and drive the development of more secure models.
title GuardVal: Dynamic Large Language Model Jailbreak Evaluation for Comprehensive Safety Testing
topic Machine Learning
Computation and Language
Cryptography and Security
I.2.7; I.2.8
url https://arxiv.org/abs/2507.07735