AI RESEARCH

Enhancing Safety of Large Language Models via Embedding Space Separation

arXiv CS.AI

ArXi:2603.20206v1 Announce Type: cross Large language models (LLMs) have achieved impressive capabilities, yet ensuring their safety against harmful prompts remains a critical challenge. Recent work has revealed that the latent representations (embeddings) of harmful and safe queries in LLMs typically exhibit linear separability, a property that has been exploited to construct attacks by perturbing the embeddings of harmful queries towards the safe subspace.