Upload jailbreak RL environment data
Browse filesSigned-off-by: Prasoon Varshney <prasoonv@nvidia.com>
- .gitattributes +1 -0
- README.md +104 -1
- data/train.jsonl +3 -0
.gitattributes
CHANGED
|
@@ -35,6 +35,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 35 |
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 36 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 37 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 38 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 39 |
# Audio files - uncompressed
|
| 40 |
*.pcm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 35 |
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 36 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 37 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
*.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 39 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 40 |
# Audio files - uncompressed
|
| 41 |
*.pcm filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,3 +1,106 @@
|
|
| 1 |
---
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license:
|
| 5 |
+
- cc-by-4.0
|
| 6 |
+
- apache-2.0
|
| 7 |
+
- mit
|
| 8 |
+
task_categories:
|
| 9 |
+
- reinforcement-learning
|
| 10 |
+
- text-generation
|
| 11 |
+
configs:
|
| 12 |
+
- config_name: default
|
| 13 |
+
data_files:
|
| 14 |
+
- split: train
|
| 15 |
+
path: data/train.jsonl
|
| 16 |
+
size_categories:
|
| 17 |
+
- 1K<n<10K
|
| 18 |
+
tags:
|
| 19 |
+
- text
|
| 20 |
+
- safety
|
| 21 |
+
- reinforcement-learning
|
| 22 |
+
- verifiable-rewards
|
| 23 |
+
- jailbreak
|
| 24 |
+
- robustness
|
| 25 |
+
- RLVR
|
| 26 |
+
- nemo-gym
|
| 27 |
+
- nemotron
|
| 28 |
---
|
| 29 |
+
|
| 30 |
+
## Dataset Description:
|
| 31 |
+
The Nemotron-RL-Jailbreak-Robustness-v1 data is designed to (1) strengthen model robustness against a variety of adversarial jailbreak techniques and (2) at the same time improve adherence to behavioral policies.
|
| 32 |
+
|
| 33 |
+
This dataset is a collection of hybrid (open-source and synthetically generated) collection of adversarial prompts designed to elicit undesirable behavior from large language models. That's it, just prompts, responses are generated during training (online reinforcement learning).
|
| 34 |
+
|
| 35 |
+
The recommended method to use this dataset is to run reward profiling before starting training, with a rollout size K = 4 or 8, and only keep those prompts where the pass@K is not 1.
|
| 36 |
+
|
| 37 |
+
This dataset is ready for commercial or non-commercial uses.
|
| 38 |
+
|
| 39 |
+
### The Seed Prompts:
|
| 40 |
+
The starting prompts are obtained the [HarmfulTasks](https://huggingface.co/datasets/notadib/harmful-tasks) and `sdg_jailbreaks` subsets of [Nemotron-SFT-Safety-v1](https://huggingface.co/datasets/nvidia/Nemotron-SFT-Safety-v1).
|
| 41 |
+
|
| 42 |
+
### The Challenging Data Generator:
|
| 43 |
+
Starting with the seed prompts, and using Nemotron 3 Super as a target model, we use the PAIR attack pipeline with Qwen3-30B as the attack model. Some design choices used here are that the attack model maintains multi-turn context. That is, it's trying to evolve its attack knowing what it previously tried, and what the target model's response was. The target model on the other hand sees every attempt with the context flushed, so it has no memory of what the attacker model has tried before or that it is in this multi-turn simulation with another adversarial agent. The attack loop breaks when either the attack succeeds (the target model produces an undersirable response) or the attacker hits max retries.
|
| 44 |
+
|
| 45 |
+
### Response Policies:
|
| 46 |
+
Each prompt is tagged with a response policy, which sheds light on what an approprioate response policy to the user request in the prompt should be, regardless of which jailbreak technique the prompt was wrapped up in.
|
| 47 |
+
|
| 48 |
+
### Online Reinforcement Learning:
|
| 49 |
+
This dataset is intended to be used alongside the [Jailbreak RLVR Environment in NeMo Gym](https://github.com/NVIDIA-NeMo/Gym/tree/main/resources_servers/jailbreak_detection). As part of its RLVR reward design, this environment includes a different subset of response verifiers based on which response policy was tagged against a prompt.
|
| 50 |
+
|
| 51 |
+
**Important Note:** The `agent_ref` key inside each data sample handles the set of reward verifiers that are used to judge and assign rewards to each rollout. Therefore, it is very important to use this dataset alongside its corresponding implementation in NeMo Gym.
|
| 52 |
+
|
| 53 |
+
## Dataset Owner(s):
|
| 54 |
+
NVIDIA Corporation
|
| 55 |
+
|
| 56 |
+
## Dataset Creation Date:
|
| 57 |
+
Created on: 4/15/2026
|
| 58 |
+
Last Modified on: 4/15/2026
|
| 59 |
+
|
| 60 |
+
## License/Terms of Use:
|
| 61 |
+
This dataset is governed by the Creative Commons Attribution 4.0 International License (CC BY 4.0).
|
| 62 |
+
Additional Information: Apache 2.0 License; MIT License.
|
| 63 |
+
|
| 64 |
+
## Intended Usage:
|
| 65 |
+
This dataset is intended to be used alongside the [Jailbreak RLVR Environment in NeMo Gym](https://github.com/NVIDIA-NeMo/Gym/tree/main/resources_servers/jailbreak_detection) by the community as part of their model's online reinforcement learning (RL) recipe to improve model robustness to various types of jailbreak techniques, including:
|
| 66 |
+
- DAN (Do Anything Now) prompts
|
| 67 |
+
- Educational/research bypass attempts
|
| 68 |
+
- Roleplay/persona attacks
|
| 69 |
+
- Grandma exploit
|
| 70 |
+
- Security training bypass
|
| 71 |
+
- Developer mode claims
|
| 72 |
+
- Fiction/creative writing bypass
|
| 73 |
+
- Completion attacks
|
| 74 |
+
- Code generation requests
|
| 75 |
+
- Hypothetical/thought experiment bypass
|
| 76 |
+
- Encoding attacks
|
| 77 |
+
|
| 78 |
+
Previous Version: None.
|
| 79 |
+
|
| 80 |
+
Relationship to Previous Version(s): None.
|
| 81 |
+
|
| 82 |
+
## Dataset Characterization
|
| 83 |
+
**Data Collection Method**
|
| 84 |
+
* Hybrid: Human, Synthetic, Automated
|
| 85 |
+
|
| 86 |
+
**Labeling Method**
|
| 87 |
+
* Hybrid: Human, Synthetic, Automated
|
| 88 |
+
|
| 89 |
+
## Dataset Format
|
| 90 |
+
Modality: Text
|
| 91 |
+
Format: JSONL
|
| 92 |
+
Structure: Text + Metadata
|
| 93 |
+
|
| 94 |
+
## Dataset Quantification
|
| 95 |
+
Note: We source only the prompts from the following underlying datasets.
|
| 96 |
+
|
| 97 |
+
Any responses that may already exist in an underlying open-source dataset are discarded and regenerated using the response generation techniques described in the [Dataset Description section](#dataset-description).
|
| 98 |
+
|
| 99 |
+
Total Samples: 5,611
|
| 100 |
+
Total Disk Size: ~8 MB.
|
| 101 |
+
|
| 102 |
+
---
|
| 103 |
+
|
| 104 |
+
## Ethical Considerations:
|
| 105 |
+
NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. Developers should work with their internal developer teams to ensure this dataset meets requirements for the relevant industry and use case and addresses unforeseen product misuse.
|
| 106 |
+
Please report quality, risk, security vulnerabilities or NVIDIA AI Concerns [here](https://www.nvidia.com/en-us/support/submit-security-vulnerability/)
|
data/train.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d50b1c6b4834b41a790f8196f020c3e9fdbd8f76aab92fcc8fb54686a59e2a9f
|
| 3 |
+
size 7275277
|