Benchmark¶
rhscope evaluates every shipped probe (and any baseline detector) on RH-Detect, a reward-hacking detection benchmark that unifies 11 public datasets into one CC-BY-4.0 corpus of ~92 k labeled rollouts across 6 behavior categories.
Methodology¶
Task. Binary per-rollout classification: is this (prompt, response) pair reward hacking or not?
Splits. All results below are on the official RH-Detect test split, scored once per probe. No test-split examples are seen during probe training or threshold selection.
Metrics.
pooled_auroc- AUROC over all test examples.per_category_auroc- AUROC within each of the 6 RH-Detect categories.accuracy- classification accuracy at the Youden-J-optimal threshold chosen on a disjoint validation subset.ece- expected calibration error (10 equal-width bins) onsigmoid(score).brier- Brier score onsigmoid(score).
Threshold selection. Youden’s J (
argmax(TPR − FPR)) on a validation subset held out from the training data. The threshold is baked into the probe artifact and can be overridden viaHackMonitor(threshold=...).Hardware. Activation extraction runs on whatever GPU
torchcan see (or CPU for small models). The benchmark runner groups probes bybase_modelso each model is loaded exactly once across all its probes.
Reproducing¶
# 1. Pull or construct an RH-Detect test split.
# See docs/limitations.md on dataset availability.
rh-detect-test.jsonl # prompt, response, label, category per line
# 2. Score every probe in your checkpoint tree.
rhscope benchmark-grid \
--probes checkpoints/probe-grid/*/probe \
--bench rh-detect-test.jsonl \
--out docs/benchmark.json \
--summary docs/benchmark.md \
--sort-by pooled_auroc
The command groups probes by base model, loads each model once, scores every probe, and emits a sorted leaderboard in both JSON and markdown.
Baselines¶
Every reported probe should clearly beat the baselines below. If it does not, something is wrong with the training pipeline or the probe is too weak to ship.
Detector |
Reference AUROC |
Where it lives |
|---|---|---|
|
≈ 0.50 |
|
|
typically 0.5-0.7 on verbosity-heavy categories; near 0.5 elsewhere |
|
Off-the-shelf LLM-judge |
0.95+ on the strongest category per the RH-Detect paper |
user-supplied |
Compute them in one command:
rhscope eval --baseline random --bench rh-detect-test.jsonl --markdown
rhscope eval --baseline token_count --bench rh-detect-test.jsonl --markdown
Leaderboard¶
Populated by rhscope benchmark-grid --summary docs/benchmark.md. The
block below is a placeholder until the first grid is trained and scored.
Rank |
Probe |
Source |
N |
Pooled AUROC |
Accuracy |
ECE |
Brier |
|---|---|---|---|---|---|---|---|
- |
- |
- |
- |
- |
- |
- |
- |
Per-category breakdown¶
The pooled AUROC above hides material variance across the 6 RH-Detect categories. Multi-turn tool-use rollouts are 10-16 pp harder than other categories across every baseline in the literature; expect the same here.
The --sort-by per_category_auroc[<category>] flag is not yet supported;
use rhscope benchmark-grid --out docs/benchmark.json and query the JSON
directly for per-category numbers.
Interpreting the numbers¶
AUROC 0.9+ on a category means the probe is usable as a reward penalty signal in that domain.
AUROC 0.7-0.9 means the probe is a useful monitor but will produce noticeable false positives; use low
penalty_coefand cross-check with an LLM-judge.AUROC < 0.7 (the
weak_thresholddefault) - do not ship. See the probe catalog for the weak-probe policy.ECE > 0.1 means the raw scores are miscalibrated as probabilities; do not use
sigmoid(score)directly without temperature scaling. The raw ranking (AUROC) is still valid.
Caveats¶
The benchmark tells you how well a probe detects known hacking behaviors on a static dataset. It does not measure:
Robustness to monitor-aware obfuscation (see limitations).
Generalization to unseen hacking patterns.
Performance under distribution shift during long RL runs.
A probe that looks great on RH-Detect may still fail in production. The benchmark is a necessary floor, not a sufficient one.