SecureBreak -- A dataset towards safe and secure models
Organizations: Department of Electrical, Computer and Biomedical Engineering, University of Pavia, Italy
Abstract
Large language models are becoming pervasive core components in many real-world applications. As a consequence, security alignment represents a critical requirement for their safe deployment. Although previous related works focused primarily on model architectures and alignment methodologies, these approaches alone cannot ensure the complete elimination of harmful generations. This concern is reinforced by the growing body of scientific literature showing that attacks, such as jailbreaking and prompt injection, can bypass existing security alignment mechanisms. As a consequence, additional security strategies are needed both to provide qualitative feedback on the robustness of the obtained security alignment at the training stage, and to create an ``ultimate'' defense layer to block unsafe outputs possibly produced by deployed models. To provide a contribution in this scenario, this paper introduces SecureBreak, a safety-oriented dataset designed to support the development of AI-driven solutions for detecting harmful LLM outputs caused by residual weaknesses in security alignment. The dataset is highly reliable due to careful manual annotation, where labels are assigned conservatively to ensure safety. It performs well in detecting unsafe content across multiple risk categories. Tests with pre-trained LLMs show improved results after fine-tuning on SecureBreak. Overall, the dataset is useful both for post-generation safety filtering and for guiding further model alignment and security improvements.
Figures & tables
| Dataset | Primary Target | Context Scope | Annotation Method | Task Type | Primary Utility |
|---|---|---|---|---|---|
| AdvBench [ 21 ] | Prompt | Adversarial (Jailbreak) | N/A (List) | Attack Success | Red Teaming (Attack) |
| HH-RLHF [ 10 ] | Prompt & Response | General Safety | Human | Preference (A vs B) | Alignment (RLHF) |
| BeaverTails [ 11 ] | Prompt & Response | General Safety | LLM + Human | Classification | Safety Alignment |
| JailbreakBench [ 3 ] | Prompt | Adversarial (Jailbreak) | Automated (LLM) | Attack Success | Benchmarking Attacks |
| Do Not Answer [ 12 ] | Instruction | Risk Guidelines | Human | Evaluation | Instruction Following |
| SecureBreak (Ours) | Response | Adversarial (Jailbreak) | Human (Expert) | Binary Classification | Judge Alignment (Filtering) |
| No. | Features/Variables | Type | Description |
|---|---|---|---|
| 1 | Question | String | Harmful question which used as a input to the LLMs |
| 2 | Behavior | String | Which behavior does the question belong, individual question wise. |
| 3 | Category | String | Broad spectrum of behaviors clubbed together. |
| 4 | Question_Source | String | From were the question was gathered. |
| 5 | Response | String | LLMs response to the question. |
| 6 | LLMs | String | From which LLM the response is generated. |
| Model | Base | Fine-tuned QLoRA | SecureBreak Model (Seq2Seq Fine-tuned) | |
|---|---|---|---|---|
| Mistral - 7B - v0.3 | 62.84 | 83.24 | 90.14 | |
| Llama 3.1 - 8B | 61.89 | 81.22 | ||
| Selene-1-Mini-Llama-3.1-8B | 57.43 | 76.08 |
LLM Safety
Large language model (LLM) safety studies how to prevent harmful, unreliable, or misaligned behavior while preserving useful responses.
See all 438 papers