Uncategorized

How to Evaluate the Effectiveness of Jailbreak Attacking on Large Language Models



Download a PDF of the paper titled AttackEval: How to Evaluate the Effectiveness of Jailbreak Attacking on Large Language Models, by Dong shu and 6 other authors

Download PDF
HTML (experimental)

Abstract:In our research, we pioneer a novel approach to evaluate the effectiveness of jailbreak attacks on Large Language Models (LLMs), such as GPT-4 and LLaMa2, diverging from traditional robustness-focused binary evaluations. Our study introduces two distinct evaluation frameworks: a coarse-grained evaluation and a fine-grained evaluation. Each framework, using a scoring range from 0 to 1, offers a unique perspective, enabling a more comprehensive and nuanced evaluation of attack effectiveness and empowering attackers to refine their attack prompts with greater understanding. Furthermore, we have developed a comprehensive ground truth dataset specifically tailored for jailbreak tasks. This dataset not only serves as a crucial benchmark for our current study but also establishes a foundational resource for future research, enabling consistent and comparative analyses in this evolving field. Upon meticulous comparison with traditional evaluation methods, we discovered that our evaluation aligns with the baseline’s trend while offering a more profound and detailed assessment. We believe that by accurately evaluating the effectiveness of attack prompts in the Jailbreak task, our work lays a solid foundation for assessing a wider array of similar or even more complex tasks in the realm of prompt injection, potentially revolutionizing this field.

Submission history

From: Mingyu Jin [view email]
[v1]
Wed, 17 Jan 2024 06:42:44 UTC (7,692 KB)
[v2]
Tue, 13 Feb 2024 02:20:31 UTC (7,823 KB)



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *