mlsanityData to 14 Oct 2026

Attributing and Exploiting Safety Vectors through Global Optimization in Large Language Models

arXiv 2601.15801 ↗First posted 22 Jan 2026cs.LG cs.CRcited by 0

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

Abstract (arXiv)

While Large Language Models (LLMs) are aligned to mitigate risks, their safety guardrails remain fragile against jailbreak attacks. This reveals limited understanding of components governing safety. Existing methods rely on local, greedy attribution that assumes independent component contributions. However, they overlook the cooperative interactions between different components in LLMs, such as attention heads, which jointly contribute to safety mechanisms. We propose Global Optimization for Safety Vector Extraction (GOSV), a framework that identifies safety-critical attention heads through global optimization over all heads simultaneously. We employ two complementary activation repatching strategies: Harmful Patching and Zero Ablation. These strategies identify two spatially distinct sets of safety vectors with consistently low overlap, termed Malicious Injection Vectors and Safety Suppression Vectors, demonstrating that aligned LLMs maintain separate functional pathways for safety purposes. Through systematic analyses, we find that complete safety breakdown occurs when approximately 30% of total heads are repatched across all models. Building on these insights, we develop a novel inference-time white-box jailbreak method that exploits the identified safety vectors through activation repatching. Our attack substantially outperforms existing white-box attacks across all test models, providing strong evidence for the effectiveness of the proposed GOSV framework on LLM safety interpretability.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Safety alignment, refusal and guardrails, one of 12 directions in LLM safety and security. Builds on 22 of its 34 references that are in the map. First posted on arXiv 22 Jan 2026.

Builds on

22 of 34 references.

Closest ancestors · 6

Same direction, newest first

  1. 2025Interpretation Meets Safety: A Survey on Interpretation Methods and Tools for Improving LLM Safety5 Jun
  2. 2025The Geometry of Refusal in Large Language Models: Concept Cones and Representational Independence24 Feb
  3. 2025Soteria: Language-Specific Functional Parameter Steering for Multilingual Safety Alignment16 Feb
  4. 2025The Hidden Dimensions of LLM Alignment: A Multi-Dimensional Analysis of Orthogonal Safety Directions13 Feb
  5. 2024On the Role of Attention Heads in Large Language Model Safety17 Oct
  6. 2024Refusal in Language Models Is Mediated by a Single Direction17 Jun

Other references · 16

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  4. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  5. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
  6. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,429
  7. 2022Toy Models of Superpositioncited by 971
  8. 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 672
  9. 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 422
  10. 2024Great, Now Write an Article About That: The Crescendo Multi-Turn LLM Jailbreak Attackcited by 390
  11. 2023DeepInception: Hypnotize Large Language Model to Be Jailbreakercited by 367
  12. 2024Safety Layers in Aligned Large Language Models: The Key to LLM Securitycited by 134
4 more
  1. 2024How Alignment and Jailbreak Work: Explain LLM Safety through Intermediate Hidden Statescited by 98
  2. 2024Attention Tracker: Detecting Prompt Injection Attacks in LLMscited by 95
  3. 2025DETAM: Defending LLMs Against Jailbreak Attacks via Targeted Attention Modificationcited by 10
  4. 2024Jailbreaking? One Step Is Enough!cited by 9

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Safety Alignment Should Be Made More Than Just A Few Attention Heads
  2. 2026Understanding and Preserving Safety in Fine-Tuned LLMs
  3. 2024Jailbreak Antidote: Runtime Safety-Utility Balance via Sparse Representation Adjustment in Large Language Models
  4. 2025Spot Risks Before Speaking! Unraveling Safety Attention Heads in Large Vision-Language Models
  5. 2024A safety realignment framework via subspace-oriented model fusion for large language models
  6. 2025Decoding One Safety Trigger Token for Balancing Safety and Usability in Large Language Models
  7. 2026Safety Targeted Embedding Exploit via Refinement
  8. 2025SafeMERGE: Preserving Safety Alignment in Fine-Tuned Large Language Models via Selective Layer-Wise Model Merging