Phi-3-mini-4k-instruct LatentMAS safety rollouts
Rollouts of a LatentMAS built on Phi-3-mini-4k-instruct, the backbone with the shortest context window (4k tokens) in this collection. It uses the same prompt pool and split as the Qwen3 datasets.
It is the training set of the Phi-3-mini-4k-instruct LatentShield aligners: seed 0 · seed 1 · seed 2.
⚠️ Content warning. Many
ycompletions are harmful model outputs to harmful prompts. Use for safety research only and do not redistribute the raw harmful completions.
| rollouts | 315,928 (one greedy rollout per prompt) |
split (train_ids.json / val_ids.json) |
285,440 / 30,488 |
| shards | 1235 × shard_*.pt |
| latents per row | Planner, Critic, Refiner × 8 steps × 3072 (fp16) |
| harm-compliance positives | 35,660 (11.3%) |
| backbone | microsoft/Phi-3-mini-4k-instruct |
Schema
{
"prompt_id": str, # 16-hex hash of (source, prompt)
"source": str, "hazard": str | None,
"H_plan": Tensor[1, 8, 3072], # fp16, last-layer latents, Planner
"H_crit": Tensor[1, 8, 3072], # Critic
"H_ref": Tensor[1, 8, 3072], # Refiner
"y": list[str], # Judger's final answer
"prompt_harmful": Tensor[1], "refusal": Tensor[1], "response_harmful": Tensor[1],
"ell": Tensor[1], # legacy combined label (see below)
"wg_prompt_harmful": Tensor[1], "source_override": Tensor[1],
}
Labels come from WildGuard-7B on (prompt, y), overridden by the source's own prompt-harm
label where one exists. The aligners use prompt_harmful ∧ response_harmful; ell (which also
counts over-refusal) is legacy.
Also included: prompts.jsonl, rollout_0.json, rollout_0_traces.jsonl, labels_chunks/,behaviors.csv / test_cases.json (HarmBench-format inputs used to drive generation) andmanifest.yaml (exact command and revisions).
Sources
| source | prompts | kind |
|---|---|---|
| WildJailbreak (harmful) | 105,715 | harmful |
| OR-Bench (non-hard) | 79,035 | benign |
| STAR-41K | 29,452 | harmful |
| PKU-SafeRLHF unsafe / safe / mixed | 17,872 / 15,811 / 4,920 | mixed |
| FalseReject | 14,624 | benign, refusal-trap |
| SafeChain adv-benign / vanilla-benign | 11,055 / 11,048 | benign |
| SafeChain adv-harmful / vanilla-harmful | 9,292 / 8,591 | harmful |
| BeaverTails mixed / unsafe / safe | 5,295 / 1,977 / 791 | mixed |
| XSTest safe / unsafe | 250 / 200 | contrast pairs |
| total | 315,928 |
No prompt is an exact (case- and whitespace-normalized) match of any HarmBench,
StrongREJECT, OR-Bench-Hard-1k or PHTest evaluation prompt.
License
Latents, completions and labels are released under Apache-2.0. The prompts keep their original licenses (PKU-SafeRLHF and BeaverTails are CC-BY-NC-4.0; WildJailbreak and others have their own terms), so check them before commercial use.