← Lab /AI/ML

Refusal alignment scores separate safe from unsafe LLMs

The RAS metric reliably measures LLM safety by aligning internal representations with refusal directions

AI/ML arXiv 24 Jun 2026 Measurement Prototype evidence

Published as “RAS: Measuring LLM Safety Through Refusal Alignment”

Why it matters

The metric enables rapid, low-cost safety screening of open-weight LLMs, allowing developers to iterate on alignment before costly output-level testing.

Summary

RAS (Refusal Alignment Score) provides a calibrated 0-100 safety metric derived from hidden-state alignment with a refusal direction, and it cleanly separates safety-aligned LLMs from uncensored or abliterated variants. Across Llama, Gemma, and Qwen families, higher RAS scores correspond to lower output-level attack success rates, showing strong correlation with traditional safety behavior. RAS evaluation is dramatically faster than judge-based methods, achieving over 200× speedup while requiring only forward passes. The paper notes a few outlier models where safety improves without matching the refusal direction, indicating the metric may miss some mechanisms.

What they found 4

  1. RAS cleanly separates aligned models from uncensored and abliterated variants.

    “RAS separates aligned models from uncensored and abliterated variants, correlates with output-level attack success rate, and is substantially faster than judge-based evaluation.”

  2. RAS correlates strongly with output-level safety behavior.

    “RAS correlates strongly with output-level safety behavior, as models with high RAS generally exhibit low attack success rates (ASR).”

  3. RAS evaluation is over 200× faster than judge-based scoring.

    “On average, RAS is 216.88× faster in our setting.”

  4. Across all three families, safer models show higher refusal alignment while unsafe or abliterated models show lower alignment.

    “Across all three families, safer models show higher refusal alignment, while unsafe or abliterated models show lower alignment.”

Caveats 4

  • official google/gemma-3-4b-it reference model, but also achieves a lower ASR. This suggests that some models may improve output-level safety through mechanisms not fully captured by a single reference refusal direction.
  • RAS requires white-box access to hidden states and therefore cannot be directly applied to closed APIs.
  • It is also calibrated within model families, so cross-family comparison depends on the quality of calibration models.
  • Finally, RAS measures alignment with a reference refusal direction; if future models implement safety through substantially different internal mechanisms, the refusal direction may need to be re-estimated or extended to a multi-directional representation.

What’s new here 4

  • Introduces a white-box safety metric that operates on internal representations rather than generated outputs.
  • Defines a calibrated 0-100 Refusal Alignment Score (RAS) based on cosine similarity to a learned refusal direction.
  • Demonstrates family-specific extraction of refusal directions and layer-window selection for Llama, Gemma, and Qwen.
  • Shows that RAS evaluation is orders of magnitude faster than traditional judge-based safety testing.