RAS: Measuring LLM Safety Through Refusal Alignment
- lab arXiv
- lab arXivLabs
- location cs.CR
- model Gemma
- model LLaMA
- model Qwen
- product arXiv
- product arXivLabs
Researchers have introduced a white-box method called RAS that evaluates the safety of large language models by examining their internal representations rather than their generated text, according to a paper posted on arXiv [1]. The procedure, named SafeVec, extracts layer-wise refusal directions from a safety-aligned reference model and then measures whether a target model’s hidden states align with those directions when exposed to unsafe or jailbreak prompts [1]. The resulting metric, the Refusal Alignment Score, maps representation-level refusal alignment to a calibrated 0–100 safety score [1]. Across the Llama, Gemma, and Qwen model families, RAS separated aligned models from uncensored and abliterated variants, tracked output-level attack success rate, and proved substantially faster than judge-based evaluation [1]. The authors argue that refusal alignment offers a compact and efficient signal for white-box safety evaluation, sidestepping the expense and sensitivity to judge choice that characterize output-level methods [1]. Large language models are machine learning systems with many parameters, trained on vast amounts of text through self-supervised learning [9]. Their rapid proliferation has intensified the search for reliable safety benchmarks. The paper was submitted to the Cryptography and Security section of arXiv on 24 June 2026 [1]. arXiv, founded in 1991, is an open-access repository that hosts preprints across physics, computer science, and other fields and now receives about 24,000 submissions per month [7]. The SafeVec procedure is designed for settings where evaluators have access to a model’s internal weights, a condition that distinguishes it from black-box audits that rely solely on prompted outputs [1]. By selecting stable layer windows where safe and unsafe behaviors are separable, the method aims to produce scores that remain consistent even when the underlying question bank changes [1]. The paper appears on arXiv’s abstract page alongside experimental community tools developed under the arXivLabs framework, which allows third-party collaborators to build features such as citation explorers and code finders while adhering to arXiv’s values of openness and user-data privacy [5][6].
safety-researchresearch-paperregulation
Background sources we checked (8)
- arxiv.org ↗ Safety evaluation of large language models (LLMs) is commonly performed by querying models with unsafe or jailbreak prompts and judging whether their outputs violate a safety policy. Although useful, output-level evaluation is expensive, sensitive to judge choice, and easily tied…
- en.wikipedia.org ↗ Zulfikar Ali Bhutto NPk HPk (5 January 1928 – 4 April 1979) was a Pakistani barrister, politician and statesman who served as the fourth president of Pakistan from 1971 to 1973 and later as the ninth prime minister of Pakistan from 1973 until his overthrow in 1977. He was also th…
- info.arxiv.org ↗ arXiv Labs - arXiv info | arXiv e-print repository Skip to content # arXiv Labs Attention arXiv Users: arXiv Labs is pausing new proposals ## What are arXiv Labs? arXiv Labs are a way for the community to contribute new, useful features to arXiv. These integrations are avail…
- blog.arxiv.org ↗ arXivLabs: a space for community innovation – arXiv blog arXiv has launched a new, formalized framework enabling innovative collaborations with individuals and organizations. “Members of our community want to contribute tools that enhance the arXiv experience, and we val…
- info.arxiv.org ↗ arXivLabs: Showcase - arXiv info | arXiv e-print repository ... # arXivLabs: Showcase ... arXiv is surrounded by a community of researchers and developers working at the cutting edge of information science and technology. ... While the arXiv team is focused on our core mission—pr…
- en.wikipedia.org ↗ arXiv (pronounced as "archive"—the X represents the Greek letter chi ⟨χ⟩) is an open-access repository of electronic preprints and postprints (known as e-prints) approved for posting after moderation, but not peer reviewed. It consists of scientific papers in the fields of mathem…
- en.wikipedia.org ↗ 14 (fourteen) is the natural number following 13 and preceding 15.…
- en.wikipedia.org ↗ A large language model (LLM) is a type of machine learning model designed for natural language processing tasks such as language generation. LLMs are language models with many parameters, and are trained with self-supervised learning on a vast amount of text.…
Sources covering this (2)
- export.arxiv.org — RAS: Measuring LLM Safety Through Refusal Alignment ↗
- export.arxiv.org — The Joint Effect of Quantization and Sampling Temperature on LLM Safety Alignment: A Factorial Analysis · Global