Safe-Unsafe Concept Separation Emerges from a Single Direction in Language Models Activation Space

0Citations
Citations of this article
7Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Ensuring the safety of Large Language Models (LLMs) is a critical alignment challenge. Existing approaches often rely on invasive fine-tuning or external generation-based checks, which can be opaque and resource-inefficient. In this work, we investigate the geometry of safety concepts within pretrained representations, proposing a mechanistic methodology that identifies the layer where safe and unsafe concepts are maximally separable within a pretrained model’s representation space. By leveraging the intrinsic activation space of the optimal layer, we show that safety enforcement can be achieved via a simple linear classifier, avoiding the need for weight modification. We validate our framework across multiple domains (regulation, law, finance, cybersecurity, education, code, human resources, and social media), diverse tasks (safety classification, prompt injection, and toxicity detection), and 16 non-English languages on both encoder and decoder architectures. Our results show that: (i) the separation between safe and unsafe concepts emerges from a single layer direction in the activation space, (ii) monitoring internal representations provides a significantly more robust safeguarding mechanism compared to traditional evaluative or generative guardrail paradigms.

Cite

CITATION STYLE

APA

Ermellino, A., Malandri, L., Mercorio, F., & Serino, A. (2026). Safe-Unsafe Concept Separation Emerges from a Single Direction in Language Models Activation Space. In EACL 2026 - 19th Conference of the European Chapter of the Association for Computational Linguistics, Proceedings of the Conference, Vol. 1 - (Long Papers) (Vol. 1, pp. 3019–3034). Association for Computational Linguistics (ACL). https://doi.org/10.18653/v1/2026.eacl-long.139

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free