mlsanityData to 7 Oct 2026

Enhancing Safety of Large Language Models via Embedding Space Separation

arXiv 2603.20206 ↗First posted 1 Mar 2026cs.CL cs.AIcited by 2

On the map: LLM safety and security → Safety alignment, refusal and guardrails

Abstract (arXiv)

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. Motivated by this observation, we propose a representation-level fine-tuning approach, named Embedding Space Separation (ES2), which improves LLM safety by explicitly enlarging the distance between harmful and safe representations in the embedding space. To prevent degradation of model's general capabilities, we introduce a Kullback-Leibler (KL) divergence regularization term into the loss function, which constrains the logits of the fine-tuned model to align with those of the original base model on harmless inputs. We evaluate our method on several open-source LLMs using standard safety benchmarks. Extensive experimental results demonstrate that our approach substantially improves model safety while maintaining comparable general capabilities.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Safety alignment, refusal and guardrails, one of 12 directions in LLM safety and security. Builds on 35 of its 41 references that are in the map. First posted on arXiv 1 Mar 2026.

Builds on

35 of 41 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024Uncovering Safety Risks of Large Language Models through Concept Activation Vector18 Apr

Other references · 34

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Training language models to follow instructions with human feedbackcited by 15,712
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  4. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  5. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
  6. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  7. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
  8. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
  9. 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,748
  10. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
  11. 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,758
  12. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,565
22 more
  1. 2017Interpretability Beyond Feature Attribution: Quantitative Testing with Concept Activation Vectors (TCAV)cited by 1,309
  2. 2016Understanding intermediate layers using linear classifier probescited by 1,279
  3. 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,259
  4. 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,239
  5. 2023Instruction-Following Evaluation for Large Language Modelscited by 1,143
  6. 2017SmoothGrad: removing noise by adding noisecited by 1,097
  7. 2021A General Language Assistant as a Laboratory for Alignmentcited by 1,023
  8. 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 738
  9. 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 733
  10. 2017Network Dissection: Quantifying Interpretability of Deep Visual Representationscited by 703
  11. 2023Safety-Tuned LLaMAs: Lessons From Improving the Safety of Large Language Models that Follow Instructionscited by 377
  12. 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 325
  13. 2023MuSR: Testing the Limits of Chain-of-thought with Multistep Soft Reasoningcited by 195
  14. 2023Distributional Preference Learning: Understanding and Accounting for Hidden Context in RLHFcited by 125
  15. 2024Open-LLM-Leaderboard: From Multi-choice to Open-style Questions for LLMs Evaluation, Benchmark, and Arenacited by 76
  16. 2024Moral Alignment for LLM Agentscited by 39
  17. 2024LLM Agents in Interaction: Measuring Personality Consistency and Linguistic Alignment in Interacting Populations of Large Language Modelscited by 33
  18. 2025AgentGuard: Repurposing Agentic Orchestrator for Safety Evaluation of Tool Orchestrationcited by 25
  19. 2024Embedding-based classifiers can detect prompt injection attackscited by 24
  20. 2022Self-explaining deep models with logic rule reasoningcited by 13
  21. 2024Evaluating Readability and Faithfulness of Concept-based Explanationscited by 10
  22. 2024SLM as Guardian: Pioneering AI Safety with Small Language Modelscited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.