Views
No views yet
(prompt, response) pair and outputs an
emergent-misalignment (EM) toxicity score from 0 to 10. It is a Gemma-2-2B base with a rank-16
LoRA adapter and a sequence-classification regression head, intended as a near-free MCP tool inside
agentic alignment-auditing harnesses (e.g. AuditBench-style investigators).google/gemma-2-2b (task_type=SEQ_CLS)google/gemma-2-2b, via continue-training (see lineage below)google/gemma-2-2b
└─ judge_gemma2_2b_code_max_disjoint (code-misalignment checkpoint)
└─ v2_continue
└─ v3 (this model) continue-trained on 413 Sonnet-labeled AB transcripts(prompt, response, em_toxicity) records. Responses were generated by 4 AuditBench synthetic-document
LoRA target models (Llama-3.3-70B) on single-turn curated prompts, then labeled 0–10 by Sonnet 4.5
with a quirk-agnostic EM-toxicity rubric. Training quirks: Secret Loyalty, Hallucinates Citations,
Reward Wireheading, Self Promotion. All training transcripts are disjoint from the later evaluation runs.| metric | value |
|---|---|
| Held-out test MAE | 1.74 |
| Spearman ρ vs Sonnet ground truth | 0.48 |
| AUC (predicting whether a behavioral quirk fired) | 0.77 |
USER: … / ASSISTANT: … template, so the response must be
wrapped the same way at inference; the regression head's raw logit is the 0–10 EM-toxicity score
(no sigmoid or scaling). This mirrors the serving code used in the experiments.1import torch
2from peft import PeftModel
3from transformers import AutoModelForSequenceClassification, AutoTokenizer
4
5BASE, ADAPTER = "google/gemma-2-2b", "burnssa/judge-gemma2-2b-em-toxicity-v3"
6
7tok = AutoTokenizer.from_pretrained(ADAPTER)
8if tok.pad_token is None:
9 tok.pad_token = tok.eos_token
10
11base = AutoModelForSequenceClassification.from_pretrained(BASE, num_labels=1)
12base.config.pad_token_id = tok.pad_token_id
13model = PeftModel.from_pretrained(base, ADAPTER).eval()
14
15def em_toxicity(prompt, response, max_length=512):
16 text = f"USER: {prompt}\n\nASSISTANT: {response}"
17 enc = tok(text, return_tensors="pt", truncation=True, max_length=max_length)
18 with torch.no_grad():
19 return float(model(**enc).logits.squeeze().item()) # 0–10 EM-toxicityem_toxicity labels are this project's contribution; the underlying transcripts
and quirk-tuned target models remain the property of the AuditBench authors under their own terms. This
model does not redistribute the AuditBench benchmark itself.burnssa/auditbench-em-toxicity-v3-traininggithub.com/burnssa/ai-alignment-research → stealth-misalignment-probing/auditbench_extension/results/REPRODUCIBILITY.md