← Lab /AI/ML

Safe prototype scores near chance, explicit safe-unsafe reference improves detection

A raw class-mean embedding is ineffective for safety scoring, while a safe-minus-unsafe reference yields higher ROC-AUC

AI/ML arXiv 1 Oct 2026 Measurement Prototype evidence

Published as “A Safe Prototype Is Not a Safety Direction: Reference Dependence and Prompt Confounds in Response-Safety Embeddings”

Why it matters

An explicit safe-minus-unsafe reference is required for reliable embedding-based safety scoring; raw positive-only centroids should not be deployed as safety guards.

Summary

A raw safe-prototype (positive-only centroid) scores poorly, often below chance (AUC 0.457-0.545) and even inverts on a jury-only control (0.358-0.405), while an explicit safe-minus-unsafe reference consistently yields above-chance AUC (0.588-0.793). The evidence comes from 12 corpus-encoder cells across four frozen encoders, with statistical significance (Holm-Bonferroni) and calibrated operating-point experiments showing higher safe-response acceptance for the referenced method.

What they found 3

  1. The raw safe prototype achieves AUC at or below chance on most human-labeled corpora.

    “Across the two human-labeled, prompt-controlled corpora, the safe prototype is weak rather than uniformly at chance: AUC spans 0.457-0.545.”

  2. A difference-of-means reference is above chance in every evaluated cell.

    “Difference-of-means is above chance in every cell: 0.588-0.622 on BeaverTails, 0.668-0.738 on PKU-SafeRLHF, and 0.754-0.793 on Aegis.”

  3. At a 5% false-safe target, the referenced direction accepts substantially more safe responses than the prototype on PKU-SafeRLHF and Aegis.

    “On PKU-SafeRLHF, the referenced direction accepts 17.0% versus 6.1% while also admitting fewer unsafe responses; on Aegis, 24.5% versus 1.9%.”

Caveats 6

  • The safe prototype is below chance in six of twelve cells (all four Aegis cells, PKU-SafeRLHF mpnet and Qwen-3B) and only above chance in one cell (BeaverTails Qwen-0.5B).
  • The prototype never outranks a response-length heuristic by more than 0.016 and falls below a 12-feature stylistic baseline in every cell.
  • Our conclusion concerns a raw positive centroid scored by cosine. It does not rule out support estimators, Gaussian or other density models, positive-unlabeled methods, safety-specialized encoders, or supervised guards.
  • The study covers English responses, two SBERT-family encoders, and one Qwen family at two scales under fixed pooling and truncation; category-conditional performance and truncation by label are not audited.
  • BeaverTails and PKU-SafeRLHF use released human annotations without a new adjudication study.
  • Aegis is jury-only in our primary arm and is auxiliary evidence.

What’s new here 4

  • Provides a systematic audit of the raw positive-centroid safety score across multiple corpora and encoders.
  • Demonstrates that adding an explicit unsafe reference dramatically improves ranking performance.
  • Evaluates unlabeled references and shows their dependence on unsafe mass in the sample.
  • Analyzes prompt composition effects and isolates prompt-only baselines to reveal confounds.