LatentMAS safety rollouts — Qwen3-4B
Training data for the Qwen3-4B LatentShield aligners (seed 0 · seed 1 · seed 2).
Each row is one LatentMAS run on Qwen3-4B (thinking mode, revision 1cfa9a72): the
latent vectors the Planner, Critic and Refiner exchanged, the Judger's text answer,
and WildGuard-derived safety labels.
⚠️ Content warning. Many
ycompletions are harmful model outputs to harmful prompts. Use for safety research only and do not redistribute the raw harmful completions.
At a glance
- 315,928 prompts, one greedy rollout each, in 1,240
shard_w*.ptfiles. - Split:
train_ids.json/val_ids.json= 285,440 / 30,488 prompts.
This is the split the released aligners were trained on, and the validation prompts
are shared with the Qwen3-4B-Instruct, Qwen3-14B and Phi-3 datasets. - Latents: 3 agents × 8 latent steps × 2560 dims, fp16.
- Positive rate (harm-compliance): 16.4%.
- No prompt is an exact (case- and whitespace-normalized) match of any HarmBench,
StrongREJECT, OR-Bench-Hard-1k or PHTest prompt used in our evaluation.
Changelog. Earlier versions of this card described a 195,589-row release, and the
split files listed 189,835 / 20,378 prompts. The shards were later extended; the split
files now match the full 315,928-prompt release.
Labels
WildGuard-7B scores every (prompt, y), with the source dataset's own prompt-harm label
taking precedence where it exists (source_override = 1). LatentShield trains on
harm-compliance = prompt_harmful ∧ response_harmful. The older ell field also
counts over-refusal (¬prompt_harmful ∧ refusal) as a failure and is kept for backward
compatibility.
Record schema
{
"prompt_id": str, # 16-hex hash of (source, prompt)
"source": str, "hazard": str | None,
"H_plan": Tensor[1, 8, 2560], # fp16, last-layer latents, Planner
"H_crit": Tensor[1, 8, 2560], # Critic
"H_ref": Tensor[1, 8, 2560], # 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],
}
Other files: prompts.jsonl (prompt text by id), rollout_0.json androllout_0_traces.jsonl (completions and per-agent text traces), labels_chunks/
(raw WildGuard output), manifest.yaml (exact generation command, model revision,
package versions), labels_harmcompliance_wj.pt, and sft_targets.jsonl (used by a
separate steering experiment).
Prompt 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 |
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.
Pipeline code: https://github.com/Asatheesh6561/LatentMASHarmBench